/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);
|
/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]);
|
/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);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
DrawableContainer.java | 651 // No need to call createAllFutures, since future drawables will 654 final Drawable[] drawables = mDrawables; local 656 if (drawables[i] != null) { 657 drawables[i].setLayoutDirection(layoutDirection); 665 // No need to call createAllFutures, since future drawables will 668 final Drawable[] drawables = mDrawables; local 670 if (drawables[i] != null) { 671 drawables[i].mutate(); 701 final Drawable[] drawables = mDrawables; local 703 if (drawables[i].getPadding(t)) 762 final Drawable[] drawables = mDrawables; local 804 final Drawable[] drawables = mDrawables; local 824 final Drawable[] drawables = mDrawables; local 852 final Drawable[] drawables = mDrawables; local [all...] |
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
DataUriThumbnailDrawable.java | 17 package com.android.photos.drawables;
|
AutoThumbnailDrawable.java | 17 package com.android.photos.drawables;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
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];
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ButtonDropTarget.java | 72 Drawable[] drawables = getCompoundDrawablesRelative(); local 73 for (int i = 0; i < drawables.length; ++i) { 74 if (drawables[i] != null) { 75 return drawables[i];
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewTest.java | 3315 Drawable[] drawables = tv.getCompoundDrawables(); local 3459 Drawable[] drawables = tv.getCompoundDrawables(); local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
DrawableResourceLoaderTest.java | 89 int[] drawables = { R.drawable.l7_white, R.drawable.l0_red, local 94 for (int i = 0; i < drawables.length; i++) { 95 Drawable drawable = resourceLoader.getXmlDrawable( drawables[i] );
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
PhotoSetLoader.java | 29 import com.android.photos.drawables.DataUriThumbnailDrawable;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
TransitionDrawableTest.java | 57 Drawable[] drawables = new Drawable[] { local 61 new TransitionDrawable(drawables);
|
/external/chromium_org/third_party/mesa/src/docs/ |
MESA_pixmap_colormap.spec | 32 Since Mesa allows RGB rendering into drawables with PseudoColor,
|
/external/mesa3d/docs/ |
MESA_pixmap_colormap.spec | 32 Since Mesa allows RGB rendering into drawables with PseudoColor,
|
/frameworks/base/services/java/com/android/server/ |
AssetAtlasService.java | 138 // We only care about drawables that hold bitmaps 140 final LongSparseArray<Drawable.ConstantState> drawables = resources.getPreloadedDrawables(); local 142 final int count = drawables.size(); 144 final Bitmap bitmap = drawables.valueAt(i).getBitmap(); 277 // list of preloaded drawables, abort and delete the configuration 585 * necessarily mean the preloaded drawables have changed. It is important 586 * however that whenever the list of preloaded drawables changes, this
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
GlowPadView.java | 242 // Read array of target drawables 575 ArrayList<TargetDrawable> drawables = new ArrayList<TargetDrawable>(count); local 579 drawables.add(target); 582 return drawables; 609 * Loads an array of drawables from the given resourceId. 1320 final ArrayList<TargetDrawable> drawables = mTargetDrawables; local [all...] |
MultiWaveView.java | 228 // Read array of chevron drawables 240 // Read array of target drawables 421 // Add an animation for all chevron drawables. There are mFeedbackCount drawables 610 ArrayList<TargetDrawable> drawables = new ArrayList<TargetDrawable>(count); local 614 drawables.add(target); 617 return drawables; 642 * Loads an array of drawables from the given resourceId. [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
GlowPadView.java | 236 // Read array of target drawables 565 ArrayList<TargetDrawable> drawables = new ArrayList<TargetDrawable>(count); local 569 drawables.add(target); 572 return drawables; 599 * Loads an array of drawables from the given resourceId. [all...] |
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
GlowPadView.java | 239 // Read array of target drawables 593 ArrayList<TargetDrawable> drawables = new ArrayList<TargetDrawable>(count); local 597 drawables.add(target); 600 return drawables; 627 * Loads an array of drawables from the given resourceId. 1293 final ArrayList<TargetDrawable> drawables = mTargetDrawables; local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
StopwatchFragment.java | [all...] |
/frameworks/base/tools/aapt/ |
Resource.cpp | 931 sp<ResourceTypeSet> drawables; local [all...] |
/frameworks/base/core/java/android/widget/ |
TextView.java | 305 static class Drawables { 329 public Drawables(Context context) { 337 // First reset "left" and "right" drawables to their initial values 355 // JB-MR1+ normal case: "start" / "end" drawables are overriding "left" / "right" 470 Drawables mDrawables; 4822 final TextView.Drawables drawables = mDrawables; local [all...] |