Home
last modified time | relevance | path

Searched refs:color1 (Results 1 – 9 of 9) sorted by relevance

/aosp14/frameworks/base/graphics/java/android/graphics/
H A DSweepGradient.java115 public SweepGradient(float cx, float cy, @ColorInt int color0, @ColorInt int color1) { in SweepGradient() argument
116 this(cx, cy, Color.pack(color0), Color.pack(color1)); in SweepGradient()
130 public SweepGradient(float cx, float cy, @ColorLong long color0, @ColorLong long color1) { in SweepGradient() argument
131 this(cx, cy, new long[] {color0, color1}, null); in SweepGradient()
H A DLinearGradient.java130 @ColorInt int color0, @ColorInt int color1, in LinearGradient() argument
132 this(x0, y0, x1, y1, Color.pack(color0), Color.pack(color1), tile); in LinearGradient()
150 @ColorLong long color0, @ColorLong long color1, in LinearGradient() argument
152 this(x0, y0, x1, y1, new long[] {color0, color1}, null, tile); in LinearGradient()
/aosp14/frameworks/base/core/tests/coretests/src/android/graphics/
H A DColorStateListTest.java45 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()
/aosp14/frameworks/base/core/java/com/android/internal/graphics/
H A DColorUtils.java619 public static int blendARGB(@ColorInt int color1, @ColorInt int color2, in blendARGB() argument
622 float a = Color.alpha(color1) * inverseRatio + Color.alpha(color2) * ratio; in blendARGB()
623 float r = Color.red(color1) * inverseRatio + Color.red(color2) * ratio; in blendARGB()
624 float g = Color.green(color1) * inverseRatio + Color.green(color2) * ratio; in blendARGB()
625 float b = Color.blue(color1) * inverseRatio + Color.blue(color2) * ratio; in blendARGB()
/aosp14/frameworks/base/core/tests/coretests/src/android/content/res/
H A DResourcesDrawableTest.java47 Drawable drawable = resources.getDrawable(R.color.color1); in testLoadColorAsDrawable()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
H A DInvocationLightsView.java180 public void setColors(@ColorInt int color1, @ColorInt int color2, in setColors() argument
184 mAssistInvocationLights.get(0).setColor(color1); in setColors()
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DMultiProducerActivity.java282 public ColorPulse(int color1, int color2, Rect rect) { in ColorPulse() argument
283 mColorStart = color1; in ColorPulse()
/aosp14/frameworks/base/cmds/bootanimation/
H A DFORMAT.md167 * persist.bootanim.color1
175 Prepare your PNG images so that the R, G, B, A channels indicates the areas to draw color1,
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...