/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
MultiActionsProvider.java | 34 * the current index within the drawables. Both list of drawables and index can be updated 49 * Sets the drawables used for displaying different states within this {@link MultiAction}. 50 * The size of drawables determines the set of states this action represents. 51 * @param drawables Array of drawables for different MultiAction states. 53 public void setDrawables(Drawable[] drawables) { 54 mDrawables = drawables; 55 if (mIndex > drawables.length - 1) { 56 mIndex = drawables.length - 1 [all...] |
PlaybackControlsRow.java | 94 * Sets the array of drawables. The size of the array defines the range 97 public void setDrawables(Drawable[] drawables) { 98 mDrawables = drawables; 220 Drawable[] drawables = new Drawable[2]; 221 drawables[INDEX_PLAY] = getStyledDrawable(context, 223 drawables[INDEX_PAUSE] = getStyledDrawable(context, 225 setDrawables(drawables); 227 String[] labels = new String[drawables.length]; 260 Drawable[] drawables = new Drawable[numSpeeds + 1]; 261 drawables[0] = getStyledDrawable(context [all...] |
/external/robolectric/v1/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);
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/ |
NavigationBarButton.java | 30 * Button for navigation bar, which includes tinting of its compound drawables to be used for dark 49 Drawable[] drawables = getCompoundDrawablesRelative(); local 50 for (int i = 0; i < drawables.length; i++) { 51 if (drawables[i] != null) { 52 drawables[i] = TintedDrawable.wrap(drawables[i]); 55 setCompoundDrawablesRelativeWithIntrinsicBounds(drawables[0], drawables[1], 56 drawables[2], drawables[3]) 100 Drawable[] drawables = new Drawable[6]; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
KeyButtonDrawable.java | 42 private KeyButtonDrawable(Drawable[] drawables) { 43 super(drawables); 44 for (int i = 0; i < drawables.length; i++) { 48 mHasDarkDrawable = drawables.length > 1;
|
/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/v1/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);
|
/cts/tests/tests/view/src/android/view/cts/ |
View_DefaultFocusHighlightTest.java | 124 final Drawable[] drawables = new Drawable[] { local 138 for (int i = 0; i < drawables.length; i++) { 139 for (int j = 0; j < drawables.length; j++) { 142 isNeeded = button.isDefaultFocusHighlightNeeded(drawables[i], drawables[j]); 147 isNeeded = button.isDefaultFocusHighlightNeeded(drawables[i], drawables[j]); 153 for (int k = 0; k < drawables.length; k++) { 154 imageView.setImageDrawable(drawables[k]); 155 for (int i = 0; i < drawables.length; i++) [all...] |
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
TextViewBindingAdapter.java | 147 Drawable[] drawables = view.getCompoundDrawables(); local 148 view.setCompoundDrawables(drawables[0], drawables[1], drawables[2], drawable); 154 Drawable[] drawables = view.getCompoundDrawables(); local 155 view.setCompoundDrawables(drawable, drawables[1], drawables[2], drawables[3]); 161 Drawable[] drawables = view.getCompoundDrawables(); local 162 view.setCompoundDrawables(drawables[0], drawables[1], drawable 169 Drawable[] drawables = view.getCompoundDrawables(); local 180 Drawable[] drawables = view.getCompoundDrawablesRelative(); local 191 Drawable[] drawables = view.getCompoundDrawablesRelative(); local [all...] |
/external/skia/src/core/ |
SkRecordDraw.h | 31 SkDrawable* const drawables[], int drawableCount, 49 SkDrawable* const drawables[], int drawableCount, 54 , fDrawables(drawables)
|
SkRecordedDrawable.cpp | 17 SkDrawable* const* drawables = nullptr; local 20 drawables = fDrawableList->begin(); 23 SkRecordDraw(*fRecord, canvas, nullptr, drawables, drawableCount, fBBH.get(), nullptr); 66 // Flatten the recorded commands and drawables.
|
SkPictureRecorder.cpp | 107 SkDrawable* const* drawables = nullptr; local 111 drawables = drawableList->begin(); 113 SkRecordDraw(*fRecord, canvas, nullptr, drawables, drawableCount, nullptr/*bbh*/, nullptr/*callback*/);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
PowerGaugePreferenceTest.java | 80 final Drawable[] drawables = ((TextView) mPreferenceViewHolder.findViewById( local 83 assertThat(drawables[0]).isInstanceOf(VectorDrawable.class); 91 final Drawable[] drawables = ((TextView) mPreferenceViewHolder.findViewById( local 94 assertThat(drawables[0]).isNull();
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
DrawableContainer.java | 802 // Create futures for drawables with constant states. If a 828 * Adds the drawable to the end of the list of contained drawables. 930 // No need to call createAllFutures, since future drawables will 933 final Drawable[] drawables = mDrawables; local 935 if (drawables[i] != null) { 936 final boolean childChanged = drawables[i].setLayoutDirection(layoutDirection); 976 final Drawable[] drawables = mDrawables; local 978 if (drawables[i] != null && drawables[i].canApplyTheme()) { 979 drawables[i].applyTheme(theme) 993 final Drawable[] drawables = mDrawables; local 1015 final Drawable[] drawables = mDrawables; local 1027 final Drawable[] drawables = mDrawables; local 1060 final Drawable[] drawables = mDrawables; local 1121 final Drawable[] drawables = mDrawables; local 1161 final Drawable[] drawables = mDrawables; local 1180 final Drawable[] drawables = mDrawables; local 1210 final Drawable[] drawables = mDrawables; local [all...] |
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
DataUriThumbnailDrawable.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];
|
/external/robolectric/v1/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 | 74 Drawable[] drawables = new Drawable[] { local 78 new TransitionDrawable(drawables);
|
/external/mesa3d/docs/specs/ |
MESA_pixmap_colormap.spec | 32 Since Mesa allows RGB rendering into drawables with PseudoColor,
|
/frameworks/base/core/java/android/util/ |
LauncherIcons.java | 117 Drawable[] drawables = base == null local 120 return new LayerDrawable(drawables);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
BackgroundManager.java | 71 * <li>two Drawables, previous and current (set via {@link #setBitmap} or 75 * <p>BackgroundManager holds references to potentially large bitmap Drawables. 251 TranslucentLayerDrawable(BackgroundManager manager, Drawable[] drawables) { 252 super(drawables); 254 int count = drawables.length; 257 mWrapper[i] = new DrawableWrapper(drawables[i]); 394 Drawable[] drawables = new Drawable[numChildren]; local 396 drawables[i] = layerDrawable.getDrawable(i); 398 TranslucentLayerDrawable result = new TranslucentLayerDrawable(this, drawables); 696 * Release references to Drawables and put the BackgroundManager into th [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewTest.java | 3871 Drawable[] drawables = mTextView.getCompoundDrawables(); local 3967 Drawable[] drawables = mTextView.getCompoundDrawablesRelative(); local [all...] |