HomeSort by relevance Sort by last modified time
    Searched full:layerdrawable (Results 1 - 25 of 47) sorted by null

1 2

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
LayerDrawableTest.java 6 import android.graphics.drawable.LayerDrawable;
50 LayerDrawable layerDrawable = new LayerDrawable(drawables);
51 assertSame("drawables", drawables, shadowOf(layerDrawable).drawables);
56 LayerDrawable layerDrawable = new LayerDrawable(drawables);
57 assertEquals("count", 3, layerDrawable.getNumberOfLayers());
62 LayerDrawable layerDrawable = new LayerDrawable(drawables)
    [all...]
ImageViewTest.java 9 import android.graphics.drawable.LayerDrawable;
74 assertFalse("LayerDrawable",
75 imageView.getDrawable() instanceof LayerDrawable);
97 assertTrue("LayerDrawable",
98 imageView.getDrawable() instanceof LayerDrawable);
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
LayerDrawableTest.java 38 import android.graphics.drawable.LayerDrawable;
53 LayerDrawable layerDrawable = new LayerDrawable(array);
54 assertEquals(array.length, layerDrawable.getNumberOfLayers());
55 assertSame(bitmapDrawable, layerDrawable.getDrawable(0));
56 assertSame(colorDrawable, layerDrawable.getDrawable(1));
59 layerDrawable = new LayerDrawable(array);
60 assertEquals(0, layerDrawable.getNumberOfLayers())
    [all...]
  /development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/ui/
RecyclingImageView.java 21 import android.graphics.drawable.LayerDrawable;
80 } else if (drawable instanceof LayerDrawable) {
81 // The drawable is a LayerDrawable, so recurse on each layer
82 LayerDrawable layerDrawable = (LayerDrawable) drawable;
83 for (int i = 0, z = layerDrawable.getNumberOfLayers(); i < z; i++) {
84 notifyDrawable(layerDrawable.getDrawable(i), isDisplayed);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowLayerDrawable.java 4 import android.graphics.drawable.LayerDrawable;
12 @Implements(LayerDrawable.class)
15 protected LayerDrawable realLayerDrawable;
ShadowImageView.java 10 import android.graphics.drawable.LayerDrawable;
58 * Build drawable, either LayerDrawable or BitmapDrawable.
79 LayerDrawable layerDrawable = new LayerDrawable(drawables);
80 shadowOf(layerDrawable).setLoadedFromResourceId(resourceId);
81 return layerDrawable;
  /developers/build/prebuilts/gradle/RenderScriptIntrinsic/RenderScriptIntrinsicSample/src/main/java/com/example/android/renderscriptintrinsic/
ThumbnailRadioButton.java 24 import android.graphics.drawable.LayerDrawable;
37 Each state has a LayerDrawable with a Thumbnail image and a Focus rectangle.
38 It's using original Radio Buttons text as a label, because LayerDrawable showed some issues with Canvas.drawText().
74 LayerDrawable layerChecked = new LayerDrawable(drawableArray);
84 LayerDrawable layerUnchecked = new LayerDrawable(drawableArray2);
  /developers/samples/android/renderScript/RenderScriptIntrinsic/RenderScriptIntrinsicSample/src/main/java/com/example/android/renderscriptintrinsic/
ThumbnailRadioButton.java 24 import android.graphics.drawable.LayerDrawable;
37 Each state has a LayerDrawable with a Thumbnail image and a Focus rectangle.
38 It's using original Radio Buttons text as a label, because LayerDrawable showed some issues with Canvas.drawText().
74 LayerDrawable layerChecked = new LayerDrawable(drawableArray);
84 LayerDrawable layerUnchecked = new LayerDrawable(drawableArray2);
  /frameworks/base/core/java/android/widget/
ToggleButton.java 23 import android.graphics.drawable.LayerDrawable;
138 if (backgroundDrawable instanceof LayerDrawable) {
139 LayerDrawable layerDrawable = (LayerDrawable) backgroundDrawable;
141 layerDrawable.findDrawableByLayerId(com.android.internal.R.id.toggle);
ProgressBar.java 33 import android.graphics.drawable.LayerDrawable;
324 if (drawable instanceof LayerDrawable) {
325 LayerDrawable background = (LayerDrawable) drawable;
335 LayerDrawable newBg = new LayerDrawable(outDrawables);
646 if (d instanceof LayerDrawable) {
647 progressDrawable = ((LayerDrawable) d).findDrawableByLayerId(id);
    [all...]
  /frameworks/opt/colorpicker/src/com/android/colorpicker/
ColorStateDrawable.java 22 import android.graphics.drawable.LayerDrawable;
28 public class ColorStateDrawable extends LayerDrawable {
ColorPickerSwatch.java 23 import android.graphics.drawable.LayerDrawable;
  /frameworks/base/docs/html/sdk/api_diff/11/changes/
android.graphics.drawable.LayerDrawable.html 10 android.graphics.drawable.LayerDrawable
74 Class android.graphics.drawable.<A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html" target="_top"><font size="+2"><code>LayerDrawable</code></font></A>
86 <A NAME="android.graphics.drawable.LayerDrawable.setOpacity_added(int)"></A>
87 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#setOpacity(int)" target="_top"><code>setOpacity</code></A>(<code>int</code>)</nobr>
pkg_android.graphics.drawable.html 112 <A NAME="LayerDrawable"></A>
113 <nobr><A HREF="android.graphics.drawable.LayerDrawable.html">LayerDrawable</A></nobr>
  /external/chromium_org/ui/android/java/src/org/chromium/ui/
ColorSuggestionListAdapter.java 10 import android.graphics.drawable.LayerDrawable;
71 LayerDrawable layers = (LayerDrawable) button.getBackground();
  /packages/apps/Browser/src/com/android/browser/
XLargeUi.java 25 import android.graphics.drawable.LayerDrawable;
298 LayerDrawable d = new LayerDrawable(array);
  /frameworks/base/graphics/java/android/graphics/drawable/
LayerDrawable.java 49 public class LayerDrawable extends Drawable implements Drawable.Callback {
66 public LayerDrawable(Drawable[] layers) {
77 LayerDrawable(Drawable[] layers, LayerState state) {
94 LayerDrawable() {
98 LayerDrawable(LayerState state, Resources res) {
117 TypedArray a = r.obtainAttributes(attrs, com.android.internal.R.styleable.LayerDrawable);
654 LayerState(LayerState orig, LayerDrawable owner, Resources res) {
696 return new LayerDrawable(this, null);
701 return new LayerDrawable(this, res);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
DrawableResourceLoader.java 6 import android.graphics.drawable.LayerDrawable;
79 return new LayerDrawable(null);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
DrawableResourceLoaderTest.java 4 import android.graphics.drawable.LayerDrawable;
103 assertThat( drawable, instanceOf( LayerDrawable.class ) );
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ProgressBarICS.java 32 import android.graphics.drawable.LayerDrawable;
163 if (drawable instanceof LayerDrawable) {
164 LayerDrawable background = (LayerDrawable) drawable;
174 LayerDrawable newBg = new LayerDrawable(outDrawables);
423 if (d instanceof LayerDrawable) {
424 progressDrawable = ((LayerDrawable) d).findDrawableByLayerId(id);
  /packages/apps/Calendar/src/com/android/calendar/
SearchActivity.java 31 import android.graphics.drawable.LayerDrawable;
257 LayerDrawable icon = (LayerDrawable) menuItem.getIcon();
  /packages/apps/MusicFX/src/com/android/musicfx/seekbar/
ProgressBar.java 33 import android.graphics.drawable.LayerDrawable;
313 if (drawable instanceof LayerDrawable) {
314 LayerDrawable background = (LayerDrawable) drawable;
324 LayerDrawable newBg = new LayerDrawable(outDrawables);
598 if (d instanceof LayerDrawable) {
599 progressDrawable = ((LayerDrawable) d).findDrawableByLayerId(id);
    [all...]
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PhotoTable.java 27 import android.graphics.drawable.LayerDrawable;
476 LayerDrawable layerList = new LayerDrawable(layers);
    [all...]
  /packages/apps/InCallUI/src/com/android/incallui/
CallButtonFragment.java 19 import android.graphics.drawable.LayerDrawable;
428 final LayerDrawable layers = (LayerDrawable) mAudioButton.getBackground();
AnimationUtils.java 25 import android.graphics.drawable.LayerDrawable;
153 private static class CrossFadeDrawable extends LayerDrawable {

Completed in 977 milliseconds

1 2