Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DMinimizedDockShadow.java54 int startColor = 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/
DRecolor.java80 ColorDrawable startColor = (ColorDrawable) startBackground; in createAnimator() local
82 if (startColor.getColor() != endColor.getColor()) { in createAnimator()
83 endColor.setColor(startColor.getColor()); in createAnimator()
85 return ObjectAnimator.ofArgb(endBackground, "color", startColor.getColor(), in createAnimator()
DChangeText.java182 final int startColor; in createAnimator() local
192 startColor = endColor = 0; in createAnimator()
207 startColor = (Integer) startVals.get(PROPNAME_TEXT_COLOR); in createAnimator()
213 outAnim = ValueAnimator.ofInt(Color.alpha(startColor), 0); in createAnimator()
218 view.setTextColor(currAlpha << 24 | startColor & 0xffffff); in createAnimator()
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
DChangeColor.java82 ColorDrawable startColor = (ColorDrawable) startBackground; in createAnimator() local
86 if (startColor.getColor() != endColor.getColor()) { in createAnimator()
94 startColor.getColor(), endColor.getColor()); in createAnimator()
/frameworks/native/opengl/tests/hwc/
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()
DhwcTestLib.h128 ColorFract startColor, ColorFract endColor);
/frameworks/base/libs/hwui/
DSkiaShader.h64 FloatColor startColor; member
DSkiaShader.cpp176 outData->startColor.set(gradInfo.fColors[0]); in tryStoreGradient()
191 bindUniformColor(caches.program().getUniform("startColor"), data.startColor); in applyGradient()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationContentView.java626 int startColor = getBackgroundColor(mTransformationStartVisibleType); in updateBackgroundTransformation() local
627 if (endColor != startColor) { in updateBackgroundTransformation()
628 if (startColor == 0) { in updateBackgroundTransformation()
629 startColor = mContainingNotification.getBackgroundColorWithoutTint(); in updateBackgroundTransformation()
634 endColor = NotificationUtils.interpolateColors(startColor, endColor, in updateBackgroundTransformation()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java2178 final int startColor = 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.java1551 final int startColor = a.getColor(
1562 st.mGradientColors[0] = startColor;
1573 st.mGradientColors[0] = startColor;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1126 field public static final int startColor = 16843165; // 0x101019d
/frameworks/base/api/
Dcurrent.txt1211 field public static final int startColor = 16843165; // 0x101019d
Dsystem-current.txt1338 field public static final int startColor = 16843165; // 0x101019d