Home
last modified time | relevance | path

Searched refs:getColor (Results 1 – 25 of 239) sorted by relevance

12345678910

/external/skqp/tests/
DGifTest.cpp65 REPORTER_ASSERT(r, bm.getColor(0, 0) == 0x00000000); in test_gif_data_no_colormap()
76 REPORTER_ASSERT(r, bm.getColor(0, 0) == 0xffff0000); in test_gif_data()
77 REPORTER_ASSERT(r, bm.getColor(1, 0) == 0xffffff00); in test_gif_data()
78 REPORTER_ASSERT(r, bm.getColor(2, 0) == 0xff00ffff); in test_gif_data()
79 REPORTER_ASSERT(r, bm.getColor(0, 1) == 0xff808080); in test_gif_data()
80 REPORTER_ASSERT(r, bm.getColor(1, 1) == 0xff000000); in test_gif_data()
81 REPORTER_ASSERT(r, bm.getColor(2, 1) == 0xff00ff00); in test_gif_data()
82 REPORTER_ASSERT(r, bm.getColor(0, 2) == 0xffffffff); in test_gif_data()
83 REPORTER_ASSERT(r, bm.getColor(1, 2) == 0xffff00ff); in test_gif_data()
84 REPORTER_ASSERT(r, bm.getColor(2, 2) == 0xff0000ff); in test_gif_data()
[all …]
DColorMatrixTest.cpp54 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
58 assert_color(reporter, SK_ColorGREEN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
62 assert_color(reporter, SK_ColorRED, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
67 assert_color(reporter, SK_ColorWHITE, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
80 assert_color(reporter, SkColorSetARGB(128, 255, 0, 64), bitmap.getColor(0, 0), 2); in test_colorMatrixCTS()
85 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
93 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
98 assert_color(reporter, SK_ColorBLUE, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
DBitmapTest.cpp150 REPORTER_ASSERT(r, source.getColor(0, 0) == copy.getColor(0, 0)); in DEF_TEST()
159 INFOF(reporter, "expected: %x actual: %x\n", expected, bm.getColor(0, 0)); in test_erasecolor_premul()
160 REPORTER_ASSERT(reporter, bm.getColor(0, 0) == expected); in test_erasecolor_premul()
219 REPORTER_ASSERT(r, color == pm.getColor(0, 0)); in DEF_TEST()
221 REPORTER_ASSERT(r, 0 == SkColorGetA(pm.getColor(0, 0))); in DEF_TEST()
256 REPORTER_ASSERT(r, bm.getColor(0,0) == 0xff000000); in DEF_TEST()
258 REPORTER_ASSERT(r, bm.getColor(0,0) == 0x00000000); in DEF_TEST()
262 REPORTER_ASSERT(r, bm.getColor(0,0) != 0xff000000); in DEF_TEST()
263 REPORTER_ASSERT(r, bm.getColor(0,0) != 0x00000000); in DEF_TEST()
DSpecialImageTest.cpp106 REPORTER_ASSERT(reporter, SK_ColorBLUE == bm.getColor(kPad-1, kPad-1)); in test_image()
107 REPORTER_ASSERT(reporter, SK_ColorRED == bm.getColor(kPad, kPad)); in test_image()
108 REPORTER_ASSERT(reporter, SK_ColorRED == bm.getColor(kSmallerSize+kPad-1, in test_image()
110 REPORTER_ASSERT(reporter, SK_ColorBLUE == bm.getColor(kSmallerSize+kPad, in test_image()
323 REPORTER_ASSERT(reporter, redBM.getColor(0, 0) == SK_ColorRED, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
324 "0x%08x != 0x%08x", redBM.getColor(0, 0), SK_ColorRED); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
325 REPORTER_ASSERT(reporter, blueBM.getColor(0, 0) == SK_ColorBLUE, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
326 "0x%08x != 0x%08x", blueBM.getColor(0, 0), SK_ColorBLUE); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DGifTest.cpp65 REPORTER_ASSERT(r, bm.getColor(0, 0) == 0x00000000); in test_gif_data_no_colormap()
76 REPORTER_ASSERT(r, bm.getColor(0, 0) == 0xffff0000); in test_gif_data()
77 REPORTER_ASSERT(r, bm.getColor(1, 0) == 0xffffff00); in test_gif_data()
78 REPORTER_ASSERT(r, bm.getColor(2, 0) == 0xff00ffff); in test_gif_data()
79 REPORTER_ASSERT(r, bm.getColor(0, 1) == 0xff808080); in test_gif_data()
80 REPORTER_ASSERT(r, bm.getColor(1, 1) == 0xff000000); in test_gif_data()
81 REPORTER_ASSERT(r, bm.getColor(2, 1) == 0xff00ff00); in test_gif_data()
82 REPORTER_ASSERT(r, bm.getColor(0, 2) == 0xffffffff); in test_gif_data()
83 REPORTER_ASSERT(r, bm.getColor(1, 2) == 0xffff00ff); in test_gif_data()
84 REPORTER_ASSERT(r, bm.getColor(2, 2) == 0xff0000ff); in test_gif_data()
[all …]
DColorMatrixTest.cpp54 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
58 assert_color(reporter, SK_ColorGREEN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
62 assert_color(reporter, SK_ColorRED, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
67 assert_color(reporter, SK_ColorWHITE, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
80 assert_color(reporter, SkColorSetARGB(128, 255, 0, 64), bitmap.getColor(0, 0), 2); in test_colorMatrixCTS()
85 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
93 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
98 assert_color(reporter, SK_ColorBLUE, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
DBitmapTest.cpp150 REPORTER_ASSERT(r, source.getColor(0, 0) == copy.getColor(0, 0)); in DEF_TEST()
159 INFOF(reporter, "expected: %x actual: %x\n", expected, bm.getColor(0, 0)); in test_erasecolor_premul()
160 REPORTER_ASSERT(reporter, bm.getColor(0, 0) == expected); in test_erasecolor_premul()
219 REPORTER_ASSERT(r, color == pm.getColor(0, 0)); in DEF_TEST()
221 REPORTER_ASSERT(r, 0 == SkColorGetA(pm.getColor(0, 0))); in DEF_TEST()
256 REPORTER_ASSERT(r, bm.getColor(0,0) == 0xff000000); in DEF_TEST()
258 REPORTER_ASSERT(r, bm.getColor(0,0) == 0x00000000); in DEF_TEST()
262 REPORTER_ASSERT(r, bm.getColor(0,0) != 0xff000000); in DEF_TEST()
263 REPORTER_ASSERT(r, bm.getColor(0,0) != 0x00000000); in DEF_TEST()
DSpecialImageTest.cpp106 REPORTER_ASSERT(reporter, SK_ColorBLUE == bm.getColor(kPad-1, kPad-1)); in test_image()
107 REPORTER_ASSERT(reporter, SK_ColorRED == bm.getColor(kPad, kPad)); in test_image()
108 REPORTER_ASSERT(reporter, SK_ColorRED == bm.getColor(kSmallerSize+kPad-1, in test_image()
110 REPORTER_ASSERT(reporter, SK_ColorBLUE == bm.getColor(kSmallerSize+kPad, in test_image()
323 REPORTER_ASSERT(reporter, redBM.getColor(0, 0) == SK_ColorRED, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
324 "0x%08x != 0x%08x", redBM.getColor(0, 0), SK_ColorRED); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
325 REPORTER_ASSERT(reporter, blueBM.getColor(0, 0) == SK_ColorBLUE, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
326 "0x%08x != 0x%08x", blueBM.getColor(0, 0), SK_ColorBLUE); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DAndroidTranslatorClassInstrumentedTest.java25 assertThat(paint.getColor()).isEqualTo(1234); in testNativeMethodsAreDelegated()
50 assertThat(customPaint.getColor()).isEqualTo(10); in testCustomMethodShadowed()
82 protected int getColor() { in getColor() method in AndroidTranslatorClassInstrumentedTest.ShadowPaintForTests
93 public int getColor() { in getColor() method in AndroidTranslatorClassInstrumentedTest.CustomPaint
107 protected int getColor() { in getColor() method in AndroidTranslatorClassInstrumentedTest.ShadowCustomPaint
/external/setupcompat/main/java/com/google/android/setupcompat/template/
DSystemNavBarMixin.java81 a.getColor(R.styleable.SucSystemNavBarMixin_sucSystemNavBarBackgroundColor, 0); in applyPartnerCustomizations()
102 .getColor(context, PartnerConfig.CONFIG_NAVIGATION_BAR_BG_COLOR); in setSystemNavBarBackground()
198 .getColor(context, PartnerConfig.CONFIG_NAVIGATION_BAR_BG_COLOR); in showSystemBars()
206 int statusBarColor = typedArray.getColor(0, 0); in showSystemBars()
207 int navigationBarColor = typedArray.getColor(1, 0); in showSystemBars()
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DViewfinderView.java67 maskColor = resources.getColor(R.color.viewfinder_mask); in ViewfinderView()
68 resultColor = resources.getColor(R.color.result_view); in ViewfinderView()
69 frameColor = resources.getColor(R.color.viewfinder_frame); in ViewfinderView()
70 laserColor = resources.getColor(R.color.viewfinder_laser); in ViewfinderView()
71 resultPointColor = resources.getColor(R.color.possible_result_points); in ViewfinderView()
/external/skia/modules/sksg/src/
DSkSGColorFilter.cpp61 return SkColorFilter::MakeModeFilter(fColor->getColor(), fMode); in onRevalidateFilter()
93 const auto c0 = SkColor4f::FromColor(color0->getColor()), in Make2ColorGradient()
94 c1 = SkColor4f::FromColor(color1->getColor()); in Make2ColorGradient()
156 const SkColor c0 = colors[i ]->getColor(), in MakeNColorGradient()
157 c1 = colors[i + 1]->getColor(); in MakeNColorGradient()
/external/skia/samplecode/
DSampleShadowColor.cpp120 if (paint.getColor() != SK_ColorBLACK) { in drawShadowedPath()
121 SkColor color = paint.getColor(); in drawShadowedPath()
143 SkColor color = paint.getColor(); in drawShadowedPath()
161 strokePaint.setColor(paint.getColor()); in drawShadowedPath()
/external/skqp/samplecode/
DSampleShadowColor.cpp120 if (paint.getColor() != SK_ColorBLACK) { in drawShadowedPath()
121 SkColor color = paint.getColor(); in drawShadowedPath()
143 SkColor color = paint.getColor(); in drawShadowedPath()
161 strokePaint.setColor(paint.getColor()); in drawShadowedPath()
/external/proguard/src/proguard/gui/splash/
DColorSprite.java54 Color oldColor = graphics.getColor(); in paint()
57 graphics.setColor(color.getColor(time)); in paint()
DClipSprite.java62 Color outsideColor = outsideClipColor.getColor(time); in paint()
70 Color insideColor = insideClipColor.getColor(time); in paint()
/external/deqp-deps/glslang/Test/
Dlink1.vk.frag3 vec4 getColor();
18 color = getColor();
/external/skqp/docs/
DSkPixmap_Reference.bmh635 #Method SkColor getColor(int x, int y) const
660 SkDebugf("0x%08x%c", pixmap.getColor(x, y), x == w - 1 ? '\n' : ' ');
686 This is roughly equivalent to #Formula # SkGetColorA(getColor()) ##, but can be more efficient
697 #SeeAlso getColor
726 #SeeAlso addr8 addr16 addr32 addr64 addrF16 getColor writable_addr SkBitmap::getAddr
751 #SeeAlso addr() addr16 addr32 addr64 addrF16 getColor writable_addr writable_addr8
776 #SeeAlso addr() addr8 addr32 addr64 addrF16 getColor writable_addr writable_addr16
801 #SeeAlso addr() addr8 addr16 addr64 addrF16 getColor writable_addr writable_addr32
826 #SeeAlso addr() addr8 addr16 addr32 addrF16 getColor writable_addr writable_addr64
851 #SeeAlso addr() addr8 addr16 addr32 addr64 getColor writable_addr writable_addrF16
[all …]
/external/skia/docs/
DSkPixmap_Reference.bmh635 #Method SkColor getColor(int x, int y) const
660 SkDebugf("0x%08x%c", pixmap.getColor(x, y), x == w - 1 ? '\n' : ' ');
686 This is roughly equivalent to #Formula # SkGetColorA(getColor()) ##, but can be more efficient
697 #SeeAlso getColor
726 #SeeAlso addr8 addr16 addr32 addr64 addrF16 getColor writable_addr SkBitmap::getAddr
751 #SeeAlso addr() addr16 addr32 addr64 addrF16 getColor writable_addr writable_addr8
776 #SeeAlso addr() addr8 addr32 addr64 addrF16 getColor writable_addr writable_addr16
801 #SeeAlso addr() addr8 addr16 addr64 addrF16 getColor writable_addr writable_addr32
826 #SeeAlso addr() addr8 addr16 addr32 addrF16 getColor writable_addr writable_addr64
851 #SeeAlso addr() addr8 addr16 addr32 addr64 getColor writable_addr writable_addrF16
[all …]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYRegionFormatter.java58 public int getColor() { in getColor() method in XYRegionFormatter
59 return paint.getColor(); in getColor()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DExample2_24Test.java136 map.put("color", new HexInteger(label.getColor())); in representData()
146 + Integer.toHexString(hex.getColor()).toUpperCase(), null); in representData()
158 public Integer getColor() { in getColor() method in Example2_24Test.HexInteger
229 public Integer getColor() { in getColor() method in Example2_24Test.Label
/external/llvm/lib/Target/AArch64/
DAArch64A57FPLoadBalancing.cpp152 Color getColor(unsigned Register);
538 if (C == getColor(Reg)) in scavengeRegister()
591 bool Change = TransformAll || getColor(MO.getReg()) != C; in colorChain()
634 auto G = llvm::make_unique<Chain>(MI, Idx, getColor(DestReg)); in scanInstruction()
662 ActiveChains[AccumReg]->add(MI, Idx, getColor(DestReg)); in scanInstruction()
678 auto G = llvm::make_unique<Chain>(MI, Idx, getColor(DestReg)); in scanInstruction()
727 Color AArch64A57FPLoadBalancing::getColor(unsigned Reg) { in getColor() function in AArch64A57FPLoadBalancing
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64A57FPLoadBalancing.cpp148 Color getColor(unsigned Register);
525 if (C == getColor(Reg)) in scavengeRegister()
578 bool Change = TransformAll || getColor(MO.getReg()) != C; in colorChain()
621 auto G = llvm::make_unique<Chain>(MI, Idx, getColor(DestReg)); in scanInstruction()
649 ActiveChains[AccumReg]->add(MI, Idx, getColor(DestReg)); in scanInstruction()
666 auto G = llvm::make_unique<Chain>(MI, Idx, getColor(DestReg)); in scanInstruction()
715 Color AArch64A57FPLoadBalancing::getColor(unsigned Reg) { in getColor() function in AArch64A57FPLoadBalancing
/external/deqp-deps/glslang/Test/baseResults/
Dlink1.vk.frag.out10 0:18 Function Call: getColor( ( global highp 4-component vector of float)
52 0:14 Function Definition: getColor( ( global highp 4-component vector of float)
117 0:18 Function Call: getColor( ( global highp 4-component vector of float)
145 0:14 Function Definition: getColor( ( global highp 4-component vector of float)
210 Name 9 "getColor("
287 13: 7(fvec4) FunctionCall 9(getColor()
300 9(getColor(): 7(fvec4) Function None 8
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCanvasTest.java117 assertThat(drawnPathPaint.getColor()).isEqualTo(Color.RED); in drawPath_shouldRecordThePathAndThePaint()
363 assertThat(shadowCanvas.getDrawnLine(0).paint.getColor()).isEqualTo(Color.RED); in drawLine_shouldRecordLineHistoryEvents()
370 assertThat(shadowCanvas.getDrawnLine(1).paint.getColor()).isEqualTo(Color.WHITE); in drawLine_shouldRecordLineHistoryEvents()
389 assertThat(shadowCanvas.getDrawnOval(0).paint.getColor()).isEqualTo(Color.RED); in drawOval_shouldRecordOvalHistoryEvents()
392 assertThat(shadowCanvas.getDrawnOval(1).paint.getColor()).isEqualTo(Color.WHITE); in drawOval_shouldRecordOvalHistoryEvents()
414 assertThat(shadowCanvas.getDrawnRect(0).paint.getColor()).isEqualTo(Color.WHITE); in drawRect_shouldRecordRectHistoryEvents()
421 assertThat(shadowCanvas.getDrawnRect(1).paint.getColor()).isEqualTo(Color.BLACK); in drawRect_shouldRecordRectHistoryEvents()

12345678910