Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/view/shadow/
DHighQualityShadowPainter.java48 Rect rectScaled = new Rect(); in paintRectShadow() local
49 if (!outline.getRect(rectScaled) || alpha < MIN_ALPHA) { in paintRectShadow()
56 rectScaled.left /= SCALE_DOWN; in paintRectShadow()
57 rectScaled.right /= SCALE_DOWN; in paintRectShadow()
58 rectScaled.top /= SCALE_DOWN; in paintRectShadow()
59 rectScaled.bottom /= SCALE_DOWN; in paintRectShadow()
62 if (radius > rectScaled.width() || radius > rectScaled.height()) { in paintRectShadow()
69 float[] poly = getPoly(rectScaled, elevation / SCALE_DOWN, radius); in paintRectShadow()
72 paintSpotShadow(poly, rectScaled, elevation / SCALE_DOWN, in paintRectShadow()