Searched refs:getEffectStrength (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibrationScalerTest.java | 192 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_STRONG); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() 197 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() 201 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_LIGHT); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() 206 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() 217 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_STRONG); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings() 222 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings() 226 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_LIGHT); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings() 231 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_LIGHT); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationScaler.java | 145 int newEffectStrength = getEffectStrength(usageHint); in scale() 188 return prebaked.applyEffectStrength(getEffectStrength(usageHint)); in scale() 258 private int getEffectStrength(int usageHint) { in getEffectStrength() method in VibrationScaler
|
D | VibratorController.java | 227 prebaked.getEffectStrength()); in updateAlwaysOn() 276 prebaked.getEffectStrength(), vibrationId); in on()
|
D | Vibration.java | 446 proto.write(PrebakedSegmentProto.EFFECT_STRENGTH, segment.getEffectStrength()); in dumpEffect()
|
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/ |
D | PrebakedSegmentTest.java | 45 assertEquals(VibrationEffect.EFFECT_STRENGTH_MEDIUM, prebaked.getEffectStrength()); in testCreation() 88 assertEquals(VibrationEffect.EFFECT_STRENGTH_LIGHT, light.getEffectStrength()); in testApplyEffectStrength() 94 assertEquals(VibrationEffect.EFFECT_STRENGTH_STRONG, strong.getEffectStrength()); in testApplyEffectStrength()
|
/frameworks/base/core/java/android/os/vibrator/ |
D | PrebakedSegment.java | 65 public int getEffectStrength() { in getEffectStrength() method in PrebakedSegment
|
/frameworks/base/core/api/ |
D | test-current.txt | 2708 method public int getEffectStrength();
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 39489 Landroid/os/VibrationEffect$Prebaked;->getEffectStrength()I
|