HomeSort by relevance Sort by last modified time
    Searched refs:BLACK (Results 1 - 25 of 169) sorted by null

1 2 3 4 5 6 7

  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
Config.java 40 private static final int BLACK = 0xFF000000;
47 // return white for froyo and earlier; black otherwise.
48 return platformVersion == 0 || platformVersion >= GINGERBREAD ? BLACK : WHITE;
103 // Black for froyo.
105 return BLACK;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
ColorChangeOnKeyView.java 27 * Changes color from black to blue on keyevent
30 private int mColor = Color.BLACK;
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
TextColor.java 26 BLACK(0x0),
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DaydreamVoiceAction.java 38 view.setBackgroundColor(Color.BLACK);
  /cts/tests/tests/text/src/android/text/style/cts/
TextAppearanceSpanTest.java 33 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK };
70 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK };
79 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK };
101 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK };
119 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK };
134 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK };
143 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK };
155 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK };
BackgroundColorSpanTest.java 42 BackgroundColorSpan backgroundColorSpan = new BackgroundColorSpan(Color.BLACK);
46 assertEquals(Color.BLACK, tp.bgColor);
ForegroundColorSpanTest.java 45 foregroundColorSpan = new ForegroundColorSpan(Color.BLACK);
46 assertEquals(Color.BLACK, foregroundColorSpan.getForegroundColor());
QuoteSpanTest.java 51 QuoteSpan quoteSpan = new QuoteSpan(Color.BLACK);
52 assertEquals(Color.BLACK, quoteSpan.getColor());
  /frameworks/base/core/java/android/view/accessibility/
CaptioningManager.java 353 this.backgroundColor = mHasBackgroundColor ? backgroundColor : Color.BLACK;
355 this.edgeColor = mHasEdgeColor ? edgeColor : Color.BLACK;
471 WHITE_ON_BLACK = new CaptionStyle(Color.WHITE, Color.BLACK, EDGE_TYPE_NONE,
472 Color.BLACK, COLOR_NONE_OPAQUE, null);
473 BLACK_ON_WHITE = new CaptionStyle(Color.BLACK, Color.WHITE, EDGE_TYPE_NONE,
474 Color.BLACK, COLOR_NONE_OPAQUE, null);
475 YELLOW_ON_BLACK = new CaptionStyle(Color.YELLOW, Color.BLACK, EDGE_TYPE_NONE,
476 Color.BLACK, COLOR_NONE_OPAQUE, null);
478 Color.BLACK, COLOR_NONE_OPAQUE, null);
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
ColorDrawableTest.java 125 d.setColorFilter(Color.BLACK, Mode.SRC_OVER);
126 assertEquals(Color.BLACK, DrawableTestingUtils.getPixel(d, 0, 0));
134 d.setTint(Color.BLACK);
136 assertEquals(Color.BLACK, DrawableTestingUtils.getPixel(d, 0, 0));
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
CanvasClientView.java 44 paint.setColor(Color.BLACK);
  /cts/tests/tests/graphics/src/android/graphics/cts/
AvoidXfermodeTest.java 54 b.eraseColor(Color.BLACK);
66 assertEquals(Color.BLACK, b.getPixel(BASE_SIZE + BASE_SIZE / 2, BASE_SIZE + BASE_SIZE / 2));
PixelXorXfermodeTest.java 38 target.eraseColor(Color.BLACK);
47 // black ^ green ^ cyan = blue
52 target.eraseColor(alphaColor(Color.BLACK, 42));
SumPathEffectTest.java 41 bitmap.eraseColor(Color.BLACK);
43 expected.eraseColor(Color.BLACK);
PaintFlagsDrawFilterTest.java 65 c.drawColor(Color.BLACK);
72 combinedBitmap.eraseColor(Color.BLACK);
81 assertEquals(Color.BLACK, pixelWithFilter);
113 // Create a bitmap with alternating black and white pixels.
116 int colors[] = new int [] { Color.WHITE, Color.BLACK };
128 // will be either black or white.
134 // Drawn without FILTER_BITMAP_FLAG, all pixels will be black or white.
148 // either black or white.
162 // Assert that at least one pixel is neither black nor white. This is used to verify that
163 // filtering was done, since the original bitmap only contained black and white pixels
    [all...]
LightingColorFilterTest.java 40 paint.setColorFilter(new LightingColorFilter(Color.WHITE, Color.BLACK));
45 paint.setColorFilter(new LightingColorFilter(Color.CYAN, Color.BLACK));
PathDashPathEffectTest.java 41 b.eraseColor(Color.BLACK);
51 expected.eraseColor(Color.BLACK);
PorterDuffColorFilterTest.java 56 target.eraseColor(Color.BLACK);
66 target.eraseColor(Color.BLACK);
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
CaptureRenderer.java 31 setBackground(Color.BLACK);
78 g.setColor(Color.BLACK);
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
ExactCanvasTests.java 67 p.setColor(Color.BLACK);
86 p.setColor(Color.BLACK);
104 p.setColor(Color.BLACK);
135 p.setColor(Color.BLACK);
165 canvas.drawColor(Color.BLACK);
  /frameworks/base/core/java/android/text/style/
SuggestionSpan.java 163 mMisspelledUnderlineColor = Color.BLACK;
164 mEasyCorrectUnderlineColor = Color.BLACK;
165 mAutoCorrectionUnderlineColor = Color.BLACK;
175 com.android.internal.R.styleable.SuggestionSpan_textUnderlineColor, Color.BLACK);
183 com.android.internal.R.styleable.SuggestionSpan_textUnderlineColor, Color.BLACK);
191 com.android.internal.R.styleable.SuggestionSpan_textUnderlineColor, Color.BLACK);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
PathEffects.java 67 mColors = new int[] { Color.BLACK, Color.RED, Color.BLUE,
68 Color.GREEN, Color.MAGENTA, Color.BLACK
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
ColorResourceLoaderTest.java 32 assertThat(colorResourceLoader.getValue(R.color.black), equalTo(0x000000));
58 assertThat(colorResourceLoader.getValue(android.R.color.black), equalTo(Color.BLACK));
68 assertThat(colorResourceLoader.getValue(R.color.android_namespaced_black), equalTo(Color.BLACK));
  /development/samples/devbytes/animation/KeyframeAnimation/src/com/example/android/keyframeanimation/
KeyframeAnimation.java 80 paint.setColor(Color.BLACK);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
KeyguardPreviewContainer.java 30 * A view group which contains the preview of phone/camera and draws a black bar at the bottom as
40 canvas.drawColor(Color.BLACK);

Completed in 253 milliseconds

1 2 3 4 5 6 7