Home
last modified time | relevance | path

Searched refs:endColor (Results 1 – 11 of 11) 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.java54 public static int interpolateColors(int startColor, int endColor, float amount) { in interpolateColors() argument
56 (int) interpolate(Color.alpha(startColor), Color.alpha(endColor), amount), in interpolateColors()
57 (int) interpolate(Color.red(startColor), Color.red(endColor), amount), in interpolateColors()
58 (int) interpolate(Color.green(startColor), Color.green(endColor), amount), in interpolateColors()
59 (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/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/
DTemperatureColorStore.java117 int lerpColor(float fraction, int startColor, int endColor) { in lerpColor() argument
121 Color.colorToHSV(endColor, endHsv); in lerpColor()
/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/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentView.java724 int endColor = getBackgroundColor(mVisibleType); in updateBackgroundTransformation() local
726 if (endColor != startColor) { in updateBackgroundTransformation()
730 if (endColor == 0) { in updateBackgroundTransformation()
731 endColor = mContainingNotification.getBackgroundColorWithoutTint(); in updateBackgroundTransformation()
733 endColor = NotificationUtils.interpolateColors(startColor, endColor, in updateBackgroundTransformation()
737 mContainingNotification.setContentBackground(endColor, false, this); in updateBackgroundTransformation()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java1739 final int endColor = a.getColor(
1746 st.mGradientColors[2] = endColor;
1756 st.mGradientColors[1] = endColor;
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java2337 final int endColor = mContext.getResources().getColor( in initResizingPaints() local
2339 final int middleColor = (startColor + endColor) / 2; in initResizingPaints()
2341 0, 0, 0, mResizeShadowSize, new int[] { startColor, middleColor, endColor }, in initResizingPaints()
2344 0, 0, mResizeShadowSize, 0, new int[] { startColor, middleColor, endColor }, in initResizingPaints()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...