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

<<11121314151617181920>>

  /frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
IllustrationTest.java 23 import android.graphics.Color;
54 final Drawable backgroundDrawable = new ColorDrawable(Color.RED);
55 final Drawable illustrationDrawable = new ColorDrawable(Color.BLUE);
  /frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
PlaybackSeekDiskDataProvider.java 22 import android.graphics.Color;
47 mPaint.setColor(Color.BLUE);
65 canvas.drawColor(Color.YELLOW);
  /frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
VideoMediaPlayerGlue.java 19 import android.graphics.Color;
54 presenter.setProgressColor(Color.parseColor("#EEFF41"));
55 presenter.setBackgroundColor(Color.parseColor("#007236"));
  /frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
StringPresenter.java 16 import android.graphics.Color;
33 tv.setBackgroundColor(Color.CYAN);
34 tv.setTextColor(Color.BLACK);
BackgroundManagerTest.java 26 import android.graphics.Color;
112 void setBitmapNullAndVerifyColor(final BackgroundManager manager, final int color)
121 assertIsColorDrawable(manager, color);
124 void setDrawableNullAndVerifyColor(final BackgroundManager manager, final int color)
133 assertIsColorDrawable(manager, color);
136 void setColorAndVerify(final BackgroundManager manager, final int color)
141 manager.setColor(color);
145 assertIsColorDrawable(manager, color);
178 void assertIsColorDrawable(BackgroundManager manager, int color) {
183 assertEquals(((ColorDrawable) manager.mLayerDrawable.getDrawable(1)).getColor(), color);
330 final int color = Color.MAGENTA; local
477 final int color = Color.BLUE; local
511 final int color = Color.RED; local
559 final int color = Color.RED; local
612 final int color = Color.RED; local
    [all...]
  /frameworks/support/v7/palette/tests/java/android/support/v7/graphics/
BucketTests.java 28 import android.graphics.Color;
61 swatches.add(new Palette.Swatch(Color.BLACK, 40));
62 swatches.add(new Palette.Swatch(Color.GREEN, 60));
63 swatches.add(new Palette.Swatch(Color.BLUE, 10));
124 canvas.drawColor(Color.BLUE);
131 assertCloseColors(Color.BLUE, swatch.getRgb());
139 canvas.drawColor(Color.BLUE);
148 assertCloseColors(Color.BLUE, swatch.getRgb());
158 canvas.drawColor(Color.BLUE);
162 paint.setColor(Color.GREEN)
    [all...]
  /external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
XYRegionExampleActivity.java 20 import android.graphics.Color;
207 * Cleans up the plot's general layout and color scheme
216 bgPaint.setColor(Color.BLACK);
286 Color.rgb(100, 25, 20),
287 Color.rgb(100, 25, 20),
299 Color.rgb(100, 25, 200),
300 Color.rgb(100, 25, 200),
314 Color.rgb(200, 25, 200),
315 Color.rgb(200, 25, 200),
327 Color.rgb(220, 25, 20),
    [all...]
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...]
  /external/ImageMagick/Magick++/lib/Magick++/
Image.h 16 #include "Magick++/Color.h"
77 // Construct a blank image canvas of specified size and color
78 Image(const Geometry &size_,const Color &color_);
108 // Transparent color
109 void alphaColor(const Color &alphaColor_);
110 Color alphaColor(void) const;
125 // Image background color
126 void backgroundColor(const Color &color_);
127 Color backgroundColor(void) const;
146 // Image border color
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
BarGraph.java 18 import org.eclipse.swt.graphics.Color;
85 Color bg= display.getSystemColor(SWT.COLOR_WHITE);
104 Color fg= display.getSystemColor(SWT.COLOR_BLACK);
146 Color lightblue= new Color(display, 237, 243, 254);
155 Color grey= display.getSystemColor(SWT.COLOR_GRAY);
179 // link color
180 Color blue= display.getSystemColor(SWT.COLOR_BLUE);
182 // Color green= display.getSystemColor(SWT.COLOR_GREEN);
183 // Color red= display.getSystemColor(SWT.COLOR_RED)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
CornerPathEffectTest.java 24 import android.graphics.Color;
58 pathPaint.setColor(Color.GREEN);
79 expectedPaint.setColor(Color.RED);
90 if (Color.green(pixel) > 0) {
93 assertEquals(Color.YELLOW, pixel);
PathDashPathEffectTest.java 24 import android.graphics.Color;
47 b.eraseColor(Color.BLACK);
53 p.setColor(Color.RED);
57 expected.eraseColor(Color.BLACK);
60 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/skia/include/codec/
SkEncodedInfo.h 32 * This sometimes results in redundant Alpha and Color information.
35 enum Color {
70 static SkEncodedInfo Make(Color color, Alpha alpha, int bitsPerComponent) {
77 switch (color) {
113 return SkEncodedInfo(color, alpha, bitsPerComponent);
117 * Returns an SkImageInfo with Skia color and alpha types that are the
157 Color color() const { return fColor; } function in struct:SkEncodedInfo
188 SkEncodedInfo(Color color, Alpha alpha, uint8_t bitsPerComponent
    [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);
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
SetupLayoutActivity.java 30 import android.graphics.Color;
84 * @param mainColor integer representing the color (i.e. not resource id)
105 * Removes transparency from the color
109 private Integer toSolidColor(Integer color) {
110 return Color.argb(255, Color.red(color), Color.green(color), Color.blue(color))
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
BarTransitions.java 23 import android.graphics.Color;
167 mOpaque = context.getColor(R.color.system_bar_background_opaque);
169 com.android.internal.R.color.system_bar_background_semi_transparent);
170 mTransparent = context.getColor(R.color.system_bar_background_transparent);
187 public void setTint(int color) {
189 mTintFilter = new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_IN);
191 mTintFilter.setColor(color);
267 mColor = Color.argb(
268 (int)(v * Color.alpha(targetColor) + Color.alpha(mColorStart) * (1 - v))
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
AdaptiveIconDrawableTest.java 14 import android.graphics.Color;
83 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE));
91 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE));
99 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE));
112 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE));
124 new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE))
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
TextureViewTests.java 26 import android.graphics.Color;
58 sRedTexture = createSurfaceTexture(true, Color.RED);
83 final SurfaceTexture texture = createSurfaceTexture(singleBuffered, Color.RED);
89 .runWithVerifier(new ColorVerifier(Color.RED));
125 .runWithVerifier(new ColorVerifier(Color.RED));
147 canvas.drawColor(Color.BLUE);
156 .runWithVerifier(new ColorVerifier(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...]
  /external/pdfium/xfa/fxfa/parser/
cxfa_fill.cpp 19 void CXFA_Fill::SetColor(FX_ARGB color) {
20 CXFA_Node* pNode = m_pNode->GetProperty(0, XFA_Element::Color);
23 ArgbDecode(color, a, r, g, b);
29 if (CXFA_Node* pNode = m_pNode->GetChild(0, XFA_Element::Color)) {
43 if (eType != XFA_Element::Color && eType != XFA_Element::Extras)
53 if (CXFA_Node* pColor = pNode->GetChild(0, XFA_Element::Color)) {
67 if (CXFA_Node* pColor = pNode->GetChild(0, XFA_Element::Color)) {
81 if (CXFA_Node* pColor = pNode->GetChild(0, XFA_Element::Color)) {
95 if (CXFA_Node* pColor = pNode->GetChild(0, XFA_Element::Color)) {
  /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);
  /frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
ProgressBarMixinTest.java 29 import android.graphics.Color;
108 mixin.setColor(ColorStateList.valueOf(Color.MAGENTA));
115 assertEquals(ColorStateList.valueOf(Color.MAGENTA),
117 assertEquals(ColorStateList.valueOf(Color.MAGENTA),
128 mixin.setColor(ColorStateList.valueOf(Color.YELLOW));
133 assertEquals(ColorStateList.valueOf(Color.YELLOW),
135 assertEquals(ColorStateList.valueOf(Color.YELLOW),

Completed in 1790 milliseconds

<<11121314151617181920>>