/external/skia/src/animator/ |
D | SkDrawColor.cpp | 25 SkScalar red = SkIntToScalar(SkColorGetR(color)); in RGB_to_HSV() 154 SkColorGetA(color)/255, SkColorGetR(color), in dump() 193 result = SkIntToScalar(SkColorGetR(color)); in getProperty() 230 color = SkColorSetARGB(alpha, SkColorGetR(color), in setProperty() 235 color = SkColorSetARGB(SkColorGetA(color), SkColorGetR(color), in setProperty() 240 color = SkColorSetARGB(SkColorGetA(color), SkColorGetR(color), in setProperty()
|
D | SkDrawBitmap.cpp | 71 SkDebugf("erase=\"argb(%d,%d,%d,%d)\" ", SkColorGetA(fColor)/255, SkColorGetR(fColor), in dump()
|
/external/skia/src/effects/ |
D | SkColorMatrixFilter.cpp | 25 matrix.setScale(byte_to_scale(SkColorGetR(mul)), in CreateLightingFilter() 29 matrix.postTranslate(SkIntToScalar(SkColorGetR(add)), in CreateLightingFilter()
|
D | SkAvoidXfermode.cpp | 76 unsigned opR = SkColorGetR(fOpColor); in xfer32() 125 unsigned opR = SkColorGetR(fOpColor) >> (8 - SK_R16_BITS); in xfer16() 313 SkColorGetR(avoid.opColor())/255.0f, in onSetData() 442 SkColorGetR(avoid.opColor())/255.0f, in onSetData()
|
D | SkAlphaThresholdFilter.cpp | 386 (U8CPU)(SkColorGetR(source) * scale), in onFilterImageDeprecated() 394 (U8CPU)(SkColorGetR(source) * scale), in onFilterImageDeprecated()
|
/external/skia/include/gpu/ |
D | SkGr.h | 36 unsigned r = SkColorGetR(c); in SkColorToUnpremulGrColor() 44 unsigned r = SkColorGetR(c); in SkColorToOpaqueGrColor()
|
D | GrColor.h | 164 r = SkColorGetR(colorUPM); in GrUnpremulColor()
|
/external/skia/src/core/ |
D | SkMaskGamma.h | 35 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255); in computeLuminance() 124 sk_t_scale255<R_LUM_BITS>(SkColorGetR(color) >> (8 - R_LUM_BITS)), in CanonicalColor() 209 fGammaTables[SkColorGetR(color) >> (8 - MAX_LUM_BITS)], in preBlend()
|
D | SkColor.cpp | 17 return SkPremultiplyARGBInline(SkColorGetA(c), SkColorGetR(c), in SkPreMultiplyColor()
|
/external/skia/tests/ |
D | ColorMatrixTest.cpp | 21 REPORTER_ASSERT(reporter, abs((int)(SkColorGetR(expected) - SkColorGetR(actual))) <= tolerance); in assert_color()
|
D | PremulAlphaRoundTripTest.cpp | 22 byte[0] = SkColorGetR(c); in pack_unpremul_rgba() 34 byte[2] = SkColorGetR(c); in pack_unpremul_bgra()
|
/external/skia/include/core/ |
D | SkColor.h | 63 #define SkColorGetR(color) (((color) >> 16) & 0xFF) macro 114 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
|
/external/skia/src/utils/ |
D | SkPatchUtils.cpp | 266 SkScalar(SkColorGetR(colorsPM[kTopLeft_Corner])), in getVertexData() 267 SkScalar(SkColorGetR(colorsPM[kTopRight_Corner])), in getVertexData() 268 SkScalar(SkColorGetR(colorsPM[kBottomLeft_Corner])), in getVertexData() 269 SkScalar(SkColorGetR(colorsPM[kBottomRight_Corner])))); in getVertexData()
|
D | SkTextureCompressor_ASTC.cpp | 1018 interpolate_channel(SkColorGetR(endpoints[0]), SkColorGetR(endpoints[1]), weight), in interpolate_endpoints() 1034 int r = interpolate_channel(SkColorGetR(endpoints[0]), SkColorGetR(endpoints[1]), weight0); in interpolate_dual_endpoints() 1042 SkColorGetR(endpoints[0]), SkColorGetR(endpoints[1]), weight1); in interpolate_dual_endpoints() 1617 SkColorGetA(result), SkColorGetB(result), SkColorGetG(result), SkColorGetR(result)); in getTexel()
|
/external/skia/tools/skiaserve/urlhandlers/ |
D | BreakHandler.cpp | 65 startColor.append(Json::Value(SkColorGetR(target))); in handle() 84 endColor.append(Json::Value(SkColorGetR(current))); in handle()
|
/external/skia/gm/ |
D | dstreadshuffle.cpp | 115 SkColorGetR(colors[index]), in GetColor() 122 SkColorGetR(colors[index]), in GetColor()
|
D | aaxfermodes.cpp | 207 SkColorGetR(kBGColor) + SkColorGetR(color)), in setupShapePaint()
|
D | SkLinearBitmapPipelineGM.cpp | 29 w = SkPackARGB32NoCheck(SkColorGetA(c), SkColorGetR(c), SkColorGetG(c), SkColorGetB(c)); in fill_in_bits()
|
D | all_bitmap_configs.cpp | 100 return SkPremultiplyARGBInline(SkColorGetA(c), SkColorGetR(c), in premultiply_color()
|
/external/skia/src/effects/gradients/ |
D | SkGradientShader.cpp | 286 r += SkColorGetR(c); in onAsLuminanceColor() 352 SkFixed r = SkColorGetR(c0); in Build16bitCache() 356 SkFixed dr = SkIntToFixed(SkColorGetR(c1) - r) / (count - 1); in Build16bitCache() 422 uint32_t r0 = SkColorGetR(c0); in Build32bitCache() 426 uint32_t r1 = SkColorGetR(c1); in Build32bitCache() 950 SkColorGetR(*color) / 255.f, in set_color_uni() 962 SkColorGetR(*color) * aDiv255, in set_mul_color_uni()
|
/external/skia/src/opts/ |
D | SkBlitMask_opts_arm_neon.cpp | 14 int colR = SkColorGetR(color); in SkBlitLCD16OpaqueRow_neon() 83 int colR = SkColorGetR(color); in SkBlitLCD16Row_neon()
|
D | SkColorCubeFilter_opts.h | 29 r = SkColorGetR(source); in color_cube_filter_span()
|
/external/skia/samplecode/ |
D | SampleDash.cpp | 22 *bm.getAddr32(0, 0) = SkPreMultiplyARGB(0xFF, SkColorGetR(c), in setBitmapDash()
|
D | SampleHT.cpp | 21 f[1] = SkIntToScalar(SkColorGetR(c)); in color_to_floats()
|
/external/skia/tools/debugger/ |
D | SkOverdrawMode.cpp | 277 if (SkColorGetR(dst) < 64) { // dst color is the 0th color so the next color is 1 in xferColor()
|