/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | PlaybackControlsRow.java | 65 public void setDrawables(Drawable[] drawables) { in setDrawables() argument 66 mDrawables = drawables; in setDrawables() 142 Drawable[] drawables = new Drawable[2]; 143 drawables[PLAY] = getStyledDrawable(context, 145 drawables[PAUSE] = getStyledDrawable(context, 147 setDrawables(drawables); 149 String[] labels = new String[drawables.length]; 255 Drawable[] drawables = new Drawable[2]; 256 drawables[SOLID] = getStyledDrawable(context, solidIconIndex); 257 drawables[OUTLINE] = getStyledDrawable(context, outlineIconIndex); [all …]
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | DrawableContainer.java | 784 final Drawable[] drawables = mDrawables; in setLayoutDirection() local 786 if (drawables[i] != null) { in setLayoutDirection() 787 drawables[i].setLayoutDirection(layoutDirection); in setLayoutDirection() 798 final Drawable[] drawables = mDrawables; in applyTheme() local 800 if (drawables[i] != null) { in applyTheme() 801 drawables[i].applyTheme(theme); in applyTheme() 811 final Drawable[] drawables = mDrawables; in canApplyTheme() local 813 final Drawable d = drawables[i]; in canApplyTheme() 833 final Drawable[] drawables = mDrawables; in mutate() local 835 if (drawables[i] != null) { in mutate() [all …]
|
/frameworks/base/docs/html/training/material/ |
D | index.jd | 32 <li>Vector drawables</li> 54 <dt><a href="{@docRoot}training/material/drawables.html">Working with Drawables</a></dt> 55 <dd>Learn how to create vector drawables and how to tint drawable resources.</dd>
|
D | drawables.jd | 21 <p>The following capabilities for drawables help you implement material design in your apps:</p> 26 <li>Vector drawables</li> 86 <p>In Android 5.0 (API Level 21) and above, you can define vector drawables, which scale without 118 about animating the properties of vector drawables, see
|
D | compatibility.jd | 81 href="{@docRoot}training/material/drawables.html#ColorExtract">extract prominent colors from 150 <li>Vector drawables</li>
|
D | animations.jd | 426 <p>The {@link android.graphics.drawable.AnimatedStateListDrawable} class lets you create drawables 459 <p><a href="{@docRoot}training/material/drawables.html#VectorDrawables">Vector Drawables</a> are 463 <p>You normally define animated vector drawables in three XML files:</p> 474 <p>Animated vector drawables can animate the attributes of the <code><group></code> and
|
/frameworks/base/docs/html/design/material/ |
D | index.jd | 127 Show animations in <strong>state list drawables</strong> between view state changes. 140 <p>These new capabilities for drawables help you implement material design apps:</p> 143 <li><strong>Vector drawables</strong> are scalable without losing definition and are perfect 151 <p>For more information, see <a href="{@docRoot}training/material/drawables.html">Working with
|
/frameworks/base/core/java/android/view/ |
D | ThreadedRenderer.java | 452 … final LongSparseArray<Drawable.ConstantState> drawables = resources.getPreloadedDrawables(); in validateMap() local 454 final int count = drawables.size(); in validateMap() 456 final Bitmap bitmap = drawables.valueAt(i).getBitmap(); in validateMap()
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
D | GlowPadView.java | 581 ArrayList<TargetDrawable> drawables = new ArrayList<TargetDrawable>(count); in loadDrawableArray() local 585 drawables.add(target); in loadDrawableArray() 588 return drawables; in loadDrawableArray() 1326 final ArrayList<TargetDrawable> drawables = mTargetDrawables; in replaceTargetDrawables() local 1327 final int size = drawables.size(); in replaceTargetDrawables() 1329 final TargetDrawable target = drawables.get(i); in replaceTargetDrawables()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AssetAtlasService.java | 139 final LongSparseArray<Drawable.ConstantState> drawables = resources.getPreloadedDrawables(); in AssetAtlasService() local 141 final int count = drawables.size(); in AssetAtlasService() 143 final Bitmap bitmap = drawables.valueAt(i).getBitmap(); in AssetAtlasService()
|
/frameworks/base/docs/html/guide/practices/ |
D | screens_support.jd | 29 <li><a href="#DesigningResources">Designing alternative layouts and drawables</a></li> 286 "wrap_content"}, as appropriate. The system then scales bitmap drawables as appropriate in order to 302 of an application's layout and bitmap drawables in an appropriate way for the current screen 304 screen configuration by scaling layouts to fit the screen size/density and scaling bitmap drawables 338 <li><strong>Provide different bitmap drawables for different screen densities</strong> 339 <p>By default, Android scales your bitmap drawables ({@code .png}, {@code .jpg}, and {@code 340 .gif} files) and Nine-Patch drawables ({@code .9.png} files) so that they render at the appropriate 341 physical size on each device. For example, if your application provides bitmap drawables only for 542 provides different layout designs for different screen sizes and different bitmap drawables 583 <h3 id="DesigningResources">Designing alternative layouts and drawables</h3> [all …]
|
/frameworks/base/docs/html/guide/topics/graphics/ |
D | 2d-graphics.jd | 16 <li><a href="#drawables">Drawables</a> 18 <li><a href="#drawables-from-images">Creating from resource images</a></li> 19 <li><a href="#drawables-from-xml">Creating from resource XML</a></li> 53 an otherwise static application. Read <a href="#drawables">Drawables</a> for more information.</li> 183 <h2 id="drawables">Drawables</h2> 206 <h3 id="drawables-from-images">Creating from resource images</h3> 282 <h3 id="drawables-from-xml">Creating from resource XML</h3>
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 2007 final boolean drawables = left != null || top != null || right != null || bottom != null; in setCompoundDrawables() 2008 if (!drawables) { in setCompoundDrawables() 2202 final boolean drawables = start != null || top != null in setCompoundDrawablesRelative() 2205 if (!drawables) { in setCompoundDrawablesRelative() 5069 final TextView.Drawables drawables = mDrawables; in invalidateDrawable() local 5070 if (drawables != null) { in invalidateDrawable() 5071 if (drawable == drawables.mDrawableLeft) { in invalidateDrawable() 5077 scrollY += compoundPaddingTop + (vspace - drawables.mDrawableHeightLeft) / 2; in invalidateDrawable() 5079 } else if (drawable == drawables.mDrawableRight) { in invalidateDrawable() 5084 scrollX += (mRight - mLeft - mPaddingRight - drawables.mDrawableSizeRight); in invalidateDrawable() [all …]
|
D | RemoteViews.java | 1560 Drawable[] drawables = isRelative in apply() 1566 Drawable d = drawables[index]; in apply()
|
/frameworks/base/tools/aapt/ |
D | Resource.cpp | 1155 sp<ResourceTypeSet> drawables; in buildResources() local 1190 if (!applyFileOverlay(bundle, assets, &drawables, "drawable") || in buildResources() 1206 if (drawables != NULL) { in buildResources() 1208 err = preProcessImages(bundle, assets, drawables, "drawable"); in buildResources() 1211 err = makeFileResources(bundle, assets, &table, drawables, "drawable"); in buildResources() 1436 if (drawables != NULL) { in buildResources() 1437 ResourceDirIterator it(drawables, String8("drawable")); in buildResources()
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | overview.jd | 85 application menus, drawables, animations, and more.</dd>
|
D | localization.jd | 141 the resources that your application calls upon — layouts, drawables, 157 <p>The default resource set must also include any default drawables and layouts, 403 the display of strings and drawables in your UI.</p>
|
D | providing-resources.jd | 114 <li>Animation drawables</li> 115 <li>Other drawables</li> 334 <p>This can apply to any resource such as layouts, drawables, or values. 975 provide alternative drawables for all three types of density.</p> 1007 drawables from {@code drawable-en-port}.</p>
|
D | more-resources.jd | 24 for an array of drawables).</dd> 615 this to create an array of other resources, such as drawables. Note that the array
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
D | icon_design_tab.jd | 118 selected and unselected icon drawables. For example, below is the code 297 local copy of those icons or drawables in your application resources,
|
D | icon_design_action_bar.jd | 191 drawable resources, you should store a local copy of those icons or drawables in your application
|
D | icon_design_status_bar.jd | 238 drawable resources, you should store a local copy of those icons or drawables in your application 387 drawable resources, you should store a local copy of those icons or drawables in
|
D | icon_design_menu.jd | 241 drawable resources, you should store a local copy of those icons or drawables in
|
/frameworks/base/docs/html/training/improving-layouts/ |
D | optimizing-layout.jd | 139 <li>Use compound drawables - A {@link android.widget.LinearLayout} which contains an {@link android…
|
/frameworks/base/docs/html/about/versions/ |
D | lollipop.jd | 99 <p>You can also define vector drawables in XML and animate them in a variety of ways. Vector drawab…
|