Searched refs:EFFECT_STRENGTH_MEDIUM (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/ |
D | PrebakedSegmentTest.java | 41 VibrationEffect.EFFECT_CLICK, true, VibrationEffect.EFFECT_STRENGTH_MEDIUM); in testCreation() 45 assertEquals(VibrationEffect.EFFECT_STRENGTH_MEDIUM, prebaked.getEffectStrength()); in testCreation() 52 VibrationEffect.EFFECT_CLICK, true, VibrationEffect.EFFECT_STRENGTH_MEDIUM); in testSerialization() 62 VibrationEffect.EFFECT_STRENGTH_MEDIUM).validate(); in testValidate() 65 () -> new PrebakedSegment(1000, true, VibrationEffect.EFFECT_STRENGTH_MEDIUM) in testValidate() 75 VibrationEffect.EFFECT_CLICK, true, VibrationEffect.EFFECT_STRENGTH_MEDIUM); in testResolve_ignoresAndReturnsSameEffect() 82 VibrationEffect.EFFECT_THUD, true, VibrationEffect.EFFECT_STRENGTH_MEDIUM); in testApplyEffectStrength() 96 assertSame(medium, medium.applyEffectStrength(VibrationEffect.EFFECT_STRENGTH_MEDIUM)); in testApplyEffectStrength() 104 VibrationEffect.EFFECT_CLICK, true, VibrationEffect.EFFECT_STRENGTH_MEDIUM); in testScale_ignoresAndReturnsSameEffect() 111 VibrationEffect.EFFECT_CLICK, true, VibrationEffect.EFFECT_STRENGTH_MEDIUM); in testScaleLinearly_ignoresAndReturnsSameEffect() [all …]
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibratorControllerTest.java | 158 VibrationEffect.EFFECT_STRENGTH_MEDIUM); in updateAlwaysOn_withCapability_enablesAlwaysOnEffect() 163 eq((long) VibrationEffect.EFFECT_STRENGTH_MEDIUM)); in updateAlwaysOn_withCapability_enablesAlwaysOnEffect() 176 VibrationEffect.EFFECT_STRENGTH_MEDIUM); in updateAlwaysOn_withoutCapability_ignoresEffect() 199 VibrationEffect.EFFECT_STRENGTH_MEDIUM); in on_withPrebaked_performsEffect() 204 eq((long) VibrationEffect.EFFECT_STRENGTH_MEDIUM), eq(11L)); in on_withPrebaked_performsEffect()
|
D | VibrationScalerTest.java | 189 /* shouldFallback= */ false, VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() 197 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() 206 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() 222 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings()
|
D | VibratorManagerServiceTest.java | 566 VibrationEffect.EFFECT_CLICK, false, VibrationEffect.EFFECT_STRENGTH_MEDIUM); in setAlwaysOnEffect_withMono_enablesAlwaysOnEffectToAllVibratorsWithCapability() 590 VibrationEffect.EFFECT_CLICK, false, VibrationEffect.EFFECT_STRENGTH_MEDIUM); in setAlwaysOnEffect_withStereo_enablesAlwaysOnEffectToAllVibratorsWithCapability() 593 VibrationEffect.EFFECT_TICK, false, VibrationEffect.EFFECT_STRENGTH_MEDIUM); in setAlwaysOnEffect_withStereo_enablesAlwaysOnEffectToAllVibratorsWithCapability() 2581 return expectedPrebaked(effectId, VibrationEffect.EFFECT_STRENGTH_MEDIUM); in expectedPrebaked()
|
D | VibrationThreadTest.java | 1850 return new PrebakedSegment(effectId, false, VibrationEffect.EFFECT_STRENGTH_MEDIUM); in expectedPrebaked()
|
/frameworks/base/core/java/android/os/vibrator/ |
D | PrebakedSegment.java | 39 public static final int DEFAULT_STRENGTH = VibrationEffect.EFFECT_STRENGTH_MEDIUM; 158 case VibrationEffect.EFFECT_STRENGTH_MEDIUM: in isValidEffectStrength()
|
/frameworks/base/core/java/android/os/ |
D | VibrationEffect.java | 131 public static final int EFFECT_STRENGTH_MEDIUM = EffectStrength.MEDIUM; field in VibrationEffect 679 case EFFECT_STRENGTH_MEDIUM: in effectStrengthToString()
|
/frameworks/base/core/api/ |
D | test-current.txt | 2532 field public static final int EFFECT_STRENGTH_MEDIUM = 1; // 0x1
|