Searched refs:getMaxAmplitude (Results 1 – 8 of 8) sorted by relevance
/aosp14/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | VibratorInfoTest.java | 206 assertEquals(0f, profile.getMaxAmplitude(100f), TEST_TOLERANCE); in testGetMaxAmplitude_emptyProfileReturnsAlwaysZero() 207 assertEquals(0f, profile.getMaxAmplitude(200f), TEST_TOLERANCE); in testGetMaxAmplitude_emptyProfileReturnsAlwaysZero() 216 assertEquals(0f, profile.getMaxAmplitude(100f), TEST_TOLERANCE); in testGetMaxAmplitude_emptyProfileReturnsAlwaysZero() 217 assertEquals(0f, profile.getMaxAmplitude(150f), TEST_TOLERANCE); in testGetMaxAmplitude_emptyProfileReturnsAlwaysZero() 231 assertEquals(1f, profile.getMaxAmplitude(150f), TEST_TOLERANCE); in testGetMaxAmplitude_validProfileReturnsMappedValues() 232 assertEquals(0.9f, profile.getMaxAmplitude(175f), TEST_TOLERANCE); in testGetMaxAmplitude_validProfileReturnsMappedValues() 233 assertEquals(0.8f, profile.getMaxAmplitude(125f), TEST_TOLERANCE); in testGetMaxAmplitude_validProfileReturnsMappedValues() 236 assertEquals(0.8f, profile.getMaxAmplitude(200f), TEST_TOLERANCE); in testGetMaxAmplitude_validProfileReturnsMappedValues() 237 assertEquals(0.1f, profile.getMaxAmplitude(50f), TEST_TOLERANCE); in testGetMaxAmplitude_validProfileReturnsMappedValues() 240 assertEquals(0f, profile.getMaxAmplitude(49f), TEST_TOLERANCE); in testGetMaxAmplitude_validProfileReturnsMappedValues() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/vibrator/ |
H A D | ClippingAmplitudeAndFrequencyAdapter.java | 86 return MathUtils.min(amplitude, mapping.getMaxAmplitude(frequencyHz)); in clampAmplitude()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | VibratorInfo.java | 576 public float getMaxAmplitude(float frequencyHz) { in getMaxAmplitude() method in VibratorInfo.FrequencyProfile
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | MediaRecorder.java | 1400 public native int getMaxAmplitude() throws IllegalStateException; in getMaxAmplitude() method in MediaRecorder
|
/aosp14/frameworks/base/media/jni/ |
H A D | android_media_MediaRecorder.cpp | 477 …process_media_recorder_call(env, mr->getMaxAmplitude(&result), "java/lang/RuntimeException", "getM… in android_media_MediaRecorder_native_getMaxAmplitude()
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 227 jmethodID getMaxAmplitude; member 2907 env->CallFloatMethod(jVibrator.get(), gVibratorMethods.getMaxAmplitude); in android_media_AudioSystem_setVibratorInfos() 3638 gVibratorMethods.getMaxAmplitude = in register_android_media_AudioSystem()
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/aosp14/frameworks/base/core/api/ |
H A D | current.txt | 24138 method public int getMaxAmplitude() throws java.lang.IllegalStateException;
|