/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/ |
H A D | InputMethodSettingsActivity.java | 19 import android.graphics.drawable.Drawable; 82 public void setSubtypeEnablerIcon(Drawable drawable) { argument 83 mSettings.setSubtypeEnablerIcon(drawable);
|
H A D | InputMethodSettingsFragment.java | 20 import android.graphics.drawable.Drawable; 83 public void setSubtypeEnablerIcon(Drawable drawable) { argument 84 mSettings.setSubtypeEnablerIcon(drawable);
|
H A D | InputMethodSettingsImpl.java | 21 import android.graphics.drawable.Drawable; 160 public void setSubtypeEnablerIcon(Drawable drawable) { argument 162 mSubtypeEnablerIcon = drawable;
|
H A D | InputMethodSettingsInterface.java | 19 import android.graphics.drawable.Drawable; 60 * @param drawable The drawable of an optional icon for the preference. 62 public void setSubtypeEnablerIcon(Drawable drawable); argument
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientChip.java | 19 import android.graphics.drawable.Drawable; 43 public RecipientChip(Drawable drawable, RecipientEntry entry, int offset) { argument 44 super(drawable, DynamicDrawableSpan.ALIGN_BOTTOM);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 560 * @param drawable 562 public void draw(Drawable drawable) { argument 563 draw(drawable, null, false /*compositeOnly*/, false /*forceSrcMode*/); 570 * @param drawable 576 public void draw(Drawable drawable, Paint_Delegate paint, boolean compositeOnly, argument 583 drawInLayer(mLayers.get(0), drawable, paint, compositeOnly, forceSrcMode); 593 drawInLayer(layer, drawable, paint, compositeOnly, forceSrcMode); 603 private void drawInLayer(Layer layer, Drawable drawable, Paint_Delegate paint, argument 613 drawable.draw(configuredGraphics2D, paint);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | AnimatedImageView.java | 20 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/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindow.java | 51 import android.graphics.drawable.Drawable; 1154 public final void setBackgroundDrawable(Drawable drawable) { argument 1155 if (drawable != mBackgroundDrawable || mBackgroundResource != 0) { 1157 mBackgroundDrawable = drawable; 1159 mDecor.setWindowBackground(drawable); 1195 public final void setFeatureDrawable(int featureId, Drawable drawable) { argument 1199 if (st.local != drawable) { 1200 st.local = drawable; 1214 protected final void setFeatureDefaultDrawable(int featureId, Drawable drawable) { argument 1216 if (st.def != drawable) { 1253 onDrawableChanged(int featureId, Drawable drawable, int alpha) argument 2337 setWindowBackground(Drawable drawable) argument 2357 setWindowFrame(Drawable drawable) argument 3038 setChildDrawable(int featureId, Drawable drawable) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 1179 * <p>Note that the drawable may actually be executed several times if there are 1183 GcSnapshot.Drawable drawable) { 1193 canvasDelegate.getSnapshot().draw(drawable, paintDelegate, compositeOnly, forceSrcMode); 1199 * <p>Note that the drawable may actually be executed several times if there are 1202 private static void draw(int nCanvas, GcSnapshot.Drawable drawable) { argument 1209 canvasDelegate.mSnapshot.draw(drawable); 1182 draw(int nCanvas, int nPaint, boolean compositeOnly, boolean forceSrcMode, GcSnapshot.Drawable drawable) argument
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | Animatable.java | 17 package android.graphics.drawable; 24 * Starts the drawable's animation. 29 * Stops the drawable's animation.
|
H A D | AnimatedRotateDrawable.java | 17 package android.graphics.drawable; 59 final Drawable drawable = state.mDrawable; 60 if (drawable != null) { 61 drawable.setFilterBitmap(true); 62 if (drawable instanceof BitmapDrawable) { 63 ((BitmapDrawable) drawable).setAntiAlias(true); 73 final Drawable drawable = st.mDrawable; 74 final Rect bounds = drawable.getBounds(); 84 drawable.draw(canvas); 137 * Returns the drawable rotate [all...] |
H A D | AnimationDrawable.java | 17 package android.graphics.drawable; 35 * file, placed in the res/drawable/ folder, and set it as the background to a View object. Then, call 42 * <p>spin_animation.xml file in res/drawable/ folder:</p> 44 * res/drawable/ folder --> 46 * <item android:drawable="@drawable/wheel0" android:duration="50" /> 47 * <item android:drawable="@drawable/wheel1" android:duration="50" /> 48 * <item android:drawable="@drawable/wheel [all...] |
H A D | BitmapDrawable.java | 17 package android.graphics.drawable; 44 * href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p> 76 * Create an empty drawable, not dealing with density. 78 * that the drawable has correctly set its target density. 86 * Create an empty drawable, setting initial target density based on 96 * Create drawable from a bitmap, not dealing with density. 98 * that the drawable has correctly set its target density. 106 * Create drawable from a bitmap, setting initial target density based on 115 * Create a drawable by opening a given file path and decoding the bitmap. 117 * that the drawable ha [all...] |
H A D | ClipDrawable.java | 17 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 D | ColorDrawable.java | 17 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.
|
H A D | Drawable.java | 17 package android.graphics.drawable; 97 * <li> <b>Layers</b>: a compound drawable, which draws multiple underlying 99 * <li> <b>States</b>: a compound drawable that selects one of a set of 101 * <li> <b>Levels</b>: a compound drawable that selects one of a set of 103 * <li> <b>Scale</b>: a compound drawable with a single child drawable, 111 * guide. For information and examples of creating drawable resources (XML or bitmap files that 113 * <a href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a> 137 * Specify a bounding rectangle for the Drawable. This is where the drawable 155 * Specify a bounding rectangle for the Drawable. This is where the drawable [all...] |
H A D | DrawableContainer.java | 17 package android.graphics.drawable; 137 * Change the global fade duration when a new drawable is entering 146 * Change the global fade duration when a new drawable is leaving
|
H A D | GradientDrawable.java | 17 package android.graphics.drawable; 47 * href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p> 132 * Controls how the gradient is oriented relative to the drawable's bounds 158 * Create a new gradient drawable given an orientation and an array 181 * of a drawable loaded from a resource. It is recommended to invoke 199 * drawable is drawn in a round-rectangle, rather than a rectangle. This property 202 * of a drawable loaded from a resource. It is recommended to invoke 218 * <p>Set the stroke width and color for the drawable. If width is zero, 221 * of a drawable loaded from a resource. It is recommended to invoke 235 * <p>Set the stroke width and color for the drawable [all...] |
H A D | InsetDrawable.java | 17 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 D | LayerDrawable.java | 17 package android.graphics.drawable; 40 * href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p> 62 * Create a new layer drawable with the list of specified layers. 64 * @param layers A list of drawables to use as layers in this new drawable. 71 * Create a new layer drawable with the specified list of layers and the specified 74 * @param layers The list of layers to add to this drawable. 75 * @param state The constant drawable state. 162 + ": <item> tag requires a 'drawable' attribute or " 163 + "child tag defining a drawable"); 176 * Add a new layer to this drawable 278 setDrawableByLayerId(int id, Drawable drawable) argument [all...] |
H A D | LevelListDrawable.java | 17 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 D | MipmapDrawable.java | 17 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 D | NinePatchDrawable.java | 17 package android.graphics.drawable; 73 * Create drawable from raw nine-patch data, not dealing with density. 75 * to ensure that the drawable has correctly set its target density. 83 * Create drawable from raw nine-patch data, setting initial target density 93 * Create drawable from raw nine-patch data, setting initial target density 105 * Create drawable from existing nine-patch, not dealing with density. 107 * to ensure that the drawable has correctly set its target density. 115 * Create drawable from existing nine-patch, setting initial target density 141 * Set the density scale at which this drawable will be rendered. This 142 * method assumes the drawable wil [all...] |
H A D | PaintDrawable.java | 17 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 D | PictureDrawable.java | 17 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.
|