Home
last modified time | relevance | path

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

123

/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DBitmapTest.java81 int[] colors = new int[100]; in testGetPixelsWithAlpha() local
107 int[] colors = new int[100]; in testGetPixelsWithoutAlpha() local
124 int[] colors = new int[100]; in testSetPixelsWithAlpha() local
150 int[] colors = new int[100]; in testSetPixelsWithoutAlpha() local
180 int[] colors = new int[256]; in testSetPixelsWithNonOpaqueAlpha() local
/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorPickerDialog.java62 public static ColorPickerDialog newInstance(int titleResId, int[] colors, int selectedColor, in newInstance()
69 public void initialize(int titleResId, int[] colors, int selectedColor, int columns, int size) { in initialize()
159 public void setColors(int[] colors, int selectedColor) { in setColors()
167 public void setColors(int[] colors) { in setColors()
DColorPickerPalette.java84 public void drawPalette(int[] colors, int selectedColor) { in drawPalette()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintManager.java239 final int[] colors = new int[7]; in getDefaultColorStateList() local
280 final int[] colors = new int[3]; in getSwitchTrackColorStateList() local
305 final int[] colors = new int[3]; in getSwitchThumbColorStateList() local
330 final int[] colors = new int[4]; in getButtonColorStateList() local
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DSweepGradient_Delegate.java55 /*package*/ static long nativeCreate1(float x, float y, int colors[], float positions[]) { in nativeCreate1()
82 int colors[], float positions[]) { in SweepGradient_Delegate()
92 public SweepGradientPaint(float cx, float cy, int[] colors, in SweepGradientPaint()
DRadialGradient_Delegate.java58 int colors[], float positions[], int tileMode) { in nativeCreate1()
87 private RadialGradient_Delegate(float x, float y, float radius, int colors[], float positions[], in RadialGradient_Delegate()
100 int[] colors, float[] positions, TileMode mode) { in RadialGradientPaint()
DGradient_Delegate.java49 protected Gradient_Delegate(int colors[], float positions[]) { in Gradient_Delegate()
84 protected GradientPaint(int[] colors, float[] positions, TileMode tileMode) { in GradientPaint()
DLinearGradient_Delegate.java59 int colors[], float positions[], int tileMode) { in nativeCreate1()
90 int colors[], float positions[], TileMode tile) { in LinearGradient_Delegate()
109 public LinearGradientPaint(float x0, float y0, float x1, float y1, int colors[], in LinearGradientPaint()
/frameworks/base/libs/hwui/
DGradientCache.cpp132 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) { in get()
147 void GradientCache::getGradientInfo(const uint32_t* colors, const int count, in getGradientInfo()
171 uint32_t* colors, float* positions, int count) { in addLinearGradient()
241 void GradientCache::generateTexture(uint32_t* colors, float* positions, Texture* texture) { in generateTexture()
DGradientCache.h76 uint32_t* colors; member
/frameworks/base/graphics/java/android/graphics/
DSweepGradient.java52 int colors[], float positions[]) { in SweepGradient()
107 private static native long nativeCreate1(float x, float y, int colors[], float positions[]); in nativeCreate1()
DRadialGradient.java55 @NonNull int colors[], @Nullable float stops[], @NonNull TileMode tileMode) { in RadialGradient()
121 int colors[], float positions[], int tileMode); in nativeCreate1()
DLinearGradient.java52 public LinearGradient(float x0, float y0, float x1, float y1, int colors[], float positions[], in LinearGradient()
116 int colors[], float positions[], int tileMode); in nativeCreate1()
DBitmap.java844 public static Bitmap createBitmap(int colors[], int offset, int stride, in createBitmap()
869 public static Bitmap createBitmap(DisplayMetrics display, int colors[], in createBitmap()
908 public static Bitmap createBitmap(int colors[], int width, int height, Config config) { in createBitmap()
929 public static Bitmap createBitmap(DisplayMetrics display, int colors[], in createBitmap()
1607 private static native Bitmap nativeCreate(int[] colors, int offset, in nativeCreate()
1631 private static native void nativeSetPixels(long nativeBitmap, int[] colors, in nativeSetPixels()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DCube.java44 int colors[] = { in Cube() local
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGradientStopsActivity.java45 int[] colors = new int[] { 0xffff0000, 0xff0000ff }; in onDraw() local
/frameworks/base/core/jni/android/graphics/
DShader.cpp124 SkColor colors[2]; in LinearGradient_create2() local
166 SkColor colors[2]; in RadialGradient_create2() local
181 const jint* colors = env->GetIntArrayElements(jcolors, NULL); in SweepGradient_create1() local
200 SkColor colors[2]; in SweepGradient_create2() local
DNinePatchImpl.cpp257 const uint32_t* colors = chunk.getColors(); in NinePatch_Draw() local
/frameworks/base/core/java/android/content/res/
DColorStateList.java81 public ColorStateList(int[][] states, int[] colors) { in ColorStateList()
162 final int[] colors = new int[mColors.length]; in withAlpha() local
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DTitleView.java111 public void setSearchAffordanceColors(SearchOrbView.Colors colors) { in setSearchAffordanceColors()
/frameworks/native/opengl/libagl/
Ddxt.cpp152 uint32_t colors = *d32++; in DXT1HasAlpha() local
215 uint32_t colors = *d32++; in decodeDXT1() local
338 uint32_t colors = *d32++; in decodeDXT3() local
462 uint32_t colors = *d32++; in decodeDXT5() local
/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java180 int[] colors = colorStateList.getColors(); in processTextAppearanceSpan() local
/frameworks/native/cmds/flatland/
DRenderers.cpp22 static float colors[][4] = { variable
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java184 public GradientDrawable(Orientation orientation, int[] colors) { in GradientDrawable()
504 public void setColors(int[] colors) { in setColors()
/frameworks/base/core/java/android/widget/
DSimpleMonthAdapter.java87 void setCalendarTextColor(ColorStateList colors) { in setCalendarTextColor()

123