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/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.java187 final int endColor; in createAnimator() local
196 startColor = endColor = 0; in createAnimator()
212 endColor = (Integer) endVals.get(PROPNAME_TEXT_COLOR); in createAnimator()
237 view.setTextColor(endColor); in createAnimator()
243 inAnim = ValueAnimator.ofInt(0, Color.alpha(endColor)); in createAnimator()
248 view.setTextColor(currAlpha << 24 | endColor & 0xffffff); in createAnimator()
255 view.setTextColor(endColor); in createAnimator()
282 view.setTextColor(endColor); in createAnimator()
DRecolor.java85 ColorDrawable endColor = (ColorDrawable) endBackground; in createAnimator() local
86 if (startColor.getColor() != endColor.getColor()) { in createAnimator()
87 endColor.setColor(startColor.getColor()); in createAnimator()
90 endColor.getColor()); in createAnimator()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DScreenRotationAnimation.java350 final int endColor = Color.rgb(mEndLuma, mEndLuma, mEndLuma); in startColorAnimation() local
361 applyColor(startColor, endColor, rgbTmpFloat, fraction, mBackColorSurface, t); in startColorAnimation()
366 applyColor(startColor, endColor, rgbTmpFloat, 1f /* fraction */, mBackColorSurface, in startColorAnimation()
373 applyColor(startColor, endColor, rgbTmpFloat, 1f /* fraction */, mBackColorSurface, in startColorAnimation()
397 private static void applyColor(int startColor, int endColor, float[] rgbFloat, in applyColor() argument
400 endColor); in applyColor()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDropZoneView.java214 private void animateBackground(int startColor, int endColor) { in animateBackground() argument
221 endColor); in animateBackground()
/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.java776 int endColor = getBackgroundColor(mVisibleType); in updateBackgroundTransformation() local
778 if (endColor != startColor) { in updateBackgroundTransformation()
782 if (endColor == 0) { in updateBackgroundTransformation()
783 endColor = mContainingNotification.getBackgroundColorWithoutTint(); in updateBackgroundTransformation()
785 endColor = NotificationUtils.interpolateColors(startColor, endColor, in updateBackgroundTransformation()
788 mContainingNotification.setContentBackground(endColor, false, this); in updateBackgroundTransformation()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java1766 int endColor = endCSL != null ? endCSL.getDefaultColor() : 0;
1776 endColor = st.mGradientColors[2].getDefaultColor();
1780 endColor = st.mGradientColors[1].getDefaultColor();
1793 endCSL != null ? endCSL : ColorStateList.valueOf(endColor);
1805 endCSL != null ? endCSL : ColorStateList.valueOf(endColor);
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRotationAnimation.java718 final int endColor = Color.rgb(mEndLuma, mEndLuma, mEndLuma); in startColorAnimation() local
732 final int color = (Integer) va.evaluate(fraction, startColor, endColor); in startColorAnimation()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp1548 float *endColor = mAnimation->endColors[i]; in initDynamicColors() local
1554 endColor[0], endColor[1], endColor[2]); in initDynamicColors()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt529 field public static final int endColor = 16843166; // 0x101019e
/frameworks/base/core/api/
Dcurrent.txt769 field public static final int endColor = 16843166; // 0x101019e
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt75116 Lcom/android/internal/R$attr;->endColor:I