/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/ |
SlidingTabStrip.java | 96 void setSelectedIndicatorColors(int... colors) { 99 mDefaultTabColorizer.setIndicatorColors(colors); 103 void setDividerColors(int... colors) { 106 mDefaultTabColorizer.setDividerColors(colors); 200 void setIndicatorColors(int... colors) { 201 mIndicatorColors = colors; 204 void setDividerColors(int... colors) { 205 mDividerColors = colors;
|
/external/ImageMagick/MagickCore/ |
colormap-private.h | 32 if ((index < 0) || (index >= (ssize_t) image->colors)) 44 if ((index < 0) || (index >= (ssize_t) image->colors))
|
/external/ImageMagick/config/ |
ImageMagick.rc | 53 COLORS.XML IMAGEMAGICK DISCARDABLE "..\\bin\\colors.xml"
|
/external/skia/gm/ |
cgm.c | 25 sk_color_t colors[] = { 0xFF00FF00, 0xFF0000FF }; local 26 return sk_shader_new_linear_gradient(pts, colors, NULL, 2, CLAMP_SK_SHADER_TILEMODE, NULL);
|
dstreadshuffle.cpp | 100 static SkColor colors[] = { SK_ColorRED, local 108 int index = nextColor % SK_ARRAY_COUNT(colors); 115 SkColorGetR(colors[index]), 116 SkColorGetG(colors[index]), 117 SkColorGetB(colors[index])); 122 SkColorGetR(colors[index]), 123 SkColorGetG(colors[index]), 124 SkColorGetB(colors[index]));
|
perspshaders.cpp | 60 static const SkColor colors[] = { variable 65 fLinearGrad1.reset(SkGradientShader::CreateLinear(pts1, colors, pos, 66 SK_ARRAY_COUNT(colors), 68 fLinearGrad2.reset(SkGradientShader::CreateLinear(pts2, colors, pos, 69 SK_ARRAY_COUNT(colors),
|
tilemodes.cpp | 25 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local 30 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos, 31 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode))->unref(); 169 SkColor colors[] = { 0xFFFF0000, sk_tool_utils::color_to_565(0xFF0044FF) }; local 174 return SkGradientShader::CreateLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), tx); 176 return SkGradientShader::CreateRadial(center, rad, colors, nullptr, SK_ARRAY_COUNT(colors), tx); 178 return SkGradientShader::CreateSweep(center.fX, center.fY, colors, nullptr, SK_ARRAY_COUNT(colors)); [all...] |
tilemodes_scaled.cpp | 25 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local 30 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos, 31 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode))->unref(); 173 SkColor colors[] = { 0xFFFF0000, sk_tool_utils::color_to_565(0xFF0044FF) }; local 178 return SkGradientShader::CreateLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), tx); 180 return SkGradientShader::CreateRadial(center, rad, colors, nullptr, SK_ARRAY_COUNT(colors), tx); 182 return SkGradientShader::CreateSweep(center.fX, center.fY, colors, nullptr, SK_ARRAY_COUNT(colors)); [all...] |
/external/skia/samplecode/ |
Sample2PtRadial.cpp | 31 SkColor colors[] = { SK_ColorRED, SK_ColorBLUE }; local 36 SkShader* s = SkGradientShader::CreateTwoPointConical(c0, r0, c1, r1, colors,
|
SampleBigGradient.cpp | 14 SkColor colors[] = { 0xFF000000, 0xFF333333 }; local 16 return SkGradientShader::CreateLinear(pts, colors, nullptr, 2,
|
SampleClamp.cpp | 18 SkColor colors[] = { SK_ColorRED, SK_ColorBLUE }; local 19 return SkGradientShader::CreateLinear(pts, colors, nullptr, 2,
|
/external/skia/tests/ |
CodecPriv.h | 26 SkPMColor colors[256]; local 27 colorTable.reset(new SkColorTable(colors, maxColors));
|
/frameworks/base/core/res/res/values/ |
colors_device_defaults.xml | 17 <!-- Colors specific to DeviceDefault themes. These are mostly pass-throughs to enable 18 overlaying new theme colors. -->
|
/frameworks/base/libs/hwui/tests/unit/ |
GradientCacheTests.cpp | 31 SkColor colors[] = { 0xFF00FF00, 0xFFFF0000, 0xFF0000FF }; local 33 Texture* texture = cache.get(colors, positions, 3);
|
/frameworks/native/opengl/libagl/ |
dxt.cpp | 152 uint32_t colors = *d32++; local 155 colors = swap(colors); 158 uint16_t color0 = colors & 0xffff; 159 uint16_t color1 = colors >> 16; 207 // Specified colors from the previous block 215 uint32_t colors = *d32++; local 219 colors = swap(colors); 223 // Raw colors 338 uint32_t colors = *d32++; local 462 uint32_t colors = *d32++; local [all...] |
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
ColorPickerPalette.java | 84 public void drawPalette(int[] colors, int selectedColor) { 85 drawPalette(colors, selectedColor, null); 91 public void drawPalette(int[] colors, int selectedColor, String[] colorContentDescriptions) { 92 if (colors == null) { 101 // Fills the table with swatches based on the array of colors. 103 for (int color : colors) { 142 * Add a content description to the specified swatch view. Because the colors get added in a 143 * snaking form, every other row will need to compensate for the fact that the colors are added
|
/frameworks/support/design/base/android/support/design/widget/ |
CircularBorderDrawable.java | 187 final int[] colors = new int[6]; local 188 colors[0] = ColorUtils.compositeColors(mTopOuterStrokeColor, mCurrentBorderTintColor); 189 colors[1] = ColorUtils.compositeColors(mTopInnerStrokeColor, mCurrentBorderTintColor); 190 colors[2] = ColorUtils.compositeColors( 192 colors[3] = ColorUtils.compositeColors( 194 colors[4] = ColorUtils.compositeColors(mBottomInnerStrokeColor, mCurrentBorderTintColor); 195 colors[5] = ColorUtils.compositeColors(mBottomOuterStrokeColor, mCurrentBorderTintColor); 208 colors, positions,
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
TitleViewAdapter.java | 102 * Sets the {@link android.support.v17.leanback.widget.SearchOrbView.Colors} used to draw the 105 * @param colors Colors used to draw search affordance. 107 public void setSearchAffordanceColors(SearchOrbView.Colors colors) { 111 * Returns the {@link android.support.v17.leanback.widget.SearchOrbView.Colors} used to draw the 114 * @return Colors used to draw search affordance. 116 public SearchOrbView.Colors getSearchAffordanceColors() {
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/extensions/ |
XKBgeom.h | 128 #define XkbShapeDoodadColor(g,d) (&(g)->colors[(d)->color_ndx]) 130 #define XkbSetShapeDoodadColor(g,d,c) ((d)->color_ndx= (c)-&(g)->colors[0]) 146 #define XkbTextDoodadColor(g,d) (&(g)->colors[(d)->color_ndx]) 147 #define XkbSetTextDoodadColor(g,d,c) ((d)->color_ndx= (c)-&(g)->colors[0]) 161 #define XkbIndicatorDoodadOnColor(g,d) (&(g)->colors[(d)->on_color_ndx]) 162 #define XkbIndicatorDoodadOffColor(g,d) (&(g)->colors[(d)->off_color_ndx]) 164 ((d)->on_color_ndx= (c)-&(g)->colors[0]) 166 ((d)->off_color_ndx= (c)-&(g)->colors[0]) 181 #define XkbLogoDoodadColor(g,d) (&(g)->colors[(d)->color_ndx]) 183 #define XkbSetLogoDoodadColor(g,d,c) ((d)->color_ndx= (c)-&(g)->colors[0] 292 XkbColorPtr colors; member in struct:_XkbGeometry [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/extensions/ |
XKBgeom.h | 128 #define XkbShapeDoodadColor(g,d) (&(g)->colors[(d)->color_ndx]) 130 #define XkbSetShapeDoodadColor(g,d,c) ((d)->color_ndx= (c)-&(g)->colors[0]) 146 #define XkbTextDoodadColor(g,d) (&(g)->colors[(d)->color_ndx]) 147 #define XkbSetTextDoodadColor(g,d,c) ((d)->color_ndx= (c)-&(g)->colors[0]) 161 #define XkbIndicatorDoodadOnColor(g,d) (&(g)->colors[(d)->on_color_ndx]) 162 #define XkbIndicatorDoodadOffColor(g,d) (&(g)->colors[(d)->off_color_ndx]) 164 ((d)->on_color_ndx= (c)-&(g)->colors[0]) 166 ((d)->off_color_ndx= (c)-&(g)->colors[0]) 181 #define XkbLogoDoodadColor(g,d) (&(g)->colors[(d)->color_ndx]) 183 #define XkbSetLogoDoodadColor(g,d,c) ((d)->color_ndx= (c)-&(g)->colors[0] 292 XkbColorPtr colors; member in struct:_XkbGeometry [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PurgeableBitmapView.java | 58 int[] colors = createColors(); local 59 Bitmap src = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, 68 int[] colors = new int[STRIDE * HEIGHT]; local 75 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b; 78 return colors;
|
/packages/apps/Launcher3/src/com/android/launcher3/dynamicui/ |
ColorExtractionService.java | 33 * Extracts colors from the wallpaper, and saves results to {@link LauncherProvider}. 37 /** The fraction of the wallpaper to extract colors for use on the hotseat. */ 50 // We can't extract colors from live wallpapers, so just use the default color always. 57 // We extract colors for the hotseat and status bar separately, 77 // Save the extracted colors and wallpaper id to LauncherProvider.
|
/external/pdfium/core/src/fxcodec/codec/ |
fx_codec_flate.cpp | 247 int Colors, 250 const int BytesPerPixel = (Colors * BitsPerComponent + 7) / 8; 251 const int row_size = (Colors * BitsPerComponent * Columns + 7) / 8; 403 int Colors, 406 const int BytesPerPixel = (Colors * BitsPerComponent + 7) / 8; 407 const int row_size = (Colors * BitsPerComponent * Columns + 7) / 8; 498 int Colors, 500 int BytesPerPixel = BitsPerComponent * Colors / 8; 508 int row_bits = Colors * BitsPerComponent * Columns; 543 int Colors, [all...] |
/external/chromium-trace/catapult/third_party/graphy/graphy/ |
formatters.py | 49 """Automatically add colors to any series without colors. 52 colors: The list of colors (hex strings) to cycle through. You can modify 53 this list if you don't like the default colors. 56 # TODO: Add a few more default colors. 58 # style, you get a unique set of colors & styles for your data. 59 self.colors = ['0000ff', 'ff0000', '00dd00', '000000'] 66 if index >= len(self.colors): 68 series.style.color = self.colors[index [all...] |
/external/libdrm/tests/kms/ |
kms-universal-planes.c | 62 uint32_t colors[2]; local 72 colors[0] = 0xffff0000; 73 colors[1] = 0xff0000ff; 79 colors[0] = 0xff0000ff; 80 colors[1] = 0xffff0000; 86 colors[0] = 0xff0000ff; 87 colors[1] = 0x0000ffff; 91 colors[0] = 0xffffffff; 92 colors[1] = 0xffffffff; 113 *buf++ = colors[color & 1] [all...] |