Searched refs:drawable (Results 1 - 25 of 594) sorted by relevance

1234567891011>>

/packages/apps/Settings/src/com/android/settings/drawable/
H A DInsetBoundsDrawable.java17 package com.android.settings.drawable;
19 import android.graphics.drawable.Drawable;
28 public InsetBoundsDrawable(Drawable drawable, int insetBoundsSides) { argument
29 super(drawable);
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
H A DParallaxable.java3 import android.graphics.drawable.Drawable;
/packages/apps/UnifiedEmail/src/com/android/mail/graphics/
H A DPageMarginDrawable.java22 import android.graphics.drawable.Drawable;
23 import android.graphics.drawable.InsetDrawable;
26 * Custom drawable for the page margins between conversations.
34 public PageMarginDrawable(Drawable drawable, int insetLeft, int insetTop, argument
36 super(drawable, insetLeft, insetTop, insetRight, insetBottom);
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DTransitionType.java37 R.drawable.transition_alpha_contour,
38 R.drawable.transition_alpha_diagonal,
39 R.drawable.transition_crossfade,
40 R.drawable.transition_fade_black,
41 R.drawable.transition_sliding_right_out_left_in,
42 R.drawable.transition_sliding_left_out_right_in,
43 R.drawable.transition_sliding_top_out_bottom_in,
44 R.drawable.transition_sliding_bottom_out_top_in
H A DBaseAdapterWithImages.java26 import android.graphics.drawable.BitmapDrawable;
135 final BitmapDrawable drawable
137 if (drawable != null && drawable.getBitmap() != null) {
139 drawable.getBitmap().recycle();
157 final BitmapDrawable drawable = (BitmapDrawable)imageView.getDrawable();
158 if (drawable != null && drawable.getBitmap() != null) {
159 drawable.getBitmap().recycle();
/packages/apps/Camera2/src/com/android/camera/
H A DOnScreenIndicators.java51 mWBArray[i] = iconIds.getResourceId(i, R.drawable.ic_indicator_wb_off);
102 id = R.drawable.ic_indicator_ev_n3;
105 id = R.drawable.ic_indicator_ev_n2;
108 id = R.drawable.ic_indicator_ev_n1;
111 id = R.drawable.ic_indicator_ev_0;
114 id = R.drawable.ic_indicator_ev_p1;
117 id = R.drawable.ic_indicator_ev_p2;
120 id = R.drawable.ic_indicator_ev_p3;
133 mTimerIndicator.setImageResource(on ? R.drawable.ic_indicator_timer_on
134 : R.drawable
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DImageFilterBorder.java24 import android.graphics.drawable.BitmapDrawable;
25 import android.graphics.drawable.Drawable;
60 Drawable drawable = getDrawable(getParameters().getDrawableResource());
61 drawable.setBounds(bounds);
62 drawable.draw(canvas);
84 Drawable drawable = mDrawables.get(rsc);
85 if (drawable == null && mResources != null && rsc != 0) {
86 drawable = new BitmapDrawable(mResources, BitmapFactory.decodeResource(mResources, rsc));
87 mDrawables.put(rsc, drawable);
89 return drawable;
[all...]
H A DIconUtilities.java26 public static final int PUNCH = R.drawable.filtershow_fx_0005_punch;
27 public static final int VINTAGE = R.drawable.filtershow_fx_0000_vintage;
28 public static final int BW_CONTRAST = R.drawable.filtershow_fx_0004_bw_contrast;
29 public static final int BLEACH = R.drawable.filtershow_fx_0002_bleach;
30 public static final int INSTANT = R.drawable.filtershow_fx_0001_instant;
31 public static final int WASHOUT = R.drawable.filtershow_fx_0007_washout;
32 public static final int BLUECRUSH = R.drawable.filtershow_fx_0003_blue_crush;
33 public static final int WASHOUT_COLOR = R.drawable.filtershow_fx_0008_washout_color;
34 public static final int X_PROCESS = R.drawable.filtershow_fx_0006_x_process;
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DCallTypeIconsView.java21 import android.graphics.drawable.Drawable;
62 final Drawable drawable = getCallTypeDrawable(callType);
63 mWidth += drawable.getIntrinsicWidth() + mResources.iconMargin;
64 mHeight = Math.max(mHeight, drawable.getIntrinsicHeight());
106 final Drawable drawable = getCallTypeDrawable(callType);
107 final int right = left + drawable.getIntrinsicWidth();
108 drawable.setBounds(left, 0, right, drawable.getIntrinsicHeight());
109 drawable.draw(canvas);
123 incoming = r.getDrawable(R.drawable
[all...]
/packages/apps/Settings/src/com/android/settings/widget/
H A DAnimatedImageView.java20 import android.graphics.drawable.AnimatedRotateDrawable;
21 import android.graphics.drawable.Drawable;
42 final Drawable drawable = getDrawable();
43 if (drawable instanceof AnimatedRotateDrawable) {
44 mDrawable = (AnimatedRotateDrawable) drawable;
45 // TODO: define in drawable xml once we have public attrs.
67 public void setImageDrawable(Drawable drawable) { argument
68 super.setImageDrawable(drawable);
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DFocusIndicatorView.java37 setDrawable(R.drawable.ic_focus_focusing);
42 setDrawable(R.drawable.ic_focus_focused);
47 setDrawable(R.drawable.ic_focus_failed);
/packages/apps/Browser/src/com/android/browser/
H A DBrowserBookmarksAdapterItem.java18 import android.graphics.drawable.BitmapDrawable;
/packages/apps/Settings/src/com/android/settings/net/
H A DUidDetail.java19 import android.graphics.drawable.Drawable;
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DCachingIconLoader.java25 import android.graphics.drawable.Drawable;
76 NowOrLater<Drawable> drawable = mWrapped.getIcon(drawableId);
77 newEntry.set(drawable);
79 return drawable;
94 private synchronized void storeInIconCache(String resourceUri, Entry drawable) { argument
95 if (drawable != null) {
96 mIconCache.put(resourceUri, drawable);
109 public synchronized void set(NowOrLater<Drawable> drawable) { argument
112 mDrawable = drawable;
129 NowOrLater<Drawable> drawable
[all...]
H A DIconLoader.java22 import android.graphics.drawable.Drawable;
32 * Gets a drawable given an ID.
35 * (e.g., "2130837524"), in which case we will try to retrieve a drawable from
43 * or no drawable can be found for the provided value, the value from this will be null.
52 * Converts a drawable ID to a Uri that can be used from other packages.
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
H A DNotificationService.java28 import android.graphics.drawable.BitmapDrawable;
29 import android.graphics.drawable.Drawable;
95 .setLargeIcon(getBitmap(context, R.drawable.bucket))
97 .addAction(R.drawable.ic_media_next,
100 .setSmallIcon(R.drawable.stat_notify_talk_text)
112 .setSmallIcon(R.drawable.ic_menu_upload)
133 .setLargeIcon(getBitmap(this, R.drawable.matias_hed))
134 .setSmallIcon(R.drawable.stat_sys_phone_call)
138 .addAction(R.drawable.ic_dial_action_call, "Answer",
140 .addAction(R.drawable
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DPhotoProcessorTest.java21 import android.graphics.drawable.BitmapDrawable;
22 import android.graphics.drawable.Drawable;
39 R.drawable.transparent_10x10);
H A DPhotoStoreTest.java69 byte[] photo = loadPhotoFromResource(R.drawable.earth_small, PhotoSize.ORIGINAL);
77 runStorageTestForResource(R.drawable.earth_200, 200, 200);
82 runStorageTestForResource(R.drawable.earth_300x200, 256, 170);
88 runStorageTestForResourceWithCrop(R.drawable.earth_300x200, 200, 200);
94 runStorageTestForResourceWithCrop(R.drawable.earth_600x400, 256, 256);
99 runStorageTestForResource(R.drawable.earth_normal, 256, 256);
104 runStorageTestForResource(R.drawable.earth_large, 256, 256);
109 runStorageTestForResource(R.drawable.earth_huge, 256, 256);
176 byte[] photo = loadPhotoFromResource(R.drawable.earth_normal, PhotoSize.ORIGINAL);
201 R.drawable
[all...]
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
H A DContactsMockPackageManager.java20 import android.graphics.drawable.ColorDrawable;
21 import android.graphics.drawable.Drawable;
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DCameraShortcutImage.java27 super(path, application, R.drawable.placeholder_camera);
H A DEmptyAlbumImage.java27 super(path, application, R.drawable.placeholder_empty);
H A DUnlockImage.java27 super(path, application, R.drawable.placeholder_locked);
/packages/apps/Mms/src/com/android/mms/ui/
H A DAttachmentTypeSelectorAdapter.java55 R.drawable.ic_attach_picture_holo_light, ADD_IMAGE);
58 R.drawable.ic_attach_capture_picture_holo_light, TAKE_PICTURE);
61 R.drawable.ic_attach_video_holo_light, ADD_VIDEO);
64 R.drawable.ic_attach_capture_video_holo_light, RECORD_VIDEO);
68 R.drawable.ic_attach_audio_holo_light, ADD_SOUND);
72 R.drawable.ic_attach_capture_audio_holo_light, RECORD_SOUND);
76 R.drawable.ic_attach_slideshow_holo_light, ADD_SLIDESHOW);
/packages/apps/Browser/src/com/android/browser/addbookmark/
H A DFolderSpinnerAdapter.java22 import android.graphics.drawable.Drawable;
72 drawableResource = R.drawable.ic_home_holo_dark;
76 drawableResource = R.drawable.ic_bookmarks_holo_dark;
82 drawableResource = R.drawable.ic_folder_holo_dark;
100 Drawable drawable = mContext.getResources().getDrawable(drawableResource);
101 textView.setCompoundDrawablesWithIntrinsicBounds(drawable, null,
/packages/apps/Gallery2/src/com/android/photos/data/
H A DPhotoSetLoader.java23 import android.graphics.drawable.Drawable;
85 DataUriThumbnailDrawable drawable = null;
87 drawable = new DataUriThumbnailDrawable();
89 drawable = (DataUriThumbnailDrawable) recycle;
91 drawable.setImage(item.getString(INDEX_DATA),
93 return drawable;

Completed in 2229 milliseconds

1234567891011>>