Home
last modified time | relevance | path

Searched refs:foregroundColor (Results 1 – 18 of 18) sorted by relevance

/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DCaptionStyleCompat.java73 public final int foregroundColor; field in CaptionStyleCompat
127 int foregroundColor, in CaptionStyleCompat() argument
133 this.foregroundColor = foregroundColor; in CaptionStyleCompat()
146 captionStyle.foregroundColor, in createFromCaptionStyleV19()
159 captionStyle.hasForegroundColor() ? captionStyle.foregroundColor : DEFAULT.foregroundColor, in createFromCaptionStyleV21()
DSubtitlePainter.java76 private int foregroundColor; field in SubtitlePainter
175 && this.foregroundColor == style.foregroundColor in draw()
203 this.foregroundColor = style.foregroundColor; in draw()
441 textPaint.setColor(foregroundColor); in drawTextLayout()
448 textPaint.setColor(foregroundColor); in drawTextLayout()
DWebViewSubtitleOutput.java181 HtmlUtils.toCssRgba(style.foregroundColor), in updateWebView()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DCaptionStyleCompat.java77 public final int foregroundColor; field in CaptionStyleCompat
131 int foregroundColor, in CaptionStyleCompat() argument
137 this.foregroundColor = foregroundColor; in CaptionStyleCompat()
150 captionStyle.foregroundColor, in createFromCaptionStyleV19()
163 captionStyle.hasForegroundColor() ? captionStyle.foregroundColor : DEFAULT.foregroundColor, in createFromCaptionStyleV21()
DSubtitlePainter.java76 private int foregroundColor; field in SubtitlePainter
175 && this.foregroundColor == style.foregroundColor in draw()
203 this.foregroundColor = style.foregroundColor; in draw()
441 textPaint.setColor(foregroundColor); in drawTextLayout()
448 textPaint.setColor(foregroundColor); in drawTextLayout()
DWebViewSubtitleOutput.java181 HtmlUtils.toCssRgba(style.foregroundColor), in updateWebView()
/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp595 const SkColor foregroundColor, in colrv1_configure_skpaint() argument
598 auto fetchColorStops = [&face, &palette, &foregroundColor]( in colrv1_configure_skpaint()
623 U8CPU newAlpha = SkColorGetA(foregroundColor) * in colrv1_configure_skpaint()
625 colorStopsSorted[index].color = SkColorSetA(foregroundColor, newAlpha); in colrv1_configure_skpaint()
654 U8CPU newAlpha = SkColorGetA(foregroundColor) * in colrv1_configure_skpaint()
656 color = SkColorSetA(foregroundColor, newAlpha); in colrv1_configure_skpaint()
1037 const SkColor foregroundColor, in colrv1_draw_paint() argument
1064 if (!colrv1_configure_skpaint(face, palette, foregroundColor, colrPaint, &skPaint)) { in colrv1_draw_paint()
1084 const SkSpan<SkColor>& palette, SkColor foregroundColor, in colrv1_draw_glyph_with_path() argument
1095 if (!colrv1_configure_skpaint(face, palette, foregroundColor, fillPaint, &skiaFillPaint)) { in colrv1_draw_glyph_with_path()
[all …]
DSkScalerContext_mac_ct.h56 Offscreen(SkColor foregroundColor);
DSkScalerContext_mac_ct.cpp167 SkScalerContext_Mac::Offscreen::Offscreen(SkColor foregroundColor) in Offscreen() argument
169 , fSKForegroundColor(foregroundColor) in Offscreen()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/text/cea/
DCea708Decoder.java682 int foregroundColor = in handleSetPenColor() local
698 currentCueInfoBuilder.setPenColor(foregroundColor, backgroundColor, edgeColor); in handleSetPenColor()
955 private int foregroundColor; field in Cea708Decoder.CueInfoBuilder
987 foregroundColor = COLOR_SOLID_WHITE; in reset()
1139 public void setPenColor(int foregroundColor, int backgroundColor, int edgeColor) { in setPenColor() argument
1141 if (this.foregroundColor != foregroundColor) { in setPenColor()
1143 new ForegroundColorSpan(this.foregroundColor), in setPenColor()
1149 if (foregroundColor != COLOR_SOLID_WHITE) { in setPenColor()
1151 this.foregroundColor = foregroundColor; in setPenColor()
1242 new ForegroundColorSpan(foregroundColor), in buildSpannableString()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/text/cea/
DCea708Decoder.java684 int foregroundColor = in handleSetPenColor() local
700 currentCueInfoBuilder.setPenColor(foregroundColor, backgroundColor, edgeColor); in handleSetPenColor()
957 private int foregroundColor; field in Cea708Decoder.CueInfoBuilder
989 foregroundColor = COLOR_SOLID_WHITE; in reset()
1141 public void setPenColor(int foregroundColor, int backgroundColor, int edgeColor) { in setPenColor() argument
1143 if (this.foregroundColor != foregroundColor) { in setPenColor()
1145 new ForegroundColorSpan(this.foregroundColor), in setPenColor()
1151 if (foregroundColor != COLOR_SOLID_WHITE) { in setPenColor()
1153 this.foregroundColor = foregroundColor; in setPenColor()
1244 new ForegroundColorSpan(foregroundColor), in buildSpannableString()
/external/skia/modules/svg/src/
DSkSVGOpenTypeSVGDecoder.cpp108 SkColor foregroundColor, SkSpan<SkColor> palette) { in render() argument
113 pctx.fInherited.fColor.set(foregroundColor); in render()
/external/skia/include/core/
DSkOpenTypeSVGDecoder.h26 SkColor foregroundColor, SkSpan<SkColor> palette) = 0;
/external/skia/modules/svg/include/
DSkSVGOpenTypeSVGDecoder.h24 SkColor foregroundColor, SkSpan<SkColor> palette) override;
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp2963 const tcu::RGBA foregroundColor = tcu::RGBA(255, 255, 255, 255); in compareAndVerifyOverestimatedNormal() local
2976 if (resultImage.getPixel(x,y).getPacked() != foregroundColor.getPacked()) in compareAndVerifyOverestimatedNormal()
3002 expectedImage.setPixel(x, y, foregroundColor); in compareAndVerifyOverestimatedNormal()
3004 if (resultImage.getPixel(x, y).getPacked() != foregroundColor.getPacked()) in compareAndVerifyOverestimatedNormal()
3033 const tcu::RGBA foregroundColor = tcu::RGBA(255, 255, 255, 255); in compareAndVerifyOverestimatedDegenerate() local
3052 referenceImage.setPixel(4 * (colNdx + 1), 4 * (rowNdx + 1), foregroundColor); in compareAndVerifyOverestimatedDegenerate()
3056 if (resultImage.getPixel(4 * (colNdx + 1) - 1, 4 * (rowNdx + 1) - 1) == foregroundColor) in compareAndVerifyOverestimatedDegenerate()
3057 referenceImage.setPixel(4 * (colNdx + 1) - 1, 4 * (rowNdx + 1) - 1, foregroundColor); in compareAndVerifyOverestimatedDegenerate()
3058 if (resultImage.getPixel(4 * (colNdx + 1) - 1, 4 * (rowNdx + 1)) == foregroundColor) in compareAndVerifyOverestimatedDegenerate()
3059 referenceImage.setPixel(4 * (colNdx + 1) - 1, 4 * (rowNdx + 1), foregroundColor); in compareAndVerifyOverestimatedDegenerate()
[all …]
/external/skia/site/docs/user/modules/
Dquickstart.md335 manager. You can specify either (color) or (foregroundColor and backgroundColor) in order to have
/external/skia/modules/canvaskit/tests/
Dparagraph_test.js150 foregroundColor: CanvasKit.Color4f(1.0, 0, 0, 0.8), property
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts2968 foregroundColor?: InputColor; property