/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | RotateDrawable.java | 17 package android.graphics.drawable; 56 * <p>Create a new rotating drawable with an empty state.</p> 63 * <p>Create a new rotating drawable with the specified state. A copy of 65 * drawable.</p> 67 * @param rotateState the state for this drawable 94 * Returns the drawable rotated by this RotateDrawable. 240 Drawable drawable = null; 242 drawable = r.getDrawable(res); 256 if ((drawable = Drawable.createFromXmlInner(r, parser, attrs)) == null) { 257 Log.w("drawable", "Ba [all...] |
H A D | ScaleDrawable.java | 17 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 D | ShapeDrawable.java | 17 package android.graphics.drawable; 20 import android.graphics.drawable.shapes.Shape; 32 * A ShapeDrawable takes a {@link android.graphics.drawable.shapes.Shape} 35 * {@link android.graphics.drawable.shapes.RectShape}. 42 * <a href="{@docRoot}guide/topics/graphics/2d-graphics.html#shape-drawable"> 45 * <a href="{@docRoot}guide/topics/resources/drawable-resource.html#Shape">Drawable Resources</a> 204 * Called from the drawable's draw() method after the canvas has been set 241 * Set the alpha level for this drawable [0..255]. Note that this drawable 244 * alpha is 75% (i.e. 192) and the drawable' [all...] |
H A D | StateListDrawable.java | 17 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 D | TransitionDrawable.java | 17 package android.graphics.drawable; 31 * href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p> 74 * Create a new transition drawable with the specified list of layers. At least 75 * 2 layers are required for this drawable to work properly. 82 * Create a new transition drawable with no layer. To work correctly, at least 2 83 * layers must be added to this drawable. 193 // the appropriate drawable[s] and return 227 * is disabled, the first drawable is always drawn opaque. With cross 228 * fade enabled, the first drawable is drawn with the opposite alpha of 229 * the second drawable [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | ArcShape.java | 17 package android.graphics.drawable.shapes; 28 * the ArcShape to a {@link android.graphics.drawable.ShapeDrawable}.
|
H A D | OvalShape.java | 17 package android.graphics.drawable.shapes; 26 * the OvalShape to a {@link android.graphics.drawable.ShapeDrawable}.
|
H A D | PathShape.java | 17 package android.graphics.drawable.shapes; 27 * the PathShape to a {@link android.graphics.drawable.ShapeDrawable}.
|
H A D | RectShape.java | 17 package android.graphics.drawable.shapes; 27 * the RectShape to a {@link android.graphics.drawable.ShapeDrawable}.
|
H A D | RoundRectShape.java | 17 package android.graphics.drawable.shapes; 29 * the RoundRectShape to a {@link android.graphics.drawable.ShapeDrawable}.
|
H A D | Shape.java | 17 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/base/graphics/tests/graphicstests/src/android/graphics/drawable/ |
H A D | MipmapDrawableTest.java | 17 package android.graphics.drawable; 22 import android.graphics.drawable.Drawable; 23 import android.graphics.drawable.MipmapDrawable; 24 import android.graphics.drawable.DrawableContainer.DrawableContainerState; 49 // nothing happens if drawable is null 116 // adding an item should check bounds to see if new drawable is more appropriate 126 // check that correct drawable is selected for any size. 146 // check that correct drawable is selected.
|
H A D | StateListDrawableTest.java | 17 package android.graphics.drawable;
|
/frameworks/base/core/java/android/accounts/ |
H A D | ChooseAccountActivity.java | 22 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);
|
H A D | ChooseAccountTypeActivity.java | 23 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);
|
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 40 import android.graphics.drawable.Drawable; 3267 public final void setFeatureDrawable(int featureId, Drawable drawable) { argument 3268 getWindow().setFeatureDrawable(featureId, drawable);
|
H A D | Dialog.java | 26 import android.graphics.drawable.Drawable; 1058 public final void setFeatureDrawable(int featureId, Drawable drawable) { argument 1059 getWindow().setFeatureDrawable(featureId, drawable);
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 40 import android.graphics.drawable.ColorDrawable; 41 import android.graphics.drawable.Drawable; 441 * If you set a background drawable for a View, then the View will draw it for you 920 * <p>Indicates that this view gets its drawable states from its direct parent 1084 * {@link android.graphics.drawable.Drawable} to change the drawing of the 1087 * @see android.graphics.drawable.Drawable 1093 * {@link android.graphics.drawable.Drawable} to change the drawing of the 1096 * @see android.graphics.drawable.Drawable 1102 * {@link android.graphics.drawable.Drawable} to change the drawing of the 1105 * @see android.graphics.drawable 14142 invalidateDrawable(Drawable drawable) argument [all...] |
H A D | Window.java | 23 import android.graphics.drawable.Drawable; 1003 * transparent, you can use an empty drawable (for instance a ColorDrawable 1004 * with the color 0 or the system drawable android:drawable/empty.) 1006 * @param resid The resource identifier of a drawable resource which will be 1017 * transparent, you can use an empty drawable (for instance a ColorDrawable 1018 * with the color 0 or the system drawable android:drawable/empty.) 1020 * @param drawable The new Drawable to use for this window's background. 1022 public abstract void setBackgroundDrawable(Drawable drawable); argument 1061 setFeatureDrawable(int featureId, Drawable drawable) argument 1225 setChildDrawable(int featureId, Drawable drawable) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ActivityChooserView.java | 28 import android.graphics.drawable.Drawable; 79 * Stores the background drawable to allow hiding and latter showing. 265 * <strong>Note:</strong> Clients would like to set this drawable 267 * example, if a share activity is to be chosen the drawable should 270 * @param drawable The drawable. 272 public void setExpandActivityOverflowButtonDrawable(Drawable drawable) { argument 273 mExpandActivityOverflowButtonImage.setImageDrawable(drawable);
|
H A D | CalendarView.java | 30 import android.graphics.drawable.Drawable; 591 * Sets the drawable for the vertical bar shown at the beginning and at 594 * @param resourceId The vertical bar drawable resource id. 599 Drawable drawable = getResources().getDrawable(resourceId); 600 setSelectedDateVerticalBar(drawable); 604 * Sets the drawable for the vertical bar shown at the beginning and at 607 * @param drawable The vertical bar drawable. 611 public void setSelectedDateVerticalBar(Drawable drawable) { argument 612 if (mSelectedDateVerticalBar != drawable) { [all...] |
H A D | Editor.java | 35 import android.graphics.drawable.Drawable; 1264 // Rely on the drawable entirely, do not draw the cursor line. 1968 com.android.internal.R.drawable.text_edit_side_paste_window); 2826 com.android.internal.R.drawable.text_edit_paste_window); 2953 protected abstract int getHotspotX(Drawable drawable, boolean isRtlRun); argument 3215 public InsertionHandleView(Drawable drawable) { argument 3216 super(drawable, drawable); 3257 protected int getHotspotX(Drawable drawable, boolean isRtlRun) { argument 3258 return drawable 3339 getHotspotX(Drawable drawable, boolean isRtlRun) argument 3382 getHotspotX(Drawable drawable, boolean isRtlRun) argument [all...] |
H A D | FastScroller.java | 26 import android.graphics.drawable.Drawable; 27 import android.graphics.drawable.NinePatchDrawable; 245 private void useThumbDrawable(Context context, Drawable drawable) { argument 246 mThumbDrawable = drawable; 247 if (drawable instanceof NinePatchDrawable) { 253 mThumbW = drawable.getIntrinsicWidth(); 254 mThumbH = drawable.getIntrinsicHeight();
|
H A D | FrameLayout.java | 26 import android.graphics.drawable.Drawable; 220 * @param drawable The Drawable to be drawn on top of the children. 224 public void setForeground(Drawable drawable) { argument 225 if (mForeground != drawable) { 231 mForeground = drawable; 237 if (drawable != null) { 239 drawable.setCallback(this); 240 if (drawable.isStateful()) { 241 drawable.setState(getDrawableState()); 245 if (drawable [all...] |
H A D | ImageSwitcher.java | 20 import android.graphics.drawable.Drawable; 52 public void setImageDrawable(Drawable drawable) argument 55 image.setImageDrawable(drawable);
|