Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPathTessellator.cpp105 , maxAlpha(1.0f) { in PaintInfo()
120 maxAlpha *= (2 * halfStrokeWidth) / inverseScaleX; in PaintInfo()
131 float maxAlpha; member
347 VertexBuffer& vertexBuffer, float maxAlpha = 1.0f) { in getFillVerticesFromPerimeterAA() argument
370 current->y - totalOffset.y, maxAlpha); in getFillVerticesFromPerimeterAA()
438 referencePoint.y + innerOffset.y - capAAOffset.y, paintInfo.maxAlpha); in storeCapAA()
446 referencePoint.y - innerOffset.y - capAAOffset.y, paintInfo.maxAlpha); in storeCapAA()
469 referencePoint.y + radialOffset.y - AAOffset.y, paintInfo.maxAlpha); in storeCapAA()
600 current->y + innerOffset.y, paintInfo.maxAlpha); in getStrokeVerticesFromUnclosedVerticesAA()
603 current->y + innerOffset.y, paintInfo.maxAlpha); in getStrokeVerticesFromUnclosedVerticesAA()
[all …]
/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java180 int maxAlpha = 255; in binaryAlphaSearch() local
183 (maxAlpha - minAlpha) > MIN_ALPHA_SEARCH_PRECISION) { in binaryAlphaSearch()
184 final int testAlpha = (minAlpha + maxAlpha) / 2; in binaryAlphaSearch()
191 maxAlpha = testAlpha; in binaryAlphaSearch()
198 return maxAlpha; in binaryAlphaSearch()
/frameworks/support/compat/src/main/java/androidx/core/graphics/
DColorUtils.java203 int maxAlpha = 255; in calculateMinimumAlpha() local
206 (maxAlpha - minAlpha) > MIN_ALPHA_SEARCH_PRECISION) { in calculateMinimumAlpha()
207 final int testAlpha = (minAlpha + maxAlpha) / 2; in calculateMinimumAlpha()
215 maxAlpha = testAlpha; in calculateMinimumAlpha()
222 return maxAlpha; in calculateMinimumAlpha()
/frameworks/base/tools/aapt2/compile/
DPng.cpp868 uint8_t maxAlpha = 0; in maxAlphaOverRow() local
871 if (alpha > maxAlpha) maxAlpha = alpha; in maxAlphaOverRow()
873 return maxAlpha; in maxAlphaOverRow()
878 uint8_t maxAlpha = 0; in maxAlphaOverCol() local
881 if (alpha > maxAlpha) maxAlpha = alpha; in maxAlphaOverCol()
883 return maxAlpha; in maxAlphaOverCol()