Searched refs:mMaxAmplitudes (Results 1 – 4 of 4) sorted by relevance
502 private final float[] mMaxAmplitudes; field in VibratorInfo.FrequencyMapping532 mMaxAmplitudes = new float[maxAmplitudes == null ? 0 : maxAmplitudes.length]; in FrequencyMapping()534 System.arraycopy(maxAmplitudes, 0, mMaxAmplitudes, 0, maxAmplitudes.length); in FrequencyMapping()538 minFrequencyHz + frequencyResolutionHz * (mMaxAmplitudes.length - 1); in FrequencyMapping()604 if (floorIndex < 0 || floorIndex >= mMaxAmplitudes.length) { in getMaxAmplitude()605 if (mMaxAmplitudes.length > 0) { in getMaxAmplitude()607 Log.w(TAG, "Max amplitudes has " + mMaxAmplitudes.length in getMaxAmplitude()614 if (floorIndex != ceilIndex && ceilIndex < mMaxAmplitudes.length) { in getMaxAmplitude()616 return MathUtils.min(mMaxAmplitudes[floorIndex], mMaxAmplitudes[ceilIndex]); in getMaxAmplitude()618 return mMaxAmplitudes[floorIndex]; in getMaxAmplitude()[all …]
66 private float[] mMaxAmplitudes; field in FakeVibratorControllerProvider172 mMaxAmplitudes)); in getInfo()285 mMaxAmplitudes = maxAmplitudes; in setMaxAmplitudes()
229 mMaxAmplitudes}; in get()253 HalResult<std::vector<float>> mMaxAmplitudes = HalResult<std::vector<float>>::failed(MSG);
162 if (mInfoCache.mMaxAmplitudes.isFailed()) { in getInfo()163 mInfoCache.mMaxAmplitudes = getMaxAmplitudesInternal(); in getInfo()