Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/vibrator/
DVibratorFrequencyProfile.java97 return mFrequencyProfile.getFrequencyRangeHz().getLower(); in getMinFrequency()
108 return mFrequencyProfile.getFrequencyRangeHz().getUpper(); in getMaxFrequency()
DMultiVibratorInfo.java227 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/
DVibratorInfoTest.java189 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/
DClippingAmplitudeAndFrequencyAdapter.java62 Range<Float> frequencyRangeHz = info.getFrequencyProfile().getFrequencyRangeHz(); in clampFrequency()
/frameworks/base/core/java/android/os/
DVibratorInfo.java622 public Range<Float> getFrequencyRangeHz() { in getFrequencyRangeHz() method in VibratorInfo.FrequencyProfile