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

123

/frameworks/base/core/java/android/widget/
H A DCalendarView.java30 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 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 DEditor.java35 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 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/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...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java1179 * <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/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java51 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/core/java/android/app/
H A DActivity.java40 import android.graphics.drawable.Drawable;
3267 public final void setFeatureDrawable(int featureId, Drawable drawable) { argument
3268 getWindow().setFeatureDrawable(featureId, drawable);
/frameworks/base/core/java/android/view/
H A DView.java40 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...]

Completed in 1053 milliseconds

123