Searched refs:getFrequencyRangeHz (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/os/vibrator/ |
D | VibratorFrequencyProfile.java | 97 return mFrequencyProfile.getFrequencyRangeHz().getLower(); in getMinFrequency() 108 return mFrequencyProfile.getFrequencyRangeHz().getUpper(); in getMaxFrequency()
|
D | MultiVibratorInfo.java | 227 Range<Float> vibratorFreqRange = info.getFrequencyProfile().getFrequencyRangeHz(); in frequencyProfileIntersection() 253 Range<Float> firstRange = infos[0].getFrequencyProfile().getFrequencyRangeHz(); in frequencyRangeIntersection() 265 Range<Float> vibratorRange = infos[i].getFrequencyProfile().getFrequencyRangeHz(); in frequencyRangeIntersection()
|
/frameworks/base/core/tests/vibrator/src/android/os/ |
D | VibratorInfoTest.java | 189 Float.NaN, 50, 25, TEST_AMPLITUDE_MAP).getFrequencyRangeHz()); in testGetFrequencyRangeHz_emptyProfileReturnsNull() 191 150, Float.NaN, 25, TEST_AMPLITUDE_MAP).getFrequencyRangeHz()); in testGetFrequencyRangeHz_emptyProfileReturnsNull() 193 150, 50, Float.NaN, TEST_AMPLITUDE_MAP).getFrequencyRangeHz()); in testGetFrequencyRangeHz_emptyProfileReturnsNull() 194 assertNull(new VibratorInfo.FrequencyProfile(150, 50, 25, null).getFrequencyRangeHz()); in testGetFrequencyRangeHz_emptyProfileReturnsNull() 207 assertEquals(50f, profile.getFrequencyRangeHz().getLower(), TEST_TOLERANCE); in testGetFrequencyRangeHz_validProfileReturnsMappedValues() 208 assertEquals(200f, profile.getFrequencyRangeHz().getUpper(), TEST_TOLERANCE); in testGetFrequencyRangeHz_validProfileReturnsMappedValues()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | ClippingAmplitudeAndFrequencyAdapter.java | 62 Range<Float> frequencyRangeHz = info.getFrequencyProfile().getFrequencyRangeHz(); in clampFrequency()
|
/frameworks/base/core/java/android/os/ |
D | VibratorInfo.java | 622 public Range<Float> getFrequencyRangeHz() { in getFrequencyRangeHz() method in VibratorInfo.FrequencyProfile
|