Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPathTessellator.cpp103 halfStrokeWidth(paint->getStrokeWidth() * 0.5f), maxAlpha(1.0f) { in PaintInfo()
118 maxAlpha *= (2 * halfStrokeWidth) / inverseScaleX; in PaintInfo()
129 float maxAlpha; member
348 float maxAlpha = 1.0f) { in getFillVerticesFromPerimeterAA() argument
374 maxAlpha); in getFillVerticesFromPerimeterAA()
447 paintInfo.maxAlpha); in storeCapAA()
459 paintInfo.maxAlpha); in storeCapAA()
484 paintInfo.maxAlpha); in storeCapAA()
619 paintInfo.maxAlpha); in getStrokeVerticesFromUnclosedVerticesAA()
624 paintInfo.maxAlpha); in getStrokeVerticesFromUnclosedVerticesAA()
[all …]
/frameworks/support/v4/java/android/support/v4/graphics/
DColorUtils.java135 int maxAlpha = 255; in calculateMinimumAlpha() local
138 (maxAlpha - minAlpha) > MIN_ALPHA_SEARCH_PRECISION) { in calculateMinimumAlpha()
139 final int testAlpha = (minAlpha + maxAlpha) / 2; in calculateMinimumAlpha()
147 maxAlpha = testAlpha; in calculateMinimumAlpha()
154 return maxAlpha; in calculateMinimumAlpha()
/frameworks/base/tools/aapt2/compile/
DPng.cpp833 uint8_t maxAlpha = 0; in maxAlphaOverRow() local
836 if (alpha > maxAlpha) maxAlpha = alpha; in maxAlphaOverRow()
838 return maxAlpha; in maxAlphaOverRow()
842 uint8_t maxAlpha = 0; in maxAlphaOverCol() local
845 if (alpha > maxAlpha) maxAlpha = alpha; in maxAlphaOverCol()
847 return maxAlpha; in maxAlphaOverCol()