HomeSort by relevance Sort by last modified time
    Searched refs:Color (Results 401 - 425 of 1502) sorted by null

<<11121314151617181920>>

  /frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
HorizontalGridTestActivity.java 21 import android.graphics.Color;
105 v.setBackgroundColor(Color.YELLOW);
107 v.setBackgroundColor(Color.LTGRAY);
134 textView.setTextColor(Color.BLACK);
147 holder.itemView.setBackgroundColor(Color.LTGRAY);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageRedEye.java 21 import android.graphics.Color;
99 paint.setColor(Color.RED);
102 paint.setColor(Color.RED);
117 paint.setColor(Color.BLUE);
123 paint.setColor(Color.GREEN);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
ContentFragment.java 22 import android.graphics.Color;
45 return newInstance(title, null, null, 0, Color.TRANSPARENT);
50 return newInstance(title, breadcrumb, description, 0, Color.TRANSPARENT);
55 return newInstance(title, breadcrumb, description, iconResourceId, Color.TRANSPARENT);
69 return newInstance(title, breadcrumb, description, iconResourceUri, Color.TRANSPARENT);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
MarqueeGesture.java 20 import org.eclipse.swt.graphics.Color;
97 /** Rectangle border color. */
98 private Color mStroke;
100 /** Rectangle fill color. */
101 private Color mFill;
134 mStroke = new Color(device, 255, 255, 255);
135 mFill = new Color(device, 128, 128, 128);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageUtilsTest.java 23 import java.awt.Color;
38 g.setColor(new Color(0, true));
49 g.setColor(new Color(0, true));
60 g.setColor(new Color(0, false));
73 g.setColor(new Color(0, true));
75 g.setColor(new Color(0xFF00FF00, true));
90 g.setColor(new Color(0, true));
92 g.setColor(new Color(0xFF00FF00, true));
107 g.setColor(new Color(0, true));
109 g.setColor(new Color(0xFF00FF00, true))
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
FingerPrintGraph.java 23 import org.eclipse.swt.graphics.Color;
63 static final Color BLACK= DEFAULT_DISPLAY.getSystemColor(SWT.COLOR_BLACK);
64 static final Color BLUE= DEFAULT_DISPLAY.getSystemColor(SWT.COLOR_BLUE);
65 static final Color GREEN= DEFAULT_DISPLAY.getSystemColor(SWT.COLOR_GREEN);
66 static final Color RED = DEFAULT_DISPLAY.getSystemColor(SWT.COLOR_RED);
67 static final Color GRAY = DEFAULT_DISPLAY.getSystemColor(SWT.COLOR_GRAY);
68 static final Color DARK_GRAY = DEFAULT_DISPLAY.getSystemColor(SWT.COLOR_DARK_GRAY);
69 static final Color YELLOW = DEFAULT_DISPLAY.getSystemColor(SWT.COLOR_YELLOW);
70 static final Color WHITE = DEFAULT_DISPLAY.getSystemColor(SWT.COLOR_WHITE);
195 Color blueref = (Color) this.resources.get("blueref")
    [all...]
  /frameworks/base/core/tests/coretests/src/android/graphics/
BitmapTest.java 188 // create a bitmap with the color array specified
205 // comparing the original (c0) with the returned color is tricky,
208 int a0 = Color.alpha(c0);
209 int a1 = Color.alpha(c1);
212 int r0 = Color.red(c0);
213 int r1 = Color.red(c1);
217 int g0 = Color.green(c0);
218 int g1 = Color.green(c1);
222 int b0 = Color.blue(c0);
223 int b1 = Color.blue(c1)
    [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
SearchOrbView.java 24 import android.graphics.Color;
39 * The background color and icon can be customized.
64 * Constructs a color set using the given color for the search orb.
67 * @param color The main search orb color.
69 public Colors(@ColorInt int color) {
70 this(color, color);
74 * Constructs a color set using the given colors for the search orb
101 public int color; field in class:SearchOrbView.Colors
194 int color = a.getColor(R.styleable.lbSearchOrbView_searchOrbColor, defColor); local
    [all...]
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
ScreenViewer.java 12 import java.awt.Color;
247 private final Color lineColor = new Color(1.0f, 1.0f, 1.0f, 0.3f);
363 private Color color; field in class:ScreenViewer.LoupeStatus
380 label.setForeground(Color.WHITE);
386 label.setForeground(Color.WHITE);
390 label.setForeground(Color.WHITE);
396 label.setForeground(Color.WHITE);
400 label.setForeground(Color.WHITE)
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
ProgressBarTest.java 36 import android.graphics.Color;
192 Drawable mockProgressDrawable = spy(new ColorDrawable(Color.YELLOW));
209 Drawable mockProgressDrawable = spy(new ColorDrawable(Color.BLUE));
374 Drawable mockDrawable1 = spy(new ColorDrawable(Color.RED));
375 Drawable mockDrawable2 = spy(new ColorDrawable(Color.GREEN));
429 Color.WHITE, tintedProgressBar.getProgressTintList().getDefaultColor());
434 Color.WHITE, tintedProgressBar.getProgressBackgroundTintList().getDefaultColor());
439 Color.WHITE, tintedProgressBar.getSecondaryProgressTintList().getDefaultColor());
443 Drawable mockProgressDrawable = spy(new ColorDrawable(Color.BLACK));
449 mProgressBar.setProgressBackgroundTintList(ColorStateList.valueOf(Color.WHITE))
    [all...]
  /development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
AnalogWatchFaceService.java 26 import android.graphics.Color;
149 mBackgroundPaint.setColor(Color.BLACK);
153 mWatchHandColor = Color.WHITE;
154 mWatchHandHighlightColor = Color.RED;
155 mWatchHandShadowColor = Color.BLACK;
196 mWatchHandHighlightColor = palette.getVibrantColor(Color.RED);
197 mWatchHandColor = palette.getLightVibrantColor(Color.WHITE);
198 mWatchHandShadowColor = palette.getDarkMutedColor(Color.BLACK);
246 mHourPaint.setColor(Color.WHITE);
247 mMinutePaint.setColor(Color.WHITE)
    [all...]
SweepWatchFaceService.java 26 import android.graphics.Color;
121 mBackgroundPaint.setColor(Color.BLACK);
125 mWatchHandColor = Color.WHITE;
126 mWatchHandHighlightColor = Color.RED;
127 mWatchHandShadowColor = Color.BLACK;
168 mWatchHandHighlightColor = palette.getVibrantColor(Color.RED);
169 mWatchHandColor = palette.getLightVibrantColor(Color.WHITE);
170 mWatchHandShadowColor = palette.getDarkMutedColor(Color.BLACK);
211 mHourPaint.setColor(Color.WHITE);
212 mMinutePaint.setColor(Color.WHITE)
    [all...]
  /frameworks/base/tests/UiBench/src/com/android/test/uibench/
RenderingJitter.java 22 import android.graphics.Color;
153 mPaint.setColor(Color.WHITE);
165 mPaint.setColor(Color.WHITE);
356 int r = (int) (Color.red(src) + (Color.red(dest) - Color.red(src)) * frac);
357 int g = (int) (Color.green(src) + (Color.green(dest) - Color.green(src)) * frac);
358 int b = (int) (Color.blue(src) + (Color.blue(dest) - Color.blue(src)) * frac)
    [all...]
  /cts/hostsidetests/theme/src/android/theme/cts/
ComparisonTask.java 23 import java.awt.Color;
73 private static int getAlphaScaledBlue(final int color) {
74 return (color & 0x000000FF) * getAlpha(color) / 255;
77 private static int getAlphaScaledGreen(final int color) {
78 return ((color & 0x0000FF00) >> 8) * getAlpha(color) / 255;
81 private static int getAlphaScaledRed(final int color) {
82 return ((color & 0x00FF0000) >> 16) * getAlpha(color) / 255
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DrawableContainerTest.java 42 import android.graphics.Color;
102 Drawable dr = spy(new ColorDrawable(Color.WHITE));
178 Drawable dr0 = spy(new ColorDrawable(Color.BLUE));
185 Drawable dr1 = spy(new ColorDrawable(Color.RED));
227 Drawable mockDrawable = spy(new ColorDrawable(Color.BLACK));
247 Drawable dr = spy(new ColorDrawable(Color.BLUE));
305 Drawable mockDrawable = spy(new ColorDrawable(Color.MAGENTA));
322 mDrawableContainer.setTint(Color.BLACK);
325 Drawable dr = spy(new ColorDrawable(Color.GREEN));
373 Drawable dr0 = spy(new ColorDrawable(Color.YELLOW))
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
SurfaceViewTests.java 24 import android.graphics.Color;
54 new CanvasCallback((canvas, width, height) -> canvas.drawColor(Color.GREEN));
56 new CanvasCallback((canvas, width, height) -> canvas.drawColor(Color.WHITE));
58 new CanvasCallback((canvas, width, height) -> canvas.drawColor(Color.RED));
121 .runWithAnimationVerifier(new ColorVerifier(Color.WHITE, 0 /* zero tolerance */));
183 canvas.drawColor(Color.GREEN);
188 .runWithVerifier(new ColorVerifier(Color.GREEN, 0 /* zero tolerance */));
  /cts/tests/tests/view/src/android/view/cts/
TextureViewCtsActivity.java 24 import android.graphics.Color;
78 preview.setBackgroundColor(Color.WHITE);
84 content.setBackgroundColor(Color.BLACK);
152 public void drawColor(int color) throws Throwable {
154 glClearColor(Color.red(color) / 255.0f,
155 Color.green(color) / 255.0f,
156 Color.blue(color) / 255.0f
    [all...]
  /developers/build/prebuilts/gradle/AlwaysOn/Wearable/src/main/java/com/example/android/wearable/wear/alwayson/
MainActivity.java 22 import android.graphics.Color;
192 mStateTextView.setTextColor(Color.WHITE);
193 mUpdateRateTextView.setTextColor(Color.WHITE);
194 mDrawCountTextView.setTextColor(Color.WHITE);
234 mStateTextView.setTextColor(Color.GREEN);
235 mUpdateRateTextView.setTextColor(Color.GREEN);
236 mDrawCountTextView.setTextColor(Color.GREEN);
  /developers/samples/android/wearable/wear/AlwaysOn/Wearable/src/main/java/com/example/android/wearable/wear/alwayson/
MainActivity.java 22 import android.graphics.Color;
192 mStateTextView.setTextColor(Color.WHITE);
193 mUpdateRateTextView.setTextColor(Color.WHITE);
194 mDrawCountTextView.setTextColor(Color.WHITE);
234 mStateTextView.setTextColor(Color.GREEN);
235 mUpdateRateTextView.setTextColor(Color.GREEN);
236 mDrawCountTextView.setTextColor(Color.GREEN);
  /development/samples/browseable/AlwaysOn/src/com.example.android.wearable.wear.alwayson/
MainActivity.java 22 import android.graphics.Color;
192 mStateTextView.setTextColor(Color.WHITE);
193 mUpdateRateTextView.setTextColor(Color.WHITE);
194 mDrawCountTextView.setTextColor(Color.WHITE);
234 mStateTextView.setTextColor(Color.GREEN);
235 mUpdateRateTextView.setTextColor(Color.GREEN);
236 mDrawCountTextView.setTextColor(Color.GREEN);
  /external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DualScaleXYPlotExampleActivity.java 22 import android.graphics.Color;
136 series1Format = new LineAndPointFormatter(Color.rgb(0, 200, 0), Color.rgb(0, 100, 0), null, new PointLabelFormatter(Color.WHITE));
137 series2Format = new LineAndPointFormatter(Color.rgb(0, 0, 200), Color.rgb(0, 0, 100), null, new PointLabelFormatter(Color.WHITE));
  /external/llvm/tools/llvm-cov/
SourceCoverageViewHTML.cpp 34 background-color: #FFD0D0;
37 background-color: cyan;
40 background-color: black;
41 color: white;
44 background-color: #98FFA6;
45 color: white;
48 background-color: #F998FF;
49 color: white;
61 background-color: #eee;
71 background-color: rgba(0, 0, 0, 0)
    [all...]
  /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
SurfaceAndTextureViews.java 21 import android.graphics.Color;
104 static final int SMALL_COLOR = Color.BLUE;
105 static final int LARGE_COLOR = Color.YELLOW;
120 static final int SMALL_COLOR = Color.GREEN;
121 static final int LARGE_COLOR = Color.GRAY;
153 static final int SMALL_COLOR = Color.RED;
154 static final int LARGE_COLOR = Color.CYAN;
  /frameworks/opt/setupwizard/library/full-support/test/instrumentation/src/com/android/setupwizardlib/test/
DividerItemDecorationTest.java 25 import android.graphics.Color;
67 Drawable divider = new ColorDrawable(Color.RED);
77 paint.setColor(Color.RED);
92 paint.setColor(Color.TRANSPARENT);
110 Drawable divider = new ColorDrawable(Color.GREEN);
117 paint.setColor(Color.GREEN);
129 paint.setColor(Color.TRANSPARENT);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
HistogramView.java 22 import android.graphics.Color;
52 int r = Color.red(pixels[index]);
53 int g = Color.green(pixels[index]);
54 int b = Color.blue(pixels[index]);
81 private void drawHistogram(Canvas canvas, int[] histogram, int color, PorterDuff.Mode mode) {
106 mPaint.setColor(color);
140 drawHistogram(canvas, redHistogram, Color.RED, PorterDuff.Mode.SCREEN);
141 drawHistogram(canvas, greenHistogram, Color.GREEN, PorterDuff.Mode.SCREEN);
142 drawHistogram(canvas, blueHistogram, Color.BLUE, PorterDuff.Mode.SCREEN);

Completed in 4547 milliseconds

<<11121314151617181920>>