Home
last modified time | relevance | path

Searched refs:color1 (Results 1 – 25 of 49) sorted by relevance

12

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLinearGradient.java16 private int color1; field in ShadowLinearGradient
21 float x0, float y0, float x1, float y1, int color0, int color1, Shader.TileMode tile) { in __constructor__() argument
27 this.color1 = color1; in __constructor__()
52 return color1; in getColor1()
/external/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h57 const GLushort color1 = img_block_src[2] | (img_block_src[3] << 8); in dxt135_decode_imageblock() local
72 rgba[RCOMP] = UBYTE_TO_CHAN( EXP5TO8R(color1) ); in dxt135_decode_imageblock()
73 rgba[GCOMP] = UBYTE_TO_CHAN( EXP6TO8G(color1) ); in dxt135_decode_imageblock()
74 rgba[BCOMP] = UBYTE_TO_CHAN( EXP5TO8B(color1) ); in dxt135_decode_imageblock()
77 if ((dxt_type > 1) || (color0 > color1)) { in dxt135_decode_imageblock()
78 rgba[RCOMP] = UBYTE_TO_CHAN( ((EXP5TO8R(color0) * 2 + EXP5TO8R(color1)) / 3) ); in dxt135_decode_imageblock()
79 rgba[GCOMP] = UBYTE_TO_CHAN( ((EXP6TO8G(color0) * 2 + EXP6TO8G(color1)) / 3) ); in dxt135_decode_imageblock()
80 rgba[BCOMP] = UBYTE_TO_CHAN( ((EXP5TO8B(color0) * 2 + EXP5TO8B(color1)) / 3) ); in dxt135_decode_imageblock()
83 rgba[RCOMP] = UBYTE_TO_CHAN( ((EXP5TO8R(color0) + EXP5TO8R(color1)) / 2) ); in dxt135_decode_imageblock()
84 rgba[GCOMP] = UBYTE_TO_CHAN( ((EXP6TO8G(color0) + EXP6TO8G(color1)) / 2) ); in dxt135_decode_imageblock()
[all …]
/external/python/cpython3/Lib/turtledemo/
Dyinyang.py16 def yin(radius, color1, color2): argument
18 color("black", color1)
30 color(color1, color2)
/external/skia/tests/
DRectangleTextureTest.cpp72 GrColor color1 = GrColorPackRGBA(0x1, 0x2, 0x3, 0x4); in test_clear() local
74 rtc->clear(&rect, SkPMColor4f::FromBytes_RGBA(color1), in test_clear()
79 expectedBytes1[0] = GrColorUnpackR(color1); in test_clear()
80 expectedBytes1[1] = GrColorUnpackG(color1); in test_clear()
81 expectedBytes1[2] = GrColorUnpackB(color1); in test_clear()
82 expectedBytes1[3] = GrColorUnpackA(color1); in test_clear()
/external/skqp/tests/
DRectangleTextureTest.cpp72 GrColor color1 = GrColorPackRGBA(0x1, 0x2, 0x3, 0x4); in test_clear() local
74 rtc->clear(&rect, SkPMColor4f::FromBytes_RGBA(color1), in test_clear()
79 expectedBytes1[0] = GrColorUnpackR(color1); in test_clear()
80 expectedBytes1[1] = GrColorUnpackG(color1); in test_clear()
81 expectedBytes1[2] = GrColorUnpackB(color1); in test_clear()
82 expectedBytes1[3] = GrColorUnpackA(color1); in test_clear()
/external/dng_sdk/source/
Ddng_negative.cpp2563 ColorKeyCode color1, in SetColorKeys() argument
2573 info.fCFAPlaneColor [1] = color1; in SetColorKeys()
2589 ColorKeyCode color1 = (ColorKeyCode) info.fCFAPlaneColor [1]; in SetBayerMosaic() local
2599 info.fCFAPattern [0] [0] = color1; in SetBayerMosaic()
2602 info.fCFAPattern [1] [1] = color1; in SetBayerMosaic()
2609 info.fCFAPattern [0] [1] = color1; in SetBayerMosaic()
2610 info.fCFAPattern [1] [0] = color1; in SetBayerMosaic()
2618 info.fCFAPattern [0] [1] = color1; in SetBayerMosaic()
2619 info.fCFAPattern [1] [0] = color1; in SetBayerMosaic()
2626 info.fCFAPattern [0] [0] = color1; in SetBayerMosaic()
[all …]
/external/deqp/modules/glshared/
DglsFragmentOpUtil.cpp190 DE_STATIC_ASSERT(sizeof(quad.color1) == sizeof(float)*4*4); in render()
198 vertexArrays.push_back(glu::va::Float(m_color1Loc, 4, 4, 0, (const float*)&quad.color1[0])); in render()
254 tcu::Vec4 color1 = triQuadInterpolate(quad.color1, xRatio, yRatio); in render() local
267 …= rr::Fragment(tcu::IVec2(x, y), rr::GenericVec4(color), rr::GenericVec4(color1), 1u /* coverage m… in render()
DglsTextureBufferCase.cpp234 const tcu::Vec4 color1 = vtxColor1; in shadeFragments() local
239 …utput(context, packetNdx, 1, 0, tcu::Vec4(color1.x() * color1.w(), color1.y() * color1.w(), color1 in shadeFragments()
279 const tcu::Vec4 color1 = 0.5f * (vtxColor1 + texColor1); in shadeFragments() local
284 …utput(context, packetNdx, 1, 0, tcu::Vec4(color1.x() * color1.w(), color1.y() * color1.w(), color1 in shadeFragments()
DglsFragmentOpUtil.hpp53 tcu::Vec4 color1[4]; member
93 tcu::Vec4 color1[4]; member
/external/webrtc/talk/session/media/
Dplanarfunctions_unittest.cc214 int color1 = ((i / block_size) + (j / block_size)) % in CreateFakeInterleaveYuvTestingImage() local
218 current_yuv_pointer[0] = testing_color_y_[color1]; in CreateFakeInterleaveYuvTestingImage()
221 (static_cast<uint32_t>(testing_color_u_[color1]) + in CreateFakeInterleaveYuvTestingImage()
226 (static_cast<uint32_t>(testing_color_v_[color1]) + in CreateFakeInterleaveYuvTestingImage()
230 current_yuv_pointer[1] = testing_color_u_[color1]; in CreateFakeInterleaveYuvTestingImage()
232 current_yuv_pointer[3] = testing_color_v_[color1]; in CreateFakeInterleaveYuvTestingImage()
241 int color1 = ((i / block_size) + (j / block_size)) % in CreateFakeInterleaveYuvTestingImage() local
247 (static_cast<uint32_t>(testing_color_u_[color1]) + in CreateFakeInterleaveYuvTestingImage()
250 current_yuv_pointer[1] = testing_color_y_[color1]; in CreateFakeInterleaveYuvTestingImage()
252 (static_cast<uint32_t>(testing_color_v_[color1]) + in CreateFakeInterleaveYuvTestingImage()
[all …]
/external/deqp-deps/glslang/Test/baseResults/
D300link3.frag.out7 0:? 'color1' ( out highp 4-component vector of float)
18 0:? 'color1' ( out highp 4-component vector of float)
D300link.frag.out7 0:? 'color1' ( out highp 4-component vector of float)
20 0:? 'color1' ( out highp 4-component vector of float)
/external/python/cpython2/Demo/turtle/
Dtdemo_yinyang.py16 def yin(radius, color1, color2): argument
24 color(color1)
/external/pdfium/core/fxge/
Dcfx_color.h23 float color1 = 0.0f,
28 fColor1(color1), in nColorType()
/external/deqp-deps/glslang/Test/
Dspv.meshShaderPerViewUserDefined.mesh23 perprimitiveNV perviewNV vec4 color1[][3]; // Implicitly sized
42 b[iid].color1[viewID][2] = vec4(1.0);
D300link3.frag5 out vec4 color1;
D300link.frag5 out vec4 color1;
/external/pdfium/fxjs/
Dcjs_color.cpp295 CFX_Color color1 = in equal() local
300 color1 = color1.ConvertColorType(color2.nColorType); in equal()
301 return CJS_Return(pRuntime->NewBoolean(color1 == color2)); in equal()
/external/skia/modules/sksg/tests/
DSGTest.cpp289 auto color1 = sksg::Color::Make(0xff000000), in inval_test3() local
294 color1)); in inval_test3()
321 color1->setColor(0xffff0000); in inval_test3()
/external/skqp/gm/
Dimagefiltersgraph.cpp152 sk_sp<SkImageFilter> color1(SkColorFilterImageFilter::Make(std::move(cf1), in onDraw() local
156 std::move(color1), in onDraw()
Dgradients.cpp844 const SkColor color1 = 0xFF00FF00; variable
848 { { color0, color1, badColor, badColor },
852 { { preColor, color0, color1, badColor },
856 { { color0, color1, postColor, badColor },
860 { { preColor, color0, color1, postColor },
864 { { color0, color0, color1, color1 },
/external/skia/gm/
Dimagefiltersgraph.cpp152 sk_sp<SkImageFilter> color1(SkColorFilterImageFilter::Make(std::move(cf1), in onDraw() local
156 std::move(color1), in onDraw()
/external/skia/modules/sksg/src/
DSkSGColorFilter.cpp92 sk_sp<SkColorFilter> Make2ColorGradient(const sk_sp<Color>& color0, const sk_sp<Color>& color1) { in Make2ColorGradient() argument
94 c1 = SkColor4f::FromColor(color1->getColor()); in Make2ColorGradient()
/external/skqp/samplecode/
DSampleVertices.cpp30 SkPMColor color1 = SkPreMultiplyARGB(0x40, 0xff, 0x00, 0xff); in make_shader0() local
35 pixels[1] = pixels[3] = color1; in make_shader0()
/external/skia/samplecode/
DSampleVertices.cpp30 SkPMColor color1 = SkPreMultiplyARGB(0x40, 0xff, 0x00, 0xff); in make_shader0() local
35 pixels[1] = pixels[3] = color1; in make_shader0()

12