Home
last modified time | relevance | path

Searched refs:effectStrength (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/os/vibrator/
DPrebakedSegment.java55 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()
DVibrationEffectSegment.java130 public abstract <T extends VibrationEffectSegment> T applyEffectStrength(int effectStrength); in applyEffectStrength() argument
DPrimitiveSegment.java124 public PrimitiveSegment applyEffectStrength(int effectStrength) { in applyEffectStrength() argument
DStepSegment.java164 public StepSegment applyEffectStrength(int effectStrength) { in applyEffectStrength() argument
DRampSegment.java177 public RampSegment applyEffectStrength(int effectStrength) { in applyEffectStrength() argument
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibratorControllerTest.java316 private PrebakedSegment createPrebaked(int effectId, int effectStrength) { in createPrebaked() argument
317 return new PrebakedSegment(effectId, /* shouldFallback= */ false, effectStrength); in createPrebaked()
DVibratorManagerServiceTest.java2584 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/
DVibrationEffect.java675 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/
Dcom_android_server_vibrator_VibratorController.cpp286 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/
DVibratorHalWrapper.cpp498 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()