Home
last modified time | relevance | path

Searched refs:drawable (Results 1 – 25 of 601) sorted by relevance

12345678910>>...25

/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
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.shapes.Shape;
[all …]
/packages/apps/Camera2/src/com/android/camera/
DOnScreenIndicators.java51 mWBArray[i] = iconIds.getResourceId(i, R.drawable.ic_indicator_wb_off); in OnScreenIndicators()
102 id = R.drawable.ic_indicator_ev_n3; in updateExposureOnScreenIndicator()
105 id = R.drawable.ic_indicator_ev_n2; in updateExposureOnScreenIndicator()
108 id = R.drawable.ic_indicator_ev_n1; in updateExposureOnScreenIndicator()
111 id = R.drawable.ic_indicator_ev_0; in updateExposureOnScreenIndicator()
114 id = R.drawable.ic_indicator_ev_p1; in updateExposureOnScreenIndicator()
117 id = R.drawable.ic_indicator_ev_p2; in updateExposureOnScreenIndicator()
120 id = R.drawable.ic_indicator_ev_p3; in updateExposureOnScreenIndicator()
133 mTimerIndicator.setImageResource(on ? R.drawable.ic_indicator_timer_on in updateTimerIndicator()
134 : R.drawable.ic_indicator_timer_off); in updateTimerIndicator()
[all …]
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
DNotificationService.java28 import android.graphics.drawable.BitmapDrawable;
29 import android.graphics.drawable.Drawable;
95 .setLargeIcon(getBitmap(context, R.drawable.bucket)) in makeBigTextNotification()
97 .addAction(R.drawable.ic_media_next, in makeBigTextNotification()
100 .setSmallIcon(R.drawable.stat_notify_talk_text) in makeBigTextNotification()
112 .setSmallIcon(R.drawable.ic_menu_upload) in makeUploadNotification()
133 .setLargeIcon(getBitmap(this, R.drawable.matias_hed)) in onHandleIntent()
134 .setSmallIcon(R.drawable.stat_sys_phone_call) in onHandleIntent()
138 .addAction(R.drawable.ic_dial_action_call, "Answer", in onHandleIntent()
140 .addAction(R.drawable.ic_end_call, "Ignore", in onHandleIntent()
[all …]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DTutorialJAJP.java38 import android.graphics.drawable.Drawable;
226 setSpan(spannable, "\u25cb", R.drawable.tutorial_12key_key); in TutorialJAJP()
228 R.drawable.dialog_bubble, x, 0, in TutorialJAJP()
235 setSpan(spannable, "\u25cb", R.drawable.tutorial_12key_toggle); in TutorialJAJP()
237 R.drawable.dialog_bubble, x, 0, in TutorialJAJP()
243 setSpan(spannable, "\u2192", R.drawable.tutorial_12key_right); in TutorialJAJP()
246 R.drawable.dialog_bubble, x, 0, in TutorialJAJP()
252 setSpan(spannable, "\u25cb", R.drawable.tutorial_12key_toggle); in TutorialJAJP()
255 R.drawable.dialog_bubble, x, 0, in TutorialJAJP()
261 setSpan(spannable, "\u25a0", R.drawable.tutorial_12key_space_jp); in TutorialJAJP()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DSettingsAppWidgetProvider.java81 R.drawable.appwidget_settings_ind_off_l_holo,
82 R.drawable.appwidget_settings_ind_off_c_holo,
83 R.drawable.appwidget_settings_ind_off_r_holo
87 R.drawable.appwidget_settings_ind_mid_l_holo,
88 R.drawable.appwidget_settings_ind_mid_c_holo,
89 R.drawable.appwidget_settings_ind_mid_r_holo
93 R.drawable.appwidget_settings_ind_on_l_holo,
94 R.drawable.appwidget_settings_ind_on_c_holo,
95 R.drawable.appwidget_settings_ind_on_r_holo
359 return on ? R.drawable.ic_appwidget_settings_wifi_on_holo in getButtonImageId()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DBaseFiltersManager.java187 rep = new FilterImageBorderRepresentation(R.drawable.filtershow_border_4x5); in addBorders()
190 rep = new FilterImageBorderRepresentation(R.drawable.filtershow_border_brush); in addBorders()
193 rep = new FilterImageBorderRepresentation(R.drawable.filtershow_border_grunge); in addBorders()
196 rep = new FilterImageBorderRepresentation(R.drawable.filtershow_border_sumi_e); in addBorders()
199 rep = new FilterImageBorderRepresentation(R.drawable.filtershow_border_tape); in addBorders()
234 R.drawable.filtershow_fx_0005_punch, in addLooks()
235 R.drawable.filtershow_fx_0000_vintage, in addLooks()
236 R.drawable.filtershow_fx_0004_bw_contrast, in addLooks()
237 R.drawable.filtershow_fx_0002_bleach, in addLooks()
238 R.drawable.filtershow_fx_0001_instant, in addLooks()
[all …]
DImageFilterBorder.java24 import android.graphics.drawable.BitmapDrawable;
25 import android.graphics.drawable.Drawable;
60 Drawable drawable = getDrawable(getParameters().getDrawableResource()); in applyHelper() local
61 drawable.setBounds(bounds); in applyHelper()
62 drawable.draw(canvas); in applyHelper()
84 Drawable drawable = mDrawables.get(rsc); in getDrawable() local
85 if (drawable == null && mResources != null && rsc != 0) { in getDrawable()
86drawable = new BitmapDrawable(mResources, BitmapFactory.decodeResource(mResources, rsc)); in getDrawable()
87 mDrawables.put(rsc, drawable); in getDrawable()
89 return drawable; in getDrawable()
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/Browser/src/com/android/browser/
DPieControl.java125 icon.setImageResource(R.drawable.ic_mobile); in onOpen()
127 icon.setImageResource(R.drawable.ic_desktop_holo_dark); in onOpen()
134 mBack = makeItem(R.drawable.ic_back_holo_dark, 1); in populateMenu()
135 mUrl = makeItem(R.drawable.ic_web_holo_dark, 1); in populateMenu()
136 mBookmarks = makeItem(R.drawable.ic_bookmarks_holo_dark, 1); in populateMenu()
137 mHistory = makeItem(R.drawable.ic_history_holo_dark, 1); in populateMenu()
138 mAddBookmark = makeItem(R.drawable.ic_bookmark_on_holo_dark, 1); in populateMenu()
139 mRefresh = makeItem(R.drawable.ic_refresh_holo_dark, 1); in populateMenu()
140 mForward = makeItem(R.drawable.ic_forward_holo_dark, 1); in populateMenu()
141 mNewTab = makeItem(R.drawable.ic_new_window_holo_dark, 1); in populateMenu()
[all …]
DNavigationBarTablet.java27 import android.graphics.drawable.Drawable;
77 mStopDrawable = resources.getDrawable(R.drawable.ic_stop_holo_dark); in init()
78 mReloadDrawable = resources.getDrawable(R.drawable.ic_refresh_holo_dark); in init()
82 R.drawable.textfield_active_holo_dark); in init()
84 R.drawable.textfield_default_holo_dark); in init()
143 ? R.drawable.ic_back_holo_dark in updateNavigationState()
144 : R.drawable.ic_back_disabled_holo_dark); in updateNavigationState()
146 ? R.drawable.ic_forward_holo_dark in updateNavigationState()
147 : R.drawable.ic_forward_disabled_holo_dark); in updateNavigationState()
207 mUrlIcon.setImageResource(R.drawable.ic_search_holo_dark); in updateUrlIcon()
[all …]
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallTypeIconsView.java21 import android.graphics.drawable.Drawable;
62 final Drawable drawable = getCallTypeDrawable(callType); in add() local
63 mWidth += drawable.getIntrinsicWidth() + mResources.iconMargin; in add()
64 mHeight = Math.max(mHeight, drawable.getIntrinsicHeight()); in add()
106 final Drawable drawable = getCallTypeDrawable(callType); in onDraw() local
107 final int right = left + drawable.getIntrinsicWidth(); in onDraw()
108 drawable.setBounds(left, 0, right, drawable.getIntrinsicHeight()); in onDraw()
109 drawable.draw(canvas); in onDraw()
123 incoming = r.getDrawable(R.drawable.ic_call_incoming_holo_dark); in Resources()
124 outgoing = r.getDrawable(R.drawable.ic_call_outgoing_holo_dark); in Resources()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPhotoStoreTest.java69 byte[] photo = loadPhotoFromResource(R.drawable.earth_small, PhotoSize.ORIGINAL); in testStoreThumbnailPhoto()
77 runStorageTestForResource(R.drawable.earth_200, 200, 200); in testStore200Photo()
82 runStorageTestForResource(R.drawable.earth_300x200, 256, 170); in testStoreNonSquare300x200Photo()
88 runStorageTestForResourceWithCrop(R.drawable.earth_300x200, 200, 200); in testStoreNonSquare300x200PhotoWithCrop()
94 runStorageTestForResourceWithCrop(R.drawable.earth_600x400, 256, 256); in testStoreNonSquare600x400PhotoWithCrop()
99 runStorageTestForResource(R.drawable.earth_normal, 256, 256); in testStoreMediumPhoto()
104 runStorageTestForResource(R.drawable.earth_large, 256, 256); in testStoreLargePhoto()
109 runStorageTestForResource(R.drawable.earth_huge, 256, 256); in testStoreHugePhoto()
176 byte[] photo = loadPhotoFromResource(R.drawable.earth_normal, PhotoSize.ORIGINAL); in testRemoveEntry()
201 R.drawable.earth_normal, R.drawable.earth_large, R.drawable.earth_huge in testCleanup()
[all …]
/packages/apps/Camera2/src/com/android/camera/ui/
DModuleSwitcher.java26 import android.graphics.drawable.Drawable;
57 R.drawable.ic_switch_camera,
58 R.drawable.ic_switch_video,
59 R.drawable.ic_switch_pan,
60 R.drawable.ic_switch_photosphere,
61 R.drawable.ic_switch_gcam,
100 mIndicator = context.getResources().getDrawable(R.drawable.ic_switcher_menu_indicator); in init()
138 setImageResource(R.drawable.ic_switch_camera); in setCurrentIndex()
190 item.setBackgroundResource(R.drawable.bg_pressed); in initPopup()
201 case R.drawable.ic_switch_camera: in initPopup()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DCachingIconLoader.java25 import android.graphics.drawable.Drawable;
76 NowOrLater<Drawable> drawable = mWrapped.getIcon(drawableId); in getIcon()
77 newEntry.set(drawable); in getIcon()
79 return drawable; in getIcon()
94 private synchronized void storeInIconCache(String resourceUri, Entry drawable) {
95 if (drawable != null) {
96 mIconCache.put(resourceUri, drawable);
109 public synchronized void set(NowOrLater<Drawable> drawable) {
112 mDrawable = drawable;
129 NowOrLater<Drawable> drawable = mDrawable;
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemView.java40 import android.graphics.drawable.Drawable;
69 import com.android.mail.R.drawable;
421 STAR_OFF = BitmapFactory.decodeResource(res, R.drawable.ic_btn_star_off); in ConversationItemView()
422 STAR_ON = BitmapFactory.decodeResource(res, R.drawable.ic_btn_star_on); in ConversationItemView()
423 CHECK = BitmapFactory.decodeResource(res, R.drawable.ic_avatar_check); in ConversationItemView()
424 ATTACHMENT = BitmapFactory.decodeResource(res, R.drawable.ic_attachment_holo_light); in ConversationItemView()
425 ONLY_TO_ME = BitmapFactory.decodeResource(res, R.drawable.ic_email_caret_double); in ConversationItemView()
426 TO_ME_AND_OTHERS = BitmapFactory.decodeResource(res, R.drawable.ic_email_caret_single); in ConversationItemView()
428 R.drawable.ic_email_caret_double_important_unread); in ConversationItemView()
430 R.drawable.ic_email_caret_single_important_unread); in ConversationItemView()
[all …]
/packages/apps/Settings/src/com/android/settings/users/
DRestrictedProfileSettings.java36 import android.graphics.drawable.Drawable;
190 Drawable drawable = null; in onCreateDialog() local
192 drawable = CircleFramedDrawable.getInstance(getActivity(), mSavedPhoto); in onCreateDialog()
194 drawable = mUserIconView.getDrawable(); in onCreateDialog()
195 if (drawable == null) { in onCreateDialog()
196 drawable = getCircularUserIcon(); in onCreateDialog()
199 userPhotoView.setImageDrawable(drawable); in onCreateDialog()
201 mSavedPhoto, drawable, mWaitingForActivityResult); in onCreateDialog()
205 .setIconAttribute(R.drawable.ic_settings_multiuser) in onCreateDialog()
225 Drawable drawable = mEditUserPhotoController.getNewUserPhotoDrawable(); in onCreateDialog()
[all …]
/packages/apps/Protips/src/com/android/protips/
DProtipWidget.java58 private int mIconRes = R.drawable.droidman_open;
89 setIcon(R.drawable.droidman_down_closed); in goodmorning()
91 setIcon(R.drawable.droidman_down_open); in goodmorning()
93 setIcon(R.drawable.droidman_down_closed); in goodmorning()
95 setIcon(R.drawable.droidman_down_open); in goodmorning()
100 mIconRes = R.drawable.droidman_open; in goodmorning()
153 mIconRes = R.drawable.droidman_open; in onReceiveAsync()
178 setIcon(R.drawable.droidman_closed); in blink()
182 setIcon(R.drawable.droidman_open); in blink()
184 setIcon(R.drawable.droidman_closed); in blink()
[all …]
/packages/apps/Mms/src/com/android/mms/ui/
DSlideEditorActivity.java354 com.android.internal.R.drawable.ic_menu_play_clip); in onPrepareOptionsMenu()
360 R.drawable.ic_menu_remove_text); in onPrepareOptionsMenu()
366 R.drawable.ic_menu_remove_picture); in onPrepareOptionsMenu()
369 R.drawable.ic_menu_picture); in onPrepareOptionsMenu()
371 R.drawable.ic_menu_picture); in onPrepareOptionsMenu()
377 R.drawable.ic_menu_remove_sound); in onPrepareOptionsMenu()
381 .setIcon(R.drawable.ic_menu_add_sound); in onPrepareOptionsMenu()
386 .setIcon(R.drawable.ic_menu_add_sound); in onPrepareOptionsMenu()
393 R.drawable.ic_menu_remove_video); in onPrepareOptionsMenu()
395 menu.add(0, MENU_ADD_VIDEO, 0, R.string.add_video).setIcon(R.drawable.ic_menu_movie); in onPrepareOptionsMenu()
[all …]
DSlideshowEditActivity.java138 image.setImageResource(R.drawable.ic_attach_slideshow_holo_light); in createAddSlideItem()
233 menu.add(0, MENU_MOVE_UP, 0, R.string.move_up).setIcon(R.drawable.ic_menu_move_up); in onPrepareOptionsMenu()
238 R.drawable.ic_menu_move_down); in onPrepareOptionsMenu()
241 … menu.add(0, MENU_ADD_SLIDE, 0, R.string.add_slide).setIcon(R.drawable.ic_menu_add_slide); in onPrepareOptionsMenu()
244 android.R.drawable.ic_menu_delete); in onPrepareOptionsMenu()
246 … menu.add(0, MENU_ADD_SLIDE, 0, R.string.add_slide).setIcon(R.drawable.ic_menu_add_slide); in onPrepareOptionsMenu()
250 R.string.discard_slideshow).setIcon(R.drawable.ic_menu_delete_played); in onPrepareOptionsMenu()
422 menu.add(0, MENU_MOVE_UP, 0, R.string.move_up).setIcon(R.drawable.ic_menu_move_up); in onCreateContextMenu()
426 R.drawable.ic_menu_move_down); in onCreateContextMenu()
430 R.drawable.ic_menu_add_slide); in onCreateContextMenu()
[all …]
/packages/apps/VideoEditor/src/com/android/videoeditor/
DBaseAdapterWithImages.java26 import android.graphics.drawable.BitmapDrawable;
135 final BitmapDrawable drawable in BaseAdapterWithImages()
137 if (drawable != null && drawable.getBitmap() != null) { in BaseAdapterWithImages()
139 drawable.getBitmap().recycle(); in BaseAdapterWithImages()
157 final BitmapDrawable drawable = (BitmapDrawable)imageView.getDrawable(); in onDestroy() local
158 if (drawable != null && drawable.getBitmap() != null) { in onDestroy()
159 drawable.getBitmap().recycle(); in onDestroy()
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
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DTextCandidatesViewManager.java26 import android.graphics.drawable.Drawable;
446 Drawable d = r.getDrawable(R.drawable.tab_no_select); in initView()
478 resid = R.drawable.cand_up_press; in initView()
480 resid = R.drawable.cand_down_press; in initView()
485 resid = R.drawable.cand_up; in initView()
487 resid = R.drawable.cand_down; in initView()
726 mViewCandidateTemplate.setBackgroundResource(R.drawable.cand_back); in displayCandidates()
1029 textView.setBackgroundResource(R.drawable.cand_back); in setCandidate()
1042 span = new ImageSpan(mWnn, R.drawable.word_half_space, in setCandidate()
1045 span = new ImageSpan(mWnn, R.drawable.word_full_space, in setCandidate()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/
DContactPhotoManager.java31 import android.graphics.drawable.BitmapDrawable;
32 import android.graphics.drawable.ColorDrawable;
33 import android.graphics.drawable.Drawable;
34 import android.graphics.drawable.TransitionDrawable;
280 final Drawable drawable = getDefaultImageForContact(view.getResources(), in applyDefaultImage() local
282 view.setImageDrawable(drawable); in applyDefaultImage()
287 final LetterTileDrawable drawable = new LetterTileDrawable(resources); in getDefaultImageForContact() local
294 drawable.setContactDetails(null, defaultImageRequest.displayName); in getDefaultImageForContact()
296 drawable.setContactDetails(defaultImageRequest.displayName, in getDefaultImageForContact()
299 drawable.setContactType(defaultImageRequest.contactType); in getDefaultImageForContact()
[all …]
/packages/apps/Camera/src/com/android/camera/ui/
DRotateImageView.java23 import android.graphics.drawable.BitmapDrawable;
24 import android.graphics.drawable.Drawable;
25 import android.graphics.drawable.TransitionDrawable;
95 Drawable drawable = getDrawable(); in onDraw() local
96 if (drawable == null) return; in onDraw()
98 Rect bounds = drawable.getBounds(); in onDraw()
136 drawable.draw(canvas); in onDraw()
162 Drawable drawable; in setBitmap() local
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DRotateImageView.java23 import android.graphics.drawable.BitmapDrawable;
24 import android.graphics.drawable.Drawable;
25 import android.graphics.drawable.TransitionDrawable;
93 Drawable drawable = getDrawable(); in onDraw() local
94 if (drawable == null) return; in onDraw()
96 Rect bounds = drawable.getBounds(); in onDraw()
134 drawable.draw(canvas); in onDraw()
160 Drawable drawable; in setBitmap() local

12345678910>>...25