/external/skqp/tests/ |
D | GifTest.cpp | 65 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 …]
|
D | ColorMatrixTest.cpp | 54 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()
|
D | BitmapTest.cpp | 150 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()
|
D | SpecialImageTest.cpp | 106 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/ |
D | GifTest.cpp | 65 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 …]
|
D | ColorMatrixTest.cpp | 53 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS() 57 assert_color(reporter, SK_ColorGREEN, bitmap.getColor(0, 0)); in test_colorMatrixCTS() 61 assert_color(reporter, SK_ColorRED, bitmap.getColor(0, 0)); in test_colorMatrixCTS() 66 assert_color(reporter, SK_ColorWHITE, bitmap.getColor(0, 0)); in test_colorMatrixCTS() 79 assert_color(reporter, SkColorSetARGB(128, 255, 0, 64), bitmap.getColor(0, 0), 2); in test_colorMatrixCTS() 84 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS() 92 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS() 97 assert_color(reporter, SK_ColorBLUE, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
|
D | BitmapTest.cpp | 187 REPORTER_ASSERT(r, source.getColor(0, 0) == copy.getColor(0, 0)); in DEF_TEST() 196 INFOF(reporter, "expected: %x actual: %x\n", expected, bm.getColor(0, 0)); in test_erasecolor_premul() 197 REPORTER_ASSERT(reporter, bm.getColor(0, 0) == expected); in test_erasecolor_premul() 245 REPORTER_ASSERT(r, color == pm.getColor(0, 0)); in DEF_TEST() 247 REPORTER_ASSERT(r, 0 == SkColorGetA(pm.getColor(0, 0))); in DEF_TEST() 264 REPORTER_ASSERT(r, bm.getColor(0, 0) == SK_ColorBLUE); in DEF_TEST() 296 REPORTER_ASSERT(r, bm.getColor(0,0) == 0xff000000); in DEF_TEST() 298 REPORTER_ASSERT(r, bm.getColor(0,0) == 0x00000000); in DEF_TEST() 302 REPORTER_ASSERT(r, bm.getColor(0,0) != 0xff000000); in DEF_TEST() 303 REPORTER_ASSERT(r, bm.getColor(0,0) != 0x00000000); in DEF_TEST()
|
D | DebugLayerManagerTest.cpp | 60 SkColor paintColor = pixmap.getColor(50, 50); in test_basic() 71 auto innerColor = pixmap.getColor(50, 50); in test_basic() 73 auto outerColor = pixmap.getColor(10, 50); in test_basic()
|
D | ExtendedSkColorTypeTests.cpp | 97 SkColor actual = pm.getColor(0, 0); in raster_tests() 107 SkColor actual = pm.getColor(0, 0); in raster_tests() 126 SkColor expected = srcPM.getColor(0, 0); in raster_tests() 127 SkColor actual = readbackPM.getColor(0, 0); in raster_tests() 153 SkColor expected = srcPM.getColor(0, 0); in raster_tests() 154 SkColor actual = readbackPM.getColor(0, 0); in raster_tests()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/ |
D | AndroidTranslatorClassInstrumentedTest.java | 25 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/ |
D | SystemNavBarMixin.java | 86 a.getColor(R.styleable.SucSystemNavBarMixin_sucSystemNavBarBackgroundColor, 0); in applyPartnerCustomizations() 98 int defaultColor = typedArray.getColor(/* index= */ 0, /* defValue= */ 0); in applyPartnerCustomizations() 100 a.getColor(R.styleable.SucSystemNavBarMixin_sucSystemNavBarDividerColor, defaultColor); in applyPartnerCustomizations() 123 .getColor(context, PartnerConfig.CONFIG_NAVIGATION_BAR_BG_COLOR); in setSystemNavBarBackground() 198 .getColor(context, PartnerConfig.CONFIG_NAVIGATION_BAR_DIVIDER_COLOR); in setSystemNavBarDividerColor() 243 .getColor(context, PartnerConfig.CONFIG_NAVIGATION_BAR_BG_COLOR); in showSystemBars() 251 int statusBarColor = typedArray.getColor(0, 0); in showSystemBars() 252 int navigationBarColor = typedArray.getColor(1, 0); in showSystemBars()
|
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/views/ |
D | BackgroundColorView.kt | 33 if (getColor() == Color.WHITE) { in draw() 37 paint.color = ContextCompat.getColor(context, R.color.background_color1_stroke) in draw() 39 paint.color = getColor() in draw() 45 @ColorInt fun getColor() = (background as ColorDrawable).color method
|
/external/skia/modules/skottie/tests/ |
D | Image.cpp | 123 tst.c[0] == pmap.getColor(render_size.width() / 2, render_size.height() / 2)); in DEF_TEST() 125 tst.c[1] == pmap.getColor(1 , render_size.height() / 2)); in DEF_TEST() 127 tst.c[2] == pmap.getColor(render_size.width() / 2, 1)); in DEF_TEST() 129 tst.c[3] == pmap.getColor(render_size.width() - 1, render_size.height() / 2)); in DEF_TEST() 131 tst.c[4] == pmap.getColor(render_size.width() /2 , render_size.height() - 1)); in DEF_TEST()
|
/external/libvpx/libvpx/tools/3D-Reconstruction/sketch_3D_reconstruction/ |
D | Scene.pde | 20 color c1 = point_cloud.getColor(v * width + u); 21 color c2 = point_cloud.getColor(v * width + u + 1); 22 color c3 = point_cloud.getColor((v + 1) * width + u + 1); 23 color c4 = point_cloud.getColor((v + 1) * width + u);
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
D | ViewfinderView.java | 67 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/docs/examples/ |
D | Paint_copy_operator.cpp | 10 SkDebugf("SK_ColorRED %c= paint1.getColor()\n", SK_ColorRED == paint1.getColor() ? '=' : '!'); in draw() 11 SkDebugf("SK_ColorRED %c= paint2.getColor()\n", SK_ColorRED == paint2.getColor() ? '=' : '!'); in draw()
|
D | Paint_copy_const_SkPaint.cpp | 11 SkDebugf("SK_ColorRED %c= paint1.getColor()\n", SK_ColorRED == paint1.getColor() ? '=' : '!'); in draw() 12 SkDebugf("SK_ColorBLUE %c= paint2.getColor()\n", SK_ColorBLUE == paint2.getColor() ? '=' : '!'); in draw()
|
D | Bitmap_getPixels.cpp | 14 bitmap.getColor(0, 1) == 0x00000000 ? '=' : '!'); in draw() 16 bitmap.getColor(0, 0) == 0xFFFFFFFF ? '=' : '!'); in draw()
|
D | Pixmap_writable_addr.cpp | 16 pixmap.getColor(0, 1) == 0x00000000 ? '=' : '!'); in draw() 18 pixmap.getColor(0, 0) == 0xFFFFFFFF ? '=' : '!'); in draw()
|
D | Pixmap_writable_addr_2.cpp | 16 pixmap.getColor(0, 0) == 0x00000000 ? '=' : '!'); in draw() 18 pixmap.getColor(1, 2) == 0xFFFFFFFF ? '=' : '!'); in draw()
|
/external/skia/modules/sksg/src/ |
D | SkSGColorFilter.cpp | 76 return SkColorFilters::Blend(fColor->getColor(), fMode); in onRevalidateFilter() 108 const auto c0 = SkColor4f::FromColor(color0->getColor()), in Make2ColorGradient() 109 c1 = SkColor4f::FromColor(color1->getColor()); in Make2ColorGradient() 171 const SkColor c0 = colors[i ]->getColor(), in MakeNColorGradient() 172 c1 = colors[i + 1]->getColor(); in MakeNColorGradient()
|
/external/proguard/src/proguard/gui/splash/ |
D | ColorSprite.java | 54 Color oldColor = graphics.getColor(); in paint() 57 graphics.setColor(color.getColor(time)); in paint()
|
/external/skia/samplecode/ |
D | SampleShadowColor.cpp | 115 if (paint.getColor() != SK_ColorBLACK) { in drawShadowedPath() 116 SkColor color = paint.getColor(); in drawShadowedPath() 138 SkColor color = paint.getColor(); in drawShadowedPath() 156 strokePaint.setColor(paint.getColor()); in drawShadowedPath()
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/ |
D | link1.vk.frag | 3 vec4 getColor(); 18 color = getColor();
|
/external/deqp-deps/glslang/Test/ |
D | link1.vk.frag | 3 vec4 getColor(); 18 color = getColor();
|