Home
last modified time | relevance | path

Searched refs:startColor (Results 1 – 17 of 17) 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()
218 view.setTextColor(currAlpha << 24 | startColor & 0xff0000 | in createAnimator()
219 startColor & 0xff00 | startColor & 0xff); in createAnimator()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryItemAnimator.java117 Integer startColor = pre.isActivated ? mSelectedColor : mDefaultColor; in animateChange() local
119 oldHolder.itemView.setBackgroundColor(startColor); in animateChange()
120 mPendingAnimations.add(new ColorAnimation(oldHolder, startColor, endColor)); in animateChange()
148 public ColorAnimation(RecyclerView.ViewHolder vh, int startColor, int endColor) in ColorAnimation() argument
151 mValueAnimator = ValueAnimator.ofObject(new ArgbEvaluator(), startColor, endColor); in ColorAnimation()
/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.h68 FloatColor startColor; member
DSkiaShader.cpp176 outData->startColor.set(gradInfo.fColors[0]); in tryStoreGradient()
190 bindUniformColor(caches.program().getUniform("startColor"), data.startColor); in applyGradient()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationContentView.java524 int startColor = getBackgroundColor(mTransformationStartVisibleType); in updateBackgroundTransformation() local
525 if (endColor != startColor) { in updateBackgroundTransformation()
526 if (startColor == 0) { in updateBackgroundTransformation()
527 startColor = mContainingNotification.getBackgroundColorWithoutTint(); in updateBackgroundTransformation()
532 endColor = NotificationUtils.interpolateColors(startColor, endColor, in updateBackgroundTransformation()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java2053 final int startColor = mContext.getResources().getColor(
2057 final int middleColor = (startColor + endColor) / 2;
2059 0, 0, 0, mResizeShadowSize, new int[] { startColor, middleColor, endColor },
2062 0, 0, mResizeShadowSize, 0, new int[] { startColor, middleColor, endColor },
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java1513 final int startColor = a.getColor(
1524 st.mGradientColors[0] = startColor;
1535 st.mGradientColors[0] = startColor;
/frameworks/base/docs/html/guide/topics/resources/
Ddrawable-resource.jd1476 android:startColor="<em>color</em>"
1599 <dt><code>android:startColor</code></dt>
1696 android:startColor="#FFFF0000"
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1126 field public static final int startColor = 16843165; // 0x101019d
/frameworks/base/api/
Dcurrent.txt1144 field public static final int startColor = 16843165; // 0x101019d
Dsystem-current.txt1255 field public static final int startColor = 16843165; // 0x101019d
Dtest-current.txt1144 field public static final int startColor = 16843165; // 0x101019d