Searched refs:color2 (Results 1 - 8 of 8) sorted by relevance
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
H A D | BaseSwipeRefreshLayoutActivity.java | 93 mSwipeRefreshWidget.setColorSchemeResources(R.color.color1, R.color.color2, R.color.color3,
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
H A D | BaseSwipeRefreshLayoutActivity.java | 93 mSwipeRefreshWidget.setColorSchemeResources(R.color.color1, R.color.color2, R.color.color3,
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | SwipeProgressBar.java | 84 * @param color2 Integer representation of a color. 88 void setColorScheme(int color1, int color2, int color3, int color4) { argument 90 mColor2 = color2;
|
/frameworks/base/core/java/com/android/internal/graphics/ |
H A D | ColorUtils.java | 535 * 1.0 will result in {@code color2}.</p> 538 * @param color2 the second ARGB color 539 * @param ratio the blend ratio of {@code color1} to {@code color2} 542 public static int blendARGB(@ColorInt int color1, @ColorInt int color2, argument 545 float a = Color.alpha(color1) * inverseRatio + Color.alpha(color2) * ratio; 546 float r = Color.red(color1) * inverseRatio + Color.red(color2) * ratio; 547 float g = Color.green(color1) * inverseRatio + Color.green(color2) * ratio; 548 float b = Color.blue(color1) * inverseRatio + Color.blue(color2) * ratio;
|
/frameworks/support/core-utils/java/android/support/v4/graphics/ |
H A D | ColorUtils.java | 534 * 1.0 will result in {@code color2}.</p> 537 * @param color2 the second ARGB color 538 * @param ratio the blend ratio of {@code color1} to {@code color2} 541 public static int blendARGB(@ColorInt int color1, @ColorInt int color2, argument 544 float a = Color.alpha(color1) * inverseRatio + Color.alpha(color2) * ratio; 545 float r = Color.red(color1) * inverseRatio + Color.red(color2) * ratio; 546 float g = Color.green(color1) * inverseRatio + Color.green(color2) * ratio; 547 float b = Color.blue(color1) * inverseRatio + Color.blue(color2) * ratio;
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CollapsingTextHelper.java | 698 * Blend {@code color1} and {@code color2} using the given ratio. 701 * 1.0 will return {@code color2}. 703 private static int blendColors(int color1, int color2, float ratio) { argument 705 float a = (Color.alpha(color1) * inverseRatio) + (Color.alpha(color2) * ratio); 706 float r = (Color.red(color1) * inverseRatio) + (Color.red(color2) * ratio); 707 float g = (Color.green(color1) * inverseRatio) + (Color.green(color2) * ratio); 708 float b = (Color.blue(color1) * inverseRatio) + (Color.blue(color2) * ratio);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | MultiProducerActivity.java | 282 public ColorPulse(int color1, int color2, Rect rect) { argument 284 mColorEnd = color2;
|
/frameworks/rs/script_api/ |
H A D | rs_math.spec | 1714 40% color1 and 60% color2, use <code>mix(color1, color2, 0.6f)</code>.
|
Completed in 5034 milliseconds