/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
LinearGradient_Delegate.java | 61 int colors[], float positions[], int tileMode) { 63 colors, positions, Shader_Delegate.getTileMode(tileMode)); 85 * @param colors The colors to be distributed along the gradient line 87 * corresponding color in the colors array. If this is null, the 88 * the colors are distributed evenly along the gradient line. 92 int colors[], float positions[], TileMode tile) { 93 super(colors, positions); 111 public LinearGradientPaint(float x0, float y0, float x1, float y1, int colors[], 113 super(colors, positions, tile) [all...] |
RadialGradient_Delegate.java | 60 int colors[], float positions[], int tileMode) { 62 colors, positions, Shader_Delegate.getTileMode(tileMode)); 82 * @param colors The colors to be distributed between the center and edge of 85 * color in the colors array. If this is NULL, the the colors are 89 private RadialGradient_Delegate(float x, float y, float radius, int colors[], float positions[], 91 super(colors, positions); 102 int[] colors, float[] positions, TileMode mode) { 103 super(colors, positions, mode) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ColorPickerDialog.java | 116 private int interpColor(int colors[], float unit) { 118 return colors[0]; 121 return colors[colors.length - 1]; 124 float p = unit * (colors.length - 1); 129 int c0 = colors[i]; 130 int c1 = colors[i+1];
|
Cube.java | 44 int colors[] = { local 78 ByteBuffer cbb = ByteBuffer.allocateDirect(colors.length*4); 81 mColorBuffer.put(colors);
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
ColorWheel.java | 133 private int interpColor(int colors[], float unit) { 135 return colors[0]; 138 return colors[colors.length - 1]; 141 float p = unit * (colors.length - 1); 146 int c0 = colors[i]; 147 int c1 = colors[i+1];
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
CollisionTest.java | 35 Array<Color> colors = new Array<Color>(); field in class:CollisionTest 111 colors.add(colorPool.obtain().set(hits.get(i).getColor())); 117 colors.add(colorPool.obtain().set(contacts.get(i).getColor())); 124 hits.get(i).setColor(colors.get(i)); 126 contacts.get(i).setColor(colors.get(hits.size + i)); 127 colorPool.freeAll(colors); 128 colors.clear();
|
/external/libvncserver/libvncclient/ |
cursor.c | 51 uint32_t colors[2]; local 81 /* Read and convert background and foreground colors. */ 88 colors[0] = RGB24_TO_PIXEL(32, rgb.backRed, rgb.backGreen, rgb.backBlue); 89 colors[1] = RGB24_TO_PIXEL(32, rgb.foreRed, rgb.foreGreen, rgb.foreBlue); 118 client->rcSource[x] = (uint8_t)colors[client->rcSource[x]]; 122 ((uint16_t *)client->rcSource)[x] = (uint16_t)colors[client->rcSource[x * 2]]; 126 ((uint32_t *)client->rcSource)[x] = colors[client->rcSource[x * 4]];
|
/external/llvm/lib/Analysis/ |
EHPersonalities.cpp | 53 // Build up the color map, which maps each block to its set of 'colors'. 54 // For any block B the "colors" of B are the set of funclets F (possibly 81 ColorVector &Colors = BlockColors[Visiting]; 82 if (std::find(Colors.begin(), Colors.end(), Color) == Colors.end()) 83 Colors.push_back(Color);
|
/external/mesa3d/src/gallium/docs/source/ |
pipeline.txt | 7 primary/secondary colors ] 24 front/back & primary/secondary colors 60 primary/secondary colors only 77 primary/secondary colors 99 primary/secondary colors ] Software rast vertices 112 primary/secondary colors 123 zero or more colors
|
/external/skia/gm/ |
arithmode.cpp | 30 SkColor colors[] = { local 34 SkShader* s = SkGradientShader::CreateLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), 46 SkColor colors[] = { local 50 SkShader* s = SkGradientShader::CreateLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), 128 // leading to invalid premultiplied colors. If we enforcePMColor, these
|
modecolorfilters.cpp | 21 SkColor colors[] = {color, color}; local 23 return SkGradientShader::CreateLinear(kPts, colors, nullptr, 2, SkShader::kClamp_TileMode); 92 SkColor colors[] = { local 124 for (size_t cfc = 0; cfc < SK_ARRAY_COUNT(colors); ++cfc) { 125 SkAutoTUnref<SkColorFilter> cf(SkColorFilter::CreateModeFilter(colors[cfc], 131 int paintColorCnt = hasShader ? SK_ARRAY_COUNT(alphas) : SK_ARRAY_COUNT(colors); 132 SkColor* paintColors = hasShader ? alphas : colors;
|
patchgrid.cpp | 57 * This GM draws a grid of patches, it only uses colors so it could be considered a mesh gradient. 134 SkColor colors[4]; variable 135 colors[0] = cornerColors[i][j]; 136 colors[1] = cornerColors[i][j + 1]; 137 colors[3] = cornerColors[i + 1][j]; 138 colors[2] = cornerColors[i + 1][j + 1]; 140 grid.setPatch(j, i, points, colors, nullptr);
|
blurquickreject.cpp | 44 SkColor colors[] = { variable 50 SkASSERT(SK_ARRAY_COUNT(colors) == SK_ARRAY_COUNT(blurRects)); 69 blurPaint.setColor(colors[i]);
|
drawatlas.cpp | 82 SkColor colors[N]; variable 87 colors[i] = 0x80FF0000 + (i * 40 * 256); 96 canvas->drawAtlas(fAtlas, xform, tex, colors, N, SkXfermode::kSrcIn_Mode, nullptr, &paint);
|
/frameworks/compile/mclinker/lib/LD/ |
TextDiagnosticPrinter.cpp | 19 static const enum llvm::raw_ostream::Colors UnreachableColor = 21 static const enum llvm::raw_ostream::Colors FatalColor = 23 static const enum llvm::raw_ostream::Colors ErrorColor = llvm::raw_ostream::RED; 24 static const enum llvm::raw_ostream::Colors WarningColor = 26 static const enum llvm::raw_ostream::Colors DebugColor = 28 static const enum llvm::raw_ostream::Colors NoteColor = 30 static const enum llvm::raw_ostream::Colors IgnoreColor =
|
/packages/apps/ContactsCommon/res/values/ |
colors.xml | 66 <!-- Background colors for LetterTileDrawables. This set of colors is a subset of 71 These colors are also used by MaterialColorMapUtils to generate primary activity colors. 90 <!-- Darker versions of letter_tile_colors, two shades darker. These colors are used 91 for settings secondary activity colors. --> 126 <!-- Darker version of the actionbar color. Used for the status bar and navigation bar colors. -->
|
/external/skia/src/gpu/batches/ |
GrDrawVerticesBatch.cpp | 38 const GrColor* colors, const SkPoint* localCoords, 51 if (colors) { 53 installedGeo.fColors.append(vertexCount, colors); 258 SkTArray<GrColor>* colors, bool hasColors, 266 colors->push_back(GrRandomColor(random)); 282 SkTArray<GrColor> colors; local 297 &colors, hasColors, local 305 &colors, hasColors, local 321 colors.begin(),
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/ |
Cube.java | 44 int colors[] = { local 78 ByteBuffer cbb = ByteBuffer.allocateDirect(colors.length*4); 81 mColorBuffer.put(colors);
|
/external/libgdx/backends/gdx-backends-gwt/ |
issues.txt | 34 - Colors returned by Pixmap#getPixel() may slightly deviate from the original colors on some browsers on
35 MacOSX due to the use of ImageIO which modifies colors while decoding PNGs...
|
/external/opencv3/samples/python2/ |
watershed.py | 41 self.colors = np.int32( list(np.ndindex(2, 2, 2)) ) * 255 47 return map(int, self.colors[self.cur_marker]), self.cur_marker 52 overlay = self.colors[np.maximum(m, 0)]
|
/external/skia/samplecode/ |
SampleEffects.cpp | 41 SkColor colors[] = { SK_ColorRED, COLOR, SK_ColorBLUE }; local 43 paint->setShader(SkGradientShader::CreateLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors),
|
/external/skia/src/core/ |
SkComposeShader.h | 29 @param shaderA The colors from this shader are seen as the "dst" by the xfermode 30 @param shaderB The colors from this shader are seen as the "src" by the xfermode 31 @param mode The xfermode that combines the colors from the two shaders. If mode
|
/frameworks/base/core/java/android/animation/ |
ArgbEvaluator.java | 21 * values that represent ARGB colors. 45 * @param startValue A 32-bit int value representing colors in the 47 * @param endValue A 32-bit int value representing colors in the
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
Cube.java | 44 int colors[] = { local 78 ByteBuffer cbb = ByteBuffer.allocateDirect(colors.length*4); 81 mColorBuffer.put(colors);
|
/external/ImageMagick/MagickCore/ |
colormap.c | 94 % MagickBooleanType AcquireImageColormap(Image *image,const size_t colors, 101 % o colors: the number of colors in the image colormap. 107 const size_t colors,ExceptionInfo *exception) 119 image->colors=MagickMax(colors,1); 121 image->colormap=(PixelInfo *) AcquireQuantumMemory(image->colors, 125 image->colors,sizeof(*image->colormap)); 128 image->colors=0; 133 for (i=0; i < (ssize_t) image->colors; i++ [all...] |