Home
last modified time | relevance | path

Searched refs:setVisible (Results 1 – 25 of 100) sorted by relevance

1234

/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSelectedConversationsActionMenu.java400 star.setVisible(showStar && canStar); in onPrepareActionMode()
402 unstar.setVisible(!showStar && canStar); in onPrepareActionMode()
404 read.setVisible(!showMarkUnread); in onPrepareActionMode()
406 unread.setVisible(showMarkUnread); in onPrepareActionMode()
422 removeFolder.setVisible(showRemoveFolder); in onPrepareActionMode()
423 moveTo.setVisible(showMoveTo); in onPrepareActionMode()
424 moveToInbox.setVisible(showMoveToInbox); in onPrepareActionMode()
427 changeFolders.setVisible(mAccount.supportsCapability( in onPrepareActionMode()
436 archive.setVisible( in onPrepareActionMode()
441 spam.setVisible(!showMarkNotSpam in onPrepareActionMode()
[all …]
DMessageAttachmentBar.java232 menu.findItem(R.id.preview_attachment).setVisible(shouldShowPreview()); in onClick()
233 menu.findItem(R.id.save_attachment).setVisible(shouldShowSave()); in onClick()
234 menu.findItem(R.id.download_again).setVisible(shouldShowDownloadAgain()); in onClick()
235 menu.findItem(R.id.attachment_extra_option1).setVisible(shouldShowExtraOption1()); in onClick()
DMessageHeaderView.java936 m.findItem(R.id.reply).setVisible(defaultReplyAll); in onClick()
937 m.findItem(R.id.reply_all).setVisible(!defaultReplyAll); in onClick()
938 m.findItem(R.id.print_message).setVisible(Utils.isRunningKitkatOrLater()); in onClick()
946 m.findItem(R.id.add_star).setVisible(showStar && !isStarred); in onClick()
947 m.findItem(R.id.remove_star).setVisible(showStar && isStarred); in onClick()
951 m.findItem(R.id.report_rendering_improvement).setVisible(reportRendering); in onClick()
952 m.findItem(R.id.report_rendering_problem).setVisible(reportRendering); in onClick()
DWebViewContextMenu.java289 dialMenuItem.setVisible(false); in onCreateContextMenu()
300 sendSmsMenuItem.setVisible(false); in onCreateContextMenu()
369 menu.findItem(getMenuResIdForMenuType(MenuType.SHARE_LINK_MENU)).setVisible( in setupAnchorMenu()
/packages/apps/Dialer/tests/src/com/android/dialer/widget/
DActionBarControllerTest.java117 mSearchBox.setVisible(false); in testOnSearchUiExited()
124 mSearchBox.setVisible(false); in testOnSearchUiExited()
137 mSearchBox.setVisible(false); in testOnDialpadDown()
144 mSearchBox.setVisible(false); in testOnDialpadDown()
153 mSearchBox.setVisible(false); in testOnDialpadDown()
170 mSearchBox.setVisible(true); in testOnDialpadUp()
/packages/apps/Gallery2/src/com/android/photos/
DMultiChoiceManager.java142 editItem.setVisible((supportedOperations & MediaObject.SUPPORT_EDIT) > 0); in updateActionItemVisibilities()
143 deleteItem.setVisible((supportedOperations & MediaObject.SUPPORT_DELETE) > 0); in updateActionItemVisibilities()
144 shareItem.setVisible((supportedOperations & MediaObject.SUPPORT_SHARE) > 0); in updateActionItemVisibilities()
145 cropItem.setVisible((supportedOperations & MediaObject.SUPPORT_CROP) > 0); in updateActionItemVisibilities()
146 trimItem.setVisible((supportedOperations & MediaObject.SUPPORT_TRIM) > 0); in updateActionItemVisibilities()
147 muteItem.setVisible((supportedOperations & MediaObject.SUPPORT_MUTE) > 0); in updateActionItemVisibilities()
148 setAsItem.setVisible((supportedOperations & MediaObject.SUPPORT_SETAS) > 0); in updateActionItemVisibilities()
/packages/apps/Settings/src/com/android/settings/applications/
DManageApplications.java1137 mOptionsMenu.findItem(SORT_ORDER_ALPHA).setVisible(false); in updateOptionsMenu()
1138 mOptionsMenu.findItem(SORT_ORDER_SIZE).setVisible(false); in updateOptionsMenu()
1139 mOptionsMenu.findItem(SHOW_RUNNING_SERVICES).setVisible(showingBackground); in updateOptionsMenu()
1140 mOptionsMenu.findItem(SHOW_BACKGROUND_PROCESSES).setVisible(!showingBackground); in updateOptionsMenu()
1141 mOptionsMenu.findItem(RESET_APP_PREFERENCES).setVisible(false); in updateOptionsMenu()
1144 mOptionsMenu.findItem(SORT_ORDER_ALPHA).setVisible(mSortOrder != SORT_ORDER_ALPHA); in updateOptionsMenu()
1145 mOptionsMenu.findItem(SORT_ORDER_SIZE).setVisible(mSortOrder != SORT_ORDER_SIZE); in updateOptionsMenu()
1146 mOptionsMenu.findItem(SHOW_RUNNING_SERVICES).setVisible(false); in updateOptionsMenu()
1147 mOptionsMenu.findItem(SHOW_BACKGROUND_PROCESSES).setVisible(false); in updateOptionsMenu()
1148 mOptionsMenu.findItem(RESET_APP_PREFERENCES).setVisible(true); in updateOptionsMenu()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java1023 contactsFilterMenu.setVisible(false); in onPrepareOptionsMenu()
1024 clearFrequentsMenu.setVisible(false); in onPrepareOptionsMenu()
1025 helpMenu.setVisible(false); in onPrepareOptionsMenu()
1029 contactsFilterMenu.setVisible(false); in onPrepareOptionsMenu()
1030 clearFrequentsMenu.setVisible(hasFrequents()); in onPrepareOptionsMenu()
1033 contactsFilterMenu.setVisible(true); in onPrepareOptionsMenu()
1034 clearFrequentsMenu.setVisible(false); in onPrepareOptionsMenu()
1063 item.setVisible(visible); in makeMenuItemVisible()
/packages/apps/InCallUI/src/com/android/incallui/
DCallButtonFragment.java478 menu.findItem(R.id.overflow_merge_menu_item).setVisible(showMergeMenuOption); in configureOverflowMenu()
479 menu.findItem(R.id.overflow_add_menu_item).setVisible(showAddMenuOption); in configureOverflowMenu()
480 menu.findItem(R.id.overflow_hold_menu_item).setVisible( in configureOverflowMenu()
482 menu.findItem(R.id.overflow_resume_menu_item).setVisible( in configureOverflowMenu()
484 menu.findItem(R.id.overflow_swap_menu_item).setVisible(showSwapMenuOption); in configureOverflowMenu()
743 earpieceItem.setVisible(!usingHeadset); in showAudioModePopup()
745 wiredHeadsetItem.setVisible(usingHeadset); in showAudioModePopup()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSettings.java139 .setVisible(true) in onPrepareOptionsMenu()
143 menu.findItem(R.id.account_settings_menu_auto_sync_personal).setVisible(false); in onPrepareOptionsMenu()
144 menu.findItem(R.id.account_settings_menu_auto_sync_work).setVisible(false); in onPrepareOptionsMenu()
150 .setVisible(true) in onPrepareOptionsMenu()
155 .setVisible(true) in onPrepareOptionsMenu()
159 menu.findItem(R.id.account_settings_menu_auto_sync).setVisible(false); in onPrepareOptionsMenu()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java1114 doneMenu.setVisible(false); in onPrepareOptionsMenu()
1117 discardMenu.setVisible(mState != null && in onPrepareOptionsMenu()
1123 splitMenu.setVisible(false); in onPrepareOptionsMenu()
1124 joinMenu.setVisible(false); in onPrepareOptionsMenu()
1125 deleteMenu.setVisible(false); in onPrepareOptionsMenu()
1129 splitMenu.setVisible(mState.size() > 1 && !isEditingUserProfile()); in onPrepareOptionsMenu()
1131 joinMenu.setVisible(!isEditingUserProfile()); in onPrepareOptionsMenu()
1132 deleteMenu.setVisible(!mDisableDeleteMenuOption); in onPrepareOptionsMenu()
1135 helpMenu.setVisible(false); in onPrepareOptionsMenu()
1141 sendToVoiceMailMenu.setVisible(mArePhoneOptionsChangable); in onPrepareOptionsMenu()
[all …]
/packages/apps/Settings/src/com/android/settings/
DZonePicker.java187 menu.findItem(MENU_TIMEZONE).setVisible(false); in onPrepareOptionsMenu()
188 menu.findItem(MENU_ALPHABETICAL).setVisible(true); in onPrepareOptionsMenu()
190 menu.findItem(MENU_TIMEZONE).setVisible(true); in onPrepareOptionsMenu()
191 menu.findItem(MENU_ALPHABETICAL).setVisible(false); in onPrepareOptionsMenu()
DHelpUtils.java83 helpMenuItem.setVisible(false); in prepareHelpMenuItem()
103 helpMenuItem.setVisible(true); in prepareHelpMenuItem()
105 helpMenuItem.setVisible(false); in prepareHelpMenuItem()
DDataUsageSummary.java514 mMenuShowWifi.setVisible(!appDetailMode); in onPrepareOptionsMenu()
516 mMenuShowWifi.setVisible(false); in onPrepareOptionsMenu()
521 mMenuShowEthernet.setVisible(!appDetailMode); in onPrepareOptionsMenu()
523 mMenuShowEthernet.setVisible(false); in onPrepareOptionsMenu()
527 mMenuRestrictBackground.setVisible( in onPrepareOptionsMenu()
532 metered.setVisible(!appDetailMode); in onPrepareOptionsMenu()
534 metered.setVisible(false); in onPrepareOptionsMenu()
539 mMenuSimCards.setVisible(false); in onPrepareOptionsMenu()
542 mMenuCellularNetworks.setVisible(hasReadyMobileRadio(context) in onPrepareOptionsMenu()
550 help.setVisible(false); in onPrepareOptionsMenu()
/packages/apps/UnifiedEmail/src/com/android/mail/photo/
DMailPhotoViewController.java181 mExtraOption1Item.setVisible(!mHideExtraOptionOne && in updateActionItems()
216 mShareItem.setVisible(false); in updateActionItems()
217 mShareAllItem.setVisible(false); in updateActionItems()
222 mPrintItem.setVisible(false); in updateActionItems()
/packages/apps/Settings/src/com/android/settings/drawable/
DDrawableWrapper.java109 public boolean setVisible(boolean visible, boolean restart) { in setVisible() method in DrawableWrapper
110 return super.setVisible(visible, restart) || mDrawable.setVisible(visible, restart); in setVisible()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DCachedBluetoothDeviceManager.java48 cachedDevice.setVisible(false); in onDeviceDisappeared()
131 cachedDevice.setVisible(false); in onScanningStateChanged()
156 cachedDevice.setVisible(false); in onBluetoothStateChanged()
DBluetoothEventManager.java210 cachedDevice.setVisible(true); in onReceive()
288 cachedDevice.setVisible(false); in onReceive()
366 cachedDevice.setVisible(false); in onReceive()
/packages/apps/Camera2/src/com/android/camera/
DButtonManager.java549 setVisible(mExposureN2, (Math.round(min * step) <= -2)); in setExposureCompensationParameters()
550 setVisible(mExposureN1, (Math.round(min * step) <= -1)); in setExposureCompensationParameters()
551 setVisible(mExposureP1, (Math.round(max * step) >= 1)); in setExposureCompensationParameters()
552 setVisible(mExposureP2, (Math.round(max * step) >= 2)); in setExposureCompensationParameters()
557 private static void setVisible(View v, boolean visible) { in setVisible() method in ButtonManager
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnList.java93 menu.findItem(MENU_ADD).setVisible(true); in onPrepareOptionsMenu()
94 menu.findItem(MENU_EDIT).setVisible(hasSelection); in onPrepareOptionsMenu()
95 menu.findItem(MENU_DELETE).setVisible(hasSelection); in onPrepareOptionsMenu()
/packages/apps/Dialer/src/com/android/dialer/widget/
DActionBarController.java114 mSearchBox.setVisible(true); in onDialpadDown()
202 mSearchBox.setVisible(false); in restoreInstanceState()
205 mSearchBox.setVisible(true); in restoreInstanceState()
/packages/apps/Camera/src/com/android/camera/ui/
DZoomRenderer.java74 setVisible(false); in ZoomRenderer()
142 setVisible(true); in onScaleBegin()
152 setVisible(false); in onScaleEnd()
DPieRenderer.java155 setVisible(false); in init()
247 setVisible(show); in show()
743 setVisible(true); in startAnimation()
774 setVisible(false); in run()
/packages/apps/Browser/src/com/android/browser/
DPhoneUi.java177 bm.setVisible(!showingNavScreen()); in updateMenuState()
181 abm.setVisible((tab != null) && !tab.isSnapshot() && !showingNavScreen()); in updateMenuState()
185 info.setVisible(false); in updateMenuState()
189 newtab.setVisible(false); in updateMenuState()
/packages/apps/Gallery/src/com/android/camera/
DViewImage.java194 mZoomButtonsController.setVisible(false);
214 mZoomButtonsController.setVisible(false);
217 mZoomButtonsController.setVisible(true);
250 mZoomButtonsController.setVisible(false);
289 mZoomButtonsController.setVisible(true);

1234