Searched refs:ShadowConstants (Results 1 – 3 of 3) sorted by relevance
28 import static android.view.shadow.ShadowConstants.MIN_ALPHA;29 import static android.view.shadow.ShadowConstants.SCALE_DOWN;79 .setEdgeScale(ShadowConstants.AMBIENT_SHADOW_EDGE_SCALE) in paintRectShadow()80 .setShadowBoundRatio(ShadowConstants.AMBIENT_SHADOW_SHADOW_BOUND) in paintRectShadow()81 .setShadowStrength(ShadowConstants.AMBIENT_SHADOW_STRENGTH * alpha) in paintRectShadow()99 .setShadowStrength(ShadowConstants.SPOT_SHADOW_STRENGTH * alpha) in paintRectShadow()273 … float[] poly = new float[ShadowConstants.RECT_VERTICES_SIZE * ShadowConstants.COORDINATE_SIZE]; in getPoly()293 for (int i = 0; i <= ShadowConstants.SPLICE_ROUNDED_EDGE; i++) { in buildRoundedEdges()303 for (int i = ShadowConstants.SPLICE_ROUNDED_EDGE; i >= 0; i--) { in buildRoundedEdges()313 for (int i = 0; i <= ShadowConstants.SPLICE_ROUNDED_EDGE; i++) { in buildRoundedEdges()[all …]
22 class ShadowConstants { class
95 int roundedEdgeSegments = ((polyLength == 4) ? 0 : ShadowConstants.SPLICE_ROUNDED_EDGE); in calculateShadow()