Home
last modified time | relevance | path

Searched refs:endFrequencyHz (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/vibrator/
DRampToStepAdapter.java86 float endFrequencyHz = fillEmptyFrequency(info, ramp.getEndFrequencyHz()); in convertRampToSteps() local
89 MathUtils.lerp(startFrequencyHz, endFrequencyHz, pos), in convertRampToSteps()
93 float endFrequencyHz = fillEmptyFrequency(info, ramp.getEndFrequencyHz()); in convertRampToSteps() local
94 steps.add(new StepSegment(ramp.getEndAmplitude(), endFrequencyHz, duration)); in convertRampToSteps()
DSplitSegmentsAdapter.java81 float endFrequencyHz = fillEmptyFrequency(info, ramp.getEndFrequencyHz()); in splitRampSegment() local
91 MathUtils.lerp(startFrequencyHz, endFrequencyHz, durationRatio); in splitRampSegment()
104 endFrequencyHz, (int) (ramp.getDuration() - accumulatedDuration))); in splitRampSegment()
/frameworks/base/core/java/android/os/vibrator/
DRampSegment.java55 float endFrequencyHz, int duration) { in RampSegment() argument
59 mEndFrequencyHz = endFrequencyHz; in RampSegment()
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp65 jfieldID endFrequencyHz; member
172 pwle.endFrequency = static_cast<float>(env->GetFloatField(ramp, sRampClassInfo.endFrequencyHz)); in activePwleFromJavaPrimitive()
498 sRampClassInfo.endFrequencyHz = GetFieldIDOrDie(env, rampClass, "mEndFrequencyHz", "F"); in register_android_server_vibrator_VibratorController()
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibrationThreadTest.java1862 float startFrequencyHz, float endFrequencyHz, int duration) { in expectedRamp() argument
1863 return new RampSegment(startAmplitude, endAmplitude, startFrequencyHz, endFrequencyHz, in expectedRamp()