Home
last modified time | relevance | path

Searched refs:drawables (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableContainer.java412 final Drawable[] drawables = mDrawableContainerState.getChildren(); in mutate() local
414 if (drawables[i] != null) drawables[i].mutate(); in mutate()
567 final Drawable[] drawables = mDrawables; in getConstantPadding() local
569 if (drawables[i].getPadding(t)) { in getConstantPadding()
625 final Drawable[] drawables = mDrawables; in computeConstantSize() local
629 Drawable dr = drawables[i]; in computeConstantSize()
663 final Drawable[] drawables = mDrawables; in getOpacity() local
664 int op = N > 0 ? drawables[0].getOpacity() : PixelFormat.TRANSPARENT; in getOpacity()
666 op = Drawable.resolveOpacity(op, drawables[i].getOpacity()); in getOpacity()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DGlowPadView.java555 ArrayList<TargetDrawable> drawables = new ArrayList<TargetDrawable>(count); in loadDrawableArray() local
559 drawables.add(target); in loadDrawableArray()
562 return drawables; in loadDrawableArray()
1171 final ArrayList<TargetDrawable> drawables = mTargetDrawables;
1172 final int size = drawables.size();
1174 final TargetDrawable target = drawables.get(i);
DMultiWaveView.java606 ArrayList<TargetDrawable> drawables = new ArrayList<TargetDrawable>(count); in loadDrawableArray() local
610 drawables.add(target); in loadDrawableArray()
613 return drawables; in loadDrawableArray()
1215 final ArrayList<TargetDrawable> drawables = mTargetDrawables;
1216 final int size = drawables.size();
1218 final TargetDrawable target = drawables.get(i);
/frameworks/base/docs/html/guide/practices/
Dscreens_support.jd26 <li><a href="#DesigningResources">Designing alternative layouts and drawables</a></li>
278 "wrap_content"}, as appropriate. The system then scales bitmap drawables as appropriate in order to
294 of an application's layout and bitmap drawables in an appropriate way for the current screen
296 screen configuration by scaling layouts to fit the screen size/density and scaling bitmap drawables
330 <li><strong>Provide different bitmap drawables for different screen densities</strong>
331 <p>By default, Android scales your bitmap drawables ({@code .png}, {@code .jpg}, and {@code
332 .gif} files) and Nine-Patch drawables ({@code .9.png} files) so that they render at the appropriate
333 physical size on each device. For example, if your application provides bitmap drawables only for
515 provides different layout designs for different screen sizes and different bitmap drawables
556 <h3 id="DesigningResources">Designing alternative layouts and drawables</h3>
[all …]
Dseamlessness.jd180 to landscape mode. It's important to make sure your layouts and drawables
/frameworks/base/core/java/android/widget/
DTextView.java1707 final boolean drawables = left != null || top != null in setCompoundDrawables()
1710 if (!drawables) { in setCompoundDrawables()
1877 final boolean drawables = start != null || top != null in setCompoundDrawablesRelative()
1880 if (!drawables) { in setCompoundDrawablesRelative()
4551 final TextView.Drawables drawables = mDrawables; in invalidateDrawable() local
4552 if (drawables != null) { in invalidateDrawable()
4553 if (drawable == drawables.mDrawableLeft) { in invalidateDrawable()
4559 scrollY += compoundPaddingTop + (vspace - drawables.mDrawableHeightLeft) / 2; in invalidateDrawable()
4560 } else if (drawable == drawables.mDrawableRight) { in invalidateDrawable()
4565 scrollX += (mRight - mLeft - mPaddingRight - drawables.mDrawableSizeRight); in invalidateDrawable()
[all …]
/frameworks/base/docs/html/guide/topics/graphics/
D2d-graphics.jd16 <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/tools/aapt/
DResource.cpp899 sp<ResourceTypeSet> drawables; in buildResources() local
932 if (!applyFileOverlay(bundle, assets, &drawables, "drawable") || in buildResources()
947 if (drawables != NULL) { in buildResources()
949 err = preProcessImages(bundle, assets, drawables, "drawable"); in buildResources()
952 err = makeFileResources(bundle, assets, &table, drawables, "drawable"); in buildResources()
1155 if (drawables != NULL) { in buildResources()
1156 err = postProcessImages(assets, &table, drawables); in buildResources()
/frameworks/base/docs/html/guide/topics/resources/
Doverview.jd85 application menus, drawables, animations, and more.</dd>
Dlocalization.jd168 the resources that your application calls upon &#8212; layouts, drawables,
184 <p>The default resource set must also include any default drawables and layouts,
424 the display of strings and drawables in your UI.</p>
549 hard-coded drawables or layouts. </li>
Dproviding-resources.jd120 <li>Animation drawables</li>
121 <li>Other drawables</li>
936 provide alternative drawables for all three types of density. If your <a
964 an Android 1.5 will use drawables from any one of the alternative resource directories, which
1031 drawables from {@code drawable-en-port}.</p>
Dmore-resources.jd24 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/
Dicon_design_tab.jd117 selected and unselected icon drawables. For example, below is the code
296 local copy of those icons or drawables in your application resources,
Dicon_design_action_bar.jd190 drawable resources, you should store a local copy of those icons or drawables in your application
Dicon_design_status_bar.jd237 drawable resources, you should store a local copy of those icons or drawables in your application
386 drawable resources, you should store a local copy of those icons or drawables in
Dicon_design_menu.jd240 drawable resources, you should store a local copy of those icons or drawables in
Dwidget_design.jd241 drawables</a>.</p>
/frameworks/base/docs/html/training/improving-layouts/
Doptimizing-layout.jd139 <li>Use compound drawables - A {@link android.widget.LinearLayout} which contains an {@link android…
/frameworks/base/docs/html/guide/appendix/
Dglossary.jd114 more information about drawables and other resources, see <a
/frameworks/base/docs/html/guide/practices/app-design/
Dseamlessness.jd180 to landscape mode. It's important to make sure your layouts and drawables
/frameworks/base/docs/html/sdk/1.6_r1/
Dupgrading.jd250 layouts and drawables in relative units that can be scaled by the system as
/frameworks/base/docs/html/tools/help/
Dadt.jd151 …<p>In addition, some special file types that don't have custom editors, such as drawables, animati…
/frameworks/base/docs/html/sdk/
DOLD_RELEASENOTES.jd117 …<li>Some XML based drawables don't draw. Fading in the scroll/list view appears as a white rectang…
/frameworks/base/docs/html/about/versions/
Dandroid-2.3.jd366 attributes for <code>&lt;TextView&gt;</code>, for referencing drawables that will be
/frameworks/base/docs/html/tools/sdk/
DOLD_RELEASENOTES.jd117 …<li>Some XML based drawables don't draw. Fading in the scroll/list view appears as a white rectang…

12