/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
NotificationUtils.java | 47 public static int interpolateColors(int startColor, int endColor, float amount) { 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/ |
MinimizedDockShadow.java | 56 int endColor = 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 },
|
/external/skia/tools/skiaserve/urlhandlers/ |
BreakHandler.cpp | 70 response["endColor"] = startColor; 83 Json::Value endColor(Json::arrayValue); 84 endColor.append(Json::Value(SkColorGetR(current))); 85 endColor.append(Json::Value(SkColorGetG(current))); 86 endColor.append(Json::Value(SkColorGetB(current))); 87 endColor.append(Json::Value(SkColorGetA(current))); 88 response["endColor"] = endColor;
|
/developers/build/prebuilts/gradle/CustomTransition/Application/src/main/java/com/example/android/customtransition/ |
ChangeColor.java | 85 ColorDrawable endColor = (ColorDrawable) endBackground; 88 if (startColor.getColor() != endColor.getColor()) { 96 startColor.getColor(), endColor.getColor());
|
/developers/samples/android/ui/transition/CustomTransition/Application/src/main/java/com/example/android/customtransition/ |
ChangeColor.java | 85 ColorDrawable endColor = (ColorDrawable) endBackground; 88 if (startColor.getColor() != endColor.getColor()) { 96 startColor.getColor(), endColor.getColor());
|
/development/samples/browseable/CustomTransition/src/com.example.android.customtransition/ |
ChangeColor.java | 85 ColorDrawable endColor = (ColorDrawable) endBackground; 88 if (startColor.getColor() != endColor.getColor()) { 96 startColor.getColor(), endColor.getColor());
|
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/ |
ChangeColor.java | 83 ColorDrawable endColor = (ColorDrawable) endBackground; 86 if (startColor.getColor() != endColor.getColor()) { 94 startColor.getColor(), endColor.getColor());
|
/frameworks/base/core/java/android/transition/ |
ChangeText.java | 183 final int endColor; 192 startColor = endColor = 0; 208 endColor = (Integer) endVals.get(PROPNAME_TEXT_COLOR); 234 view.setTextColor(endColor); 245 view.setTextColor(currAlpha << 24 | Color.red(endColor) << 16 | 246 Color.green(endColor) << 8 | Color.red(endColor)); 253 view.setTextColor(endColor); 280 view.setTextColor(endColor);
|
Recolor.java | 81 ColorDrawable endColor = (ColorDrawable) endBackground; 82 if (startColor.getColor() != endColor.getColor()) { 83 endColor.setColor(startColor.getColor()); 86 endColor.getColor());
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
DirectoryItemAnimator.java | 118 Integer endColor = post.isActivated ? mSelectedColor : mDefaultColor; 120 mPendingAnimations.add(new ColorAnimation(oldHolder, startColor, endColor)); 148 public ColorAnimation(RecyclerView.ViewHolder vh, int startColor, int endColor) 151 mValueAnimator = ValueAnimator.ofObject(new ArgbEvaluator(), startColor, endColor); 155 mEndColor = endColor;
|
/cts/tests/tests/animation/src/android/animation/cts/ |
ObjectAnimatorTest.java | 90 int endColor = mActivity.view.BLUE; 93 startColor, endColor); 109 assertTrue(endColor <= i.intValue()); 116 int endColor = mActivity.view.BLUE; 117 Object[] values = {new Integer(startColor), new Integer(endColor)}; 135 assertTrue(endColor <= i.intValue()); 142 int endColor = mActivity.view.BLUE; 143 int values[] = {startColor, endColor}; 162 assertTrue(endColor <= i.intValue()); 169 int endColor = mActivity.view.BLUE [all...] |
PropertyValuesHolderTest.java | 257 int endColor = mActivity.view.BLUE; 258 int values[] = {startColor, endColor}; 278 assertTrue(endColor <= i.intValue());
|
/frameworks/base/libs/hwui/ |
SkiaShader.h | 69 FloatColor endColor;
|
SkiaShader.cpp | 177 outData->endColor.set(gradInfo.fColors[1]); 191 bindUniformColor(caches.program().getUniform("endColor"), data.endColor);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
IconView.java | 226 int endColor = Color.argb(200, 0, 0, 0); 230 endColor, Shader.TileMode.CLAMP);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationContentView.java | 531 int endColor = getBackgroundColor(mVisibleType); 533 if (endColor != startColor) { 537 if (endColor == 0) { 538 endColor = mContainingNotification.getBackgroundColorWithoutTint(); 540 endColor = NotificationUtils.interpolateColors(startColor, endColor, 544 mContainingNotification.setContentBackground(endColor, false, this); [all...] |
/frameworks/native/opengl/tests/hwc/ |
hwcTestLib.h | 128 ColorFract startColor, ColorFract endColor);
|
hwcTestLib.cpp | 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()) [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
AnimatedVectorDrawableTest.java | 162 int endColor = mBitmap.getPixel(IMAGE_WIDTH / 2, IMAGE_HEIGHT / 2); 168 assertEquals("Center point's color must be green", 0xFF00FF00, endColor);
|
/external/pdfium/xfa/include/fwl/theme/ |
widgettp.h | 93 FX_ARGB endColor,
|
/external/pdfium/xfa/include/fxfa/ |
fxfa_objectacc.h | 97 int32_t GetLinear(FX_ARGB& endColor);
99 int32_t GetRadial(FX_ARGB& endColor);
104 FX_BOOL SetLinear(int32_t iLinear, FX_ARGB endColor);
105 FX_BOOL SetRadial(int32_t iRadial, FX_ARGB endColor);
|
/external/pdfium/xfa/src/fxfa/src/parser/ |
xfa_objectacc_imp.cpp | 143 int32_t CXFA_Fill::GetLinear(FX_ARGB& endColor) {
150 endColor = XFA_WStringToColor(wsColor);
152 endColor = 0xFF000000;
156 int32_t CXFA_Fill::GetRadial(FX_ARGB& endColor) {
163 endColor = XFA_WStringToColor(wsColor);
165 endColor = 0xFF000000;
195 FX_BOOL CXFA_Fill::SetLinear(int32_t iLinear, FX_ARGB endColor) {
200 ArgbDecode(endColor, a, r, g, b);
205 FX_BOOL CXFA_Fill::SetRadial(int32_t iRadial, FX_ARGB endColor) {
210 ArgbDecode(endColor, a, r, g, b); [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
GradientDrawable.java | [all...] |
/frameworks/base/core/java/com/android/internal/policy/ |
DecorView.java | [all...] |
/external/pdfium/xfa/src/fwl/src/theme/ |
widgettp.cpp | 440 FX_ARGB endColor,
452 shading.CreateAxial(begPoint, endPoint, FALSE, FALSE, beginColor, endColor);
|