Home
last modified time | relevance | path

Searched refs:getPrimitiveId (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/com/android/internal/vibrator/persistence/
DVibrationEffectXmlSerializer.java157 PrimitiveEffectName.findById(primitive.getPrimitiveId()); in serializePrimitiveSegment()
160 "Unsupported primitive effect id %s", primitive.getPrimitiveId()); in serializePrimitiveSegment()
DSerializedCompositionPrimitive.java58 composition.addPrimitive(mPrimitiveName.getPrimitiveId(), mPrimitiveScale, in deserializeIntoComposition()
DXmlConstants.java115 public int getPrimitiveId() { in getPrimitiveId() method in XmlConstants.PrimitiveEffectName
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationStats.java252 mVibratorPrimitivesUsed.put(primitive.getPrimitiveId(), true); in reportComposePrimitives()
260 mVibratorPrimitivesUsed.put(primitive.getPrimitiveId(), false); in reportComposePrimitives()
DVibration.java454 proto.write(PrimitiveSegmentProto.PRIMITIVE_ID, segment.getPrimitiveId()); in dumpEffect()
/frameworks/base/core/java/android/os/vibrator/
DPrimitiveSegment.java61 public int getPrimitiveId() { in getPrimitiveId() method in PrimitiveSegment
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/
DPrimitiveSegmentTest.java45 assertEquals(VibrationEffect.Composition.PRIMITIVE_CLICK, primitive.getPrimitiveId()); in testCreation()
/frameworks/base/services/tests/vibrator/utils/com/android/server/vibrator/
DFakeVibratorControllerProvider.java138 if (Arrays.binarySearch(mSupportedPrimitives, primitive.getPrimitiveId()) < 0) { in compose()
/frameworks/base/core/api/
Dtest-current.txt2718 method public int getPrimitiveId();