/external/skia/src/utils/ |
D | SkParseColor.cpp | 241 const char* SkParse::FindColor(const char* value, SkColor* colorPtr) { in FindColor() argument 242 unsigned int oldAlpha = SkColorGetA(*colorPtr); in FindColor() 255 *colorPtr = SkColorSetARGB(a, r, g, b); in FindColor() 260 *colorPtr = hex; in FindColor() 279 return FindNamedColor(value, strlen(value), colorPtr); in FindColor()
|
/external/skqp/src/utils/ |
D | SkParseColor.cpp | 241 const char* SkParse::FindColor(const char* value, SkColor* colorPtr) { in FindColor() argument 242 unsigned int oldAlpha = SkColorGetA(*colorPtr); in FindColor() 255 *colorPtr = SkColorSetARGB(a, r, g, b); in FindColor() 260 *colorPtr = hex; in FindColor() 279 return FindNamedColor(value, strlen(value), colorPtr); in FindColor()
|
/external/skia/modules/canvaskit/ |
D | interface.js | 588 var colorPtr = copy1dArray(colors, CanvasKit.HEAP32); 597 var lgs = CanvasKit._MakeLinearGradientShader(start, end, colorPtr, posPtr, 600 var lgs = CanvasKit._MakeLinearGradientShader(start, end, colorPtr, posPtr, 604 CanvasKit._free(colorPtr); 610 var colorPtr = copy1dArray(colors, CanvasKit.HEAP32); 619 var rgs = CanvasKit._MakeRadialGradientShader(center, radius, colorPtr, posPtr, 622 var rgs = CanvasKit._MakeRadialGradientShader(center, radius, colorPtr, posPtr, 626 CanvasKit._free(colorPtr); 633 var colorPtr = copy1dArray(colors, CanvasKit.HEAP32); 644 colorPtr, posPtr, colors.length, mode, flags, localMatrix); [all …]
|
/external/skqp/experimental/canvaskit/ |
D | interface.js | 695 var colorPtr = copy1dArray(colors, CanvasKit.HEAP32); 704 var lgs = CanvasKit._MakeLinearGradientShader(start, end, colorPtr, posPtr, 707 var lgs = CanvasKit._MakeLinearGradientShader(start, end, colorPtr, posPtr, 711 CanvasKit._free(colorPtr); 717 var colorPtr = copy1dArray(colors, CanvasKit.HEAP32); 726 var rgs = CanvasKit._MakeRadialGradientShader(center, radius, colorPtr, posPtr, 729 var rgs = CanvasKit._MakeRadialGradientShader(center, radius, colorPtr, posPtr, 733 CanvasKit._free(colorPtr); 740 var colorPtr = copy1dArray(colors, CanvasKit.HEAP32); 751 colorPtr, posPtr, colors.length, mode, flags, localMatrix); [all …]
|
/external/skqp/src/shaders/ |
D | SkShader.cpp | 67 bool SkShaderBase::asLuminanceColor(SkColor* colorPtr) const { in asLuminanceColor() 69 if (nullptr == colorPtr) { in asLuminanceColor() 70 colorPtr = &storage; in asLuminanceColor() 72 if (this->onAsLuminanceColor(colorPtr)) { in asLuminanceColor() 73 *colorPtr = SkColorSetA(*colorPtr, 0xFF); // we only return opaque in asLuminanceColor()
|
/external/skia/src/shaders/ |
D | SkShader.cpp | 68 bool SkShaderBase::asLuminanceColor(SkColor* colorPtr) const { in asLuminanceColor() 70 if (nullptr == colorPtr) { in asLuminanceColor() 71 colorPtr = &storage; in asLuminanceColor() 73 if (this->onAsLuminanceColor(colorPtr)) { in asLuminanceColor() 74 *colorPtr = SkColorSetA(*colorPtr, 0xFF); // we only return opaque in asLuminanceColor()
|
/external/skia/tests/ |
D | SwizzlerTest.cpp | 41 uint32_t* colorPtr = (uint32_t*) indexPtr; in check_fill() local 47 REPORTER_ASSERT(r, 0 == colorPtr[x]); in check_fill() 61 colorPtr = (uint32_t*) indexPtr; in check_fill()
|
/external/skqp/tests/ |
D | SwizzlerTest.cpp | 41 uint32_t* colorPtr = (uint32_t*) indexPtr; in check_fill() local 47 REPORTER_ASSERT(r, 0 == colorPtr[x]); in check_fill() 61 colorPtr = (uint32_t*) indexPtr; in check_fill()
|
/external/skqp/docs/ |
D | SkSurface_Reference.bmh | 87 SkPMColor* colorPtr = (SkPMColor*) pixels; 88 SkPMColor pmWhite = colorPtr[0]; 94 SkDebugf("%c", *colorPtr++ == pmWhite ? '-' : 'x'); 128 const uint32_t* colorPtr = pixmap.addr32(); 129 SkPMColor pmWhite = colorPtr[0]; 135 SkDebugf("%c", colorPtr[x] == pmWhite ? '-' : 'x'); 137 colorPtr += rowBytes / sizeof(colorPtr[0]); 167 const uint32_t* colorPtr = pixmap.addr32(); 168 SkPMColor pmWhite = colorPtr[0]; 174 SkDebugf("%c", colorPtr[x] == pmWhite ? '-' : 'x'); [all …]
|
/external/skia/docs/ |
D | SkSurface_Reference.bmh | 100 SkPMColor* colorPtr = (SkPMColor*) pixels; 101 SkPMColor pmWhite = colorPtr[0]; 107 SkDebugf("%c", *colorPtr++ == pmWhite ? '-' : 'x'); 141 const uint32_t* colorPtr = pixmap.addr32(); 142 SkPMColor pmWhite = colorPtr[0]; 148 SkDebugf("%c", colorPtr[x] == pmWhite ? '-' : 'x'); 150 colorPtr += rowBytes / sizeof(colorPtr[0]); 180 const uint32_t* colorPtr = pixmap.addr32(); 181 SkPMColor pmWhite = colorPtr[0]; 187 SkDebugf("%c", colorPtr[x] == pmWhite ? '-' : 'x'); [all …]
|
/external/skqp/src/codec/ |
D | SkBmpStandardCodec.cpp | 179 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); in initializeSwizzler() local 192 fSwizzler = SkSwizzler::Make(encodedInfo, colorPtr, swizzlerInfo, swizzlerOptions); in initializeSwizzler()
|
/external/skia/src/codec/ |
D | SkBmpStandardCodec.cpp | 179 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); in initializeSwizzler() local 192 fSwizzler = SkSwizzler::Make(encodedInfo, colorPtr, swizzlerInfo, swizzlerOptions); in initializeSwizzler()
|