Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/
DSpotShadow.java142 int lLowerSize = 2; in hull() local
145 lLower[lLowerSize * 2 + 0] = points[i * 2 + 0]; in hull()
146 lLower[lLowerSize * 2 + 1] = points[i * 2 + 1]; in hull()
147 lLowerSize++; in hull()
149 while (lLowerSize > 2 && in hull()
150 !rightTurn(lLower[(lLowerSize - 3) * 2], lLower[(lLowerSize - 3) * 2 + 1], in hull()
151 lLower[(lLowerSize - 2) * 2], lLower[(lLowerSize - 2) * 2 + 1], in hull()
152 lLower[(lLowerSize - 1) * 2], lLower[(lLowerSize - 1) * 2 + 1])) { in hull()
154 lLower[(lLowerSize - 2) * 2 + 0] = lLower[(lLowerSize - 1) * 2 + 0]; in hull()
155 lLower[(lLowerSize - 2) * 2 + 1] = lLower[(lLowerSize - 1) * 2 + 1]; in hull()
[all …]
/frameworks/base/libs/hwui/
DSpotShadow.cpp189 int lLowerSize = 2; in hull() local
192 lLower[lLowerSize] = points[i]; in hull()
193 lLowerSize++; in hull()
195 while (lLowerSize > 2 && !ccw( in hull()
196 lLower[lLowerSize - 3].x, lLower[lLowerSize - 3].y, in hull()
197 lLower[lLowerSize - 2].x, lLower[lLowerSize - 2].y, in hull()
198 lLower[lLowerSize - 1].x, lLower[lLowerSize - 1].y)) { in hull()
200 lLower[lLowerSize - 2] = lLower[lLowerSize - 1]; in hull()
201 lLowerSize--; in hull()
206 const int total = lUpperSize + lLowerSize - 2; in hull()
[all …]