Home
last modified time | relevance | path

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

/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
Dthreshold.rs46 float normalizeFactor = 0.0f;
52 normalizeFactor += gaussian[r + radius];
56 normalizeFactor = 1.0f / normalizeFactor;
59 gaussian[r + radius] *= normalizeFactor;
/frameworks/base/libs/hwui/
DFontRenderer.cpp802 float normalizeFactor = 0.0f; in computeGaussianWeights() local
806 normalizeFactor += weights[r + radius]; in computeGaussianWeights()
810 normalizeFactor = 1.0f / normalizeFactor; in computeGaussianWeights()
812 weights[r + radius] *= normalizeFactor; in computeGaussianWeights()