Home
last modified time | relevance | path

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

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/fakes/
DRoboMenuItemTest.java109 item = item.setIcon(null); in methodsShouldReturnThis()
111 item = item.setIcon(0); in methodsShouldReturnThis()
136 item.setIcon(R.drawable.an_image); in setIcon_shouldNullifyOnZero()
138 item.setIcon(0); in setIcon_shouldNullifyOnZero()
148 item.setIcon(testDrawable); in getIcon_shouldReturnDrawableFromSetIconDrawable()
155 item.setIcon(R.drawable.an_other_image); in getIcon_shouldReturnDrawableFromSetIconResourceId()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/fakes/
DRoboSubMenu.java53 public SubMenu setIcon(int iconRes) { in setIcon() method in RoboSubMenu
58 public SubMenu setIcon(Drawable icon) { in setIcon() method in RoboSubMenu
DRoboMenuItem.java100 public MenuItem setIcon(Drawable icon) { in setIcon() method in RoboMenuItem
106 public MenuItem setIcon(int iconRes) { in setIcon() method in RoboMenuItem
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DLogcatViewer.java110 menu.add(Menu.NONE, MenuId.PREFERENCES.getId(), Menu.NONE, "Preferences").setIcon( in onCreateOptionsMenu()
112 menu.add(Menu.NONE, MenuId.JUMP_TO_BOTTOM.getId(), Menu.NONE, "Jump to Bottom").setIcon( in onCreateOptionsMenu()
114 menu.add(Menu.NONE, MenuId.SHARE.getId(), Menu.NONE, "Share").setIcon( in onCreateOptionsMenu()
116 menu.add(Menu.NONE, MenuId.COPY.getId(), Menu.NONE, "Copy").setIcon( in onCreateOptionsMenu()
DScriptManager.java122 .setIcon(android.R.drawable.ic_dialog_alert).setPositiveButton("Ok", null).show(); in onCreate()
127 .setIcon(android.R.drawable.ic_dialog_alert).setPositiveButton("Ok", null).show(); in onCreate()
271 menu.add(Menu.NONE, MenuId.SEARCH.getId(), Menu.NONE, "Search").setIcon( in onPrepareOptionsMenu()
273 menu.add(Menu.NONE, MenuId.PREFERENCES.getId(), Menu.NONE, "Preferences").setIcon( in onPrepareOptionsMenu()
275 menu.add(Menu.NONE, MenuId.REFRESH.getId(), Menu.NONE, "Refresh").setIcon( in onPrepareOptionsMenu()
282 menu.addSubMenu(Menu.NONE, Menu.NONE, Menu.NONE, "View").setIcon( in buildSwitchActivityMenu()
307 menu.addSubMenu(Menu.NONE, Menu.NONE, Menu.NONE, "Add").setIcon( in buildAddMenu()
DScriptEditor.java180 menu.add(0, MenuId.SAVE.getId(), 0, "Save & Exit").setIcon(android.R.drawable.ic_menu_save); in onCreateOptionsMenu()
181 menu.add(0, MenuId.SAVE_AND_RUN.getId(), 0, "Save & Run").setIcon( in onCreateOptionsMenu()
183 menu.add(0, MenuId.PREFERENCES.getId(), 0, "Preferences").setIcon( in onCreateOptionsMenu()
185 menu.add(0, MenuId.API_BROWSER.getId(), 0, "API Browser").setIcon( in onCreateOptionsMenu()
187 menu.add(0, MenuId.SHARE.getId(), 0, "Share").setIcon(android.R.drawable.ic_menu_share); in onCreateOptionsMenu()
188 menu.add(0, MenuId.GOTO.getId(), 0, "GoTo").setIcon(android.R.drawable.ic_menu_directions); in onCreateOptionsMenu()
189 menu.add(0, MenuId.SEARCH.getId(), 0, "Find").setIcon(android.R.drawable.ic_menu_search); in onCreateOptionsMenu()
DInterpreterManager.java111 menu.add(Menu.NONE, MenuId.NETWORK.getId(), Menu.NONE, "Start Server").setIcon( in onPrepareOptionsMenu()
113 menu.add(Menu.NONE, MenuId.PREFERENCES.getId(), Menu.NONE, "Preferences").setIcon( in onPrepareOptionsMenu()
120 menu.addSubMenu(Menu.NONE, MenuId.ADD.getId(), Menu.NONE, "Add").setIcon( in buildInstallLanguagesMenu()
DApiBrowser.java158 menu.add(Menu.NONE, MenuId.EXPAND_ALL.getId(), Menu.NONE, "Expand All").setIcon( in onPrepareOptionsMenu()
160 menu.add(Menu.NONE, MenuId.COLLAPSE_ALL.getId(), Menu.NONE, "Collapse All").setIcon( in onPrepareOptionsMenu()
162 menu.add(Menu.NONE, MenuId.SEARCH.getId(), Menu.NONE, "Search").setIcon( in onPrepareOptionsMenu()
DTriggerManager.java90 menu.add(Menu.NONE, MenuId.ADD.getId(), Menu.NONE, "Add").setIcon( in onCreateOptionsMenu()
92 menu.add(Menu.NONE, MenuId.PREFERENCES.getId(), Menu.NONE, "Preferences").setIcon( in onCreateOptionsMenu()
/external/antlr/gunit/src/main/java/org/antlr/gunit/swingui/
DRunnerController.java211 label.setIcon(ImageFactory.getSingleton().TESTSUITE); in getTreeCellRendererComponent()
217 label.setIcon( node.hasFail ? in getTreeCellRendererComponent()
224 label.setIcon( (node.data.isPass())? in getTreeCellRendererComponent()
DRuleListController.java126 setIcon(item.getNotEmpty() ? ImageFactory.getSingleton().FAV16 : null); in getListCellRendererComponent()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAlertController.java71 public void setIcon(int iconId) { in setIcon() method in ShadowAlertController
73 directlyOn(realAlertController, AlertController.class).setIcon(iconId); in setIcon()
/external/setupdesign/main/src/com/google/android/setupdesign/template/
DIconMixin.java77 setIcon(icon); in IconMixin()
109 public void setIcon(Drawable icon) { in setIcon() method in IconMixin
128 public void setIcon(@DrawableRes int icon) { in setIcon() method in IconMixin
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dpeers.cpp337 msg.setIcon(QMessageBox::Warning); in enter_pin()
358 msg.setIcon(QMessageBox::Warning); in ctx_p2p_start()
382 msg.setIcon(QMessageBox::Warning); in ctx_p2p_listen()
397 msg.setIcon(QMessageBox::Warning); in ctx_p2p_start_group()
1360 msg.setIcon(QMessageBox::Warning); in ctx_p2p_connect()
1394 msg.setIcon(QMessageBox::Warning); in ctx_p2p_connect()
1417 msg.setIcon(QMessageBox::Warning); in ctx_p2p_req_pin()
1440 msg.setIcon(QMessageBox::Warning); in ctx_p2p_show_pin()
1461 msg.setIcon(QMessageBox::Warning); in ctx_p2p_display_pin()
1490 msg.setIcon(QMessageBox::Warning); in ctx_p2p_display_pin_pd()
[all …]
/external/python/cpython3/Mac/BuildScript/
Dseticon.m21 setIcon: [[NSImage alloc] initWithContentsOfFile: iconPath]
Dbuild-installer.py1669 setIcon(imagepath + ".tmp.dmg", "../Icons/Disk Image.icns")
1672 setIcon(imagepath, "../Icons/Disk Image.icns")
1679 def setIcon(filePath, icnsPath): function
1741 setIcon(folder, "../Icons/Python Folder.icns")
/external/python/cpython2/Mac/BuildScript/
Dseticon.m21 setIcon: [[NSImage alloc] initWithContentsOfFile: iconPath]
Dbuild-installer.py1558 setIcon(imagepath + ".tmp.dmg", "../Icons/Disk Image.icns")
1561 setIcon(imagepath, "../Icons/Disk Image.icns")
1568 def setIcon(filePath, icnsPath): function
1630 setIcon(folder, "../Icons/Python Folder.icns")
/external/oboe/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/
DMainActivity.kt188 item.setIcon(R.drawable.ic_baseline_audio_is_enabled_24) in <lambda>()
190 item.setIcon(R.drawable.ic_baseline_audio_is_disabled_24) in <lambda>()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/dialog/
DDurationPickerDialog.java42 alert.setIcon(R.drawable.ic_dialog_time); in getDurationFromDialog()
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DPreviewItemView.kt32 fun setIcon(@DrawableRes icon: Int) { in setIcon() method
/external/proguard/src/proguard/gui/
DClassPathPanel.java373 iconLabel.setIcon(arrowIcon); in getListCellRendererComponent()
377 iconLabel.setIcon(null); in getListCellRendererComponent()
/external/setupdesign/main/src/com/google/android/setupdesign/
DGlifLayout.java344 public void setIcon(Drawable icon) { in setIcon() method in GlifLayout
345 getMixin(IconMixin.class).setIcon(icon); in setIcon()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowWindowTest.java121 getActionBar().setIcon(R.drawable.ic_lock_power_off); in onCreate()
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DItem.java89 public void setIcon(@Nullable Drawable icon) { in setIcon() method in Item

12