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

1 2

  /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 66 * Sets the array of drawables. The size of the array defines the range
69 public void setDrawables(Drawable[] drawables) {
70 mDrawables = drawables;
178 Drawable[] drawables = new Drawable[2];
179 drawables[PLAY] = getStyledDrawable(context,
181 drawables[PAUSE] = getStyledDrawable(context,
183 setDrawables(drawables);
185 String[] labels = new String[drawables.length];
218 Drawable[] drawables = new Drawable[numSpeeds + 1];
219 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/eclair-mr1/src/com/android/setupwizardlib/view/
NavigationBarButton.java 44 Drawable[] drawables = getCompoundDrawablesRelative(); local
45 for (int i = 0; i < drawables.length; i++) {
46 if (drawables[i] != null) {
47 drawables[i] = TintedDrawable.wrap(drawables[i]);
50 setCompoundDrawablesRelativeWithIntrinsicBounds(drawables[0], drawables[1],
51 drawables[2], drawables[3]);
95 Drawable[] drawables = new Drawable[6] local
    [all...]
  /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);
  /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)
SkPictureRecorder.cpp 111 SkDrawable* const* drawables = nullptr; local
115 drawables = drawableList->begin();
117 SkRecordDraw(*fRecord, canvas, nullptr, drawables, drawableCount, nullptr/*bbh*/, nullptr/*callback*/);
143 SkDrawable* const* drawables = nullptr; variable
146 drawables = fDrawableList->begin();
149 SkRecordDraw(*fRecord, canvas, nullptr, drawables, drawableCount, fBBH, nullptr/*callback*/);
  /frameworks/base/graphics/java/android/graphics/drawable/
DrawableContainer.java 784 // Create futures for drawables with constant states. If a
810 * Adds the drawable to the end of the list of contained drawables.
904 // No need to call createAllFutures, since future drawables will
907 final Drawable[] drawables = mDrawables; local
909 if (drawables[i] != null) {
910 final boolean childChanged = drawables[i].setLayoutDirection(layoutDirection);
950 final Drawable[] drawables = mDrawables; local
952 if (drawables[i] != null && drawables[i].canApplyTheme()) {
953 drawables[i].applyTheme(theme)
967 final Drawable[] drawables = mDrawables; local
989 final Drawable[] drawables = mDrawables; local
1001 final Drawable[] drawables = mDrawables; local
1034 final Drawable[] drawables = mDrawables; local
1095 final Drawable[] drawables = mDrawables; local
1137 final Drawable[] drawables = mDrawables; local
1157 final Drawable[] drawables = mDrawables; local
1185 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];
  /cts/tests/tests/widget/src/android/widget/cts/
TextViewTest.java 3019 Drawable[] drawables = mTextView.getCompoundDrawables(); local
4794 Drawable[] drawables = tv.getCompoundDrawables(); local
4938 Drawable[] drawables = tv.getCompoundDrawables(); local
    [all...]
  /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] );
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
BackgroundManager.java 74 * <li>two Drawables, previous and current (set via {@link #setBitmap} or
78 * <p>BackgroundManager holds references to potentially large bitmap Drawables.
260 public TranslucentLayerDrawable(Drawable[] drawables) {
261 super(drawables);
262 int count = drawables.length;
265 mWrapper[i] = new DrawableWrapper(drawables[i]);
364 public OptimizedTranslucentLayerDrawable(Drawable[] drawables) {
365 super(drawables);
431 Drawable[] drawables = new Drawable[numChildren]; local
433 drawables[i] = layerDrawable.getDrawable(i)
    [all...]
  /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/mesa3d/docs/
MESA_pixmap_colormap.spec 32 Since Mesa allows RGB rendering into drawables with PseudoColor,
  /external/v8/build/android/play_services/
preprocess.py 14 drawables, etc.
  /frameworks/base/services/core/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();
145 totalPixelCount += drawables.valueAt(i).addAtlasableBitmaps(bitmaps);
275 // list of preloaded drawables, abort and delete the configuration
557 * necessarily mean the preloaded drawables have changed. It is important
558 * however that whenever the list of preloaded drawables changes, this
  /prebuilts/maven_repo/android/com/android/databinding/adapters/1.0-rc0/
adapters-1.0-rc0.jar 
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/widget/multiwaveview/
GlowPadView.java 251 // Read array of target drawables
605 ArrayList<TargetDrawable> drawables = new ArrayList<TargetDrawable>(count); local
609 drawables.add(target);
612 return drawables;
638 * Loads an array of drawables from the given resourceId.
1317 final ArrayList<TargetDrawable> drawables = mTargetDrawables; local
    [all...]

Completed in 554 milliseconds

1 2