Searched refs:effectStrength (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/android/os/vibrator/ |
D | PrebakedSegment.java | 55 public PrebakedSegment(int effectId, boolean shouldFallback, int effectStrength) { in PrebakedSegment() argument 58 mEffectStrength = effectStrength; in PrebakedSegment() 148 public PrebakedSegment applyEffectStrength(int effectStrength) { in applyEffectStrength() argument 149 if (effectStrength != mEffectStrength && isValidEffectStrength(effectStrength)) { in applyEffectStrength() 150 return new PrebakedSegment(mEffectId, mFallback, effectStrength); in applyEffectStrength()
|
D | VibrationEffectSegment.java | 130 public abstract <T extends VibrationEffectSegment> T applyEffectStrength(int effectStrength); in applyEffectStrength() argument
|
D | PrimitiveSegment.java | 124 public PrimitiveSegment applyEffectStrength(int effectStrength) { in applyEffectStrength() argument
|
D | StepSegment.java | 164 public StepSegment applyEffectStrength(int effectStrength) { in applyEffectStrength() argument
|
D | RampSegment.java | 177 public RampSegment applyEffectStrength(int effectStrength) { in applyEffectStrength() argument
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibratorControllerTest.java | 316 private PrebakedSegment createPrebaked(int effectId, int effectStrength) { in createPrebaked() argument 317 return new PrebakedSegment(effectId, /* shouldFallback= */ false, effectStrength); in createPrebaked()
|
D | VibratorManagerServiceTest.java | 2584 private VibrationEffectSegment expectedPrebaked(int effectId, int effectStrength) { in expectedPrebaked() argument 2585 return new PrebakedSegment(effectId, false, effectStrength); in expectedPrebaked()
|
/frameworks/base/core/java/android/os/ |
D | VibrationEffect.java | 675 public static String effectStrengthToString(int effectStrength) { in effectStrengthToString() argument 676 switch (effectStrength) { in effectStrengthToString() 684 return Integer.toString(effectStrength); in effectStrengthToString()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_vibrator_VibratorController.cpp | 286 aidl::EffectStrength effectStrength = static_cast<aidl::EffectStrength>(strength); in vibratorPerformEffect() local 288 auto performEffectFn = [effectType, effectStrength, &callback](vibrator::HalWrapper* hal) { in vibratorPerformEffect() 289 return hal->performEffect(effectType, effectStrength, callback); in vibratorPerformEffect()
|
/frameworks/native/services/vibratorservice/ |
D | VibratorHalWrapper.cpp | 498 V1_0::EffectStrength effectStrength = static_cast<V1_0::EffectStrength>(strength); in performInternal() local 499 auto result = std::invoke(performFn, handle, effect, effectStrength, effectCallback); in performInternal()
|