/developers/samples/android/ui/DrawableTinting/Application/src/test/ |
SampleTests.java | 18 import android.graphics.Color; 84 * Test the initial state of all UI elements, color and blend mode. 95 int initialColor = Color.BLACK; 105 final int testColor = Color.GREEN; 119 * Test the color computation from ARGB Seekbars. 127 assertEquals(Color.RED, mTestFragment.getColor()); 134 assertEquals(Color.BLUE, mTestFragment.getColor()); 141 assertEquals(Color.GREEN, mTestFragment.getColor()); 148 assertEquals(Color.BLACK, mTestFragment.getColor()); 155 assertEquals(Color.TRANSPARENT, mTestFragment.getColor()) [all...] |
/device/generic/goldfish/camera/ |
EmulatedFakeCameraDevice.h | 45 * its color when bouncing off the 0,0 corner. 106 /* Draws a square of the given color in the current frame buffer. 110 * color - Square's color. 112 void drawSquare(int x, int y, int size, const YUVPixel* color); 115 void drawSolid(YUVPixel* color); 185 * 2 - Solid color. */ 188 /* Color to use to paint the solid color frame. Colors will rotate between 189 * white, red, gree, and blue each time rotation comes to the solid color [all...] |
/external/chromium-trace/catapult/telemetry/docs/pydoc/ |
telemetry.internal.actions.navigate.html | 10 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.internal.actions.html"><font color="#ffffff">actions</font></a>.navigate</strong></big></big></font></td 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/internal/actions/navigate.py">telemetry/internal/actions/navigate.py</a></font></td></tr></table> 20 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 29 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 44 <font color="#000000" face="helvetica, arial"><a name="NavigateAction">class <strong>NavigateAction</strong></a>(<a href="telemetry.internal.actions.page_action.html#PageAction">telemetry.internal.actions.page_action.PageAction</a>)</font></td></tr> 56 <dl><dt><a name="NavigateAction-__init__"><strong>__init__</strong></a>(self, url, script_to_evaluate_on_commit<font color="#909090">=None</font>, timeout_in_seconds<font color="#909090">=60</font>)</dt></dl [all...] |
telemetry.internal.platform.tracing_agent.display_tracing_agent.html | 10 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.internal.platform.html"><font color="#ffffff">platform</font></a>.<a href="telemetry.internal.platform.tracing_agent.html"><font color="#ffffff">tracing_agent</font></a>.display_tracing_agent</strong></big></big></font></td 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/internal/platform/tracing_agent/display_tracing_agent.py">telemetry/internal/platform/tracing_agent/display_tracing_agent.py</a></font></td></tr></table> 20 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 29 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 44 <font color="#000000" face="helvetica, arial"><a name="DisplayTracingAgent">class <strong>DisplayTracingAgent</strong></a>(<a href="telemetry.internal.platform.tracing_agent.html#TracingAgent">telemetry.internal.platform.tracing_agent.TracingAgent</a>)</font></td></tr> 62 <dl><dt><a name="DisplayTracingAgent-IsSupported"><strong>IsSupported</strong></a>(cls, platform_backend)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a> (…) [all...] |
telemetry.internal.platform.trybot_device.html | 10 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.internal.platform.html"><font color="#ffffff">platform</font></a>.trybot_device</strong></big></big></font></td 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/internal/platform/trybot_device.py">telemetry/internal/platform/trybot_device.py</a></font></td></tr></table> 20 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 28 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 43 <font color="#000000" face="helvetica, arial"><a name="TrybotDevice">class <strong>TrybotDevice</strong></a>(<a href="telemetry.internal.platform.device.html#Device">telemetry.internal.platform.device.Device</a>)</font></td></tr> 57 <dl><dt><a name="TrybotDevice-GetAllConnectedDevices"><strong>GetAllConnectedDevices</strong></a>(cls, blacklist)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl> 75 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr [all...] |
telemetry.story.story_filter.html | 10 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.story.html"><font color="#ffffff">story</font></a>.story_filter</strong></big></big></font></td 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/story/story_filter.py">telemetry/story/story_filter.py</a></font></td></tr></table> 20 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 30 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 45 <font color="#000000" face="helvetica, arial"><a name="StoryFilter">class <strong>StoryFilter</strong></a>(<a href="telemetry.internal.util.command_line.html#ArgumentHandlerMixIn">telemetry.internal.util.command_line.ArgumentHandlerMixIn</a>)</font></td></tr> 57 <dl><dt><a name="StoryFilter-AddCommandLineArgs"><strong>AddCommandLineArgs</strong></a>(cls, parser)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl> 59 <dl><dt><a name="StoryFilter-IsSelected"><strong>IsSelected</strong></a>(cls, story)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl> 61 <dl><dt><a name="StoryFilter-ProcessCommandLineArgs"><strong>ProcessCommandLineArgs</strong></a>(cls, parser, args)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a> (…) [all...] |
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/ |
status.css | 31 background-color: #f8f8f8; 143 background-color: #EDEDED; 147 background-color: #fff; 150 background-color: #BEEDBE; 154 background-color: #EDBEC6; 157 background-color: #EDE7B2; 164 color: blue; 178 color: #000; 189 color: blue; 208 color: black [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/ |
CFlatButton.java | 19 import org.eclipse.swt.graphics.Color; 37 private static final Color COLOR_FACE = DrawUtils.getShiftedColor(IColorConstants.button, 12); 38 private static final Color COLOR_FACE_SELECTED = IColorConstants.buttonDarker; 39 private static final Color COLOR_BORDER_GRADIENT1 = DrawUtils.getShiftedColor( 42 private static final Color COLOR_BORDER_GRADIENT1_SELECTED = DrawUtils.getShiftedColor( 45 private static final Color COLOR_BORDER_GRADIENT2 = DrawUtils.getShiftedColor(COLOR_FACE, -8); 46 private static final Color COLOR_BORDER_GRADIENT2_SELECTED = DrawUtils.getShiftedColor( 64 Color faceColor = isSelected ? COLOR_FACE_SELECTED : COLOR_FACE; 65 Color borderGradientColor1 = 67 Color borderGradientColor2 [all...] |
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/ |
report.css | 92 color: #A0A0A0; 97 background-color:#ccffcc; 101 background-color:#ffaaaa; 105 background-color:#ffffcc; 115 background-color:#80ff80; 125 background-color:#ff8080; 135 background-color:#ffff80; 144 background-color:#e0e0e0; 234 color:#a0a0a0; 238 color:#a0a0a0 [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_masking.c | 40 * Apply the color mask to a span of rgba values. 60 const GLuint srcMask = *((GLuint *) ctx->Color.ColorMask[buf]); 72 const GLushort rMask = ctx->Color.ColorMask[buf][RCOMP] ? 0xffff : 0x0; 73 const GLushort gMask = ctx->Color.ColorMask[buf][GCOMP] ? 0xffff : 0x0; 74 const GLushort bMask = ctx->Color.ColorMask[buf][BCOMP] ? 0xffff : 0x0; 75 const GLushort aMask = ctx->Color.ColorMask[buf][ACOMP] ? 0xffff : 0x0; 88 const GLuint rMask = ctx->Color.ColorMask[buf][RCOMP] ? ~0x0 : 0x0; 89 const GLuint gMask = ctx->Color.ColorMask[buf][GCOMP] ? ~0x0 : 0x0; 90 const GLuint bMask = ctx->Color.ColorMask[buf][BCOMP] ? ~0x0 : 0x0; 91 const GLuint aMask = ctx->Color.ColorMask[buf][ACOMP] ? ~0x0 : 0x0 [all...] |
/external/skia/experimental/docs/ |
exampleSlides.js | 9 { "offset":0, "color": argb(76,0,0,255) }, 10 { "offset":1, "color": argb( 0,0,0,255) } 15 { "offset":0, "color": argb(76,0,255,0) }, 16 { "offset":1, "color": argb( 0,0,255,0) } 21 { "offset":0, "color": argb(76,255,0,0) }, 22 { "offset":1, "color": argb( 0,255,0,0) } 27 { "offset":0, "color": argb(76,192,63,192) }, 28 { "offset":1, "color": argb( 0,192,63,192) } 33 { "offset":0, "color": argb(76,127,127,0) }, 34 { "offset":1, "color": argb( 0,127,127,0) [all...] |
/external/skia/include/gpu/ |
GrBlend.h | 54 kSC_GrBlendCoeff, //<! src color 55 kISC_GrBlendCoeff, //<! one minus src color 56 kDC_GrBlendCoeff, //<! dst color 57 kIDC_GrBlendCoeff, //<! one minus dst color 62 kConstC_GrBlendCoeff, //<! constant color 63 kIConstC_GrBlendCoeff, //<! one minus constant color 64 kConstA_GrBlendCoeff, //<! constant color alpha 65 kIConstA_GrBlendCoeff, //<! one minus constant color alpha 79 * components of the blended output color are known. Coeffs must not refer to the constant or 80 * secondary src color [all...] |
/external/skia/src/gpu/batches/ |
GrDrawPathBatch.h | 22 void computePipelineOptimizations(GrInitInvariantOutput* color, 25 color->setKnownFourComponents(fColor); 44 GrColor color() const { return fColor; } function in class:GrDrawPathBatchBase 66 static GrDrawPathBatchBase* Create(const SkMatrix& viewMatrix, GrColor color, 68 return new GrDrawPathBatch(viewMatrix, color, fill, path); 76 GrDrawPathBatch(const SkMatrix& viewMatrix, GrColor color, GrPathRendering::FillType fill, 78 : INHERITED(ClassID(), viewMatrix, color, fill) 163 SkScalar y, GrColor color, GrPathRendering::FillType fill, 166 return new GrDrawPathRangeBatch(viewMatrix, scale, x, y, color, fill, range, instanceData, 176 GrColor color, GrPathRendering::FillType fill, GrPathRange* range [all...] |
/frameworks/base/docs/html/reference/android/support/wearable/ |
package-summary.html | 163 <tr class="alt-color api apilevel-" > 185 <tr class="alt-color api apilevel-" > 207 <tr class="alt-color api apilevel-" > 229 <tr class="alt-color api apilevel-" > 230 <td class="jd-linkcol"><a href="/reference/android/support/wearable/R.color.html">R.color</a></td> 251 <tr class="alt-color api apilevel-" > 273 <tr class="alt-color api apilevel-" > 295 <tr class="alt-color api apilevel-" > 317 <tr class="alt-color api apilevel-" [all...] |
/frameworks/base/libs/hwui/ |
GlopBuilder.cpp | 189 VertexAttribFlags::TextureCoord | VertexAttribFlags::Color, 234 void GlopBuilder::setFill(int color, float alphaScale, 238 float alpha = (SkColorGetA(color) / 255.0f) * alphaScale; 241 mOutGlop->fill.color = { 242 colorScale * SkColorGetR(color), 243 colorScale * SkColorGetG(color), 244 colorScale * SkColorGetB(color), 248 mOutGlop->fill.color = { 1, 1, 1, alpha }; 251 mOutGlop->fill.color = { 0, 0, 0, 1 }; 255 if (mOutGlop->fill.color.a < 1.0 285 SkColor color; local 335 int color = paint->getColor(); local [all...] |
/frameworks/base/libs/hwui/tests/common/scenes/ |
ListViewAnimation.cpp | 18 #include "utils/Color.h" 56 canvas.drawColor(Color::Grey_500, SkXfermode::kSrcOver_Mode); 96 paint.setColor(bgDark ? Color::White : Color::Grey_700); 109 canvas.clear(Color::Transparent); 113 paint.setColor(filled ? Color::Yellow_500 : Color::Grey_700); 129 roundRectPaint.setColor(Color::White); 134 textPaint.setColor(rand() % 2 ? Color::Black : Color::Grey_500) [all...] |
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
ColorPickerDialog.java | 32 * select a specific color swatch, which invokes a listener. 128 public void onColorSelected(int color) { 130 mListener.onColorSelected(color); 136 listener.onColorSelected(color); 139 if (color != mSelectedColor) { 140 mSelectedColor = color; 141 // Redraw palette to show checkmark on newly selected color before dismissing. 178 public void setSelectedColor(int color) { 179 if (mSelectedColor != color) { 180 mSelectedColor = color; [all...] |
/packages/apps/Email/res/values/ |
arrays.xml | 116 <!-- Account color chips on combined view --> 118 <item>@color/combined_view_account_color_1</item> 119 <item>@color/combined_view_account_color_2</item> 120 <item>@color/combined_view_account_color_3</item> 121 <item>@color/combined_view_account_color_4</item> 122 <item>@color/combined_view_account_color_5</item> 123 <item>@color/combined_view_account_color_6</item> 124 <item>@color/combined_view_account_color_7</item> 125 <item>@color/combined_view_account_color_8</item> 126 <item>@color/combined_view_account_color_9</item [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterColorBorderRepresentation.java | 19 import android.graphics.Color; 38 public static int DEFAULT_MENU_COLOR1 = Color.WHITE; 39 public static int DEFAULT_MENU_COLOR2 = Color.BLACK; 40 public static int DEFAULT_MENU_COLOR3 = Color.GRAY; 54 public FilterColorBorderRepresentation(int color, int size, int radius) { 62 mParamColor.setValue(color); 139 public void setColor(int color) { 140 mParamColor.setValue(color); 180 writer.name("color"); 194 } else if (name.equalsIgnoreCase("color")) { [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
DefaultSoftKeyboard.java | 644 text1.setTextColor(res.getColor(R.color.indicator_textcolor_caps_off)); 645 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); 646 text1.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); 647 text2.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); 650 text1.setTextColor(res.getColor(R.color.indicator_textcolor_caps_on)); 651 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); 652 text1.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); 653 text2.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); 656 text1.setTextColor(res.getColor(R.color.indicator_textcolor_caps_lock)); 657 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdipluspen.h | 39 Pen(const Color& color, REAL width = 1.0f): 43 color.GetValue(), width, UnitWorld, 88 Status GetColor(Color *color) const 91 nativePen, color ? &color->Value : NULL)); 238 Status SetColor(const Color& color) 241 nativePen, color.GetValue())) [all...] |
/external/mesa3d/src/mesa/main/ |
attrib.c | 237 memcpy( attr, &ctx->Color, sizeof(struct gl_colorbuffer_attrib) ); 238 /* push the Draw FBO's DrawBuffer[] state, not ctx->Color.DrawBuffer[] */ 264 attr->AlphaTest = ctx->Color.AlphaEnabled; 266 attr->Blend = ctx->Color.BlendEnabled; 272 attr->Dither = ctx->Color.DitherFlag; 280 attr->IndexLogicOp = ctx->Color.IndexLogicOpEnabled; 281 attr->ColorLogicOp = ctx->Color.ColorLogicOpEnabled; 330 attr->sRGBEnabled = ctx->Color.sRGBEnabled; 499 TEST_AND_UPDATE(ctx->Color.AlphaEnabled, enable->AlphaTest, GL_ALPHA_TEST); 500 if (ctx->Color.BlendEnabled != enable->Blend) 877 const struct gl_colorbuffer_attrib *color; local [all...] |
/external/skia/src/gpu/ |
GrOvalRenderer.cpp | 63 * The output of this effect is a modulation of the input color and coverage for a circle. It 75 static GrGeometryProcessor* Create(GrColor color, bool stroke, const SkMatrix& localMatrix, 77 return new CircleEdgeEffect(color, stroke, localMatrix, usesLocalCoords); 83 GrColor color() const { return fColor; } function in class:CircleEdgeEffect 111 // setup pass through color 175 CircleEdgeEffect(GrColor color, bool stroke, const SkMatrix& localMatrix, bool usesLocalCoords) 176 : fColor(color) 213 * The output of this effect is a modulation of the input color and coverage for an axis-aligned 222 static GrGeometryProcessor* Create(GrColor color, bool stroke, const SkMatrix& localMatrix, 224 return new EllipseEdgeEffect(color, stroke, localMatrix, usesLocalCoords) 235 GrColor color() const { return fColor; } function in class:EllipseEdgeEffect 409 GrColor color() const { return fColor; } function in class:DIEllipseEdgeEffect 690 GrColor color = geom.fColor; variable 756 GrColor color() const { return fBatch.fColor; } function in class:CircleBatch 903 GrColor color = geom.fColor; variable 975 GrColor color() const { return fBatch.fColor; } function in class:EllipseBatch 1153 GrColor color = geom.fColor; variable 1220 GrColor color() const { return fBatch.fColor; } function in class:DIEllipseBatch 1448 GrColor color = args.fColor; variable 1526 GrColor color() const { return fBatch.fColor; } function in class:RRectCircleRendererBatch 1627 GrColor color = args.fColor; variable 1717 GrColor color() const { return fBatch.fColor; } function in class:RRectEllipseRendererBatch 1907 GrColor color = GrRandomColor(random); local 1914 GrColor color = GrRandomColor(random); local 1921 GrColor color = GrRandomColor(random); local 1928 GrColor color = GrRandomColor(random); local [all...] |
/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...] |