Home
last modified time | relevance | path

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

12345

/external/skia/tests/
DGifTest.cpp65 REPORTER_ASSERT(r, bm.getColor(0, 0) == 0x00000000); in test_gif_data_no_colormap()
77 REPORTER_ASSERT(r, bm.getColor(0, 0) == 0xffff0000); in test_gif_data()
78 REPORTER_ASSERT(r, bm.getColor(1, 0) == 0xffffff00); in test_gif_data()
79 REPORTER_ASSERT(r, bm.getColor(2, 0) == 0xff00ffff); in test_gif_data()
80 REPORTER_ASSERT(r, bm.getColor(0, 1) == 0xff808080); in test_gif_data()
81 REPORTER_ASSERT(r, bm.getColor(1, 1) == 0xff000000); in test_gif_data()
82 REPORTER_ASSERT(r, bm.getColor(2, 1) == 0xff00ff00); in test_gif_data()
83 REPORTER_ASSERT(r, bm.getColor(0, 2) == 0xffffffff); in test_gif_data()
84 REPORTER_ASSERT(r, bm.getColor(1, 2) == 0xffff00ff); in test_gif_data()
85 REPORTER_ASSERT(r, bm.getColor(2, 2) == 0xff0000ff); in test_gif_data()
[all …]
DJpegTest.cpp436 REPORTER_ASSERT(reporter, bm8888.getColor(7, 9) == 0xffffffff); in DEF_TEST()
437 REPORTER_ASSERT(reporter, bm8888.getColor(28, 3) == 0xff000000); in DEF_TEST()
438 REPORTER_ASSERT(reporter, bm8888.getColor(27, 34) == 0xffffffff); in DEF_TEST()
439 REPORTER_ASSERT(reporter, bm8888.getColor(71, 18) == 0xff000000); in DEF_TEST()
442 REPORTER_ASSERT(reporter, bm8888.getColor(127, 127) == 0xff808080 in DEF_TEST()
443 || bm8888.getColor(127, 127) == SK_ColorWHITE); in DEF_TEST()
446 REPORTER_ASSERT(reporter, bm8888.getColor(127, 127) == SK_ColorWHITE); in DEF_TEST()
DDrawTextTest.cpp43 SkColor testColor = test.getColor(x, y); in compare()
50 refColor = ref.getColor(refX, refY); in compare()
DFontHostStreamTest.cpp47 SkColor testColor = test.getColor(x, y); in compare()
54 refColor = ref.getColor(refX, refY); in compare()
/external/robolectric/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/skia/tools/
Dfiltermain.cpp70 SkColor layerColor = saveLayerPaint->getColor() | 0xFF000000; // force opaque in check_0()
71 SkColor dbmrColor = dbmrPaint->getColor() | 0xFF000000; // force opaque in check_0()
97 SkColor color = saveLayerPaint->getColor(); in apply_0()
100 color = dbmrPaint->getColor(); in apply_0()
150 SkColor layerColor = saveLayerPaint->getColor() | 0xFF000000; // force opaque in check_1()
154 (is_simple(*saveLayerPaint) && dbmrPaint->getColor() == layerColor); in check_1()
173 SkColor newColor = SkColorSetA(dbmrPaint->getColor(), in apply_1()
174 SkColorGetA(saveLayerPaint->getColor())); in apply_1()
401 SkColor layerColor0 = saveLayerPaint0->getColor() | 0xFF000000; // force opaque in check_7()
402 if (dbmrPaint->getColor() != layerColor0) { in check_7()
[all …]
/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
DConstantColor.java47 public Color getColor(long time) in getColor() method in ConstantColor
/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()
DAxisValueLabelFormatter.java27 public int getColor() { in getColor() method in AxisValueLabelFormatter
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Post/
DPosterization15.frag11 vec4 texVal = getColor(m_Texture, texCoord);
19 gl_FragColor = mix(getColor(m_Texture, texCoord), texVal, m_Strength);
DLightScattering15.frag19 vec4 colorRes= getColor(m_Texture,texCoord);
37 gl_FragColor= getColor(m_Texture,texCoord);
DOverlay15.frag8 vec4 texVal = getColor(m_Texture, texCoord);
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/SSAO/
Dssao.frag48 vec4 getColor(in float result){
77 gl_FragColor=getColor(1.0);
101 gl_FragColor=getColor(result);
DssaoBlur.frag13 vec4 getColor(vec4 color){
155 gl_FragColor=getColor(convolutionFilter());
156 // gl_FragColor=getColor(bilateralFilter());
DssaoBlur15.frag21 return getColor(m_Texture,texCoord)* color;
24 return getColor(m_Texture,texCoord);
158 // gl_FragColor=getColor(m_SSAOMap,texCoord);
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Blur/
DRadialBlur15.frag29 vec4 colorRes = getColor(m_Texture,texCoord);
36 sum += getColor( m_Texture, texCoord + dir * m_Samples[i] * m_SampleDist );
/external/llvm/lib/Target/AArch64/
DAArch64A57FPLoadBalancing.cpp148 Color getColor(unsigned Register);
581 bool Change = TransformAll || getColor(MO.getReg()) != C; in colorChain()
625 auto G = llvm::make_unique<Chain>(MI, Idx, getColor(DestReg)); in scanInstruction()
653 ActiveChains[AccumReg]->add(MI, Idx, getColor(DestReg)); in scanInstruction()
669 auto G = llvm::make_unique<Chain>(MI, Idx, getColor(DestReg)); in scanInstruction()
718 Color AArch64A57FPLoadBalancing::getColor(unsigned Reg) { in getColor() function in AArch64A57FPLoadBalancing
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/
DMultiSample.glsllib34 vec4 getColor(in sampler2DMS tex, in vec2 texC){
52 vec4 getColor(in sampler2D tex, in vec2 texC){
/external/skia/src/effects/
DSkLayerDrawLooper.cpp65 dst->setColor(xferColor(src.getColor(), dst->getColor(), info.fColorMode)); in ApplyInfo()
76 SkColor c = dst->getColor(); in ApplyInfo()
193 bsRec->fColor = fRecs->fPaint.getColor(); in asABlurShadow()
/external/skia/experimental/PdfViewer/
Dchop_transparency_main.cpp49 SkColor color = bm.getColor(x, y); in opaqueSize()
72 SkColor color = bm.getColor(x, y); in write_bitmap()
/external/skia/bench/
DTextBench.cpp97 if (SK_ColorBLACK != fPaint.getColor()) { in onGetName()
117 paint.setColor(fPaint.getColor()); in onDraw()

12345