/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
GradientDrawableTest.java | 38 int[] color = new int[] {1, 2, 3}; local 41 new GradientDrawable(GradientDrawable.Orientation.BL_TR, color); 74 int color = 3; local 79 gradientDrawable.setStroke(width, color, dashWidth, dashGap); 82 color = -3; 85 gradientDrawable.setStroke(width, color, dashWidth, dashGap);
|
/cts/tests/tests/textureview/src/android/textureview/cts/ |
TextureViewTestActivity.java | 112 private final float[][] color = field in class:TextureViewTestActivity.GLRendererImpl 121 glClearColor(color[index][0], color[index][1], color[index][2], 1.0f);
|
/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/ndk/platforms/android-21/include/linux/dvb/ |
osd.h | 60 int color; member in struct:osd_cmd_s
|
/development/perftests/panorama/feature_stab/src/dbregtest/ |
dbregtest.cpp | 143 // if the images are color, the input is saved in color_ref: 165 // color format: 168 // is the input image color?: 169 bool color = format == PgmImage::PGM_BINARY_PIXMAP; local 182 if ( color ) 184 // save the color image: 235 if ( color )
|
/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 | 316 const YUVPixel* color) 322 YUVPixel adjustedColor = *color; 343 void EmulatedFakeCameraDevice::drawSolid(YUVPixel* color) 345 YUVPixel adjustedColor = *color; 355 *U = color->U; 356 *V = color->V; 367 /* Select the color. */ 368 YUVPixel* color; local 372 color = &mWhiteYUV; 375 color = &mRedYUV [all...] |
/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; 426 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); 401 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias; local 402 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); 403 const tcu::UVec4 uicolor = castVectorSaturate<deUint32>(color); 405 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/jmonkeyengine/engine/src/core/com/jme3/effect/ |
ParticlePointMesh.java | 78 VertexBuffer cvb = new VertexBuffer(VertexBuffer.Type.Color); 82 buf = getBuffer(VertexBuffer.Type.Color); 119 VertexBuffer cvb = getBuffer(VertexBuffer.Type.Color); 143 colors.putInt(p.color.asIntABGR());
|
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
BitmapText.java | 131 * @return color of the text
138 * changes text color. all substring colors are deleted.
139 * @param color new color of text
141 public void setColor(ColorRGBA color) {
142 letters.setColor(color);
265 * Set the color of substring.
268 * @param color
270 public void setColor(int start, int end, ColorRGBA color) {
271 letters.setColor(start, end, color);
285 letters.setColor(m.start(), m.end(), color); local [all...] |
BitmapTextPage.java | 55 private final byte[] color;
field in class:BitmapTextPage 81 m.setBuffer(Type.Color, 4, new byte[0]);
85 m.getBuffer(Type.Color).setNormalized(true);
93 color = new byte[4 * 4]; // 4 verticies * 4 bytes
98 color = null;
140 VertexBuffer cb = m.getBuffer(Type.Color);
174 fq.storeToArrays(pos, tc, idx, color, i);
178 bcb.put(color);
|
StringBlock.java | 52 private ColorRGBA color = new ColorRGBA(ColorRGBA.White);
field in class:StringBlock 66 * @param color the initial color of the text
69 StringBlock(String text, Rectangle textBox, BitmapFont.Align alignment, float size, ColorRGBA color,
75 this.color.set(color);
84 this.color.set(ColorRGBA.White);
92 clone.color = color.clone();
142 return color;
[all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/material/ |
MatParam.java | 244 ColorRGBA color = (ColorRGBA) value; local 245 return color.getRed() + " " + color.getGreen() + " " 246 + color.getBlue() + " " + color.getAlpha();
|
Material.java | 578 * Pass a Color to the material shader. 580 * @param name the name of the color defined in the material definition (j3md) 633 * // g_LightColor.rgb is the diffuse/specular color of the light.<br/> 667 ColorRGBA color = l.getColor(); local 668 lightColor.setVector4InArray(color.getRed(), 669 color.getGreen(), 670 color.getBlue(), 733 // set ambient color for first light only 747 ColorRGBA tmpLightColor = vars.color; 750 ColorRGBA color = l.getColor() local [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
RenderContext.java | 239 * Ambient color (GL1 only) 244 * Diffuse color (GL1 only) 249 * Specular color (GL1 only) 254 * Material color (GL1 only) 256 public ColorRGBA color; field in class:RenderContext 264 * Use vertex color (GL1 only) 315 ambient = diffuse = specular = color = null;
|