/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationUtils.java | 47 public static int interpolateColors(int startColor, int endColor, float amount) { argument 49 (int) interpolate(Color.alpha(startColor), Color.alpha(endColor), amount), 50 (int) interpolate(Color.red(startColor), Color.red(endColor), amount), 51 (int) interpolate(Color.green(startColor), Color.green(endColor), amount), 52 (int) interpolate(Color.blue(startColor), Color.blue(endColor), amount));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
H A D | MinimizedDockShadow.java | 54 int startColor = mContext.getResources().getColor( 59 (Color.alpha(startColor) + Color.alpha(endColor)) / 2, 0, 0, 0); 61 (int) (Color.alpha(startColor) * 0.25f + Color.alpha(endColor) * 0.75f), 66 new int[] { startColor, middleColor, quarter, endColor }, 71 new int[] { startColor, middleColor, quarter, endColor }, 76 new int[] { startColor, middleColor, quarter, endColor },
|
/frameworks/base/core/java/android/transition/ |
H A D | Recolor.java | 80 ColorDrawable startColor = (ColorDrawable) startBackground; 82 if (startColor.getColor() != endColor.getColor()) { 83 endColor.setColor(startColor.getColor()); 85 return ObjectAnimator.ofArgb(endBackground, "color", startColor.getColor(),
|
H A D | ChangeText.java | 182 final int startColor; 192 startColor = endColor = 0; 207 startColor = (Integer) startVals.get(PROPNAME_TEXT_COLOR); 218 view.setTextColor(currAlpha << 24 | startColor & 0xff0000 | 219 startColor & 0xff00 | startColor & 0xff);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | DirectoryItemAnimator.java | 117 Integer startColor = pre.isActivated ? mSelectedColor : mDefaultColor; 119 oldHolder.itemView.setBackgroundColor(startColor); 120 mPendingAnimations.add(new ColorAnimation(oldHolder, startColor, endColor)); 148 public ColorAnimation(RecyclerView.ViewHolder vh, int startColor, int endColor) argument 151 mValueAnimator = ValueAnimator.ofObject(new ArgbEvaluator(), startColor, endColor);
|
/frameworks/base/libs/hwui/ |
H A D | SkiaShader.h | 68 FloatColor startColor; member in struct:android::uirenderer::SkiaShaderData::GradientShaderData
|
H A D | SkiaShader.cpp | 176 outData->startColor.set(gradInfo.fColors[0]); 190 bindUniformColor(caches.program().getUniform("startColor"), data.startColor);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 682 // side color given by startColor and the right side color given by 683 // endColor. The startColor and endColor values are specified in the format 690 ColorFract startColor, ColorFract endColor) 707 ColorFract color(startColor.c1() + (endColor.c1() - startColor.c1()) 709 startColor.c2() + (endColor.c2() - startColor.c2()) 711 startColor.c3() + (endColor.c3() - startColor.c3()) 689 hwcTestFillColorHBlend(GraphicBuffer *gBuf, uint32_t colorFormat, ColorFract startColor, ColorFract endColor) argument
|
H A D | hwcTestLib.h | 128 ColorFract startColor, ColorFract endColor);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationContentView.java | 524 int startColor = getBackgroundColor(mTransformationStartVisibleType); 525 if (endColor != startColor) { 526 if (startColor == 0) { 527 startColor = mContainingNotification.getBackgroundColorWithoutTint(); 532 endColor = NotificationUtils.interpolateColors(startColor, endColor,
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | GradientDrawable.java | 1513 final int startColor = a.getColor( 1524 st.mGradientColors[0] = startColor; 1535 st.mGradientColors[0] = startColor;
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DecorView.java | 2053 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 },
|