HomeSort by relevance Sort by last modified time
    Searched refs:Color (Results 251 - 275 of 1386) sorted by null

<<11121314151617181920>>

  /cts/tests/tests/graphics/src/android/graphics/cts/
PathDashPathEffectTest.java 22 import android.graphics.Color;
41 b.eraseColor(Color.BLACK);
47 p.setColor(Color.RED);
51 expected.eraseColor(Color.BLACK);
54 p.setColor(Color.RED);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
AlphaBitmap.java 71 Color.RED, Color.GREEN, Color.BLUE },
76 canvas.drawColor(Color.WHITE);
81 p.setColor(Color.RED);
Clipping.java 52 canvas.drawColor(Color.WHITE);
54 mPaint.setColor(Color.RED);
57 mPaint.setColor(Color.GREEN);
60 mPaint.setColor(Color.BLUE);
65 canvas.drawColor(Color.GRAY);
ScaleToFit.java 52 80, 40, Color.RED,
53 40, 80, Color.GREEN,
54 30, 30, Color.BLUE,
55 80, 80, Color.BLACK
96 canvas.drawColor(Color.WHITE);
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/effects/
DistanceFieldEffect.java 18 import java.awt.Color;
45 private Color color = Color.WHITE; field in class:DistanceFieldEffect
61 inputG.setColor(Color.WHITE);
74 generator.setColor(color);
92 values.add(EffectUtil.colorValue("Color", color));
102 if ("Color".equals(value.getName())) {
103 color = (Color)value.getObject()
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/
TiledDrawable.java 19 import com.badlogic.gdx.graphics.Color;
27 private final Color color = new Color(1, 1, 1, 1); field in class:TiledDrawable
43 batch.setColor(batch.getColor().mul(color));
91 public Color getColor () {
92 return color;
95 public TiledDrawable tint (Color tint) {
97 drawable.color.set(tint);
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
ContactCallbackTest2.java 20 import com.badlogic.gdx.graphics.Color;
32 e.setColor(Color.RED);
37 e.setColor(Color.RED);
46 e.setColor(Color.BLUE);
51 e.setColor(Color.BLUE);
CollisionTest.java 20 import com.badlogic.gdx.graphics.Color;
35 Array<Color> colors = new Array<Color>();
84 private Pool<Color> colorPool = new Pool<Color>() {
86 protected Color newObject () {
87 return new Color();
92 Color color = null; local
102 color = projectile.getColor()
    [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
StrictModeFlash.java 24 import android.graphics.Color;
81 c.drawColor(Color.RED);
84 c.drawColor(Color.RED);
87 c.drawColor(Color.RED);
90 c.drawColor(Color.RED);
  /external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
OrientationSensorExampleActivity.java 21 import android.graphics.Color;
70 aprLevelsPlot.getGraphWidget().getDomainLabelPaint().setColor(Color.TRANSPARENT);
77 new BarFormatter(Color.rgb(0, 200, 0), Color.rgb(0, 80, 0)));
79 new BarFormatter(Color.rgb(200, 0, 0), Color.rgb(0, 80, 0)));
81 new BarFormatter(Color.rgb(0, 0, 200), Color.rgb(0, 80, 0)));
114 Color.rgb(100, 100, 200), null, null, null));
117 Color.rgb(100, 200, 100), null, null, null));
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
BarTransitions.java 23 import android.graphics.Color;
166 mOpaque = context.getColor(R.color.system_bar_background_opaque);
168 com.android.internal.R.color.system_bar_background_semi_transparent);
169 mTransparent = context.getColor(R.color.system_bar_background_transparent);
170 mWarning = context.getColor(com.android.internal.R.color.battery_saver_mode_color);
186 public void setTint(int color) {
188 mTintFilter = new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_IN);
190 mTintFilter.setColor(color);
266 mColor = Color.argb(
267 (int)(v * Color.alpha(targetColor) + Color.alpha(mColorStart) * (1 - v))
    [all...]
  /cts/hostsidetests/theme/src/android/theme/cts/
ComparisonTask.java 22 import java.awt.Color;
76 private static int getAlphaScaledBlue(final int color) {
77 return (color & 0x000000FF) * getAlpha(color) / 255;
80 private static int getAlphaScaledGreen(final int color) {
81 return ((color & 0x0000FF00) >> 8) * getAlpha(color) / 255;
84 private static int getAlphaScaledRed(final int color) {
85 return ((color & 0x00FF0000) >> 16) * getAlpha(color) / 255
    [all...]
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/
TexturePanel.java 3 import java.awt.Color;
16 private Color selectedColor = Color.GREEN,
17 unselectedColor = Color.BLUE,
18 indexBackgroundColor = Color.BLACK,
19 indexColor = Color.WHITE;
120 private void draw (Graphics g, Array<TextureRegion> regions, Color color, boolean drawIndex) {
134 g.setColor(color);
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
UISimpleTest.java 20 import com.badlogic.gdx.graphics.Color;
54 pixmap.setColor(Color.WHITE);
63 textButtonStyle.up = skin.newDrawable("white", Color.DARK_GRAY);
64 textButtonStyle.down = skin.newDrawable("white", Color.DARK_GRAY);
65 textButtonStyle.checked = skin.newDrawable("white", Color.BLUE);
66 textButtonStyle.over = skin.newDrawable("white", Color.LIGHT_GRAY);
91 table.add(new Image(skin.newDrawable("white", Color.RED))).size(64);
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
BaseG3dTest.java 21 import com.badlogic.gdx.graphics.Color;
45 public final Color bgColor = new Color(0, 0, 0, 1);
73 builder.setColor(Color.LIGHT_GRAY);
79 builder.setColor(Color.RED);
81 builder.setColor(Color.GREEN);
83 builder.setColor(Color.BLUE);
  /external/mesa3d/docs/OLD/
MESA_packed_depth_stencil.spec 84 COLOR_INDEX Color Color index
87 RED Color R component
88 GREEN Color G component
89 BLUE Color B component
90 ALPHA Color A component
91 RGB Color R, G, B components
92 RGBA Color R, G, B, A components
93 BGRA Color B, G, R, A components
94 ABGR_EXT Color A, B, G, R component
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ShadersActivity.java 25 import android.graphics.Color;
85 Color.RED, Color.GREEN, Shader.TileMode.CLAMP);
93 Color.BLUE, Color.MAGENTA, Shader.TileMode.CLAMP);
96 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR);
  /packages/apps/Settings/src/com/android/settings/accessibility/
ColorPreference.java 20 import android.graphics.Color;
33 * Grid preference that allows the user to pick a color from a predefined set of
64 return Color.alpha(getValue()) == 0 || super.shouldDisableDependents();
76 final int r = Color.red(value);
77 final int g = Color.green(value);
78 final int b = Color.blue(value);
89 if (Color.alpha(argb) < 255) {
116 final int alpha = Color.alpha(argb);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
Utilities.java 27 import android.graphics.Color;
175 float bgR = Color.red(bg) / 255f;
176 float bgG = Color.green(bg) / 255f;
177 float bgB = Color.blue(bg) / 255f;
183 float fgR = Color.red(fg) / 255f;
184 float fgG = Color.green(fg) / 255f;
185 float fgB = Color.blue(fg) / 255f;
194 /** Returns the base color overlaid with another overlay color with a specified alpha. */
196 return Color.rgb
    [all...]
  /external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
UberColorPickerDialog.java 25 * This color picker was implemented as a (significant) extension of the
40 import android.graphics.Color;
71 * Callback to the creator of the dialog, informing the creator of a new color and notifying that the dialog is about to dismiss.
74 void colorChanged(int color);
100 public void colorChanged(int color) {
101 mListener.colorChanged(color);
111 setTitle("Pick a color (try the trackball)");
123 * ColorPickerView is the meat of this color picker (as opposed to the enclosing class).
126 * You can enable/disable whichever color chooser methods you want by modifying the ENABLED_METHODS switches. They *should*
129 * If you add a new color chooser method, do a text search for "NEW_METHOD_WORK_NEEDED_HERE". That tag indicates al
813 int color = Color.HSVToColor(mHSV); local
    [all...]
  /external/llvm/lib/Target/AArch64/
AArch64A57FPLoadBalancing.cpp 23 // and assign them all the same "color" (oddness/evenness).
52 // destination register is the correct color. Used for testing.
55 cl::desc("Always modify dest registers regardless of color"),
59 // color always. Used for testing.
106 /// A "color", which is either even or odd. Yes, these aren't really colors
107 /// but the algorithm is conceptually doing two-color graph coloring.
108 enum class Color { Even, Odd };
141 bool colorChain(Chain *G, Color C, MachineBasicBlock &MBB);
142 int scavengeRegister(Chain *G, Color C, MachineBasicBlock &MBB);
148 Color getColor(unsigned Register)
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
MultimapsTest.java 555 private enum Color {BLUE, RED, YELLOW, GREEN}
602 Map<Color, Collection<Integer>> map = Maps.newEnumMap(Color.class);
603 Multimap<Color, Integer> multimap = Multimaps.newMultimap(map, factory);
605 multimap.put(Color.BLUE, -1);
610 multimap.put(Color.RED, 1);
611 multimap.put(Color.BLUE, 2);
613 multimap.put(Color.GREEN, -1);
619 Maps.immutableEntry(Color.RED, 1),
620 Maps.immutableEntry(Color.BLUE, 2))
    [all...]
  /external/llvm/lib/CodeGen/
StackSlotColoring.cpp 69 // AllColors - If index is set, it's a spill slot, i.e. color.
72 // index == better color.
75 // NextColor - Next "color" that's not yet used.
81 // Assignments - Color to intervals mapping.
107 bool OverlapWithAssignments(LiveInterval *li, int Color) const;
213 // Get first "color".
218 /// LiveIntervals that have already been assigned to the specified color.
220 StackSlotColoring::OverlapWithAssignments(LiveInterval *li, int Color) const {
221 const SmallVectorImpl<LiveInterval *> &OtherLIs = Assignments[Color];
230 /// ColorSlot - Assign a "color" (stack slot) to the specified stack slot
    [all...]
  /developers/build/prebuilts/gradle/DrawableTinting/Application/src/main/java/com/example/android/drawabletinting/
DrawableTintingFragment.java 19 import android.graphics.Color;
40 * A color state list is referenced as the tint color, which defines colors for different
43 * a reference to a color and a PorterDuff blend mode. The color and blend mode can be
62 * Seekbar for alpha component of tinting color.
66 * Seekbar for red component of tinting color.
70 * Seekbar for green bar of tinting color.
74 * Seekbar for blue bar of tinting color.
96 * Selector for blend type for color tinting
    [all...]
  /developers/samples/android/ui/DrawableTinting/Application/src/main/java/com/example/android/drawabletinting/
DrawableTintingFragment.java 19 import android.graphics.Color;
40 * A color state list is referenced as the tint color, which defines colors for different
43 * a reference to a color and a PorterDuff blend mode. The color and blend mode can be
62 * Seekbar for alpha component of tinting color.
66 * Seekbar for red component of tinting color.
70 * Seekbar for green bar of tinting color.
74 * Seekbar for blue bar of tinting color.
96 * Selector for blend type for color tinting
    [all...]

Completed in 913 milliseconds

<<11121314151617181920>>