Searched refs:floorIndex (Results 1 – 1 of 1) sorted by relevance
602 int floorIndex = (int) Math.floor(position); in getMaxAmplitude() local604 if (floorIndex < 0 || floorIndex >= 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()