Searched refs:getEffectStrength (Results 1 – 8 of 8) sorted by relevance
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
H A D | VibrationScalerTest.java | 144 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_STRONG); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() 149 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() 154 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_LIGHT); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() 160 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_STRONG); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() 171 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_STRONG); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings() 177 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings() 183 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_LIGHT); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings() 190 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_STRONG); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/os/vibrator/ |
H A D | PrebakedSegmentTest.java | 46 assertEquals(VibrationEffect.EFFECT_STRENGTH_MEDIUM, prebaked.getEffectStrength()); in testCreation() 89 assertEquals(VibrationEffect.EFFECT_STRENGTH_LIGHT, light.getEffectStrength()); in testApplyEffectStrength() 95 assertEquals(VibrationEffect.EFFECT_STRENGTH_STRONG, strong.getEffectStrength()); in testApplyEffectStrength()
|
/aosp12/frameworks/base/services/core/java/com/android/server/vibrator/ |
H A D | VibratorController.java | 203 prebaked.getEffectStrength()); in updateAlwaysOn() 252 prebaked.getEffectStrength(), vibrationId); in on()
|
H A D | Vibration.java | 383 proto.write(PrebakedSegmentProto.EFFECT_STRENGTH, segment.getEffectStrength()); in dumpEffect()
|
/aosp12/frameworks/base/core/java/android/os/vibrator/ |
H A D | PrebakedSegment.java | 56 public int getEffectStrength() { in getEffectStrength() method in PrebakedSegment
|
/aosp12/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | VibrationEffectTest.java | 251 ((PrebakedSegment) applied.getSegments().get(0)).getEffectStrength()); in testApplyEffectStrengthPrebaked() 266 ((PrebakedSegment) applied.getSegments().get(0)).getEffectStrength()); in testApplyEffectStrengthComposed()
|
/aosp12/frameworks/base/core/api/ |
H A D | test-current.txt | 1988 method public int getEffectStrength();
|
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 43455 Landroid/os/VibrationEffect$Prebaked;->getEffectStrength()I
|