Searched defs:drawable (Results 51 - 59 of 59) sorted by last modified time

123

/frameworks/base/core/java/android/widget/
H A DImageView.java30 import android.graphics.drawable.BitmapDrawable;
31 import android.graphics.drawable.Drawable;
70 // these are applied to the drawable
184 * hard to know where the drawable actually is. This is made
186 * can be applied. In theory we could get the drawable's bounds
212 * to preserve the aspect ratio of its drawable
215 * to presrve the original aspect ratio of the drawable
227 * to preserve the aspect ratio of its drawable.
229 * to presrve the original aspect ratio of the drawable
319 /** Return the view's drawable, o
395 setImageDrawable(Drawable drawable) argument
[all...]
H A DListView.java30 import android.graphics.drawable.Drawable;
1376 // This is bottom of our drawable area
1380 // drawable area
1386 // first row or the first row is scrolled off the top of the drawable area
1424 // This is top of our drawable area
1427 // This is bottom of our drawable area
1431 // drawable area
1438 // last row or the last row is scrolled off the bottom of the drawable area
3098 void drawOverscrollHeader(Canvas canvas, Drawable drawable, Rect bounds) { argument
3099 final int height = drawable
3115 drawOverscrollFooter(Canvas canvas, Drawable drawable, Rect bounds) argument
[all...]
H A DProgressBar.java28 import android.graphics.drawable.Animatable;
29 import android.graphics.drawable.AnimationDrawable;
30 import android.graphics.drawable.BitmapDrawable;
31 import android.graphics.drawable.ClipDrawable;
32 import android.graphics.drawable.Drawable;
33 import android.graphics.drawable.LayerDrawable;
34 import android.graphics.drawable.ShapeDrawable;
35 import android.graphics.drawable.StateListDrawable;
36 import android.graphics.drawable.shapes.RoundRectShape;
37 import android.graphics.drawable
315 tileify(Drawable drawable, boolean clip) argument
374 tileifyIndeterminate(Drawable drawable) argument
[all...]
H A DSuggestionsAdapter.java32 import android.graphics.drawable.Drawable;
399 Drawable drawable = getDrawableFromResourceValue(value);
400 if (drawable != null) {
401 return drawable;
415 * Sets the drawable in an image view, makes sure the view is only visible if there
416 * is a drawable.
418 private void setViewDrawable(ImageView v, Drawable drawable, int nullVisibility) { argument
419 // Set the icon even if the drawable is null, since we need to clear any
421 v.setImageDrawable(drawable);
423 if (drawable
601 storeInIconCache(String resourceUri, Drawable drawable) argument
[all...]
H A DTabWidget.java25 import android.graphics.drawable.Drawable;
127 com.android.internal.R.drawable.tab_bottom_left_v4);
131 com.android.internal.R.drawable.tab_bottom_right_v4);
137 com.android.internal.R.drawable.tab_bottom_left);
141 com.android.internal.R.drawable.tab_bottom_right);
231 * Sets the drawable to use as a divider between the tab indicators.
232 * @param drawable the divider drawable
235 public void setDividerDrawable(Drawable drawable) { argument
236 super.setDividerDrawable(drawable);
253 setLeftStripDrawable(Drawable drawable) argument
274 setRightStripDrawable(Drawable drawable) argument
[all...]
H A DTextView.java34 import android.graphics.drawable.Drawable;
394 // then, if needed, assign the Error drawable to the correct location
529 // com.android.internal.R.drawable.text_select_handle_left) would have to be updated if the
4254 * Sets the right-hand compound drawable of the TextView to the "error"
4267 getDrawable(com.android.internal.R.drawable.indicator_input_error);
4275 * Sets the right-hand compound drawable of the TextView to the specified
4279 * drawable must already have had {@link Drawable#setBounds} set on it.
4688 public void invalidateDrawable(Drawable drawable) { argument
4689 if (verifyDrawable(drawable)) {
4690 final Rect dirty = drawable
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DDrawableHolder.java26 import android.graphics.drawable.BitmapDrawable;
47 public DrawableHolder(BitmapDrawable drawable) { argument
48 this(drawable, 0.0f, 0.0f);
51 public DrawableHolder(BitmapDrawable drawable, float x, float y) { argument
52 mDrawable = drawable;
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DMultiWaveView.java33 import android.graphics.drawable.Drawable;
245 throw new IllegalStateException("Must specify at least one target drawable");
305 // target drawable on either edge.
312 // target drawable on either edge
460 void invalidateGlobalRegion(TargetDrawable drawable) { argument
461 int width = drawable.getWidth();
462 int height = drawable.getHeight();
464 childBounds.offset(drawable.getX() - width/2, drawable.getY() - height/2);
1183 final TargetDrawable drawable
[all...]
H A DPointCloud.java24 import android.graphics.drawable.Drawable;
118 public PointCloud(Drawable drawable) { argument
125 mDrawable = drawable;
127 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight());

Completed in 186 milliseconds

123