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

1 2 3 4 5 6 7

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowLayerDrawable.java 17 protected Drawable[] drawables; field in class:ShadowLayerDrawable
20 public void __constructor__(Drawable[] drawables) {
21 this.drawables = drawables;
26 return drawables.length;
32 if( idx < drawables.length && idx >= 0 ) {
33 d = drawables[ idx ];
43 drawables[indexForId.get(id)] = drawable;
ShadowImageView.java 67 Drawable[] drawables = new Drawable[resourceIds.length]; local
70 drawables[i] = buildDrawable(resourceIds[i]);
74 for (Drawable drawable : drawables) {
79 LayerDrawable layerDrawable = new LayerDrawable(drawables);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
LayerDrawableTest.java 22 * drawables
30 * drawables
32 protected Drawable[] drawables; field in class:LayerDrawableTest
45 drawables = new Drawable[]{drawable1000, drawable2000, drawable3000};
50 LayerDrawable layerDrawable = new LayerDrawable(drawables);
51 assertSame("drawables", drawables, shadowOf(layerDrawable).drawables);
56 LayerDrawable layerDrawable = new LayerDrawable(drawables);
62 LayerDrawable layerDrawable = new LayerDrawable(drawables);
    [all...]
  /development/samples/devbytes/animation/CrossFading/src/com/example/android/crossfading/
CrossFading.java 31 * between two drawables.
54 BitmapDrawable drawables[] = new BitmapDrawable[2]; local
55 drawables[0] = new BitmapDrawable(getResources(), bitmap0);
56 drawables[1] = new BitmapDrawable(getResources(), bitmap1);
58 // Add the red/green bitmap drawables to a TransitionDrawable. They are layered
61 final TransitionDrawable crossfader = new TransitionDrawable(drawables);
  /development/samples/devbytes/animation/PictureViewer/src/com/example/android/pictureviewer/
PictureViewer.java 62 final BitmapDrawable drawables[] = new BitmapDrawable[drawableIDs.length]; local
66 drawables[i] = new BitmapDrawable(getResources(), bitmap);
68 prevImageView.setImageDrawable(drawables[0]);
69 nextImageView.setImageDrawable(drawables[1]);
84 (mCurrentDrawable + 1) % drawables.length;
86 (mCurrentDrawable + 1) % drawables.length;
87 prevImageView.setImageDrawable(drawables[mCurrentDrawable]);
88 nextImageView.setImageDrawable(drawables[nextDrawableIndex]);
  /frameworks/base/core/java/android/content/res/
package.html 4 such as raw asset files, colors, drawables, media or other other files
  /frameworks/base/graphics/java/android/graphics/drawable/
package.html 7 <p>You can create most of these drawables using XML, as described in <a
Animatable.java 20 * Interface that drawables suporting animations should implement.
Drawable.java 60 * Drawable where it is drawn and how large it should be. All Drawables
62 * imagery. A client can find the preferred size for some Drawables with
65 * <li> The {@link #getPadding} method can return from some Drawables
73 * Some drawables may modify their imagery based on the selected state.
77 * a battery level or progress level. Some drawables may modify their
88 * Though usually not visible to the application, Drawables may take a variety
99 * drawables on top of each other.
101 * drawables based on its state.
103 * drawables based on its level.
110 * <p>For more information about how to use drawables, read th
    [all...]
MipmapDrawable.java 33 * A resource that manages a number of alternate Drawables, and which actually draws the one which
38 * Use {@link #addDrawable(Drawable)} to define the different Drawables that will represent the
46 * Note that Drawables without intrinsic height (i.e. with a negative value, such as Color) will
47 * only be used if no other mipmap Drawable are provided. The Drawables' intrinsic heights should
78 * drawables are respectively 8, 32 and 128 pixels, the first one will be scaled down when the
93 * Adds a Drawable to the list of available mipmap Drawables. The Drawable actually used when
98 * @param drawable The Drawable that will be added to list of available mipmap Drawables.
234 * Adds a Drawable to the list of available mipmap Drawables. This list can be retrieved
DrawableContainer.java 414 final Drawable[] drawables = mDrawableContainerState.getChildren(); local
416 if (drawables[i] != null) drawables[i].mutate();
569 final Drawable[] drawables = mDrawables; local
571 if (drawables[i].getPadding(t)) {
627 final Drawable[] drawables = mDrawables; local
631 Drawable dr = drawables[i];
661 final Drawable[] drawables = mDrawables; local
662 int op = N > 0 ? drawables[0].getOpacity() : PixelFormat.TRANSPARENT;
664 op = Drawable.resolveOpacity(op, drawables[i].getOpacity())
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
DrawableObject.java 23 * class can be used to generate fire-and-forget drawables).
51 // Override to allow drawables to be sorted by texture.
56 // Function to allow drawables to specify culling rules.
  /packages/apps/Launcher2/src/com/android/launcher2/
StrokedTextView.java 107 final Drawable[] drawables = getCompoundDrawables(); local
108 for (int i = 0; i < drawables.length; ++i) {
109 if (drawables[i] != null) {
110 drawables[i].setBounds(drawableLeft, drawableTop,
111 drawableLeft + drawables[i].getIntrinsicWidth(),
112 drawableTop + drawables[i].getIntrinsicHeight());
113 drawables[i].draw(mCanvas);
ButtonDropTarget.java 74 Drawable[] drawables = getCompoundDrawablesRelative(); local
75 for (int i = 0; i < drawables.length; ++i) {
76 if (drawables[i] != null) {
77 return drawables[i];
PagedViewIcon.java 26 * drawables on the top).
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
drawable1-expected-completion50.txt 7 <layer-list ></layer-list> : Drawable used to render several drawables stacked on top of each other.
drawable1-expected-completion47.txt 7 <layer-list ></layer-list> : Drawable used to render several drawables stacked on top of each other.
  /cts/tests/tests/widget/src/android/widget/cts/
TextViewTest.java 3314 Drawable[] drawables = tv.getCompoundDrawables(); local
3458 Drawable[] drawables = tv.getCompoundDrawables(); local
    [all...]
  /frameworks/base/core/java/android/view/
ViewOverlay.java 29 * by adding and removing drawables.
41 * The actual container for the drawables (and views, if it's a ViewGroupOverlay).
96 * drawables and views added to their overlays ({@link ViewOverlay} and
97 * {@link ViewGroupOverlay}, respectively). Drawables are added to the overlay
104 * <p>Besides managing and drawing the list of drawables, this class serves
124 * The set of drawables to draw when the overlay is rendered.
  /development/samples/MultiResolution/
_index.html 8 drawables for creating scalable/stretchable graphics.</li>
  /development/samples/SkeletonApp/res/values/
colors.xml 19 and friends), we are also using it to define drawables that are
  /frameworks/base/core/java/android/content/
package.html 25 <dd>For retrieving resource data associated with an application, such as strings, drawables,
  /packages/apps/Gallery2/src/com/android/photos/drawables/
DataUriThumbnailDrawable.java 17 package com.android.photos.drawables;
MtpThumbnailDrawable.java 17 package com.android.photos.drawables;
  /packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
TargetDrawable.java 81 * This is changed from the framework version to pass in the number of drawables in the
87 * @param count The number of drawables in the resource.
140 * drawable in a valid state. Currently all targets with valid drawables are valid.
149 * Makes drawables in a StateListDrawable all the same dimensions.

Completed in 376 milliseconds

1 2 3 4 5 6 7