/external/deqp/modules/gles31/functional/ |
es31fDrawTests.cpp | 107 // of these colors. 847 std::vector<tcu::Vec4> colors; local 850 colors.push_back(((x + y) % 2 == 0) ? (green) : (yellow)); 871 ctx.bufferData(GL_ARRAY_BUFFER, colors.size() * sizeof(tcu::Vec4), &colors[0], GL_STATIC_DRAW); [all...] |
/external/skia/src/effects/gradients/ |
SkTwoPointConicalGradient_gpu.cpp | 207 SkColor colors[kMaxRandomGradientColors]; local 211 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 214 colors, stops, colorCount, 493 SkColor colors[kMaxRandomGradientColors]; local 497 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 500 colors, stops, colorCount, 714 SkColor colors[kMaxRandomGradientColors]; local 718 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 721 colors, stops, colorCount, 969 SkColor colors[kMaxRandomGradientColors]; local 1209 SkColor colors[kMaxRandomGradientColors]; local [all...] |
/external/skia/src/images/ |
SkImageDecoder_libjpeg.cpp | 1414 const SkPMColor* colors = bm.getColorTable() ? bm.getColorTable()->readColors() : NULL; local [all...] |
SkImageDecoder_libpng.cpp | 425 const SkPMColor* colors = colorTable ? colorTable->readColors() : NULL; local 426 if (!sampler.begin(decodedBitmap, sc, *this, colors)) { 627 // colors, the only supported colortype is 8888. 692 // colortype is unpremultiplied, the color table will store unpremultiplied colors. 905 const SkPMColor* colors = colorTable ? colorTable->readColors() : NULL; local 1058 const SkPMColor* SK_RESTRICT colors = ctable ? ctable->readColors() : NULL; local [all...] |
/external/skia/third_party/etc1/ |
etc1.cpp | 387 int r1, g1, b1, r2, g2, b2; // 8 bit base colors for sub-blocks 494 etc1_byte colors[6]; local 496 etc_average_colors_subblock(pIn, inMask, colors, false, false); 497 etc_average_colors_subblock(pIn, inMask, colors + 3, false, true); 502 etc_encode_block_helper(pIn, inMask, colors, &a, false);
|
/frameworks/base/core/java/android/text/ |
Html.java | 682 ColorStateList colors = res.getColorStateList(colorRes, null); local 683 text.setSpan(new TextAppearanceSpan(null, 0, 0, colors, null),
|
/frameworks/base/core/java/android/widget/ |
DatePickerCalendarDelegate.java | 220 // We somehow failed to obtain the colors. 225 final int[] colors = new int[] { activatedColor, defaultColor }; local 226 return new ColorStateList(stateSet, colors);
|
/frameworks/base/core/jni/android/graphics/ |
Bitmap.cpp | 614 const SkPMColor* colors = ctable->readColors(); local 616 *dst++ = SkUnPreMultiply::PMColorToColor(colors[*s++]); 624 const SkPMColor* colors = ctable->readColors(); local 626 SkPMColor c = colors[*s++]; 636 const SkPMColor* colors = ctable->readColors(); local 638 SkPMColor c = colors[*s++]; [all...] |
/frameworks/base/core/jni/ |
android_graphics_Canvas.cpp | 305 const int* colors = NULL; local 309 colors = colorA.ptr() + colorIndex; 317 get_canvas(canvasHandle)->drawVertices(mode, vertexCount, verts, texs, colors,
|
/frameworks/base/tools/aapt2/ |
Png.cpp | 50 colors.data()); 63 std::vector<uint32_t> colors; member in struct:aapt::PngInfo 239 uint32_t colors[256], col; local 250 // 3. There are no more than 256 distinct RGBA colors 299 // Check if image is really <= 256 colors 304 if (colors[idx] == col) { 321 colors[num_colors++] = col; 346 // 3. RGB(A) - use COLOR_TYPE_PALETTE if the number of distinct colors is sufficiently 379 // Create separate RGB and Alpha palettes and set the number of colors 384 col = colors[idx] [all...] |
/frameworks/native/opengl/libs/ETC1/ |
etc1.cpp | 379 int r1, g1, b1, r2, g2, b2; // 8 bit base colors for sub-blocks 486 etc1_byte colors[6]; local 488 etc_average_colors_subblock(pIn, inMask, colors, false, false); 489 etc_average_colors_subblock(pIn, inMask, colors + 3, false, true); 494 etc_encode_block_helper(pIn, inMask, colors, &a, false);
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
TaskConvertImageToRGBPreview.java | 281 int[] colors = new int[len]; local 327 colors[offsetColor] = OUT_OF_BOUNDS_COLOR; 328 colors[offsetColor + 1] = OUT_OF_BOUNDS_COLOR; 329 colors[offsetColor + outputPixelStride] = OUT_OF_BOUNDS_COLOR; 330 colors[offsetColor + outputPixelStride + 1] = OUT_OF_BOUNDS_COLOR; 344 colors[offsetColor] = OUT_OF_BOUNDS_COLOR; 376 colors[offsetColor] = (red00 & 255) << 16 | (green00 & 255) << 8 381 colors[offsetColor + 1] = OUT_OF_BOUNDS_COLOR; 410 colors[offsetColor + 1] = (red01 & 255) << 16 | (green01 & 255) << 8 415 colors[offsetColor + outputPixelStride] = OUT_OF_BOUNDS_COLOR 604 int[] colors = new int[len]; local 788 int[] colors = new int[len]; local [all...] |
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/ |
PolarClockWallpaper.java | 196 final int[] colors = mColors; local 197 final int count = colors.length; 200 colors[i] = Color.HSBtoColor(i * invCount, mSaturation, mBrightness);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PreviewIconFactory.java | 374 * Look up the background and foreground colors from the theme. May not find either 376 * null colors. 447 // solid colors work too. 561 String colors = String.format( local 565 AdtPlugin.writeFile(file, colors);
|
/cts/tests/tests/text/src/android/text/cts/ |
TextUtilsTest.java | 1865 ColorStateList colors = new ColorStateList(new int[][] { local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
CanvasTest.java | 1329 final int[] colors = new int[2008]; local 1385 final int[] colors = new int[2008]; local 1514 final int[] colors = new int[2008]; local 1522 final int[] colors = new int[10]; local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
ImageReaderDecoderTest.java | 634 int[][] colors = new int[][] { local 691 + Arrays.toString(colors[layer]) + " vs " 693 Math.abs(stats[i] - colors[layer][i]) < COLOR_DELTA_ALLOWANCE); [all...] |
/external/deqp/modules/egl/ |
teglRenderTests.cpp | 121 vector<Vec4> colors; member in struct:deqp::egl::__anon7469::DrawPrimitiveOp 170 drawOp.colors.resize(drawOp.count*3); 180 tcu::Vec4& color = drawOp.colors[triNdx*3 + coordNdx]; 434 attributes[1].pointer = &drawOp->colors[0]; 585 gl.vertexAttribPointer(gles2Program.getColorLoc(), 4, GL_FLOAT, GL_FALSE, 0, &drawOp.colors[0]); [all...] |
/external/flac/include/FLAC/ |
format.h | 800 FLAC__uint32 colors; member in struct:__anon9307 801 /**< For indexed palettes (like GIF), picture's number of colors (the [all...] |
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_ra.cpp | 633 return ((1 << colors) - 1) << (reg & 7); 644 uint16_t colors; member in class:nv50_ir::GCRA::RIG_Node 715 colors = 0; 722 if (!nodes[i].colors) 724 INFO("RIG_Node[%%%i]($[%u]%i): %u colors, weight %f, deg %u/%u\n X", 726 nodes[i].f,nodes[i].reg,nodes[i].colors, 745 colors = regs.units(lval->reg.file, lval->reg.size); 879 const unsigned int size = getNode(rep)->colors; 892 val->compMask &= makeCompMask(size, base, getNode(val)->colors); 898 base += getNode(val)->colors; [all...] |
/external/opencv/cvaux/src/ |
cvvecfacetracking.cpp | 273 int colors[MAX_LAYERS] = {0}; local 302 colors[j] = int(level + 0.5); 304 colors[j] = int(level + 0.5); 306 colors[j] = int(level + 0.5); 310 cvThreshold(img, thresh, colors[i], 255.0, CV_THRESH_BINARY); 321 cr.iColor = colors[i]; 331 cr.iColor = colors[i]; [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ViewTest.java | 165 int[] colors = {0, 1, 727}; local 167 for (int color : colors) {
|
/external/skia/experimental/PdfViewer/src/ |
SkPdfRenderer.cpp | 363 SkPMColor* colors = new SkPMColor[256]; local 365 colors[i] = SkPreMultiplyARGB(255, i, i, i); 367 grayColortable = new SkColorTable(colors, 256); 445 SkPMColor colors[256]; local 474 colors[i] = SkPreMultiplyARGB(0xff, 525 SkAutoTUnref<SkColorTable> colorTable(new SkColorTable(colors, cnt)); [all...] |
/external/skia/src/gpu/ |
GrContext.cpp | 748 const GrColor* colors, const SkPoint* localCoords, 751 vertexCount, indices, indexCount, colors, 877 const GrColor* colors, const SkPoint* localCoords, const SkRect& bounds) { 892 if (colors) { 893 installedGeo.fColors.append(vertexCount, colors); 1965 SkTArray<GrColor> colors; local 1980 &colors, hasColors, local 1988 &colors, hasColors, local [all...] |
/external/webp/src/enc/ |
vp8l.c | 42 // If number of colors in the image is less than or equal to MAX_PALETTE_SIZE, 50 uint32_t colors[MAX_PALETTE_SIZE * 4]; local 66 colors[key] = last_pix; 73 } else if (colors[key] == last_pix) { 91 palette[num_colors] = colors[i]; [all...] |