Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DMinimizedDockShadow.java56 int endColor = mContext.getResources().getColor( in updatePaint() local
59 (Color.alpha(startColor) + Color.alpha(endColor)) / 2, 0, 0, 0); in updatePaint()
61 (int) (Color.alpha(startColor) * 0.25f + Color.alpha(endColor) * 0.75f), in updatePaint()
66 new int[] { startColor, middleColor, quarter, endColor }, in updatePaint()
71 new int[] { startColor, middleColor, quarter, endColor }, in updatePaint()
76 new int[] { startColor, middleColor, quarter, endColor }, in updatePaint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationUtils.java47 public static int interpolateColors(int startColor, int endColor, float amount) { in interpolateColors() argument
49 (int) interpolate(Color.alpha(startColor), Color.alpha(endColor), amount), in interpolateColors()
50 (int) interpolate(Color.red(startColor), Color.red(endColor), amount), in interpolateColors()
51 (int) interpolate(Color.green(startColor), Color.green(endColor), amount), in interpolateColors()
52 (int) interpolate(Color.blue(startColor), Color.blue(endColor), amount)); in interpolateColors()
/frameworks/base/core/java/android/transition/
DChangeText.java183 final int endColor; in createAnimator() local
192 startColor = endColor = 0; in createAnimator()
208 endColor = (Integer) endVals.get(PROPNAME_TEXT_COLOR); in createAnimator()
233 view.setTextColor(endColor); in createAnimator()
239 inAnim = ValueAnimator.ofInt(0, Color.alpha(endColor)); in createAnimator()
244 view.setTextColor(currAlpha << 24 | endColor & 0xffffff); in createAnimator()
251 view.setTextColor(endColor); in createAnimator()
278 view.setTextColor(endColor); in createAnimator()
DRecolor.java81 ColorDrawable endColor = (ColorDrawable) endBackground; in createAnimator() local
82 if (startColor.getColor() != endColor.getColor()) { in createAnimator()
83 endColor.setColor(startColor.getColor()); in createAnimator()
86 endColor.getColor()); in createAnimator()
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
DChangeColor.java83 ColorDrawable endColor = (ColorDrawable) endBackground; in createAnimator() local
86 if (startColor.getColor() != endColor.getColor()) { in createAnimator()
94 startColor.getColor(), endColor.getColor()); in createAnimator()
/frameworks/base/libs/hwui/
DSkiaShader.h65 FloatColor endColor; member
DSkiaShader.cpp177 outData->endColor.set(gradInfo.fColors[1]); in tryStoreGradient()
192 bindUniformColor(caches.program().getUniform("endColor"), data.endColor); in applyGradient()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationContentView.java625 int endColor = getBackgroundColor(mVisibleType); in updateBackgroundTransformation() local
627 if (endColor != startColor) { in updateBackgroundTransformation()
631 if (endColor == 0) { in updateBackgroundTransformation()
632 endColor = mContainingNotification.getBackgroundColorWithoutTint(); in updateBackgroundTransformation()
634 endColor = NotificationUtils.interpolateColors(startColor, endColor, in updateBackgroundTransformation()
638 mContainingNotification.setContentBackground(endColor, false, this); in updateBackgroundTransformation()
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.h128 ColorFract startColor, ColorFract endColor);
DhwcTestLib.cpp690 ColorFract startColor, ColorFract endColor) in hwcTestFillColorHBlend() argument
707 ColorFract color(startColor.c1() + (endColor.c1() - startColor.c1()) in hwcTestFillColorHBlend()
709 startColor.c2() + (endColor.c2() - startColor.c2()) in hwcTestFillColorHBlend()
711 startColor.c3() + (endColor.c3() - startColor.c3()) in hwcTestFillColorHBlend()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java2180 final int endColor = mContext.getResources().getColor(
2182 final int middleColor = (startColor + endColor) / 2;
2184 0, 0, 0, mResizeShadowSize, new int[] { startColor, middleColor, endColor },
2187 0, 0, mResizeShadowSize, 0, new int[] { startColor, middleColor, endColor },
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java1557 final int endColor = a.getColor(
1564 st.mGradientColors[2] = endColor;
1574 st.mGradientColors[1] = endColor;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt529 field public static final int endColor = 16843166; // 0x101019e
/frameworks/base/api/
Dcurrent.txt543 field public static final int endColor = 16843166; // 0x101019e
Dsystem-current.txt664 field public static final int endColor = 16843166; // 0x101019e