/frameworks/base/graphics/java/android/graphics/ |
D | SweepGradient.java | 61 public SweepGradient(float cx, float cy, @NonNull @ColorInt int[] colors, in SweepGradient() 83 public SweepGradient(float cx, float cy, @NonNull @ColorLong long[] colors, in SweepGradient() 92 private SweepGradient(float cx, float cy, @NonNull @ColorLong long[] colors, in SweepGradient() 140 long[] colors, float[] positions, long colorSpaceHandle); in nativeCreate()
|
D | RadialGradient.java | 65 @NonNull @ColorInt int[] colors, @Nullable float[] stops, in RadialGradient() 89 @NonNull @ColorLong long[] colors, @Nullable float[] stops, in RadialGradient() 99 @NonNull @ColorLong long[] colors, @Nullable float[] stops, in RadialGradient() 158 @ColorLong long[] colors, float[] positions, int tileMode, long colorSpaceHandle); in nativeCreate()
|
D | LinearGradient.java | 68 public LinearGradient(float x0, float y0, float x1, float y1, @NonNull @ColorInt int[] colors, in LinearGradient() 91 public LinearGradient(float x0, float y0, float x1, float y1, @NonNull @ColorLong long[] colors, in LinearGradient() 101 @NonNull @ColorLong long[] colors, @Nullable float[] positions, @NonNull TileMode tile, in LinearGradient() 162 long[] colors, float[] positions, int tileMode, long colorSpaceHandle); in nativeCreate()
|
D | Shader.java | 188 public static @ColorLong long[] convertColors(@NonNull @ColorInt int[] colors) { in convertColors() 209 public static ColorSpace detectColorSpace(@NonNull @ColorLong long[] colors) { in detectColorSpace()
|
/frameworks/base/tests/Internal/src/android/app/ |
D | WallpaperColorsTest.java | 39 WallpaperColors colors = new WallpaperColors(color, null, null, 0); in supportsDarkTextOverrideTest() local 84 WallpaperColors colors = new WallpaperColors(Color.valueOf(Color.GREEN), null, null); in colorHintsTest() local
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
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()
|
D | ColorPickerPalette.java | 84 public void drawPalette(int[] colors, int selectedColor) { in drawPalette() 91 public void drawPalette(int[] colors, int selectedColor, String[] colorContentDescriptions) { in drawPalette()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
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()
|
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()
|
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()
|
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()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | Palette.kt | 22 var colors : IntArray variable in com.android.egg.paint.Palette
|
/frameworks/base/core/java/android/app/ |
D | IWallpaperManagerCallback.aidl | 37 void onWallpaperColorsChanged(in WallpaperColors colors, int which, int userId); in onWallpaperColorsChanged()
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | ColorCutQuantizer.java | 126 final int[] colors = mColors = new int[distinctColorCount]; in quantize() local 216 ArrayList<Swatch> colors = new ArrayList<>(vboxes.size()); in generateAverageColors() local 265 final int[] colors = mColors; in fitBox() local 361 final int[] colors = mColors; in findSplitPoint() local 392 final int[] colors = mColors; in getAverageColor() local
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/ |
D | NavigationBarButton.java | 100 public void setTextColor(ColorStateList colors) { in setTextColor() 161 public void setTintListCompat(ColorStateList colors) { in setTintListCompat()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
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
|
/frameworks/base/core/jni/android/graphics/ |
D | Shader.cpp | 96 std::vector<SkColor4f> colors(count); in convertColorLongs() local 114 std::vector<SkColor4f> colors = convertColorLongs(env, colorArray); in LinearGradient_create() local 144 std::vector<SkColor4f> colors = convertColorLongs(env, colorArray); in RadialGradient_create() local 170 std::vector<SkColor4f> colors = convertColorLongs(env, colorArray); in SweepGradient_create() local
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | IWallpaperConnection.aidl | 30 void onWallpaperColorsChanged(in WallpaperColors colors, int displayId); in onWallpaperColorsChanged()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GradientStopsActivity.java | 45 int[] colors = new int[] { 0xffff0000, 0xff0000ff }; in onDraw() local
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
D | Cube.java | 44 int colors[] = { in Cube() local
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawable/ |
D | UserIconDrawableTest.java | 61 int[] colors = new int[] { targetColor }; in setTintList_shouldBeApplied() local
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | TonalCompat.java | 32 public ExtractionInfo extractDarkColors(WallpaperColors colors) { in extractDarkColors()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | ListOfFadedTextAnimation.cpp | 45 SkColor colors[2] = {Color::Black, Color::Transparent}; in createListItem() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | ScrimViewTest.java | 74 ColorExtractor.GradientColors colors = mView.getColors(); in testCreation_initialColor() local
|
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/ |
D | ColorExtractorTest.java | 91 GradientColors colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, in getColors_usesExtractedColors() local
|