Home
last modified time | relevance | path

Searched defs:colors (Results 1 – 25 of 84) sorted by relevance

1234

/frameworks/base/graphics/java/android/graphics/
DSweepGradient.java61 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()
DRadialGradient.java65 @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()
DLinearGradient.java68 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()
DShader.java188 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/
DWallpaperColorsTest.java39 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/
DColorPickerDialog.java64 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()
DColorPickerPalette.java84 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/
DSweepGradient_Delegate.java59 /*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()
DRadialGradient_Delegate.java63 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()
DLinearGradient_Delegate.java63 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()
DGradient_Delegate.java52 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/
DPalette.kt22 var colors : IntArray variable
/frameworks/base/core/java/com/android/internal/graphics/palette/
DColorCutQuantizer.java126 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/base/core/java/android/app/
DIWallpaperManagerCallback.aidl37 void onWallpaperColorsChanged(in WallpaperColors colors, int which, int userId); in onWallpaperColorsChanged()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/
DNavigationBarButton.java100 public void setTextColor(ColorStateList colors) { in setTextColor()
161 public void setTintListCompat(ColorStateList colors) { in setTintListCompat()
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java87 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/
DShader.cpp96 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/
DIWallpaperConnection.aidl30 void onWallpaperColorsChanged(in WallpaperColors colors, int displayId); in onWallpaperColorsChanged()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGradientStopsActivity.java45 int[] colors = new int[] { 0xffff0000, 0xff0000ff }; in onDraw() local
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DCube.java44 int colors[] = { in Cube() local
/frameworks/base/libs/hwui/tests/common/scenes/
DListOfFadedTextAnimation.cpp45 SkColor colors[2] = {Color::Black, Color::Transparent}; in createListItem() local
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawable/
DUserIconDrawableTest.java61 int[] colors = new int[] { targetColor }; in setTintList_shouldBeApplied() local
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTonalCompat.java32 public ExtractionInfo extractDarkColors(WallpaperColors colors) { in extractDarkColors()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DScrimViewTest.java74 ColorExtractor.GradientColors colors = mView.getColors(); in testCreation_initialColor() local
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/
DColorExtractorTest.java94 GradientColors colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, in getColors_usesExtractedColors() local

1234