/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ColorDrawableTest.java | 35 import android.graphics.drawable.ColorDrawable; 42 @TestTargetClass(android.graphics.drawable.ColorDrawable.class) 48 method = "ColorDrawable", 54 method = "ColorDrawable", 59 new ColorDrawable(); 60 new ColorDrawable(0); 61 new ColorDrawable(1); 89 ColorDrawable colorDrawable = new ColorDrawable(); [all...] |
LayerDrawableTest.java | 34 import android.graphics.drawable.ColorDrawable; 64 Drawable colorDrawable = new ColorDrawable(Color.BLUE); 65 Drawable[] array = new Drawable[] { bitmapDrawable, colorDrawable }; 69 assertSame(colorDrawable, layerDrawable.getDrawable(1)); 100 assertEquals(ColorDrawable.class, layerDrawable.getDrawable(0).getClass()); 101 assertEquals(0x88, (((ColorDrawable) layerDrawable.getDrawable(0)).getAlpha())); 152 Drawable colorDrawable = new ColorDrawable(Color.BLUE); 153 Drawable[] array = new Drawable[] { bitmapDrawable, colorDrawable }; [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/ |
ContactsMockPackageManager.java | 20 import android.graphics.drawable.ColorDrawable; 32 return new ColorDrawable(); 37 return new ColorDrawable(); 43 return new ColorDrawable();
|
/cts/tests/res/drawable/ |
colordrawable_test.xml | 18 <ColorDrawable xmlns:android="http://schemas.android.com/apk/res/android" android:color="#02000000"> 20 </ColorDrawable>
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
ColorDrawable.java | 30 * Note that a ColorDrawable ignores the ColorFilter. 36 public class ColorDrawable extends Drawable { 41 * Creates a new black ColorDrawable. 43 public ColorDrawable() { 48 * Creates a new ColorDrawable with the specified color. 52 public ColorDrawable(int color) { 57 private ColorDrawable(ColorState state) { 122 * Setting a color filter on a ColorDrawable has no effect. 144 TypedArray a = r.obtainAttributes(attrs, com.android.internal.R.styleable.ColorDrawable); 173 return new ColorDrawable(this) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
CheckableFrameLayout.java | 20 import android.graphics.drawable.ColorDrawable; 38 setBackgroundDrawable(checked ? new ColorDrawable(0xff0000a0) : null);
|
/development/samples/Support13Demos/src/com/example/android/supportv13/view/ |
CheckableFrameLayout.java | 20 import android.graphics.drawable.ColorDrawable; 38 setBackgroundDrawable(checked ? new ColorDrawable(0xff0000a0) : null);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/view/ |
CheckableFrameLayout.java | 20 import android.graphics.drawable.ColorDrawable; 38 setBackgroundDrawable(checked ? new ColorDrawable(0xff0000a0) : null);
|
/frameworks/base/docs/html/sdk/api_diff/11/changes/ |
android.graphics.drawable.ColorDrawable.html | 10 android.graphics.drawable.ColorDrawable 74 Class android.graphics.drawable.<A HREF="../../../../reference/android/graphics/drawable/ColorDrawable.html" target="_top"><font size="+2"><code>ColorDrawable</code></font></A> 86 <A NAME="android.graphics.drawable.ColorDrawable.getColor_added()"></A> 87 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/ColorDrawable.html#getColor()" target="_top"><code>getColor</code></A>()</nobr> 93 <A NAME="android.graphics.drawable.ColorDrawable.setColor_added(int)"></A> 94 <nobr><code>void</code> <A HREF="../../../../reference/android/graphics/drawable/ColorDrawable.html#setColor(int)" target="_top"><code>setColor</code></A>(<code>int</code>)</nobr>
|
pkg_android.graphics.drawable.html | 84 <A NAME="ColorDrawable"></A> 85 <nobr><A HREF="android.graphics.drawable.ColorDrawable.html">ColorDrawable</A></nobr>
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
HtmlUtilsTest.java | 21 import android.graphics.drawable.ColorDrawable; 92 builder.setSpan(new ImageSpan(new ColorDrawable(), ImageSpan.ALIGN_BOTTOM), 0, 2, 0); 107 assertEquals(ColorDrawable.class, imageSpans[0].getDrawable().getClass());
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextGammaActivity.java | 25 import android.graphics.drawable.ColorDrawable; 67 getWindow().setBackgroundDrawable(new ColorDrawable(0xffffffff));
|
ColoredRectsActivity.java | 25 import android.graphics.drawable.ColorDrawable; 37 getWindow().setBackgroundDrawable(new ColorDrawable(0xff000000));
|
PointsActivity.java | 25 import android.graphics.drawable.ColorDrawable; 41 getWindow().setBackgroundDrawable(new ColorDrawable(0xff000000));
|
LinesActivity.java | 27 import android.graphics.drawable.ColorDrawable; 38 getWindow().setBackgroundDrawable(new ColorDrawable(0xffffffff));
|
Lines2Activity.java | 25 import android.graphics.drawable.ColorDrawable; 37 getWindow().setBackgroundDrawable(new ColorDrawable(0xff000000));
|
/packages/apps/Contacts/src/com/android/contacts/ |
TabStripView.java | 23 import android.graphics.drawable.ColorDrawable;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TabHost_TabSpecTest.java | 30 import android.graphics.drawable.ColorDrawable; 102 Drawable d = new ColorDrawable(Color.GRAY);
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
ImageDownloader.java | 27 import android.graphics.drawable.ColorDrawable; 353 static class DownloadedDrawable extends ColorDrawable {
|
/packages/apps/Camera/src/com/android/camera/ui/ |
SharePopup.java | 31 import android.graphics.drawable.ColorDrawable; 156 setBackgroundDrawable(new ColorDrawable());
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
BalloonHint.java | 24 import android.graphics.drawable.ColorDrawable; 96 setBackgroundDrawable(new ColorDrawable(0));
|
/development/apps/NinePatchLab/src/com/android/ninepatch/ |
NinePatchLab.java | 68 return new ColorDrawable(0xFF008800);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
BouncingBalls.java | 21 import android.graphics.drawable.ColorDrawable;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
ResourceHelper.java | 39 import android.graphics.drawable.ColorDrawable; 249 return new ColorDrawable(color);
|
/cts/tests/tests/view/src/android/view/cts/ |
WindowTest.java | 33 import android.graphics.drawable.ColorDrawable; 545 * transparent, you can use an empty drawable(eg. ColorDrawable with the color 0). 576 ColorDrawable drawable = new ColorDrawable(0); [all...] |