Home
last modified time | relevance | path

Searched refs:mPrimitiveId (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/os/vibrator/
DPrimitiveSegment.java46 private final int mPrimitiveId; field in PrimitiveSegment
56 mPrimitiveId = id; in PrimitiveSegment()
62 return mPrimitiveId; in getPrimitiveId()
81 return vibratorInfo.isPrimitiveSupported(mPrimitiveId); in areVibrationFeaturesSupported()
106 return new PrimitiveSegment(mPrimitiveId, newScale, mDelay); in scale()
118 return new PrimitiveSegment(mPrimitiveId, newScale, mDelay); in scaleLinearly()
131 Preconditions.checkArgumentInRange(mPrimitiveId, VibrationEffect.Composition.PRIMITIVE_NOOP, in validate()
140 dest.writeInt(mPrimitiveId); in writeToParcel()
153 + "primitive=" + VibrationEffect.Composition.primitiveToString(mPrimitiveId) in toString()
163 VibrationEffect.Composition.primitiveToString(mPrimitiveId), mScale, mDelay); in toDebugString()
[all …]
/frameworks/base/core/java/com/android/internal/vibrator/persistence/
DXmlConstants.java81 @PrimitiveType private final int mPrimitiveId; field in XmlConstants.PrimitiveEffectName
84 mPrimitiveId = id; in PrimitiveEffectName()
94 if (name.mPrimitiveId == primitiveId) { in findById()
116 return mPrimitiveId; in getPrimitiveId()