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

1234567891011>>

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DCachingIconLoader.java19 import android.graphics.drawable.Drawable;
54 Drawable drawable = checkIconCache(drawableId);
55 if (drawable != null) {
56 return drawable;
58 drawable = mWrapped.getIcon(drawableId);
59 storeInIconCache(drawableId, drawable);
60 return drawable;
76 private void storeInIconCache(String resourceUri, Drawable drawable) { argument
77 if (drawable != null) {
78 mIconCache.put(resourceUri, drawable
[all...]
H A DIconLoader.java20 import android.graphics.drawable.Drawable;
30 * Gets a drawable given an ID.
33 * (e.g., "2130837524"), in which case we will try to retrieve a drawable from
40 * If the ID is not formatted as expected, or no drawable can be found for
51 * Converts a drawable ID to a Uri that can be used from other packages.
/packages/apps/Gallery3D/src/com/cooliris/media/
H A DGridDrawables.java38 private static final int TEXTURE_FRAME = Res.drawable.stack_frame;
39 private static final int TEXTURE_GRID_FRAME = Res.drawable.grid_frame;
40 private static final int TEXTURE_FRAME_FOCUS = Res.drawable.stack_frame_focus;
41 private static final int TEXTURE_FRAME_PRESSED = Res.drawable.stack_frame_gold;
42 private static final int TEXTURE_LOCATION = Res.drawable.btn_location_filter_unscaled;
43 private static final int TEXTURE_VIDEO = Res.drawable.videooverlay;
44 private static final int TEXTURE_CHECKMARK_ON = Res.drawable.grid_check_on;
45 private static final int TEXTURE_CHECKMARK_OFF = Res.drawable.grid_check_off;
46 private static final int TEXTURE_CAMERA_SMALL = Res.drawable.icon_camera_small_unscaled;
47 private static final int TEXTURE_PICASA_SMALL = Res.drawable
[all...]
H A DLoadingLayer.java32 private static final int[] PRELOAD_RESOURCES_ASYNC_UNSCALED = { Res.drawable.stack_frame, Res.drawable.grid_frame,
33 Res.drawable.stack_frame_focus, Res.drawable.stack_frame_gold, Res.drawable.btn_location_filter_unscaled,
34 Res.drawable.videooverlay, Res.drawable.grid_check_on, Res.drawable.grid_check_off, Res.drawable.icon_camera_small_unscaled,
35 Res.drawable
[all...]
/packages/apps/Gallery3D/src/com/cooliris/app/
H A DRes.java28 public static final R.drawable drawable = new R.drawable(); field in class:Res
/packages/apps/Mms/src/com/android/mms/util/
H A DSmileyParser.java56 R.drawable.emo_im_happy,
57 R.drawable.emo_im_sad,
58 R.drawable.emo_im_winking,
59 R.drawable.emo_im_tongue_sticking_out,
60 R.drawable.emo_im_surprised,
61 R.drawable.emo_im_kissing,
62 R.drawable.emo_im_yelling,
63 R.drawable.emo_im_cool,
64 R.drawable.emo_im_money_mouth,
65 R.drawable
[all...]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DMockIconLoader.java21 import android.graphics.drawable.Drawable;
41 return mContext.getResources().getDrawable(android.R.drawable.star_on);
51 .appendEncodedPath(String.valueOf(android.R.drawable.star_on))
H A DIconLoaderTest.java40 assertNotNull(mLoader.getIcon(String.valueOf(android.R.drawable.star_on)));
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DCorpusViewFactory.java19 import android.graphics.drawable.Drawable;
/packages/apps/Mms/src/com/android/mms/ui/
H A DAttachmentTypeSelectorAdapter.java55 R.drawable.ic_launcher_gallery, ADD_IMAGE);
58 R.drawable.ic_launcher_camera, TAKE_PICTURE);
61 R.drawable.ic_launcher_video_player, ADD_VIDEO);
64 R.drawable.ic_launcher_camera_record, RECORD_VIDEO);
68 R.drawable.ic_launcher_musicplayer_2, ADD_SOUND);
72 R.drawable.ic_launcher_record_audio, RECORD_SOUND);
76 R.drawable.ic_launcher_slideshow_add_sms, ADD_SLIDESHOW);
H A DLayoutSelectorAdapter.java38 R.drawable.ic_mms_text_top);
40 R.drawable.ic_mms_text_bottom);
H A DDeliveryReportListItem.java74 mIconView.setImageResource(R.drawable.ic_sms_mms_delivered);
76 mIconView.setImageResource(R.drawable.ic_sms_mms_not_delivered);
78 mIconView.setImageResource(R.drawable.ic_sms_mms_pending);
81 mIconView.setImageResource(R.drawable.ic_sms_mms_not_delivered);
/packages/apps/Camera/src/com/android/camera/
H A DIconIndicator.java22 import android.graphics.drawable.Drawable;
59 Drawable drawable[] = new Drawable[n];
62 drawable[i] = id == 0 ? null : resources.getDrawable(id);
65 return drawable;
H A DRotateImageView.java22 import android.graphics.drawable.Drawable;
76 Drawable drawable = getDrawable();
77 if (drawable == null) return;
79 Rect bounds = drawable.getBounds();
110 drawable.draw(canvas);
H A DSwitcher.java21 import android.graphics.drawable.Drawable;
122 Drawable drawable = getDrawable();
123 int drawableHeight = drawable.getIntrinsicHeight();
137 Drawable drawable = getDrawable();
138 int drawableHeight = drawable.getIntrinsicHeight();
139 int drawableWidth = drawable.getIntrinsicWidth();
169 drawable.draw(canvas);
H A DThumbnailController.java24 import android.graphics.drawable.BitmapDrawable;
25 import android.graphics.drawable.Drawable;
26 import android.graphics.drawable.TransitionDrawable;
60 // The "frame" is a drawable we want to put on top of the thumbnail.
162 Drawable drawable;
166 drawable = mThumbs[1];
172 drawable = mThumbTransition;
175 mButton.setImageDrawable(drawable);
/packages/apps/Contacts/src/com/android/contacts/
H A DContactPresenceIconUtil.java20 import android.graphics.drawable.Drawable;
/packages/apps/Browser/src/com/android/browser/
H A DDots.java52 dotView.setImageResource(R.drawable.page_indicator_unselected2);
78 R.drawable.page_indicator_unselected2);
80 ((ImageView)getChildAt(index)).setImageResource(R.drawable.page_indicator);
/packages/apps/IM/src/com/android/im/app/
H A DChatBackgroundMaker.java26 import android.graphics.drawable.Drawable;
36 mIncomingBg = res.getDrawable(R.drawable.textfield_im_received);
37 mDivider = res.getDrawable(R.drawable.text_divider_horizontal);
/packages/apps/Protips/src/com/android/protips/
H A DProtipWidget.java31 import android.graphics.drawable.Drawable;
63 private static final Pattern sDrawableRegex = Pattern.compile(" *@(drawable/[a-z0-9_]+) *");
66 private int mIconRes = R.drawable.droidman_open;
96 setIcon(R.drawable.droidman_down_closed);
98 setIcon(R.drawable.droidman_down_open);
100 setIcon(R.drawable.droidman_down_closed);
102 setIcon(R.drawable.droidman_down_open);
107 mIconRes = R.drawable.droidman_open;
126 mIconRes = R.drawable.droidman_open;
151 setIcon(R.drawable
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DTutorialJAJP.java38 import android.graphics.drawable.Drawable;
226 setSpan(spannable, "\u25cb", R.drawable.tutorial_12key_key);
228 R.drawable.dialog_bubble, x, 0,
235 setSpan(spannable, "\u25cb", R.drawable.tutorial_12key_toggle);
237 R.drawable.dialog_bubble, x, 0,
243 setSpan(spannable, "\u2192", R.drawable.tutorial_12key_right);
246 R.drawable.dialog_bubble, x, 0,
252 setSpan(spannable, "\u25cb", R.drawable.tutorial_12key_toggle);
255 R.drawable.dialog_bubble, x, 0,
261 setSpan(spannable, "\u25a0", R.drawable
[all...]
/packages/apps/Settings/src/com/android/settings/widget/
H A DSettingsAppWidgetProvider.java448 R.drawable.ic_appwidget_settings_wifi_off);
450 R.drawable.appwidget_settings_ind_off_l);
454 R.drawable.ic_appwidget_settings_wifi_on);
456 R.drawable.appwidget_settings_ind_on_l);
466 R.drawable.ic_appwidget_settings_wifi_on);
468 R.drawable.appwidget_settings_ind_mid_l);
471 R.drawable.ic_appwidget_settings_wifi_off);
473 R.drawable.appwidget_settings_ind_off_l);
479 R.drawable.ic_appwidget_settings_brightness_auto);
481 R.drawable
[all...]
/packages/apps/AccountsAndSyncSettings/src/com/android/settings/
H A DAccountPreference.java26 import android.graphics.drawable.Drawable;
121 res = R.drawable.ic_sync_green;
124 res = R.drawable.ic_sync_grey;
127 res = R.drawable.ic_sync_red;
130 res = R.drawable.ic_sync_red;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DAddAdapter.java21 import android.graphics.drawable.Drawable;
74 R.drawable.ic_launcher_shortcut, ITEM_SHORTCUT));
77 R.drawable.ic_launcher_appwidget, ITEM_APPWIDGET));
80 R.drawable.ic_launcher_folder, ITEM_LIVE_FOLDER));
83 R.drawable.ic_launcher_wallpaper, ITEM_WALLPAPER));
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DPowerGaugePreference.java23 import android.graphics.drawable.Drawable;
50 mGauge.bar = context.getResources().getDrawable(R.drawable.app_gauge);
82 mIcon = getContext().getResources().getDrawable(android.R.drawable.sym_def_app_icon);

Completed in 174 milliseconds

1234567891011>>