/frameworks/base/tools/orientationplot/ |
H A D | orientationplot.py | 229 def _add_timeseries_line(self, axes, label, color, linewidth=1): 230 return axes.plot([], label=label, color=color, linewidth=linewidth)[0]
|
/frameworks/base/tools/velocityplot/ |
H A D | velocityplot.py | 155 def _add_timeseries_line(self, axes, label, color, linewidth=1): 156 return axes.plot([], label=label, color=color, linewidth=linewidth)[0]
|
/frameworks/compile/mclinker/include/mcld/ |
H A D | GeneralOptions.h | 131 bool color() const function in class:mcld::GeneralOptions 433 bool m_bColor : 1; // --color[=true,false,auto]
|
/frameworks/compile/mclinker/lib/Core/ |
H A D | Linker.cpp | 368 mcld::outs().setColor(m_pConfig->options().color()); 369 mcld::errs().setColor(m_pConfig->options().color());
|
/frameworks/compile/mclinker/tools/mcld/lib/ |
H A D | PreferenceOptions.cpp | 58 llvm::cl::opt<mcld::PreferenceOptions::Color> ArgColor("color", 143 // set --color [mode] 158 mcld::outs().setColor(pConfig.options().color()); 159 mcld::errs().setColor(pConfig.options().color());
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 112 /** The mode of changing color. */ 574 /** Start to change color */ 579 /** Start to change background color */ 690 * @param color The color of the Item. 692 public void setItemColor(int color) { argument 693 mManager.setItemColor(color, true); 699 * @param align The color of the Item. 706 * Set Background color of View. 708 * @param color Th 711 setBackgroundColor(int color) argument 1150 setBackgroundColor(int color) argument 1170 setItemColor(int color, boolean reset) argument 1701 changeColorSelectedText(int color) argument 2509 HorizontalLineSpan(int color, int width, Spannable spannable) argument 2703 HorizontalLineDrawable(int color, int width, Spannable spannable) argument 2731 renewColor(int color) argument 2773 ColorPaletteDrawable(int color, int width, int height, int mergin) argument [all...] |
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_gif.cpp | 36 static Color8888 gifColorToColor8888(const GifColorType& color) { argument 37 return ARGB_TO_COLOR8888(0xff, color.Red, color.Green, color.Blue); 118 ALOGD(" Frame %d - must preserve %d, restore point %d, trans color %d", 124 // calculate bg color 166 static void setLineColor(Color8888* dst, Color8888 color, int width) { argument 168 *dst = color; 320 ALOGW("Warning: potentially corrupt color map");
|
/frameworks/native/cmds/flatland/ |
H A D | Renderers.cpp | 33 float* color = colors[g_colorIndex]; local 35 return color;
|
/frameworks/native/libs/gui/tests/ |
H A D | CpuConsumer_test.cpp | 247 uint8_t color = ((blockX % colorVariations) + (blockY % colorVariations)) local 250 return color;
|
/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 109 c->arrays.color.size = 4; 110 c->arrays.color.type = GL_FLOAT; 137 memcpy(v, c->current.color.v, sizeof(vec4_t)); 439 case GL_COLOR_ARRAY: a = &c->arrays.color; break; 1050 clipVec4(nv->color, t, s->color, p->color); 1067 clipVec4(nv->color, t, s->color, p->color); [all...] |
H A D | context.h | 148 vec4_t color; member in struct:android::gl::vertex_t 203 array_t color; member in struct:android::gl::array_machine_t
|
H A D | light.cpp | 244 // if colorMaterial is enabled, we get the color from the vertex 309 // fetch the material color 310 const GLvoid* cp = c->arrays.color.element( 312 c->arrays.color.fetch(c, v->color.v, cp); 314 // acquire the color-material from the vertex 317 material.diffuse = v->color; 445 v->color.r = gglClampx(r.r); 446 v->color.g = gglClampx(r.g); 447 v->color [all...] |
H A D | matrix.cpp | 676 y = c->rasterizer.state.buffers.color.height - (y + h); 696 GLint H = c->rasterizer.state.buffers.color.height;
|
H A D | primitives.cpp | 78 const GLvoid* cp = c->arrays.color.element( 80 c->arrays.color.fetch(c, v0->color.v, cp); 84 const GLvoid* cp = c->arrays.color.element( 86 c->arrays.color.fetch(c, v1->color.v, cp); 90 const GLvoid* cp = c->arrays.color.element( 92 c->arrays.color.fetch(c, v2->color.v, cp); 101 const GLvoid* cp = c->arrays.color [all...] |
H A D | state.cpp | 370 int index = c->rasterizer.state.buffers.color.format; 376 int index = c->rasterizer.state.buffers.color.format; 382 int index = c->rasterizer.state.buffers.color.format; 388 int index = c->rasterizer.state.buffers.color.format;
|
H A D | texture.cpp | 696 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; 800 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; 1334 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; 1457 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
|
H A D | vertex.cpp | 36 c->current.color.r = 0x10000; 37 c->current.color.g = 0x10000; 38 c->current.color.b = 0x10000; 39 c->current.color.a = 0x10000; 190 c->current.color.r = gglFloatToFixed(r); 191 c->currentColorClamped.r = gglClampx(c->current.color.r); 192 c->current.color.g = gglFloatToFixed(g); 193 c->currentColorClamped.g = gglClampx(c->current.color.g); 194 c->current.color.b = gglFloatToFixed(b); 195 c->currentColorClamped.b = gglClampx(c->current.color [all...] |
/frameworks/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 373 static bool inRange4bitSigned(int color) { argument 374 return color >= -4 && color <= 3; 481 // pixel is valid or not. Invalid pixel color values are ignored when compressing.
|
/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 71 /* Vertex array and color array are enabled for all objects, so their 78 * components per color with GL_UNSIGNED_BYTE datatype and stride 0. 298 int a, color[3]; local 301 color[a] = (int)(ca * baseColor[a] * 255); 302 if (color[a] > 255) color[a] = 255; 304 result->colorArray[i] = (GLubyte)color[0]; 305 result->colorArray[i + 1] = (GLubyte)color[1]; 306 result->colorArray[i + 2] = (GLubyte)color[2]; 367 GLubyte color; local [all...] |
/frameworks/native/opengl/tests/gl_perf/ |
H A D | fill_common.cpp | 164 static const float color[] = { local 186 glVertexAttribPointer(A_COLOR, 4, GL_FLOAT, false, 16, color);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcCommit.cpp | 173 ColorFract color; member in class:Rectangle 1311 blend(defaultBlend), color(defaultColor), alpha(defaultAlpha),
|
H A D | hwcRects.cpp | 42 * color: [0.##, 0.##, 0.##] 52 * color: [1.0, 0.5, 0.5], \ 54 * color: [0.251, 0.878, 0.816] alpha: 0.7 \ 146 blend(defaultBlend), color(defaultColor), 154 ColorFract color; member in class:Rectangle 454 } else if (attrName == "color:") { // Color 455 rect.color = hwcTestParseColor(in, error); 457 testPrintE("Error parsing color in: %s", rectStr.c_str()); 518 // Fill with uniform color 519 hwcTestFillColor(rect.texture.get(), rect.color, rec [all...] |
H A D | hwcStress.cpp | 44 * filled with a different color. This is done so that after doing 73 * a continuous solid color. Although this test is unable to validate the 75 * color are incorrect. Note that the rectangles may use a transparent 76 * color and have a blending operation that causes the color in overlapping 78 * a different color from the rest of the rectangle. 547 * prandomly selected color. It is likely that each buffer, even 548 * in the same row, will be filled with a unique color. 592 ColorFract color(testRandFract(), testRandFract(), testRandFract()); 603 hwcTestFillColor(frames[row][col].get(), color, alph [all...] |
H A D | hwcTestLib.cpp | 303 // Parse fractional color of form [0.##, 0.##, 0.##] 309 ColorFract color; local 319 if (!in || ((chStart != '<') && (chStart != '['))) { return color; } 323 if (!in) { return color; } 324 if ((c1 < 0.0) || (c1 > 1.0)) { return color; } 326 if (!in || (ch != ',')) { return color; } 330 if (!in) { return color; } 331 if ((c2 < 0.0) || (c2 > 1.0)) { return color; } 333 if (!in || (ch != ',')) { return color; } 337 if (!in) { return color; } 547 hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha) argument 655 hwcTestFillColor(GraphicBuffer *gBuf, ColorFract color, float alpha) argument 795 hwcTestColorConvert(uint32_t fromFormat, uint32_t toFormat, ColorFract& color) argument [all...] |
H A D | hwcTestLib.h | 51 // Represent RGB color as fraction of color components. 52 // Each of the color components are expected in the range [0.0, 1.0] 69 // Represent RGB color as fraction of color components. 70 // Each of the color components are expected in the range [0.0, 1.0] 119 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha); 121 ColorFract& color); 124 void hwcTestFillColor(android::GraphicBuffer *gBuf, ColorFract color,
|