/external/chromium_org/third_party/skia/src/core/ |
D | SkColorTable.cpp | 23 fColors = reinterpret_cast<SkPMColor*>( in SkColorTable() 25 memcpy(fColors, src.fColors, count * sizeof(SkPMColor)); in SkColorTable() 43 fColors = reinterpret_cast<SkPMColor*>( in SkColorTable() 46 memcpy(fColors, colors, count * sizeof(SkPMColor)); in SkColorTable() 57 sk_free(fColors); in ~SkColorTable() 78 build_16bitcache(f16BitCache, fColors, fCount); in lock16BitCache() 97 fColors = (SkPMColor*)sk_malloc_throw(allocSize); in SkColorTable() 98 SkDEBUGCODE(success =) buffer.readColorArray(fColors, fCount); in SkColorTable() 101 fColors = NULL; in SkColorTable() 111 buffer.writeColorArray(fColors, fCount); in writeToBuffer()
|
/external/skia/src/core/ |
D | SkColorTable.cpp | 23 fColors = reinterpret_cast<SkPMColor*>( in SkColorTable() 25 memcpy(fColors, src.fColors, count * sizeof(SkPMColor)); in SkColorTable() 43 fColors = reinterpret_cast<SkPMColor*>( in SkColorTable() 46 memcpy(fColors, colors, count * sizeof(SkPMColor)); in SkColorTable() 57 sk_free(fColors); in ~SkColorTable() 78 build_16bitcache(f16BitCache, fColors, fCount); in lock16BitCache() 97 fColors = (SkPMColor*)sk_malloc_throw(allocSize); in SkColorTable() 98 SkDEBUGCODE(success =) buffer.readColorArray(fColors, fCount); in SkColorTable() 101 fColors = NULL; in SkColorTable() 111 buffer.writeColorArray(fColors, fCount); in writeToBuffer()
|
/external/skia/tests/ |
D | GradientTest.cpp | 18 const SkColor* fColors; member 31 info->fColors = colorStorage; in gradCheck() 37 !memcmp(info->fColors, fColors, fColorCount * sizeof(SkColor))); in gradCheck() 51 SkAutoTUnref<SkShader> s(new SkColorShader(rec.fColors[0])); in color_gradproc() 55 info.fColors = NULL; in color_gradproc() 63 rec.fColors, in linear_gradproc() 76 rec.fColors, in radial_gradproc() 92 rec.fColors, in radial2_gradproc() 106 rec.fColors, in sweep_gradproc() 120 rec.fColors, in conical_gradproc() [all …]
|
/external/chromium_org/third_party/skia/tests/ |
D | GradientTest.cpp | 18 const SkColor* fColors; member 31 info->fColors = colorStorage; in gradCheck() 37 !memcmp(info->fColors, fColors, fColorCount * sizeof(SkColor))); in gradCheck() 51 SkAutoTUnref<SkShader> s(new SkColorShader(rec.fColors[0])); in color_gradproc() 55 info.fColors = NULL; in color_gradproc() 63 rec.fColors, in linear_gradproc() 76 rec.fColors, in radial_gradproc() 92 rec.fColors, in radial2_gradproc() 106 rec.fColors, in sweep_gradproc() 120 rec.fColors, in conical_gradproc() [all …]
|
/external/skia/experimental/DrawingBoard/ |
D | SkColorPalette.cpp | 20 fColors[0] = SK_ColorWHITE; in SkColorPalette() 21 fColors[1] = SK_ColorBLACK; in SkColorPalette() 22 fColors[2] = SK_ColorRED; in SkColorPalette() 23 fColors[3] = SK_ColorGREEN; in SkColorPalette() 24 fColors[4] = SK_ColorBLUE; in SkColorPalette() 51 paint.setColor(fColors[i]); in onDraw() 89 fCurrColor = fColors[fSelected]; in onClick() 109 fColors[fSelected] = selectColorFromGradient(curr); in onClick() 110 fCurrColor = fColors[fSelected]; in onClick()
|
/external/chromium_org/third_party/skia/experimental/DrawingBoard/ |
D | SkColorPalette.cpp | 20 fColors[0] = SK_ColorWHITE; in SkColorPalette() 21 fColors[1] = SK_ColorBLACK; in SkColorPalette() 22 fColors[2] = SK_ColorRED; in SkColorPalette() 23 fColors[3] = SK_ColorGREEN; in SkColorPalette() 24 fColors[4] = SK_ColorBLUE; in SkColorPalette() 51 paint.setColor(fColors[i]); in onDraw() 89 fCurrColor = fColors[fSelected]; in onClick() 109 fColors[fSelected] = selectColorFromGradient(curr); in onClick() 110 fCurrColor = fColors[fSelected]; in onClick()
|
/external/skia/gm/ |
D | vertices.cpp | 28 SkColor fColors[9]; member in VerticesGM 63 for (size_t i = 0; i < SK_ARRAY_COUNT(fColors); ++i) { in onOnceBeforeDraw() 64 fColors[i] = rand.nextU() | 0xFF000000; in onOnceBeforeDraw() 88 const SkColor* fColors; in onDraw() member 91 { fColors, NULL }, in onDraw() 93 { fColors, fTexs }, in onDraw() 113 rec[i].fTexs, rec[i].fColors, in onDraw()
|
D | gradients_no_texture.cpp | 14 const SkColor* fColors; member 30 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear() 37 return SkGradientShader::CreateRadial(center, center.fX, data.fColors, in MakeRadial() 45 … return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep() 57 data.fColors, data.fPos, data.fCount, tm); in Make2Radial() 68 data.fColors, data.fPos, in Make2Conical() 128 SkColor* fColors; member 132 ColorPos() : fColors(NULL), fPos(NULL), fCount(0) {} in ColorPos() 134 SkDELETE_ARRAY(fColors); in ~ColorPos() 139 fColors = SkNEW_ARRAY(SkColor, count); in construct() [all …]
|
D | gradients_2pt_conical.cpp | 15 const SkColor* fColors; member 49 data.fColors, data.fPos, in Make2ConicalOutside() 62 data.fColors, data.fPos, in Make2ConicalOutsideFlip() 75 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalInside() 88 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalInsideFlip() 101 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalInsideCenter() 114 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalZeroRad() 127 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalZeroRadFlip() 140 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalZeroRadCenter() 153 data.fColors, data.fPos, in Make2ConicalZeroRadOutside() [all …]
|
D | variedtext.cpp | 76 fColors[i] = random.nextU(); in onOnceBeforeDraw() 77 fColors[i] |= 0xFF000000; in onOnceBeforeDraw() 88 fPaint.setColor(fColors[i]); in onOnceBeforeDraw() 116 fPaint.setColor(fColors[i]); in onDraw() 157 SkColor fColors[kCnt]; member in VariedTextGM
|
D | gradientDirtyLaundry.cpp | 15 const SkColor* fColors; member 39 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear() 46 return SkGradientShader::CreateRadial(center, center.fX, data.fColors, in MakeRadial() 54 … return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
|
/external/chromium_org/third_party/skia/gm/ |
D | vertices.cpp | 28 SkColor fColors[9]; member in VerticesGM 63 for (size_t i = 0; i < SK_ARRAY_COUNT(fColors); ++i) { in onOnceBeforeDraw() 64 fColors[i] = rand.nextU() | 0xFF000000; in onOnceBeforeDraw() 88 const SkColor* fColors; in onDraw() member 91 { fColors, NULL }, in onDraw() 93 { fColors, fTexs }, in onDraw() 113 rec[i].fTexs, rec[i].fColors, in onDraw()
|
D | gradients_no_texture.cpp | 14 const SkColor* fColors; member 30 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear() 37 return SkGradientShader::CreateRadial(center, center.fX, data.fColors, in MakeRadial() 45 … return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep() 57 data.fColors, data.fPos, data.fCount, tm); in Make2Radial() 68 data.fColors, data.fPos, in Make2Conical() 128 SkColor* fColors; member 132 ColorPos() : fColors(NULL), fPos(NULL), fCount(0) {} in ColorPos() 134 SkDELETE_ARRAY(fColors); in ~ColorPos() 139 fColors = SkNEW_ARRAY(SkColor, count); in construct() [all …]
|
D | gradients_2pt_conical.cpp | 15 const SkColor* fColors; member 49 data.fColors, data.fPos, in Make2ConicalOutside() 62 data.fColors, data.fPos, in Make2ConicalOutsideFlip() 75 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalInside() 88 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalInsideFlip() 101 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalInsideCenter() 114 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalZeroRad() 127 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalZeroRadFlip() 140 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalZeroRadCenter() 153 data.fColors, data.fPos, in Make2ConicalZeroRadOutside() [all …]
|
D | variedtext.cpp | 76 fColors[i] = random.nextU(); in onOnceBeforeDraw() 77 fColors[i] |= 0xFF000000; in onOnceBeforeDraw() 88 fPaint.setColor(fColors[i]); in onOnceBeforeDraw() 116 fPaint.setColor(fColors[i]); in onDraw() 157 SkColor fColors[kCnt]; member in VariedTextGM
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkColorTable.h | 47 SkASSERT(fColors != NULL && (unsigned)index < fCount); 48 return fColors[index]; 57 return fColors; in lockColors() 82 SkPMColor* fColors;
|
/external/skia/include/core/ |
D | SkColorTable.h | 47 SkASSERT(fColors != NULL && (unsigned)index < fCount); 48 return fColors[index]; 57 return fColors; in lockColors() 82 SkPMColor* fColors;
|
/external/skia/src/animator/ |
D | SkDrawGradient.cpp | 47 fColors.setCount(count); in addPrelude() 49 fColors[index] = fDrawColors[index]->color; in addPrelude() 132 fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, in getShader() 167 radius, fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, in getShader()
|
/external/chromium_org/third_party/skia/src/animator/ |
D | SkDrawGradient.cpp | 47 fColors.setCount(count); in addPrelude() 49 fColors[index] = fDrawColors[index]->color; in addPrelude() 132 fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, in getShader() 167 radius, fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, in getShader()
|
/external/chromium_org/third_party/skia/samplecode/ |
D | SampleAnimatedGradient.cpp | 21 const SkColor* fColors; member 58 pts, data.fColors, data.fPos,data.fCount, in onDrawContent() 67 s, 100, data.fColors, data.fPos, data.fCount, in onDrawContent() 74 p, 0, q, 100, data.fColors, data.fPos, data.fCount, in onDrawContent() 81 100, 100, data.fColors, data.fPos, data.fCount); in onDrawContent()
|
D | SampleGradients.cpp | 45 const SkColor* fColors; member 67 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear() 74 return SkGradientShader::CreateRadial(center, center.fX, data.fColors, in MakeRadial() 82 … return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep() 94 data.fColors, data.fPos, data.fCount, tm); in Make2Radial() 105 data.fColors, data.fPos, data.fCount, tm); in Make2RadialConcentric()
|
/external/skia/samplecode/ |
D | SampleAnimatedGradient.cpp | 21 const SkColor* fColors; member 58 pts, data.fColors, data.fPos,data.fCount, in onDrawContent() 67 s, 100, data.fColors, data.fPos, data.fCount, in onDrawContent() 74 p, 0, q, 100, data.fColors, data.fPos, data.fCount, in onDrawContent() 81 100, 100, data.fColors, data.fPos, data.fCount); in onDrawContent()
|
D | SampleGradients.cpp | 45 const SkColor* fColors; member 67 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear() 74 return SkGradientShader::CreateRadial(center, center.fX, data.fColors, in MakeRadial() 82 … return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep() 94 data.fColors, data.fPos, data.fCount, tm); in Make2Radial() 105 data.fColors, data.fPos, data.fCount, tm); in Make2RadialConcentric()
|
/external/skia/bench/ |
D | FSRectBench.cpp | 36 fColors[i] = rand.nextU() | 0xFF000000; in onPreDraw() 45 paint.setColor(fColors[i % N]); in onDraw() 57 SkColor fColors[N]; member in FSRectBench
|
/external/chromium_org/third_party/skia/bench/ |
D | FSRectBench.cpp | 36 fColors[i] = rand.nextU() | 0xFF000000; in onPreDraw() 45 paint.setColor(fColors[i % N]); in onDraw() 57 SkColor fColors[N]; member in FSRectBench
|