Home
last modified time | relevance | path

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

/aosp12/frameworks/layoutlib/bridge/src/android/view/shadow/
H A DSpotShadowVertexCalculator.java95 int roundedEdgeSegments = ((polyLength == 4) ? 0 : ShadowConstants.SPLICE_ROUNDED_EDGE); in calculateShadow() local
96 int sideLength = (roundedEdgeSegments / 2 + 1) * 2; in calculateShadow()
98 int idx = (roundedEdgeSegments + 1) / 2; in calculateShadow()
121 idx = roundedEdgeSegments; in calculateShadow()
125 for (int s = 0; s < 4; ++s, idx += (roundedEdgeSegments + 1)) { // 4 sides in calculateShadow()