/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | PlaybackControlsRow.java | 69 public void setDrawables(Drawable[] drawables) { in setDrawables() argument 70 mDrawables = drawables; in setDrawables() 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]; 219 drawables[0] = getStyledDrawable(context, 221 setDrawables(drawables); [all …]
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
D | TextViewBindingAdapter.java | 117 Drawable[] drawables = view.getCompoundDrawables(); in setDrawableBottom() local 118 view.setCompoundDrawables(drawables[0], drawables[1], drawables[2], drawable); in setDrawableBottom() 123 Drawable[] drawables = view.getCompoundDrawables(); in setDrawableLeft() local 124 view.setCompoundDrawables(drawable, drawables[1], drawables[2], drawables[3]); in setDrawableLeft() 129 Drawable[] drawables = view.getCompoundDrawables(); in setDrawableRight() local 130 view.setCompoundDrawables(drawables[0], drawables[1], drawable, drawables[3]); in setDrawableRight() 135 Drawable[] drawables = view.getCompoundDrawables(); in setDrawableTop() local 136 view.setCompoundDrawables(drawables[0], drawable, drawables[2], drawables[3]); in setDrawableTop() 144 Drawable[] drawables = view.getCompoundDrawablesRelative(); in setDrawableStart() local 145 view.setCompoundDrawablesRelative(drawable, drawables[1], drawables[2], drawables[3]); in setDrawableStart() [all …]
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | DrawableContainer.java | 842 final Drawable[] drawables = mDrawables; in setLayoutDirection() local 844 if (drawables[i] != null) { in setLayoutDirection() 845 final boolean childChanged = drawables[i].setLayoutDirection(layoutDirection); in setLayoutDirection() 862 final Drawable[] drawables = mDrawables; in applyTheme() local 864 if (drawables[i] != null && drawables[i].canApplyTheme()) { in applyTheme() 865 drawables[i].applyTheme(theme); in applyTheme() 868 mChildrenChangingConfigurations |= drawables[i].getChangingConfigurations(); in applyTheme() 877 final Drawable[] drawables = mDrawables; in canApplyTheme() local 879 final Drawable d = drawables[i]; in canApplyTheme() 899 final Drawable[] drawables = mDrawables; in mutate() local [all …]
|
/frameworks/base/docs/html/training/material/ |
D | index.jd | 31 <li>Vector drawables</li> 53 <dt><a href="{@docRoot}training/material/drawables.html">Working with Drawables</a></dt> 54 <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> 97 <p>In Android 5.0 (API Level 21) and above, you can define vector drawables, which scale without 129 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 | 429 <p>The {@link android.graphics.drawable.AnimatedStateListDrawable} class lets you create drawables 462 <p><a href="{@docRoot}training/material/drawables.html#VectorDrawables">Vector Drawables</a> are 466 <p>You normally define animated vector drawables in three XML files:</p> 477 <p>Animated vector drawables can animate the attributes of the <code><group></code> and
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | BackgroundManager.java | 260 public TranslucentLayerDrawable(Drawable[] drawables) { in TranslucentLayerDrawable() argument 261 super(drawables); in TranslucentLayerDrawable() 262 int count = drawables.length; in TranslucentLayerDrawable() 265 mWrapper[i] = new DrawableWrapper(drawables[i]); in TranslucentLayerDrawable() 364 public OptimizedTranslucentLayerDrawable(Drawable[] drawables) { in OptimizedTranslucentLayerDrawable() argument 365 super(drawables); in OptimizedTranslucentLayerDrawable() 431 Drawable[] drawables = new Drawable[numChildren]; in createOptimizedTranslucentLayerDrawable() local 433 drawables[i] = layerDrawable.getDrawable(i); in createOptimizedTranslucentLayerDrawable() 435 TranslucentLayerDrawable result = new OptimizedTranslucentLayerDrawable(drawables); in createOptimizedTranslucentLayerDrawable()
|
/frameworks/base/docs/html/design/material/ |
D | index.jd | 161 Show animations in <strong>state list drawables</strong> between view state changes. 174 <p>These new capabilities for drawables help you implement material design apps:</p> 177 <li><strong>Vector drawables</strong> are scalable without losing definition and are perfect 185 <p>For more information, see <a href="{@docRoot}training/material/drawables.html">Working with
|
/frameworks/base/services/core/java/com/android/server/ |
D | AssetAtlasService.java | 140 final LongSparseArray<Drawable.ConstantState> drawables = resources.getPreloadedDrawables(); in AssetAtlasService() local 142 final int count = drawables.size(); in AssetAtlasService() 145 totalPixelCount += drawables.valueAt(i).addAtlasableBitmaps(bitmaps); 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 552 for different screen sizes and different drawables. Use the <code>mipmap/</code> folders for 599 <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/docs/html-intl/intl/zh-tw/design/material/ |
D | index.jd | 185 <p>如需詳細資訊,請參閱<a href="{@docRoot}training/material/drawables.html">使用可繪項目</a>。
|
/frameworks/base/docs/html-intl/intl/ja/design/material/ |
D | index.jd | 185 <p>詳細については、<a href="{@docRoot}training/material/drawables.html">ドローアブルの使用</a>をご覧ください。
|
/frameworks/base/docs/html-intl/intl/ko/design/material/ |
D | index.jd | 185 <p>자세한 내용은 <a href="{@docRoot}training/material/drawables.html">Drawable
|
/frameworks/base/docs/html-intl/intl/zh-cn/design/material/ |
D | index.jd | 185 <p>如需了解详细信息,请参阅<a href="{@docRoot}training/material/drawables.html">使用可绘制内容</a>。
|
/frameworks/base/docs/html-intl/intl/ru/design/material/ |
D | index.jd | 185 <p>Дополнительные сведения см. в разделе <a href="{@docRoot}training/material/drawables.html">Работ…
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 2124 final boolean drawables = left != null || top != null || right != null || bottom != null; in setCompoundDrawables() 2125 if (!drawables) { in setCompoundDrawables() 2325 final boolean drawables = start != null || top != null in setCompoundDrawablesRelative() 2328 if (!drawables) { in setCompoundDrawablesRelative() 5364 final TextView.Drawables drawables = mDrawables; in invalidateDrawable() local 5365 if (drawables != null) { in invalidateDrawable() 5366 if (drawable == drawables.mShowing[Drawables.LEFT]) { in invalidateDrawable() 5372 scrollY += compoundPaddingTop + (vspace - drawables.mDrawableHeightLeft) / 2; in invalidateDrawable() 5374 } else if (drawable == drawables.mShowing[Drawables.RIGHT]) { in invalidateDrawable() 5379 scrollX += (mRight - mLeft - mPaddingRight - drawables.mDrawableSizeRight); in invalidateDrawable() [all …]
|
/frameworks/base/tools/aapt/ |
D | Resource.cpp | 1203 sp<ResourceTypeSet> drawables; in buildResources() local 1238 if (!applyFileOverlay(bundle, assets, &drawables, "drawable") || in buildResources() 1254 if (drawables != NULL) { in buildResources() 1256 err = preProcessImages(bundle, assets, drawables, "drawable"); in buildResources() 1259 err = makeFileResources(bundle, assets, &table, drawables, "drawable"); in buildResources() 1484 if (drawables != NULL) { in buildResources() 1485 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>
|
/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
|
/frameworks/base/docs/html/training/tv/publishing/ |
D | checklist.jd | 62 <li>Banner resource is located in the {@code drawables/xhdpi} directory</li>
|
/frameworks/base/docs/html-intl/intl/pt-br/design/material/ |
D | index.jd | 185 <p>Para obter mais informações, consulte <a href="{@docRoot}training/material/drawables.html">Como …
|