Searched refs:effectStrength (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/android/os/vibrator/ |
D | PrebakedSegment.java | 46 public PrebakedSegment(int effectId, boolean shouldFallback, int effectStrength) { in PrebakedSegment() argument 49 mEffectStrength = effectStrength; in PrebakedSegment() 90 public PrebakedSegment applyEffectStrength(int effectStrength) { in applyEffectStrength() argument 91 if (effectStrength != mEffectStrength && isValidEffectStrength(effectStrength)) { in applyEffectStrength() 92 return new PrebakedSegment(mEffectId, mFallback, effectStrength); in applyEffectStrength()
|
D | VibrationEffectSegment.java | 91 public abstract <T extends VibrationEffectSegment> T applyEffectStrength(int effectStrength); in applyEffectStrength() argument
|
D | PrimitiveSegment.java | 91 public PrimitiveSegment applyEffectStrength(int effectStrength) { in applyEffectStrength() argument
|
D | StepSegment.java | 118 public StepSegment applyEffectStrength(int effectStrength) { in applyEffectStrength() argument
|
D | RampSegment.java | 126 public RampSegment applyEffectStrength(int effectStrength) { in applyEffectStrength() argument
|
/frameworks/base/core/java/android/os/ |
D | VibrationEffect.java | 475 public <T extends VibrationEffect> T applyEffectStrength(int effectStrength) { in applyEffectStrength() argument 537 public static String effectStrengthToString(int effectStrength) { in effectStrengthToString() argument 538 switch (effectStrength) { in effectStrengthToString() 546 return Integer.toString(effectStrength); in effectStrengthToString() 657 public Composed applyEffectStrength(int effectStrength) { in applyEffectStrength() argument 661 scaledSegments.add(mSegments.get(i).applyEffectStrength(effectStrength)); in applyEffectStrength()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
D | VibratorControllerTest.java | 310 private PrebakedSegment createPrebaked(int effectId, int effectStrength) { in createPrebaked() argument 311 return new PrebakedSegment(effectId, /* shouldFallback= */ false, effectStrength); in createPrebaked()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_vibrator_VibratorController.cpp | 274 aidl::EffectStrength effectStrength = static_cast<aidl::EffectStrength>(strength); in vibratorPerformEffect() local 276 auto performEffectFn = [effectType, effectStrength, &callback](vibrator::HalWrapper* hal) { in vibratorPerformEffect() 277 return hal->performEffect(effectType, effectStrength, callback); in vibratorPerformEffect()
|
/frameworks/native/services/vibratorservice/ |
D | VibratorHalWrapper.cpp | 556 V1_0::EffectStrength effectStrength = static_cast<V1_0::EffectStrength>(strength); in performInternal() local 557 auto result = std::invoke(performFn, handle, effect, effectStrength, effectCallback); in performInternal()
|