Home
last modified time | relevance | path

Searched refs:setIcon (Results 1 – 23 of 23) sorted by relevance

/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
DCompatTabHoneycomb.java50 public CompatTab setIcon(int resId) { in setIcon() method in CompatTabHoneycomb
51 mTab.setIcon(resId); in setIcon()
DCompatTab.java38 public abstract CompatTab setIcon(int resId); in setIcon() method in CompatTab
DCompatTabEclair.java43 public CompatTab setIcon(int resId) { in setIcon() method in CompatTabEclair
/development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/
DShortcutPublisher.java196 b.setIcon(Icon.createWithResource(context, R.drawable.icon2)); in addRandomIntents()
198 b.setIcon(Icon.createWithBitmap(BitmapFactory.decodeResource(context.getResources(), in addRandomIntents()
211 b.setIcon(IconCompat.createWithResource(context, R.drawable.icon2)); in addRandomIntents()
213 b.setIcon(IconCompat.createWithBitmap( in addRandomIntents()
241 .setIcon(icon2) in onPublishPressed()
248 .setIcon(icon3) in onPublishPressed()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DActionBarMechanics.java63 actionItem.setIcon(android.R.drawable.ic_menu_share); in onCreateOptionsMenu()
DActionBarUsage.java61 menu.findItem(R.id.action_sort).setIcon(icon); in onPrepareOptionsMenu()
DFragmentAlertDialog.java89 .setIcon(R.drawable.alert_dialog_icon) in onCreateDialog()
DLoaderCursor.java117 item.setIcon(android.R.drawable.ic_menu_search); in onCreateOptionsMenu()
DLoaderRetained.java122 item.setIcon(android.R.drawable.ic_menu_search); in onCreateOptionsMenu()
DLoaderCustom.java453 item.setIcon(android.R.drawable.ic_menu_search); in onCreateOptionsMenu()
/development/samples/training/TabCompat/src/com/example/android/tabcompat/
DMainActivity.java44 .setIcon(R.drawable.ic_tab_photos) in onCreate()
50 .setIcon(R.drawable.ic_tab_videos) in onCreate()
/development/samples/browseable/ActionBarCompat-Basic/src/com.example.android.actionbarcompat.basic/
DMainActivity.java53 locationItem.setIcon(R.drawable.ic_action_location); in onCreateOptionsMenu()
/development/samples/SoftKeyboard/src/com/android/inputmethodcommon/
DInputMethodSettingsImpl.java192 mSubtypeEnablerPreference.setIcon(mSubtypeEnablerIconRes); in updateSubtypeEnabler()
194 mSubtypeEnablerPreference.setIcon(mSubtypeEnablerIcon); in updateSubtypeEnabler()
/development/samples/DataWiper/src/com.example.android.datawiper/
DMyMain.java85 .setIcon(android.R.drawable.ic_dialog_alert) in onWipeData()
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/
DShortcutHelper.java181 b.setIcon(Icon.createWithBitmap(bmp)); in setSiteInformation()
183 b.setIcon(Icon.createWithResource(mContext, R.drawable.link)); in setSiteInformation()
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DShortcutHelper.java184 b.setIcon(Icon.createWithBitmap(bmp)); in setSiteInformation()
186 b.setIcon(Icon.createWithResource(mContext, R.drawable.link)); in setSiteInformation()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DSmsReceivedDialog.java86 .setIcon(android.R.drawable.ic_dialog_email) in onCreateDialog()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DCardFlipActivity.java85 item.setIcon(mShowingBack in onCreateOptionsMenu()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSystemUIModes.java82 menu.add("Sort By Size").setIcon(android.R.drawable.ic_menu_sort_by_size); in onCreateActionMode()
83 menu.add("Sort By Alpha").setIcon(android.R.drawable.ic_menu_sort_alphabetically); in onCreateActionMode()
/development/samples/Home/src/com/example/android/home/
DHome.java445 .setIcon(android.R.drawable.ic_menu_gallery) in onCreateOptionsMenu()
448 .setIcon(android.R.drawable.ic_search_category_default) in onCreateOptionsMenu()
451 .setIcon(android.R.drawable.ic_menu_preferences) in onCreateOptionsMenu()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DLookupActivity.java206 builder.setIcon(R.drawable.app_icon); in showAbout()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DLauncherActivity.java216 .setIcon(android.R.drawable.ic_dialog_alert) in launch()
/development/apps/GestureBuilder/src/com/android/gesture/builder/
DGestureBuilderActivity.java246 builder.setIcon(0); in createRenameDialog()