/frameworks/base/tests/VectorDrawableTest/res/drawable/ |
vector_icon_gradient_3.xml | 30 android:fillColor="@color/fill_gradient_linear_item_overlap" 34 android:fillColor="@color/fill_gradient_radial_item_short" 38 android:fillColor="@color/fill_gradient_sweep_item_long" 48 android:strokeColor="@color/stroke_gradient_item_alpha" 59 android:strokeColor="@color/stroke_gradient_item_alpha" 70 android:strokeColor="@color/stroke_gradient_item_alpha" 83 android:strokeColor="@color/stroke_gradient_item_alpha"
|
vector_icon_gradient_3_mirror.xml | 30 android:fillColor="@color/fill_gradient_linear_item_overlap_mirror" 34 android:fillColor="@color/fill_gradient_radial_item_short_mirror" 38 android:fillColor="@color/fill_gradient_sweep_item_long_mirror" 48 android:strokeColor="@color/stroke_gradient_item_alpha_mirror" 59 android:strokeColor="@color/stroke_gradient_item_alpha_mirror" 70 android:strokeColor="@color/stroke_gradient_item_alpha_mirror" 83 android:strokeColor="@color/stroke_gradient_item_alpha"
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
SpeechOrbView.java | 5 import android.graphics.Color; 35 mNotListeningOrbColors = new Colors(resources.getColor(R.color.lb_speech_orb_not_recording), 36 resources.getColor(R.color.lb_speech_orb_not_recording_pulsed), 37 resources.getColor(R.color.lb_speech_orb_not_recording_icon)); 38 mListeningOrbColors = new Colors(resources.getColor(R.color.lb_speech_orb_recording), 39 resources.getColor(R.color.lb_speech_orb_recording), 40 Color.TRANSPARENT);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
EnumMapTest.java | 37 enum Color { 103 EnumMap enumColorMap = new EnumMap<Color, Double>(Color.class); 105 Color.Green, 2)); 107 enumColorMap.get(Color.Green)); 111 enumEmptyMap.put(Color.Red, 2); 123 enumSizeMap.put(Color.Red, 2); 135 enumSizeMap.put(Color.Red, 2); 156 enumColorMap = new EnumMap<Color, Double>(Color.class) [all...] |
/cts/hostsidetests/theme/app/res/values/ |
strings.xml | 66 <string name="color_blue_bright">Bright Blue Color</string> 67 <string name="color_blue_dark">Dark Blue Color</string> 68 <string name="color_blue_light">Light Blue Color</string> 69 <string name="color_green_dark">Dark Green Color</string> 70 <string name="color_green_light">Light Green Color</string> 71 <string name="color_orange_dark">Dark Orange Color</string> 72 <string name="color_orange_light">Light Orange Color</string> 73 <string name="color_purple">Purple Color</string> 74 <string name="color_red_dark">Dark Red Color</string> 75 <string name="color_red_light">Light Red Color</string [all...] |
/device/htc/flounder/lights/ |
lights.c | 59 int color = state->color & 0x00ffffff; local 60 return ((77 * ((color >> 16) & 0x00ff)) 61 + (150 * ((color >> 8) & 0x00ff)) + 62 (29 * (color & 0x00ff))) >> 8; 70 ALOGV("set_light_battery, flashMode:%x, color:%x", state->flashMode, state->color); 71 if(state->color) 84 ALOGV("set_light_notifications, flashMode:%x, color:%x", state->flashMode, state->color); [all...] |
/external/skia/src/svg/parser/ |
SkSVGGradient.cpp | 86 f_id.set("mask"); // write out gradient named given name + color (less initial #) 91 SkString& color = colorElement->fPaintState.f_stopColor; local 92 originalColors.append(color); 94 SkASSERT(color.c_str()[0] == '#'); 97 replacement.append(color.c_str() + 1, 2); // add stop colors using given color, turning existing stop color into alpha 101 color.set(replacement); 106 SkSVGStop* color = (SkSVGStop*) *ptr; local 108 color->fPaintState.f_stopColor.set(originalPtr, originalEnd - originalPtr) [all...] |
/hardware/bsp/intel/peripheral/libupm/src/lcd/ |
eboled.h | 160 * Sets a text color for a message 162 * @param textColor Font color: COLOR_WHITE, COLOR_BLACK or COLOR_XOR 186 * @param color Character color 187 * @param bg Character background color 190 void drawChar (uint8_t x, uint8_t y, uint8_t data, uint8_t color, uint8_t size); 210 * Can do an specific color write or toggle (xor) a pixel. 214 * @param color pixel is COLOR_WHITE, COLOR_BLACK or COLOR_XOR 216 void drawPixel (int8_t x, int8_t y, uint8_t color=COLOR_WHITE); 225 * @param color line is COLOR_WHITE, COLOR_BLACK or COLOR_XO [all...] |
/packages/services/Telecomm/res/values/ |
styles.xml | 20 <item name="android:windowBackground">@android:color/transparent</item> 31 <item name="android:colorPrimaryDark">@color/dialer_settings_color_dark</item> 38 <item name="android:colorPrimaryDark">@color/dialer_settings_color_dark</item> 41 <item name="android:colorAccent">@color/theme_color</item> 45 <item name="android:background">@color/dialer_settings_actionbar_background_color</item> 49 <item name="android:icon">@android:color/transparent</item> 54 <item name="android:textColor">@color/dialer_settings_actionbar_text_color</item> 63 <item name="android:textColor">@color/theme_color</item> 74 <item name="android:textColor">@color/blocked_numbers_title_text_color</item> 78 <item name="android:textColor">@color/blocked_numbers_secondary_text_color</item [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
GCWrapper.java | 29 import org.eclipse.swt.graphics.Color; 60 * Implementation of IColor wrapping an SWT color. 63 private final Color mColor; 65 public ColorWrapper(Color color) { 66 mColor = color; 69 public Color getColor() { 81 private final Map<DrawingStyle, Color> mStyleStrokeMap = new EnumMap<DrawingStyle, Color>( 88 private final Map<DrawingStyle, Color> mStyleFillMap = new EnumMap<DrawingStyle, Color> 433 Color color = getStrokeColor(style, stroke); local 438 Color color = getFillColor(style, fill); local 505 Color color = map.get(style); local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PaintFlagsDrawFilterTest.java | 22 import android.graphics.Color; 58 p.setColor(Color.RED); 65 c.drawColor(Color.BLACK); 72 combinedBitmap.eraseColor(Color.BLACK); 80 assertEquals(Color.RED, pixelWithoutFilter); 81 assertEquals(Color.BLACK, pixelWithFilter); 82 combinedBitmap.setPixel(i, j, Color.RED); 95 if (pixel == Color.RED) { 116 int colors[] = new int [] { Color.WHITE, Color.BLACK } 167 int color = bitmap.getPixel(i, j); local 183 int color = bitmap.getPixel(i, j); local [all...] |
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
TextureTestRenderer.java | 19 import android.graphics.Color; 72 Color.RED, Color.RED, Color.BLUE, Color.BLUE, 73 Color.RED, Color.RED, Color.BLUE, Color.BLUE, 74 Color.GREEN, Color.GREEN, Color.CYAN, Color.CYAN [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
PictureTest.java | 20 import android.graphics.Color; 38 pt.setColor(Color.GREEN); 57 ).runWithVerifier(new ColorVerifier(Color.WHITE)); 70 new RectVerifier(Color.WHITE, Color.GREEN, sOffsetRect));
|
/developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/src/main/java/com/example/android/swiperefreshlistfragment/ |
SwipeRefreshListFragmentFragment.java | 47 * showcase the use of color rather than being something that should be integrated into apps. 112 * <p>A color scheme menu item used for demonstrating the use of SwipeRefreshLayout's color 114 * it just to demonstrate the use of color. Instead you should choose a color scheme based 137 // color resource ids 138 setColorScheme(R.color.color_scheme_1_1, R.color.color_scheme_1_2, 139 R.color.color_scheme_1_3, R.color.color_scheme_1_4) [all...] |
/developers/samples/android/ui/DrawableTinting/ |
template-params.xml | 25 Sample that shows applying tinting and color filters to Drawables both programmatically 28 A color state list is referenced as the tint color, which defines colors for different 31 with a reference to a color and a PorterDuff blend mode. The color and blend mode can be
|
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/Application/src/main/java/com/example/android/swiperefreshlistfragment/ |
SwipeRefreshListFragmentFragment.java | 47 * showcase the use of color rather than being something that should be integrated into apps. 112 * <p>A color scheme menu item used for demonstrating the use of SwipeRefreshLayout's color 114 * it just to demonstrate the use of color. Instead you should choose a color scheme based 137 // color resource ids 138 setColorScheme(R.color.color_scheme_1_1, R.color.color_scheme_1_2, 139 R.color.color_scheme_1_3, R.color.color_scheme_1_4) [all...] |
/development/samples/WiktionarySimple/res/values/ |
styles.xml | 25 <item name="android:textColor">@android:color/black</item> 32 <item name="android:textColor">@android:color/black</item> 38 <item name="android:textColor">@android:color/black</item> 44 <item name="android:textColor">@android:color/black</item> 49 <item name="android:textColor">@android:color/black</item>
|
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/ |
SwipeRefreshListFragmentFragment.java | 47 * showcase the use of color rather than being something that should be integrated into apps. 112 * <p>A color scheme menu item used for demonstrating the use of SwipeRefreshLayout's color 114 * it just to demonstrate the use of color. Instead you should choose a color scheme based 137 // color resource ids 138 setColorScheme(R.color.color_scheme_1_1, R.color.color_scheme_1_2, 139 R.color.color_scheme_1_3, R.color.color_scheme_1_4) [all...] |
/external/chromium-trace/catapult/dashboard/dashboard/elements/ |
alert-icon.html | 36 var color = 'black'; 38 color = 'red'; 40 color = 'green'; 44 this.$.icon.style.color = color;
|
/external/chromium-trace/catapult/dashboard/dashboard/static/ |
graph.html | 26 * Returns a hex string color from hash code of a string. This a popular 27 * implementation of generating hash code and spread over rgb color range 29 * @param {string} str string to get color code for. 30 * @return {string} A rgb color code string. 43 * so that each string will always map to the same color.
|
/external/chromium-trace/catapult/telemetry/docs/pydoc/ |
telemetry.web_perf.metrics.webrtc_rendering_stats.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.web_perf.html"><font color="#ffffff">web_perf</font></a>.<a href="telemetry.web_perf.metrics.html"><font color="#ffffff">metrics</font></a>.webrtc_rendering_stats</strong></big></big></font></td 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/web_perf/metrics/webrtc_rendering_stats.py">telemetry/web_perf/metrics/webrtc_rendering_stats.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> 45 <font color="#000000" face="helvetica, arial"><a name="TimeStats">class <strong>TimeStats</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> 51 <dl><dt><a name="TimeStats-__init__"><strong>__init__</strong></a>(self, drift_time<font color="#909090">=None</font>, mean_drift_time<font color="#909090">=None</font>, std_dev_drift_time<font color="#909090">=None</font>, percent_badly_out_of (…) [all...] |
/external/skia/gm/ |
discard.cpp | 60 // Make something that isn't too close to the background color, black. 61 SkColor color = sk_tool_utils::color_to_565(rand.nextU() | 0xFF404040); variable 64 surface->getCanvas()->drawColor(color); variable 67 surface->getCanvas()->clear(color); variable 70 SkColorShader shader(color);
|
pixelxorxfermode.cpp | 48 // Negate the red channel of the dst (via the ancillary color) but leave 58 // Negate the dst color via the src color 67 // Just return the original color 76 // Negate the red & green channels (via the ancillary color) but leave
|
/external/skia/src/codec/ |
SkSampler.h | 24 * Fill the remainder of the destination with a single color 27 * Contains the color type of the rows to fill. 38 * If colorType is kN32, colorOrIndex is treated as a 32-bit color. 39 * If colorType is k565, colorOrIndex is treated as a 16-bit color. 40 * If colorType is kGray, colorOrIndex is treated as an 8-bit color.
|
/external/skia/src/core/ |
SkColorShader.h | 15 A Shader that represents a single color. In general, this effect can be 16 accomplished by just using the color field on the paint, but if an 21 /** Create a ColorShader that ignores the color in the paint, and uses the 22 specified color. Note: like all shaders, at draw time the paint's alpha 23 will be respected, and is applied to the specified color.
|