Home
last modified time | relevance | path

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

1234567

/external/skia/tests/
DGifTest.cpp64 REPORTER_ASSERT(r, bm.getColor(0, 0) == 0x00000000); in test_gif_data_no_colormap()
75 REPORTER_ASSERT(r, bm.getColor(0, 0) == 0xffff0000); in test_gif_data()
76 REPORTER_ASSERT(r, bm.getColor(1, 0) == 0xffffff00); in test_gif_data()
77 REPORTER_ASSERT(r, bm.getColor(2, 0) == 0xff00ffff); in test_gif_data()
78 REPORTER_ASSERT(r, bm.getColor(0, 1) == 0xff808080); in test_gif_data()
79 REPORTER_ASSERT(r, bm.getColor(1, 1) == 0xff000000); in test_gif_data()
80 REPORTER_ASSERT(r, bm.getColor(2, 1) == 0xff00ff00); in test_gif_data()
81 REPORTER_ASSERT(r, bm.getColor(0, 2) == 0xffffffff); in test_gif_data()
82 REPORTER_ASSERT(r, bm.getColor(1, 2) == 0xffff00ff); in test_gif_data()
83 REPORTER_ASSERT(r, bm.getColor(2, 2) == 0xff0000ff); in test_gif_data()
[all …]
DColorMatrixTest.cpp52 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
56 assert_color(reporter, SK_ColorGREEN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
60 assert_color(reporter, SK_ColorRED, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
65 assert_color(reporter, SK_ColorWHITE, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
78 assert_color(reporter, SkColorSetARGB(128, 255, 0, 64), bitmap.getColor(0, 0), 2); in test_colorMatrixCTS()
83 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
91 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
96 assert_color(reporter, SK_ColorBLUE, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
DBitmapTest.cpp146 REPORTER_ASSERT(r, source.getColor(0, 0) == copy.getColor(0, 0)); in DEF_TEST()
155 INFOF(reporter, "expected: %x actual: %x\n", expected, bm.getColor(0, 0)); in test_erasecolor_premul()
156 REPORTER_ASSERT(reporter, bm.getColor(0, 0) == expected); in test_erasecolor_premul()
215 REPORTER_ASSERT(r, color == pm.getColor(0, 0)); in DEF_TEST()
217 REPORTER_ASSERT(r, 0 == SkColorGetA(pm.getColor(0, 0))); in DEF_TEST()
DFontHostStreamTest.cpp47 SkColor testColor = test.getColor(x, y); in compare()
54 refColor = ref.getColor(refX, refY); in compare()
DHighContrastFilterTest.cpp40 SkColor paintColor = paintResult.getColor(x, y); in DEF_TEST()
41 SkColor filterColor = filterResult.getColor(x, y); in DEF_TEST()
DDrawTextTest.cpp45 SkColor testColor = test.getColor(x, y); in compare()
52 refColor = ref.getColor(refX, refY); in compare()
DCachedDecodingPixelRefTest.cpp129 r, TestImageGenerator::Color() == bitmap.getColor(0, 0)); in DEF_TEST()
132 REPORTER_ASSERT(r, kDefaultColor == bitmap.getColor(0, 0)); in DEF_TEST()
DSpecialImageTest.cpp107 REPORTER_ASSERT(reporter, SK_ColorBLUE == bm.getColor(kPad-1, kPad-1)); in test_image()
108 REPORTER_ASSERT(reporter, SK_ColorRED == bm.getColor(kPad, kPad)); in test_image()
109 REPORTER_ASSERT(reporter, SK_ColorRED == bm.getColor(kSmallerSize+kPad-1, in test_image()
111 REPORTER_ASSERT(reporter, SK_ColorBLUE == bm.getColor(kSmallerSize+kPad, in test_image()
DImageNewShaderTest.cpp94 REPORTER_ASSERT(reporter, 0xFFFF0000 == bmt.getColor(0, y)); in run_shader_test()
97 REPORTER_ASSERT(reporter, 0xFFDEDEDE == bmt.getColor(x, y)); in run_shader_test()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/bytecode/
DAndroidTranslatorClassIntrumentedTest.java26 assertThat(paint.getColor(), is(1234)); in testNativeMethodsAreDelegated()
53 assertThat(customPaint.getColor(), equalTo(10)); in testCustomMethodShadowed()
66 assertThat(customXmasPaint.getColor(), equalTo(999)); in testCustomMethodNotShadowed()
97 public int getColor() { in getColor() method in AndroidTranslatorClassIntrumentedTest.ShadowPaintForTests
107 public int getColor() { in getColor() method in AndroidTranslatorClassIntrumentedTest.CustomPaint
120 public int getColor() { in getColor() method in AndroidTranslatorClassIntrumentedTest.ShadowCustomPaint
134 public int getColor() { in getColor() method in AndroidTranslatorClassIntrumentedTest.CustomXmasPaint
147 public int getColor() { in getColor() method in AndroidTranslatorClassIntrumentedTest.ShadowCustomXmasPaint
/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/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()
DVariableColor.java35 public Color getColor(long time); in getColor() method
/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/skia/bench/
DTextBench.cpp98 if (SK_ColorBLACK == fPaint.getColor()) { in onGetName()
100 } else if (SK_ColorWHITE == fPaint.getColor()) { in onGetName()
120 paint.setColor(fPaint.getColor()); in onDraw()
/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/skia/src/gpu/ops/
DGrRectOpFactory.h49 return GrAAFillRectOp::Make(paint.getColor(), viewMatrix, croppedRect, devRect); in MakeAAFill()
51 return GrAnalyticRectOp::Make(paint.getColor(), viewMatrix, rect, croppedRect, devRect); in MakeAAFill()
/external/skia/tools/
Dimgslice.cpp118 SkColor c = bitmap.getColor(x, y); in main()
126 SkColor c = bitmap.getColor(x, y); in main()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DPathNumbering.cpp71 BallLarusNode::NodeColor BallLarusNode::getColor() { in getColor() function in BallLarusNode
369 if(currentNode->getColor() != BallLarusNode::WHITE) { in buildNode()
422 if(succNode && succNode->getColor() == BallLarusNode::BLACK) { in buildEdge()
425 } else if(succNode && succNode->getColor() == BallLarusNode::GRAY) { in buildEdge()
/external/skia/src/gpu/
DGrRenderTargetContext.cpp636 GrColor color = paint.getColor(); in drawRect()
829 paint.getColor(), viewMatrix, croppedRect, croppedLocalRect); in fillRectToRect()
885 GrAAFillRectOp::Make(paint.getColor(), viewMatrix, localMatrix, croppedRect); in fillRectWithLocalMatrix()
931 paint.getColor(), primitiveType, viewMatrix, positions, vertexCount, indices, in drawVertices()
953 GrDrawVerticesOp::Make(paint.getColor(), std::move(vertices), viewMatrix); in drawVertices()
978 GrDrawAtlasOp::Make(paint.getColor(), viewMatrix, spriteCount, xform, texRect, colors); in drawAtlas()
1032 GrOvalOpFactory::MakeRRectOp(paint.getColor(), in drawRRect()
1074 std::unique_ptr<GrMeshDrawOp> op = GrShadowRRectOp::Make(paint.getColor(), viewMatrix, rrect, in drawShadowRRect()
1217 std::unique_ptr<GrMeshDrawOp> op = GrRegionOp::Make(paint.getColor(), viewMatrix, region); in drawRegion()
1257 GrOvalOpFactory::MakeOvalOp(paint.getColor(), viewMatrix, oval, stroke, shaderCaps); in drawOval()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
DShapeImmutableTest.java41 assertEquals("BLACK", superColor.getColor().getName()); in testSuperColor()
144 assertEquals("BLACK", loaded.getColor().getName()); in testShapeNoTags()
/external/skia/src/effects/
DSkLayerDrawLooper.cpp67 SkColor srcColor = src.getColor(); in ApplyInfo()
75 dst->setColor(xferColor(srcColor, dst->getColor(), (SkBlendMode)info.fColorMode)); in ApplyInfo()
86 SkColor c = dst->getColor(); in ApplyInfo()
203 bsRec->fColor = fRecs->fPaint.getColor(); in asABlurShadow()
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/
DCoreTutorial.java158 out.printf("Line %s: %s%n", Integer.valueOf(i), getColor(cc in execute()
175 private String getColor(final int status) { in getColor() method in CoreTutorial

1234567