Searched refs:getEffectStrength (Results 1 – 8 of 8) sorted by relevance
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
H A D | VibrationScalerTest.java | 156 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_STRONG); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() 161 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() 165 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_LIGHT); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() 170 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() 181 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_STRONG); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings() 186 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings() 190 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_LIGHT); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings() 195 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_LIGHT); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/os/vibrator/ |
H A D | PrebakedSegmentTest.java | 52 assertEquals(VibrationEffect.EFFECT_STRENGTH_MEDIUM, prebaked.getEffectStrength()); in testCreation() 95 assertEquals(VibrationEffect.EFFECT_STRENGTH_LIGHT, light.getEffectStrength()); in testApplyEffectStrength() 101 assertEquals(VibrationEffect.EFFECT_STRENGTH_STRONG, strong.getEffectStrength()); in testApplyEffectStrength()
|
/aosp14/frameworks/base/services/core/java/com/android/server/vibrator/ |
H A D | VibratorController.java | 219 prebaked.getEffectStrength()); in updateAlwaysOn() 268 prebaked.getEffectStrength(), vibrationId); in on()
|
H A D | Vibration.java | 369 proto.write(PrebakedSegmentProto.EFFECT_STRENGTH, segment.getEffectStrength()); in dumpEffect()
|
/aosp14/frameworks/base/core/java/android/os/vibrator/ |
H A D | PrebakedSegment.java | 57 public int getEffectStrength() { in getEffectStrength() method in PrebakedSegment
|
/aosp14/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | VibrationEffectTest.java | 697 ((PrebakedSegment) applied.getSegments().get(0)).getEffectStrength()); in testApplyEffectStrengthPrebaked() 712 ((PrebakedSegment) applied.getSegments().get(0)).getEffectStrength()); in testApplyEffectStrengthComposed()
|
/aosp14/frameworks/base/core/api/ |
H A D | test-current.txt | 2587 method public int getEffectStrength();
|
/aosp14/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 40132 Landroid/os/VibrationEffect$Prebaked;->getEffectStrength()I
|