Searched defs:startColor (Results 1 - 4 of 4) sorted by relevance
/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/libs/hwui/ |
H A D | SkiaShader.h | 68 FloatColor startColor; member in struct:android::uirenderer::SkiaShaderData::GradientShaderData
|
/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/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
|
Completed in 143 milliseconds