/frameworks/base/graphics/java/android/graphics/ |
D | SweepGradient.java | 114 public SweepGradient(float cx, float cy, @ColorInt int color0, @ColorInt int color1) { in SweepGradient() argument 115 this(cx, cy, Color.pack(color0), Color.pack(color1)); in SweepGradient() 129 public SweepGradient(float cx, float cy, @ColorLong long color0, @ColorLong long color1) { in SweepGradient() argument 130 this(cx, cy, new long[] {color0, color1}, null); in SweepGradient()
|
D | LinearGradient.java | 129 @ColorInt int color0, @ColorInt int color1, in LinearGradient() argument 131 this(x0, y0, x1, y1, Color.pack(color0), Color.pack(color1), tile); in LinearGradient() 149 @ColorLong long color0, @ColorLong long color1, in LinearGradient() argument 151 this(x0, y0, x1, y1, new long[] {color0, color1}, null, tile); in LinearGradient()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | ColorStateListTest.java | 45 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1); in testStateIsInList() 53 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1); in testEmptyState() 61 int defaultColor = mResources.getColor(R.color.color1); in testGetColor()
|
/frameworks/native/cmds/flatland/ |
D | Renderers.cpp | 97 const float* color1 = genColor(); in drawGradient() local 114 glUniform4fv(mColor1UniformLoc, 1, color1); in drawGradient()
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 585 public static int blendARGB(@ColorInt int color1, @ColorInt int color2, in blendARGB() argument 588 float a = Color.alpha(color1) * inverseRatio + Color.alpha(color2) * ratio; in blendARGB() 589 float r = Color.red(color1) * inverseRatio + Color.red(color2) * ratio; in blendARGB() 590 float g = Color.green(color1) * inverseRatio + Color.green(color2) * ratio; in blendARGB() 591 float b = Color.blue(color1) * inverseRatio + Color.blue(color2) * ratio; in blendARGB()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesDrawableTest.java | 45 Drawable drawable = resources.getDrawable(R.color.color1); in testLoadColorAsDrawable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | InvocationLightsView.java | 180 public void setColors(@ColorInt int color1, @ColorInt int color2, in setColors() argument 184 mAssistInvocationLights.get(0).setColor(color1); in setColors()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MultiProducerActivity.java | 282 public ColorPulse(int color1, int color2, Rect rect) { in ColorPulse() argument 283 mColorStart = color1; in ColorPulse()
|
/frameworks/rs/script_api/ |
D | rs_math.spec | 1714 40% color1 and 60% color2, use <code>mix(color1, color2, 0.6f)</code>.
|
/frameworks/rs/script_api/include/ |
D | rs_math.rsh | 3552 * 40% color1 and 60% color2, use mix(color1, color2, 0.6f).
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |