Home
last modified time | relevance | path

Searched refs:parseColor (Results 1 – 24 of 24) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowColorTest.java27 assertThat(Color.parseColor("#ffffffff")).isEqualTo(-1); in testParseColor()
28 assertThat(Color.parseColor("#00000000")).isEqualTo(0); in testParseColor()
30 assertThat(Color.parseColor("#ffaabbcc")).isEqualTo(-5588020); in testParseColor()
35 assertThat(Color.parseColor("blue")).isEqualTo(-16776961); in testParseColorWithStringName()
36 assertThat(Color.parseColor("black")).isEqualTo(-16777216); in testParseColorWithStringName()
37 assertThat(Color.parseColor("green")).isEqualTo(-16711936); in testParseColorWithStringName()
DShadowBitmapTest.java79 Color.parseColor("#ff0000"), Color.parseColor("#00ff00"), Color.parseColor("#0000ff"), in shouldCreateBitmapWithColors()
80 Color.parseColor("#990000"), Color.parseColor("#009900"), Color.parseColor("#000099") in shouldCreateBitmapWithColors()
86 assertThat(bitmap.getPixel(0, 0)).isEqualTo(Color.parseColor("#ff0000")); in shouldCreateBitmapWithColors()
87 assertThat(bitmap.getPixel(0, 1)).isEqualTo(Color.parseColor("#990000")); in shouldCreateBitmapWithColors()
88 assertThat(bitmap.getPixel(1, 0)).isEqualTo(Color.parseColor("#00ff00")); in shouldCreateBitmapWithColors()
89 assertThat(bitmap.getPixel(1, 1)).isEqualTo(Color.parseColor("#009900")); in shouldCreateBitmapWithColors()
90 assertThat(bitmap.getPixel(2, 0)).isEqualTo(Color.parseColor("#0000ff")); in shouldCreateBitmapWithColors()
91 assertThat(bitmap.getPixel(2, 1)).isEqualTo(Color.parseColor("#000099")); in shouldCreateBitmapWithColors()
/external/skqp/experimental/canvaskit/tests/
Dcanvas2d.spec.js42 const parseColor = CanvasKit._testing.parseColor;
43 expect(parseColor('#FED')).toEqual(
45 expect(parseColor('#FEDC')).toEqual(
47 expect(parseColor('#fed')).toEqual(
49 expect(parseColor('#fedc')).toEqual(
56 const parseColor = CanvasKit._testing.parseColor;
57 expect(parseColor('rgba(117, 33, 64, 0.75)')).toEqual(
59 expect(parseColor('rgb(117, 33, 64, 0.75)')).toEqual(
61 expect(parseColor('rgba(117,33,64)')).toEqual(
63 expect(parseColor('rgb(117,33, 64)')).toEqual(
[all …]
/external/skia/modules/canvaskit/tests/
Dcanvas2d.spec.js24 const parseColor = CanvasKit._testing.parseColor;
25 expect(parseColor('#FED')).toEqual(
27 expect(parseColor('#FEDC')).toEqual(
29 expect(parseColor('#fed')).toEqual(
31 expect(parseColor('#fedc')).toEqual(
38 const parseColor = CanvasKit._testing.parseColor;
39 expect(parseColor('rgba(117, 33, 64, 0.75)')).toEqual(
41 expect(parseColor('rgb(117, 33, 64, 0.75)')).toEqual(
43 expect(parseColor('rgba(117,33,64)')).toEqual(
45 expect(parseColor('rgb(117,33, 64)')).toEqual(
[all …]
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/tracking/
DMultiBoxTracker.java63 Color.parseColor("#55FF55"), Color.parseColor("#FFA500"), Color.parseColor("#FF8888"),
64 Color.parseColor("#AAAAFF"), Color.parseColor("#FFFFAA"), Color.parseColor("#55AAAA"),
65 Color.parseColor("#AA33AA"), Color.parseColor("#0D0068")
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/tracking/
DMultiBoxTracker.java63 Color.parseColor("#55FF55"), Color.parseColor("#FFA500"), Color.parseColor("#FF8888"),
64 Color.parseColor("#AAAAFF"), Color.parseColor("#FFFFAA"), Color.parseColor("#55AAAA"),
65 Color.parseColor("#AA33AA"), Color.parseColor("#0D0068")
/external/skia/modules/canvaskit/htmlcanvas/
Dcolor.js42 function parseColor(colorStr) { function
96 CanvasKit._testing['parseColor'] = parseColor;
Dlineargradient.js12 color = parseColor(color);
Dradialgradient.js15 color = parseColor(color);
Dcanvas2dcontext.js88 this._fillStyle = parseColor(newStyle);
446 this._shadowColor = parseColor(newColor);
483 this._strokeStyle = parseColor(newStyle);
/external/skqp/experimental/canvaskit/htmlcanvas/
Dcolor.js42 function parseColor(colorStr) { function
96 CanvasKit._testing['parseColor'] = parseColor;
Dlineargradient.js12 color = parseColor(color);
Dradialgradient.js15 color = parseColor(color);
Dcanvas2dcontext.js88 this._fillStyle = parseColor(newStyle);
446 this._shadowColor = parseColor(newColor);
483 this._strokeStyle = parseColor(newStyle);
/external/skia/experimental/svg/model/
DSkSVGAttributeParser.h18 bool parseColor(SkSVGColorType*);
DSkSVGAttributeParser.cpp184 bool SkSVGAttributeParser::parseColor(SkSVGColorType* color) { in parseColor() function in SkSVGAttributeParser
427 if (this->parseColor(&c)) { in parsePaint()
DSkSVGDOM.cpp54 if (!parser.parseColor(&color)) { in SetColorAttribute()
/external/skqp/experimental/svg/model/
DSkSVGAttributeParser.h18 bool parseColor(SkSVGColorType*);
DSkSVGAttributeParser.cpp184 bool SkSVGAttributeParser::parseColor(SkSVGColorType* color) { in parseColor() function in SkSVGAttributeParser
427 if (this->parseColor(&c)) { in parsePaint()
DSkSVGDOM.cpp54 if (!parser.parseColor(&color)) { in SetColorAttribute()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/
DXYPlotTest.java475 assertEquals(Color.parseColor(param3), plot.getBackgroundPaint().getColor()); in testConfigure()
476 … assertEquals(Color.parseColor(param3), plot.getGraphWidget().getDomainLabelPaint().getColor()); in testConfigure()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DConfigurator.java126 return Color.parseColor(value); in parseIntAttr()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/
DPlotTest.java481 assertEquals(Color.parseColor(param3), plot.getBackgroundPaint().getColor()); in testConfigure()
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/MANIFEST.MF org/jetbrains/kotlin/utils/JavaSdkUtil.class JavaSdkUtil ...