HomeSort by relevance Sort by last modified time
    Searched defs:color (Results 326 - 350 of 1698) sorted by null

<<11121314151617181920>>

  /developers/build/prebuilts/gradle/WatchFace/Application/src/main/java/com/example/android/wearable/watchface/
DigitalWatchFaceCompanionConfigActivity.java 23 import android.graphics.Color;
45 * color. Additionally, enables setting the color for hour, minute and second digits.
173 int defaultColor = Color.parseColor(defaultColorName);
174 int color; local
176 color = config.getInt(configKey, defaultColor);
178 color = defaultColor;
183 if (Color.parseColor(colorNames[i]) == color) {
196 sendConfigUpdateMessage(configKey, Color.parseColor(colorName))
    [all...]
  /developers/samples/android/wearable/wear/WatchFace/Application/src/main/java/com/example/android/wearable/watchface/
DigitalWatchFaceCompanionConfigActivity.java 23 import android.graphics.Color;
45 * color. Additionally, enables setting the color for hour, minute and second digits.
173 int defaultColor = Color.parseColor(defaultColorName);
174 int color; local
176 color = config.getInt(configKey, defaultColor);
178 color = defaultColor;
183 if (Color.parseColor(colorNames[i]) == color) {
196 sendConfigUpdateMessage(configKey, Color.parseColor(colorName))
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
AnimationLoading.java 24 import android.graphics.Color;
80 addBall(500, 50, Color.GREEN);
84 addBall(800, 50, Color.YELLOW);
162 private void addBall(float x, float y, int color) {
164 shapeHolder.setColor(color);
173 int color = 0xff000000 | red << 16 | green << 8 | blue; local
177 50f, color, darkColor, Shader.TileMode.CLAMP);
AnimationSeeking.java 136 int color = 0xff000000 | red << 16 | green << 8 | blue; local
140 50f, color, darkColor, Shader.TileMode.CLAMP);
CustomEvaluator.java 151 int color = 0xff000000 | red << 16 | green << 8 | blue; local
155 50f, color, darkColor, Shader.TileMode.CLAMP);
ReversingAnimation.java 112 int color = 0xff000000 | red << 16 | green << 8 | blue; local
116 50f, color, darkColor, Shader.TileMode.CLAMP);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
DraggableDot.java 165 int color = (mHovering) ? WHITE_STEP : GREEN_STEP; local
166 color = i*(color | ALPHA_STEP);
167 mGlow.setColor(color);
  /development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DigitalWatchFaceCompanionConfigActivity.java 23 import android.graphics.Color;
45 * color. Additionally, enables setting the color for hour, minute and second digits.
173 int defaultColor = Color.parseColor(defaultColorName);
174 int color; local
176 color = config.getInt(configKey, defaultColor);
178 color = defaultColor;
183 if (Color.parseColor(colorNames[i]) == color) {
196 sendConfigUpdateMessage(configKey, Color.parseColor(colorName))
    [all...]
  /device/generic/goldfish/camera/
Converters.h 30 * pixels are represented as WORD, or DWORD, the color order inside the
36 * So, if this code runs on the little endian CPU, red color in 'rgb' would be
37 * masked as 0x000000ff, and blue color would be masked as 0x00ff0000, while if
38 * the code runs on a big endian CPU, the red color in 'rgb' would be masked as
39 * 0xff000000, and blue color would be masked as 0x0000ff00,
45 * RGB565 color masks
61 * RGB32 color masks
77 * Extracting, and saving color bytes from / to WORD / DWORD RGB.
119 uint32_t color; member in union:android::RGB32_t
151 /* Converts R8 G8 B8 color to YUV. *
    [all...]
EmulatedFakeCameraDevice.cpp 346 const YUVPixel* color)
356 YUVPixel adjustedColor = *color;
377 void EmulatedFakeCameraDevice::drawSolid(void* buffer, YUVPixel* color)
379 YUVPixel adjustedColor = *color;
392 *U = color->U;
393 *V = color->V;
405 /* Select the color. */
406 YUVPixel* color; local
410 color = &mWhiteYUV;
413 color = &mRedYUV
    [all...]
  /device/google/cuttlefish_common/guest/hals/camera/
Converters.h 30 * pixels are represented as WORD, or DWORD, the color order inside the
36 * So, if this code runs on the little endian CPU, red color in 'rgb' would be
37 * masked as 0x000000ff, and blue color would be masked as 0x00ff0000, while if
38 * the code runs on a big endian CPU, the red color in 'rgb' would be masked as
39 * 0xff000000, and blue color would be masked as 0x0000ff00,
45 * RGB565 color masks
61 * RGB32 color masks
77 * Extracting, and saving color bytes from / to WORD / DWORD RGB.
130 uint32_t color; member in union:android::RGB32_t
168 /* Converts R8 G8 B8 color to YUV. *
    [all...]
EmulatedFakeCameraDevice.cpp 308 const YUVPixel* color) {
313 YUVPixel adjustedColor = *color;
336 void EmulatedFakeCameraDevice::drawSolid(YUVPixel* color) {
337 YUVPixel adjustedColor = *color;
347 *U = color->U;
348 *V = color->V;
358 /* Select the color. */
359 YUVPixel* color; local
363 color = &mWhiteYUV;
366 color = &mRedYUV
    [all...]
  /device/google/marlin/liblight/
lights.c 40 #define CG_COLOR_ID_PROPERTY "ro.boot.hardware.color"
103 // check CG color
165 return state->color & 0x00ffffff;
171 int color = state->color & 0x00ffffff; local
172 return ((77*((color>>16)&0x00ff))
173 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8;
234 colorRGB = state->color;
  /device/google/wahoo/liblight/
lights.c 40 #define CG_COLOR_ID_PROPERTY "ro.boot.hardware.color"
103 // check CG color
165 return state->color & 0x00ffffff;
171 int color = state->color & 0x00ffffff; local
172 return ((77*((color>>16)&0x00ff))
173 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8;
233 colorRGB = state->color;
  /external/ImageMagick/coders/
palm.c 50 #include "MagickCore/color.h"
53 #include "MagickCore/color-private.h"
93 The 256 color system palette for Palm Computing Devices.
192 % o int: the index of the matching color or -1 if not found/
350 if (bits_per_pixel == 16) /* Direct Color */
717 color,
809 (void) WriteBlobMSBLong(image,0); /* no transparent color, YET */
708 color, local
    [all...]
  /external/deqp/external/openglcts/modules/gles31/
es31cSampleShadingTests.cpp 315 const float color[] = { local
322 glu::va::Float("a_position", 2, 4, 0, &position[0]), glu::va::Float("a_color", 4, 4, 0, &color[0]),
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineReferenceRenderer.hpp 43 tcu::Vec4 swizzle (const tcu::Vec4& color, const tcu::UVec4& swizzle);
64 tcu::Vec4 color; local
71 readVertexAttrib(color, inputs[1], packet->instanceNdx, packet->vertexNdx);
74 packet->outputs[1] = color;
235 void colorClear (const tcu::Vec4& color);
  /external/deqp/framework/common/
tcuRasterizationVerifier.hpp 89 tcu::Vec4 color; member in struct:tcu::PointSceneSpec::ScenePoint
180 * \brief Verify triangle color interpolation is valid
181 * Verifies the color of a fragments of a colored triangle is in the
191 * \brief Verify line color interpolation is valid
192 * Verifies the color of a fragments of a colored line is in the
202 * \brief Verify line color interpolation is valid
203 * Verifies the color of a fragments of a colored line is in the
  /external/deqp/modules/egl/
teglColorClearCase.cpp 21 * \brief Color clear case.
65 , color (color_)
74 , color (0)
82 tcu::RGBA color; member in struct:deqp::egl::ClearOp
106 tcu::clear(access, pixelFormat.convertColor(clearIter->color).toIVec());
114 case EGL_OPENGL_ES_BIT: gles1::clear(clear.x, clear.y, clear.width, clear.height, clear.color.toVec()); break;
115 case EGL_OPENGL_ES2_BIT: gles2::clear(func.gl, clear.x, clear.y, clear.width, clear.height, clear.color.toVec()); break;
116 case EGL_OPENGL_ES3_BIT_KHR: gles2::clear(func.gl, clear.x, clear.y, clear.width, clear.height, clear.color.toVec()); break;
117 case EGL_OPENVG_BIT: vg::clear (clear.x, clear.y, clear.width, clear.height, clear.color.toVec()); break;
428 tcu::clear(access, pixelFmt.convertColor(packet.clears[clearNdx].color).toIVec())
    [all...]
  /external/deqp/modules/gles3/functional/
es3fReadPixelsTests.cpp 258 // Clear color
266 const GLfloat color[] = { red, green, blue, alpha }; local
271 GLU_CHECK_CALL(glClearBufferfv(GL_COLOR, 0, color));
284 const GLint color[] = { red, green, blue, alpha }; local
287 GLU_CHECK_CALL(glClearBufferiv(GL_COLOR, 0, color));
298 const GLuint color[] = { red, green, blue, alpha }; local
301 GLU_CHECK_CALL(glClearBufferuiv(GL_COLOR, 0, color));
  /external/deqp/modules/gles31/functional/
es31fFboTestUtil.cpp 252 const tcu::Vec4 color = colors[fragNdx] * outScale + outBias; local
253 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color);
254 const tcu::UVec4 uicolor = castVectorSaturate<deUint32>(color);
256 if (m_outputType == glu::TYPE_FLOAT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
407 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias; local
408 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color);
409 const tcu::UVec4 uicolor = castVectorSaturate<deUint32>(color);
411 if (m_outputType == glu::TYPE_FLOAT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
  /external/deqp/modules/gles31/stress/
es31sTessellationGeometryInteractionTests.cpp 242 const int numComponentsPerVertex = 8; // vec4 pos, vec4 color
392 const tcu::RGBA color = image.getPixel(x, y); local
394 // Color must be a linear combination of green and yellow
395 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold)
  /external/harfbuzz_ng/util/
helper-cairo.cc 391 const char *color; local
393 color = view_opts->back ? view_opts->back : DEFAULT_BACK;
394 sscanf (color + (*color=='#'), "%2x%2x%2x%2x", &br, &bg, &bb, &ba);
396 color = view_opts->fore ? view_opts->fore : DEFAULT_FORE;
397 sscanf (color + (*color=='#'), "%2x%2x%2x%2x", &fr, &fg, &fb, &fa);
  /external/kernel-headers/original/uapi/linux/dvb/
osd.h 35 OSD_Open, // (x0,y0,x1,y1,BitPerPixel[2/4/8](color&0x0F),mix[0..15](color&0xF0))
45 // Sets all pixel to color 0
47 OSD_Fill, // (color)
48 // Sets all pixel to color <col>
50 OSD_SetColor, // (color,R{x0},G{y0},B{x1},opacity{y1})
58 OSD_SetPalette, // (firstcolor{color},lastcolor{x0},data)
61 // data has 4 byte for each color:
63 OSD_SetTrans, // (transparency{color})
66 OSD_SetPixel, // (x0,y0,color)
107 int color; member in struct:osd_cmd_s
    [all...]
  /external/libdrm/tests/util/
pattern.c 626 struct color_yuv color = local
630 y_mem[x] = color.y;
631 u_mem[x/xsub*cs] = color.u;
632 v_mem[x/xsub*cs] = color.v;
660 struct color_yuv color = local
664 y_mem[2*x] = color.y;
665 c_mem[2*x+u] = color.u;
666 y_mem[2*x+2] = color.y;
667 c_mem[2*x+v] = color.v;
688 uint16_t color local
713 struct color_rgb24 color = local
737 uint32_t color = local
    [all...]

Completed in 1752 milliseconds

<<11121314151617181920>>