Home
last modified time | relevance | path

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

/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dthreshold_half.rscript58 half halfR = 0.0f;
60 halfR = (half)r;
61 gaussian[r + radius] = coeff1 * pow(e, halfR * halfR * coeff2);
68 halfR = (half)r;
/frameworks/base/core/java/com/android/internal/graphics/palette/
DWuQuantizer.java338 int halfR = baseR + top(cube, direction, i, mMomentsR); in maximize() local
346 double tempNumerator = halfR * halfR + halfG * halfG + halfB * halfB; in maximize()
350 halfR = wholeR - halfR; in maximize()
358 tempNumerator = halfR * halfR + halfG * halfG + halfB * halfB; in maximize()