Searched refs:primitiveId (Results 1 – 9 of 9) sorted by relevance
293 int primitiveId, in getVibration() argument299 if (mVibratorInfo.isPrimitiveSupported(primitiveId)) { in getVibration()301 .addPrimitive(primitiveId, primitiveScale) in getVibration()333 int primitiveId; in getKeyboardVibration() local339 primitiveId = VibrationEffect.Composition.PRIMITIVE_TICK; in getKeyboardVibration()345 primitiveId = VibrationEffect.Composition.PRIMITIVE_CLICK; in getKeyboardVibration()350 if (mVibratorInfo.isPrimitiveSupported(primitiveId)) { in getKeyboardVibration()352 .addPrimitive(primitiveId, mKeyboardVibrationFixedAmplitude) in getKeyboardVibration()
208 private static PrimitiveSegment createSegment(int primitiveId) { in createSegment() argument210 return new PrimitiveSegment(primitiveId, 0.2f, 10); in createSegment()213 private static VibratorInfo createVibratorInfoWithSupportedPrimitive(int primitiveId) { in createVibratorInfoWithSupportedPrimitive() argument216 .setSupportedPrimitive(primitiveId, 10) in createVibratorInfoWithSupportedPrimitive()
341 @VibrationEffect.Composition.PrimitiveType int primitiveId) { in isPrimitiveSupported()343 && (mSupportedPrimitives.indexOfKey(primitiveId) >= 0); in isPrimitiveSupported()371 @VibrationEffect.Composition.PrimitiveType int primitiveId) { in getPrimitiveDuration()372 return mSupportedPrimitives.get(primitiveId); in getPrimitiveDuration()791 public Builder setSupportedPrimitive(int primitiveId, int duration) { in setSupportedPrimitive() argument792 mSupportedPrimitives.put(primitiveId, duration); in setSupportedPrimitive()
1204 public Composition addPrimitive(@PrimitiveType int primitiveId) {1205 return addPrimitive(primitiveId, PrimitiveSegment.DEFAULT_SCALE);1218 public Composition addPrimitive(@PrimitiveType int primitiveId,1220 return addPrimitive(primitiveId, scale, PrimitiveSegment.DEFAULT_DELAY_MILLIS);1233 public Composition addPrimitive(@PrimitiveType int primitiveId,1235 PrimitiveSegment primitive = new PrimitiveSegment(primitiveId, scale, delay);
667 for (int primitiveId : primitiveIds) { in areAllPrimitivesSupported()668 if (!info.isPrimitiveSupported(primitiveId)) { in areAllPrimitivesSupported()
152 int primitiveId = firstVibratorPrimitives.keyAt(i); in supportedPrimitivesAndDurationsIntersection() local160 int vibratorPrimitiveDuration = infos[j].getPrimitiveDuration(primitiveId); in supportedPrimitivesAndDurationsIntersection()170 intersection.put(primitiveId, primitiveDuration); in supportedPrimitivesAndDurationsIntersection()
92 public static PrimitiveEffectName findById(int primitiveId) { in findById() argument94 if (name.mPrimitiveId == primitiveId) { in findById()
1853 private VibrationEffectSegment expectedPrimitive(int primitiveId, float scale, int delay) { in expectedPrimitive() argument1854 return new PrimitiveSegment(primitiveId, scale, delay); in expectedPrimitive()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...