/aosp12/frameworks/base/tests/Internal/src/android/app/ |
H A D | WallpaperColorsTest.java | 40 WallpaperColors colors = new WallpaperColors(color, null, null, 0); in supportsDarkTextOverrideTest() local 85 WallpaperColors colors = new WallpaperColors(Color.valueOf(Color.GREEN), null, null); in colorHintsTest() local 94 WallpaperColors colors = new WallpaperColors(color, null, null); in darkMainColorSupportsDarkTheme() local 117 WallpaperColors colors = WallpaperColors.fromBitmap(image); in testParcelUnparcel() local
|
/aosp12/frameworks/base/graphics/java/android/graphics/ |
H A D | SweepGradient.java | 62 public SweepGradient(float cx, float cy, @NonNull @ColorInt int[] colors, in SweepGradient() 84 public SweepGradient(float cx, float cy, @NonNull @ColorLong long[] colors, in SweepGradient() 93 private SweepGradient(float cx, float cy, @NonNull @ColorLong long[] colors, in SweepGradient() 142 long[] colors, float[] positions, long colorSpaceHandle); in nativeCreate()
|
H A D | RadialGradient.java | 71 @NonNull @ColorInt int[] colors, @Nullable float[] stops, in RadialGradient() 95 @NonNull @ColorLong long[] colors, @Nullable float[] stops, in RadialGradient() 140 @NonNull @ColorLong long[] colors, @Nullable float[] stops, in RadialGradient() 151 float endRadius, @NonNull @ColorLong long[] colors, @Nullable float[] stops, in RadialGradient() 220 float startRadius, float endX, float endY, float endRadius, @ColorLong long[] colors, in nativeCreate()
|
H A D | LinearGradient.java | 69 public LinearGradient(float x0, float y0, float x1, float y1, @NonNull @ColorInt int[] colors, in LinearGradient() 92 public LinearGradient(float x0, float y0, float x1, float y1, @NonNull @ColorLong long[] colors, in LinearGradient() 102 @NonNull @ColorLong long[] colors, @Nullable float[] positions, @NonNull TileMode tile, in LinearGradient() 164 long[] colors, float[] positions, int tileMode, long colorSpaceHandle); in nativeCreate()
|
H A D | Shader.java | 213 protected static @ColorLong long[] convertColors(@NonNull @ColorInt int[] colors) { in convertColors() 234 protected static ColorSpace detectColorSpace(@NonNull @ColorLong long[] colors) { in detectColorSpace()
|
/aosp12/frameworks/base/core/java/android/service/wallpaper/ |
H A D | IWallpaperConnection.aidl | 31 void onWallpaperColorsChanged(in WallpaperColors colors, int displayId); in onWallpaperColorsChanged() 32 void onLocalWallpaperColorsChanged(in RectF area, in WallpaperColors colors, int displayId); in onLocalWallpaperColorsChanged()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
H A D | LocalColorExtractor.java | 70 public void applyColorsOverride(Context base, WallpaperColors colors) { } in applyColorsOverride() 76 public SparseIntArray generateColorsOverride(WallpaperColors colors) { in generateColorsOverride()
|
/aosp12/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | ColorPickerDialog.java | 64 public static ColorPickerDialog newInstance(int titleResId, int[] colors, int selectedColor, in newInstance() 71 public void initialize(int titleResId, int[] colors, int selectedColor, int columns, int size) { in initialize() 163 public void setColors(int[] colors, int selectedColor) { in setColors() 171 public void setColors(int[] colors) { in setColors()
|
/aosp12/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | SweepGradient_Delegate.java | 59 /*package*/ static long nativeCreate(long matrix, float x, float y, long[] colors, in nativeCreate() 84 long[] colors, float[] positions) { in SweepGradient_Delegate() 94 public SweepGradientPaint(float cx, float cy, int[] colors, in SweepGradientPaint()
|
H A D | RadialGradient_Delegate.java | 63 long[] colors, float[] positions, int tileMode, long colorSpaceHandle) { in nativeCreate() 87 long[] colors, float[] positions, TileMode tile) { in RadialGradient_Delegate() 99 int[] colors, float[] positions, TileMode mode) { in RadialGradientPaint()
|
H A D | LinearGradient_Delegate.java | 63 float x0, float y0, float x1, float y1, long[] colors, float[] positions, in nativeCreate() 87 float y1, long[] colors, float[] positions, TileMode tile) { in LinearGradient_Delegate() 106 public LinearGradientPaint(float x0, float y0, float x1, float y1, int[] colors, in LinearGradientPaint()
|
H A D | Gradient_Delegate.java | 52 protected Gradient_Delegate(long nativeMatrix, long[] colors, float[] positions) { in Gradient_Delegate() 90 protected GradientPaint(int[] colors, float[] positions, TileMode tileMode) { in GradientPaint()
|
/aosp12/frameworks/base/core/java/com/android/internal/graphics/palette/ |
H A D | ColorCutQuantizer.java | 118 final int[] colors = mColors = new int[distinctColorCount]; in quantize() local 208 ArrayList<Swatch> colors = new ArrayList<>(vboxes.size()); in generateAverageColors() local 253 final int[] colors = mColors; in fitBox() local 349 final int[] colors = mColors; in findSplitPoint() local 380 final int[] colors = mColors; in getAverageColor() local
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | ILocalWallpaperColorConsumer.aidl | 26 void onColorsChanged(in RectF area, in WallpaperColors colors); in onColorsChanged()
|
H A D | IWallpaperManagerCallback.aidl | 37 void onWallpaperColorsChanged(in WallpaperColors colors, int which, int userId); in onWallpaperColorsChanged()
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
H A D | WallpaperConnection.java | 175 WallpaperColors colors, int displayId) { in onLocalWallpaperColorsChanged() 232 public void onWallpaperColorsChanged(WallpaperColors colors, int displayId) { in onWallpaperColorsChanged() 369 default void onWallpaperColorsChanged(WallpaperColors colors, int displayId) {} in onWallpaperColorsChanged()
|
/aosp12/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/ |
H A D | NavigationBarButton.java | 100 public void setTextColor(ColorStateList colors) { in setTextColor() 161 public void setTintListCompat(ColorStateList colors) { in setTintListCompat()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | SwitchCompatUtils.java | 69 final int[] colors = new int[3]; in getSwitchThumbColorStateList() local 89 final int[] colors = new int[3]; in getSwitchTrackColorStateList() local
|
/aosp12/frameworks/base/core/tests/coretests/src/android/graphics/ |
H A D | BitmapTest.java | 87 int[] colors = new int[100]; in testGetPixelsWithAlpha() local 113 int[] colors = new int[100]; in testGetPixelsWithoutAlpha() local 130 int[] colors = new int[100]; in testSetPixelsWithAlpha() local 156 int[] colors = new int[100]; in testSetPixelsWithoutAlpha() local 186 int[] colors = new int[256]; in testSetPixelsWithNonOpaqueAlpha() local
|
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cube/ |
H A D | Cube.java | 44 int colors[] = { in Cube() local
|
/aosp12/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
H A D | Cube.java | 44 int colors[] = { in Cube() local
|
/aosp12/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GradientStopsActivity.java | 45 int[] colors = new int[] { 0xffff0000, 0xff0000ff }; in onDraw() local
|
/aosp12/frameworks/base/core/java/android/content/res/ |
H A D | ColorStateList.java | 174 public ColorStateList(int[][] states, @ColorInt int[] colors) { in ColorStateList() 309 final int[] colors = new int[mColors.length]; in withAlpha() local 327 final int[] colors = new int[mColors.length]; in withLStar() local 701 final int[] colors = mColors; in onColorsChanged() local
|
/aosp12/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
H A D | Palette.kt | 22 var colors : IntArray regex
|
/aosp12/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | ListOfFadedTextAnimation.cpp | 45 SkColor colors[2] = {Color::Black, Color::Transparent}; in createListItem() local
|