Searched defs:drawable (Results 1 - 25 of 59) sorted by relevance

123

/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatable.java17 package android.graphics.drawable;
24 * Starts the drawable's animation.
29 * Stops the drawable's animation.
H A DMipmapDrawable.java17 package android.graphics.drawable;
35 * drawable helps minimizing the aliasing artifacts that can be introduced by the scaling.
70 * <item android:drawable="@drawable/my_image_8" />
71 * <item android:drawable="@drawable/my_image_32" />
72 * <item android:drawable="@drawable/my_image_128" />
76 * With this XML saved into the res/drawable/ folder of the project, it can be referenced as
77 * the drawable fo
101 addDrawable(Drawable drawable) argument
240 addDrawable(Drawable drawable) argument
[all...]
H A DPaintDrawable.java17 package android.graphics.drawable;
19 import android.graphics.drawable.shapes.RoundRectShape;
41 * drawable is drawn in a round-rectangle, rather than a rectangle.
H A DLevelListDrawable.java17 package android.graphics.drawable;
41 * <item android:maxLevel="0" android:drawable="@drawable/ic_wifi_signal_1" />
42 * <item android:maxLevel="1" android:drawable="@drawable/ic_wifi_signal_2" />
43 * <item android:maxLevel="2" android:drawable="@drawable/ic_wifi_signal_3" />
44 * <item android:maxLevel="3" android:drawable="@drawable/ic_wifi_signal_4" />
47 * <p>With this XML saved into the res/drawable/ folde
66 addLevel(int low, int high, Drawable drawable) argument
172 addLevel(int low, int high, Drawable drawable) argument
[all...]
H A DStateListDrawable.java17 package android.graphics.drawable;
37 * href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p>
83 * @param drawable -The image to show.
85 public void addState(int[] stateSet, Drawable drawable) { argument
86 if (drawable != null) {
87 mStateListState.addStateSet(stateSet, drawable);
161 if (stateResId == com.android.internal.R.attr.drawable) {
180 + ": <item> tag requires a 'drawable' attribute or "
181 + "child tag defining a drawable");
197 * Gets the number of states contained in this drawable
287 addStateSet(int[] stateSet, Drawable drawable) argument
[all...]
H A DPictureDrawable.java17 package android.graphics.drawable;
24 import android.graphics.drawable.Drawable;
39 * Construct a new drawable referencing the specified picture. The picture
42 * @param picture The picture to associate with the drawable. May be null.
49 * Return the picture associated with the drawable. May be null.
51 * @return the picture associated with the drawable, or null.
58 * Associate a picture with this drawable. The picture may be null.
60 * @param picture The picture to associate with the drawable. May be null.
H A DClipDrawable.java17 package android.graphics.drawable;
35 * progress bars, by increasing the drawable's level with {@link
36 * android.graphics.drawable.Drawable#setLevel(int) setLevel()}.
37 * <p class="note"><strong>Note:</strong> The drawable is clipped completely and not visible when
42 * href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p>
62 public ClipDrawable(Drawable drawable, int gravity, int orientation) { argument
65 mClipState.mDrawable = drawable;
69 if (drawable != null) {
70 drawable.setCallback(this);
101 throw new IllegalArgumentException("No drawable specifie
[all...]
H A DInsetDrawable.java17 package android.graphics.drawable;
37 * href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p>
57 public InsetDrawable(Drawable drawable, int inset) { argument
58 this(drawable, inset, inset, inset, inset);
61 public InsetDrawable(Drawable drawable, int insetLeft, int insetTop, argument
65 mInsetState.mDrawable = drawable;
71 if (drawable != null) {
72 drawable.setCallback(this);
110 + ": <inset> tag requires a 'drawable' attribute or "
111 + "child tag defining a drawable");
[all...]
H A DScaleDrawable.java17 package android.graphics.drawable;
39 * href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p>
55 public ScaleDrawable(Drawable drawable, int gravity, float scaleWidth, float scaleHeight) { argument
58 mScaleState.mDrawable = drawable;
63 if (drawable != null) {
64 drawable.setCallback(this);
69 * Returns the drawable scaled by this ScaleDrawable.
114 throw new IllegalArgumentException("No drawable specified for <scale>");
H A DColorDrawable.java17 package android.graphics.drawable;
73 * @return This drawable.
93 * Gets the drawable's color value.
102 * Sets the drawable's color value. This action will clobber the results of prior calls to
115 * Returns the alpha value of this drawable's color.
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DOvalShape.java17 package android.graphics.drawable.shapes;
26 * the OvalShape to a {@link android.graphics.drawable.ShapeDrawable}.
H A DArcShape.java17 package android.graphics.drawable.shapes;
28 * the ArcShape to a {@link android.graphics.drawable.ShapeDrawable}.
H A DRectShape.java17 package android.graphics.drawable.shapes;
27 * the RectShape to a {@link android.graphics.drawable.ShapeDrawable}.
H A DPathShape.java17 package android.graphics.drawable.shapes;
27 * the PathShape to a {@link android.graphics.drawable.ShapeDrawable}.
H A DRoundRectShape.java17 package android.graphics.drawable.shapes;
29 * the RoundRectShape to a {@link android.graphics.drawable.ShapeDrawable}.
H A DShape.java17 package android.graphics.drawable.shapes;
26 * it to a {@link android.graphics.drawable.ShapeDrawable}.
82 * @return true if any part of the drawable is <em>not</em> opaque.
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
H A DInputMethodSettingsInterface.java19 import android.graphics.drawable.Drawable;
60 * @param drawable The drawable of an optional icon for the preference.
62 public void setSubtypeEnablerIcon(Drawable drawable); argument
H A DInputMethodSettingsActivity.java19 import android.graphics.drawable.Drawable;
82 public void setSubtypeEnablerIcon(Drawable drawable) { argument
83 mSettings.setSubtypeEnablerIcon(drawable);
H A DInputMethodSettingsFragment.java20 import android.graphics.drawable.Drawable;
83 public void setSubtypeEnablerIcon(Drawable drawable) { argument
84 mSettings.setSubtypeEnablerIcon(drawable);
/frameworks/base/core/java/android/widget/
H A DImageSwitcher.java20 import android.graphics.drawable.Drawable;
52 public void setImageDrawable(Drawable drawable) argument
55 image.setImageDrawable(drawable);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DAnimatedImageView.java20 import android.graphics.drawable.AnimationDrawable;
21 import android.graphics.drawable.Drawable;
42 Drawable drawable = getDrawable();
46 if (drawable instanceof AnimationDrawable) {
47 mAnim = (AnimationDrawable)drawable;
57 public void setImageDrawable(Drawable drawable) { argument
58 super.setImageDrawable(drawable);
/frameworks/base/core/java/android/accounts/
H A DChooseAccountTypeActivity.java23 import android.graphics.drawable.Drawable;
157 final Drawable drawable; field in class:ChooseAccountTypeActivity.AuthInfo
159 AuthInfo(AuthenticatorDescription desc, String name, Drawable drawable) { argument
162 this.drawable = drawable;
198 holder.icon.setImageDrawable(mInfos.get(position).drawable);
H A DChooseAccountActivity.java22 import android.graphics.drawable.Drawable;
142 final Drawable drawable; field in class:ChooseAccountActivity.AccountInfo
144 AccountInfo(String name, Drawable drawable) { argument
146 this.drawable = drawable;
181 holder.icon.setImageDrawable(mInfos[position].drawable);
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
H A DStateListDrawableTest.java17 package android.graphics.drawable;
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientChip.java19 import android.graphics.drawable.Drawable;
43 public RecipientChip(Drawable drawable, RecipientEntry entry, int offset) { argument
44 super(drawable, DynamicDrawableSpan.ALIGN_BOTTOM);

Completed in 184 milliseconds

123