Searched refs:drawables (Results 1 - 9 of 9) sorted by relevance

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPlaybackControlsRow.java63 * Sets the array of drawables. The size of the array defines the range
66 public void setDrawables(Drawable[] drawables) { argument
67 mDrawables = drawables;
175 Drawable[] drawables = new Drawable[2];
176 drawables[PLAY] = getStyledDrawable(context,
178 drawables[PAUSE] = getStyledDrawable(context,
180 setDrawables(drawables);
182 String[] labels = new String[drawables.length];
212 Drawable[] drawables = new Drawable[numSpeeds];
213 drawables[
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableContainer.java730 // Create futures for drawables with constant states. If a
828 // No need to call createAllFutures, since future drawables will
831 final Drawable[] drawables = mDrawables;
833 if (drawables[i] != null) {
834 drawables[i].setLayoutDirection(layoutDirection);
846 final Drawable[] drawables = mDrawables;
848 if (drawables[i] != null && drawables[i].canApplyTheme()) {
849 drawables[i].applyTheme(theme);
858 final Drawable[] drawables
[all...]
/frameworks/base/core/java/android/view/
H A DThreadedRenderer.java464 // We only care about drawables that hold bitmaps
466 final LongSparseArray<Drawable.ConstantState> drawables = resources.getPreloadedDrawables();
468 final int count = drawables.size();
471 drawables.valueAt(i).addAtlasableBitmaps(tmpList);
/frameworks/base/services/core/java/com/android/server/
H A DAssetAtlasService.java140 // We only care about drawables that hold bitmaps
142 final LongSparseArray<Drawable.ConstantState> drawables = resources.getPreloadedDrawables();
144 final int count = drawables.size();
147 totalPixelCount += drawables.valueAt(i).addAtlasableBitmaps(bitmaps);
281 // list of preloaded drawables, abort and delete the configuration
588 * necessarily mean the preloaded drawables have changed. It is important
589 * however that whenever the list of preloaded drawables changes, this
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java252 // Read array of target drawables
581 ArrayList<TargetDrawable> drawables = new ArrayList<TargetDrawable>(count);
585 drawables.add(target);
588 return drawables;
615 * Loads an array of drawables from the given resourceId.
1180 // Reposition the target drawables if the view changed.
1257 Log.w(TAG, "The number of target drawables must be"
1269 Log.w(TAG, "The number of target drawables must be"
1326 final ArrayList<TargetDrawable> drawables = mTargetDrawables;
1327 final int size = drawables
[all...]
/frameworks/base/core/java/android/widget/
H A DTextView.java347 // First reset "left" and "right" drawables to their initial values
365 // JB-MR1+ normal case: "start" / "end" drawables are overriding "left" / "right"
1244 // This call will save the initial left/right drawables
2015 final boolean drawables = left != null || top != null || right != null || bottom != null;
2016 if (!drawables) {
2017 // Clearing drawables... can we free the data structure?
2111 // Save initial left/right drawables
2210 final boolean drawables = start != null || top != null
2213 if (!drawables) {
2214 // Clearing drawables
[all...]
H A DRemoteViews.java1392 * Helper action to set compound drawables on a TextView. Supports relative
1574 Drawable[] drawables = isRelative
1580 Drawable d = drawables[index];
2032 * Equivalent to applying a color filter on one of the drawables in
/frameworks/base/tools/aapt/
H A DResource.cpp1172 sp<ResourceTypeSet> drawables; local
1207 if (!applyFileOverlay(bundle, assets, &drawables, "drawable") ||
1223 if (drawables != NULL) {
1225 err = preProcessImages(bundle, assets, drawables, "drawable");
1228 err = makeFileResources(bundle, assets, &table, drawables, "drawable");
1453 if (drawables != NULL) {
1454 ResourceDirIterator it(drawables, String8("drawable"));
/frameworks/base/docs/html/training/
H A Dtraining_toc.cs1380 <li><a href="<?cs var:toroot ?>training/material/drawables.html">

Completed in 1142 milliseconds