Home
last modified time | relevance | path

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

/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DBufferSizeView.java169 double normalizedThreshold = 0.0; in setBufferSizeByPosition() local
173 normalizedThreshold = mTaper.linearToExponential( in setBufferSizeByPosition()
175 if (normalizedThreshold < 0.0) normalizedThreshold = 0.0; in setBufferSizeByPosition()
176 else if (normalizedThreshold > 1.0) normalizedThreshold = 1.0; in setBufferSizeByPosition()
177 int percent = (int) (normalizedThreshold * 100); in setBufferSizeByPosition()
181 sizeFrames = (int) (normalizedThreshold * mCachedCapacity); in setBufferSizeByPosition()