/external/proguard/src/proguard/gui/splash/ |
ColorSprite.java | 32 private final VariableColor color; field in class:ColorSprite 38 * @param color the variable color of the given sprite. 41 public ColorSprite(VariableColor color, 44 this.color = color; 53 // Save the old color. 54 Color oldColor = graphics.getColor(); 56 // Set the new color. 57 graphics.setColor(color.getColor(time)) [all...] |
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
ColorStateDrawable.java | 19 import android.graphics.Color; 25 * A drawable which sets its color filter to a color specified by the user, and changes to a 26 * slightly darker color when pressed or focused. 34 public ColorStateDrawable(Drawable[] layers, int color) { 36 mColor = color; 59 * Given a particular color, adjusts its value by a multiplier. 61 private static int getPressedColor(int color) { 63 Color.colorToHSV(color, hsv) [all...] |
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
FactoryProviderTest.java | 52 private enum Color { BLUE, GREEN, RED, GRAY, BLACK, ORANGE, PINK } 65 Mustang blueMustang = (Mustang) carFactory.create(Color.BLUE); 66 assertEquals(Color.BLUE, blueMustang.color); 69 Mustang redMustang = (Mustang) carFactory.create(Color.RED); 70 assertEquals(Color.RED, redMustang.color); 103 Camaro blueCamaro = (Camaro) carFactory.create(Color.BLUE); 104 assertEquals(Color.BLUE, blueCamaro.color); 123 private final Color color; field in class:FactoryProviderTest.Mustang 135 private final Color color; field in class:FactoryProviderTest.Camaro 178 private Color color; field in class:FactoryProviderTest.Corvette 247 private final Color color; field in class:FactoryProviderTest.Porshe 281 private final Color color; field in class:FactoryProviderTest.Firebird 311 private final Color color; field in class:FactoryProviderTest.DeLorean 340 private final Color color; field in class:FactoryProviderTest.Z 351 private final Color color; field in class:FactoryProviderTest.Prius 515 private final Color color; field in class:FactoryProviderTest.Fiat [all...] |
/external/skia/include/gpu/ |
GrInvariantOutput.h | 20 void setKnownFourComponents(GrColor color) { 21 fColor = color; 59 GrInvariantOutput(GrColor color, GrColorComponentFlags flags, bool isSingleComponent) 60 : fColor(color) 88 // Since the current state is not opaque we no longer care if the color being 122 // Multiply color by alpha 133 void mulByKnownFourComponents(GrColor color) { 136 if (GetAlphaAndCheckSingleChannel(color, &a)) { 139 if (color != 0xffffffff) { 141 SkMulDiv255Round(GrColorUnpackR(fColor), GrColorUnpackR(color)), 245 GrColor color() const { return fColor; } function in class:GrInvariantOutput [all...] |
/hardware/bsp/intel/peripheral/libupm/src/st7735/ |
gfx.cxx | 44 GFX::setPixel (int x, int y, uint16_t color) { 50 m_map[index] = (uint8_t) (color >> 8); 51 m_map[++index] = (uint8_t)(color); 57 GFX::fillScreen (uint16_t color) { 58 fillRect(0, 0, m_width, m_height, color); 62 GFX::fillRect (int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color) { 64 drawFastVLine(i, y, h, color); 69 GFX::drawFastVLine(int16_t x, int16_t y, int16_t h, uint16_t color) { 70 drawLine(x, y, x, y+h-1, color); 74 GFX::drawLine (int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color) { [all...] |
/external/skia/src/gpu/effects/ |
GrConstColorProcessor.cpp | 47 GrColor color = processor.cast<GrConstColorProcessor>().color(); variable 48 // We use the "illegal" color value as an uninit sentinel. However, ut isn't inherently 50 // when the "illegal" color is used but we will always upload it. 51 if (GrColor_ILLEGAL == color || fPrevColor != color) { 54 GrColorUnpackR(color) * scale, 55 GrColorUnpackG(color) * scale, 56 GrColorUnpackB(color) * scale, 57 GrColorUnpackA(color) * scale 116 GrColor color; local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
LightingColorFilter.java | 25 * A color filter that can be used to simulate simple lighting effects. 27 * used to multiply the source color (called <code>colorMultiply</code>) 28 * and one used to add to the source color (called <code>colorAdd</code>). 29 * The alpha channel is left untouched by this color filter. 31 * Given a source color RGB, the resulting R'G'B' color is computed thusly: 44 * Create a colorfilter that multiplies the RGB channels by one color, 45 * and then adds a second color. The alpha components of the mul and add 55 * Returns the RGB color used to multiply the source color when th [all...] |
/cts/tests/leanbackjank/app/res/drawable-xhdpi/ |
default_background.xml | 6 android:startColor="@color/background_gradient_start" 7 android:endColor="@color/background_gradient_end"
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/res/drawable-xhdpi/ |
default_background.xml | 6 android:startColor="@color/background_gradient_start" 7 android:endColor="@color/background_gradient_end"
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/res/drawable-xhdpi/ |
default_background.xml | 6 android:startColor="@color/background_gradient_start" 7 android:endColor="@color/background_gradient_end"
|
/developers/build/prebuilts/gradle/BasicMediaRouter/Application/src/main/res/values/ |
strings.xml | 6 <string name="change_color">Change Color</string> 8 <string name="display_color">Background color: #%X</string>
|
/developers/build/prebuilts/gradle/FloatingActionButtonBasic/Application/src/main/res/drawable/ |
fab_background.xml | 20 <ripple android:color="@color/fab_color_2_muted"> 23 <solid android:color="@color/fab_color_2" /> 30 <ripple android:color="@color/fab_color_1_muted"> 33 <solid android:color="@color/fab_color_1" />
|
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/res/drawable/ |
list_background.xml | 4 android:drawable="@color/list_highlight_color" /> 6 android:drawable="@android:color/transparent" />
|
/developers/samples/android/media/BasicMediaRouter/Application/src/main/res/values/ |
strings.xml | 6 <string name="change_color">Change Color</string> 8 <string name="display_color">Background color: #%X</string>
|
/developers/samples/android/media/MediaRouter/Application/src/main/res/drawable/ |
list_background.xml | 4 android:drawable="@color/list_highlight_color" /> 6 android:drawable="@android:color/transparent" />
|
/developers/samples/android/ui/views/FloatingActionButton/FloatingActionButtonBasic/Application/src/main/res/drawable/ |
fab_background.xml | 20 <ripple android:color="@color/fab_color_2_muted"> 23 <solid android:color="@color/fab_color_2" /> 30 <ripple android:color="@color/fab_color_1_muted"> 33 <solid android:color="@color/fab_color_1" />
|
/development/samples/Support4Demos/res/values/ |
colors.xml | 22 <color name="color1">#ff0f9d58</color> 23 <color name="color2">#ffdb4437</color> 24 <color name="color3">#ff4285f4</color> 25 <color name="color4">#fff4b400</color>
|
/development/samples/browseable/BasicMediaRouter/res/values/ |
strings.xml | 6 <string name="change_color">Change Color</string> 8 <string name="display_color">Background color: #%X</string>
|
/development/samples/browseable/FloatingActionButtonBasic/res/drawable/ |
fab_background.xml | 20 <ripple android:color="@color/fab_color_2_muted"> 23 <solid android:color="@color/fab_color_2" /> 30 <ripple android:color="@color/fab_color_1_muted"> 33 <solid android:color="@color/fab_color_1" />
|
/development/samples/browseable/MediaRouter/res/drawable/ |
list_background.xml | 4 android:drawable="@color/list_highlight_color" /> 6 android:drawable="@android:color/transparent" />
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
ColorWheelLEDController.java | 3 import android.graphics.Color; 17 public void colorChanged(int color) { 18 int red = Color.red(color) / 8; 19 int green = Color.green(color) / 8; 20 int blue = Color.blue(color) / 8;
|
/external/autotest/frontend/client/src/autotest/public/ |
common.css | 13 color: white; 39 background-color: #ffffff; 43 background-color: #d080d0; 47 background-color: #ff4040; 51 background-color: #ffc040; 55 background-color: #ffff00; 59 background-color: #c0ff80; 63 background-color: #32CD32;
|
/external/jsr305/javadoc/ |
stylesheet.css | 5 /* Page background color */ 6 body { background-color: #FFFFFF } 22 .NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */ 23 .NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */ 24 .NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} 25 .NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} 27 .NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} 28 .NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
|
/external/jsr305/ri/src/main/java/javax/annotation/meta/ |
Exhaustive.java | 16 * value is neither {@literal @Foo(Color.Red)} or {@literal @Foo(Color.Blue)}, 17 * then the value must be {@literal @Foo(Color.Green)}. And if you know it is 18 * {@literal @Foo(Color.Green)}, you know it cannot be 19 * {@literal @Foo(Color.Red)} or {@literal @Foo(Color.Blue)} 23 * enum Color {RED, BLUE, GREEN}; 24 * @Exhaustive Color value();
|
/external/jsr330/javadoc/ |
stylesheet.css | 5 /* Page background color */ 6 body { background-color: #FFFFFF } 22 .NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */ 23 .NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */ 24 .NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} 25 .NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} 27 .NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} 28 .NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
|