Home
last modified time | relevance | path

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

12345

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DSecurityFragment.java142 mUnknownSourcesPref.setVisible(false); in refresh()
143 mVerifyAppsPref.setVisible(false); in refresh()
145 mRestrictedProfileGroup.setVisible(true); in refresh()
146 mRestrictedProfileEnterPref.setVisible(false); in refresh()
147 mRestrictedProfileExitPref.setVisible(true); in refresh()
148 mRestrictedProfileAppsPref.setVisible(false); in refresh()
149 mRestrictedProfilePinPref.setVisible(false); in refresh()
150 mRestrictedProfileCreatePref.setVisible(false); in refresh()
151 mRestrictedProfileDeletePref.setVisible(false); in refresh()
154 mUnknownSourcesPref.setVisible(true); in refresh()
[all …]
DInputsFragment.java143 mConnectedGroup.setVisible(connectedCount > 0); in refresh()
149 mStandbyGroup.setVisible(standbyCount > 0); in refresh()
155 mDisconnectedGroup.setVisible(disconnectedCount > 0); in refresh()
/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()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkFragment.java170 mWifiNetworksCategory.setVisible(wifiEnabled); in updateConnectivity()
171 mCollapsePref.setVisible(wifiEnabled && mWifiNetworksCategory.shouldShowCollapsePref()); in updateConnectivity()
172 mWpsPref.setVisible(wifiEnabled); in updateConnectivity()
173 mAddPref.setVisible(wifiEnabled); in updateConnectivity()
189 mEthernetCategory.setVisible(ethernetAvailable); in updateConnectivity()
190 mEthernetStatusPref.setVisible(ethernetAvailable); in updateConnectivity()
191 mEthernetProxyPref.setVisible(ethernetAvailable); in updateConnectivity()
192 mEthernetDhcpPref.setVisible(ethernetAvailable); in updateConnectivity()
258 mCollapsePref.setVisible(mWifiNetworksCategory.shouldShowCollapsePref()); in updateWifiList()
DWifiDetailsFragment.java143 mIpAddressPref.setVisible(active); in update()
144 mMacAddressPref.setVisible(active); in update()
145 mSignalStrengthPref.setVisible(active); in update()
171 mProxySettingsPref.setVisible(wifiConfiguration != null); in update()
172 mIpSettingsPref.setVisible(wifiConfiguration != null); in update()
173 mForgetNetworkPref.setVisible(wifiConfiguration != null); in update()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DMultiSelectActionModeCallback.java177 mAddContactMenuItem.setVisible(!conversation.isGroup && !isInContacts); in updateActionIconsVisiblity()
180 mBlockMenuItem.setVisible(otherParticipant != null in updateActionIconsVisiblity()
183 mBlockMenuItem.setVisible(false); in updateActionIconsVisiblity()
184 mAddContactMenuItem.setVisible(false); in updateActionIconsVisiblity()
213 mNotificationOffMenuItem.setVisible(hasCurrentlyOnNotification); in updateActionIconsVisiblity()
214 mNotificationOnMenuItem.setVisible(hasCurrentlyOffNotification); in updateActionIconsVisiblity()
216 mArchiveMenuItem.setVisible(hasCurrentlyUnarchived); in updateActionIconsVisiblity()
217 mUnarchiveMenuItem.setVisible(hasCurrentlyArchived); in updateActionIconsVisiblity()
/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/Messaging/src/com/android/messaging/ui/contact/
DContactPickerFragment.java351 addMoreParticipantsItem.setVisible(false); in updateVisualsForContactPickingMode()
352 confirmParticipantsItem.setVisible(false); in updateVisualsForContactPickingMode()
376 addMoreParticipantsItem.setVisible(true); in updateVisualsForContactPickingMode()
377 confirmParticipantsItem.setVisible(false); in updateVisualsForContactPickingMode()
391 addMoreParticipantsItem.setVisible(false); in updateVisualsForContactPickingMode()
392 confirmParticipantsItem.setVisible(true); in updateVisualsForContactPickingMode()
400 addMoreParticipantsItem.setVisible(false); in updateVisualsForContactPickingMode()
401 confirmParticipantsItem.setVisible(true); in updateVisualsForContactPickingMode()
422 deleteTextItem.setVisible(false); in updateTextInputButtonsVisibility()
423 keypadToggleItem.setVisible(true); in updateTextInputButtonsVisibility()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DStorageFragment.java151 mMigratePref.setVisible(showMigrate); in refresh()
160 mEjectPref.setVisible(!privateInternal); in refresh()
163 mErasePref.setVisible(!privateInternal); in refresh()
174 mAppsUsagePref.setVisible(isPrivate); in refresh()
177 mDcimUsagePref.setVisible(isPrivate); in refresh()
178 mMusicUsagePref.setVisible(isPrivate); in refresh()
179 mDownloadsUsagePref.setVisible(isPrivate); in refresh()
180 mCacheUsagePref.setVisible(isPrivate); in refresh()
/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/TvSettings/Settings/src/com/android/tv/settings/
DMainFragment.java151 inputPref.setVisible(mInputSettingNeeded); in onCreatePreferences()
192 preference.setVisible(systemIntentIsHandled(preference.getIntent()) != null); in hideIfIntentUnhandled()
289 addAccountPref.setVisible(false); in updateAccounts()
297 addAccountPref.setVisible(!allowableAccountTypes.isEmpty()); in updateAccounts()
309 mAccessoriesGroup.setVisible(false); in updateAccessories()
365 mDeveloperPref.setVisible(developerEnabled); in updateDeveloperOptions()
392 googleSettingsPref.setVisible(info != null); in updateGoogleSettings()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DUninstallPreference.java41 setVisible(true); in refresh()
44 setVisible(true); in refresh()
47 setVisible(false); in refresh()
DForceStopPreference.java49 setVisible(false); in refresh()
53 setVisible(true); in refresh()
64 setVisible(getResultCode() != Activity.RESULT_CANCELED); in refresh()
/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/
DZonePicker.java169 menu.findItem(MENU_TIMEZONE).setVisible(false); in onPrepareOptionsMenu()
170 menu.findItem(MENU_ALPHABETICAL).setVisible(true); in onPrepareOptionsMenu()
172 menu.findItem(MENU_TIMEZONE).setVisible(true); in onPrepareOptionsMenu()
173 menu.findItem(MENU_ALPHABETICAL).setVisible(false); in onPrepareOptionsMenu()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationSettingsBase.java159 setVisible(mBlock, false); in setupImportancePrefs()
160 setVisible(mSilent, false); in setupImportancePrefs()
177 setVisible(mImportance, false); in setupImportancePrefs()
179 setVisible(mBlock, false); in setupImportancePrefs()
302 protected void setVisible(Preference p, boolean visible) { in setVisible() method in NotificationSettingsBase
DAppNotificationSettings.java112 setVisible(mSilent, checkCanBeVisible(Ranking.IMPORTANCE_MIN, importance)); in updateDependents()
115 setVisible(mPriority, checkCanBeVisible(Ranking.IMPORTANCE_DEFAULT, importance) in updateDependents()
117 setVisible(mVisibilityOverride, in updateDependents()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeSettings.java362 rename.setVisible(false); in onPrepareOptionsMenu()
363 mount.setVisible(false); in onPrepareOptionsMenu()
364 unmount.setVisible(false); in onPrepareOptionsMenu()
365 format.setVisible(false); in onPrepareOptionsMenu()
367 rename.setVisible(mVolume.getType() == VolumeInfo.TYPE_PRIVATE); in onPrepareOptionsMenu()
368 mount.setVisible(mVolume.getState() == VolumeInfo.STATE_UNMOUNTED); in onPrepareOptionsMenu()
369 unmount.setVisible(mVolume.isMountedReadable()); in onPrepareOptionsMenu()
370 format.setVisible(true); in onPrepareOptionsMenu()
378 migrate.setVisible((privateVol != null) in onPrepareOptionsMenu()
/packages/apps/Dialer/src/com/android/dialer/widget/
DActionBarController.java127 mSearchBox.setVisible(true); in onDialpadDown()
215 mSearchBox.setVisible(false); in restoreInstanceState()
218 mSearchBox.setVisible(true); in restoreInstanceState()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorBaseFragment.java776 splitMenu.setVisible(false); in onPrepareOptionsMenu()
777 joinMenu.setVisible(false); in onPrepareOptionsMenu()
778 deleteMenu.setVisible(false); in onPrepareOptionsMenu()
781 splitMenu.setVisible(canUnlinkRawContacts()); in onPrepareOptionsMenu()
783 joinMenu.setVisible(!isEditingUserProfile()); in onPrepareOptionsMenu()
784 deleteMenu.setVisible(!mDisableDeleteMenuOption && !isEditingUserProfile()); in onPrepareOptionsMenu()
787 helpMenu.setVisible(false); in onPrepareOptionsMenu()
791 saveMenu.setVisible(!mRawContactDisplayAloneIsReadOnly); in onPrepareOptionsMenu()
794 sendToVoiceMailMenu.setVisible(false); in onPrepareOptionsMenu()
795 ringToneMenu.setVisible(false); in onPrepareOptionsMenu()
[all …]
/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/Messaging/src/com/android/messaging/ui/photoviewer/
DBuglePhotoViewController.java92 mSaveItem.setVisible(!isTempFile()); in updateActionBar()
107 mShareItem.setVisible(false); in updateShareActionProvider()
117 mShareItem.setVisible(true); in updateShareActionProvider()
/packages/apps/Contacts/src/com/android/contacts/util/
DHelpUtils.java82 helpMenuItem.setVisible(false); in prepareHelpMenuItem()
100 helpMenuItem.setVisible(true); in prepareHelpMenuItem()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java1087 contactsFilterMenu.setVisible(false); in onPrepareOptionsMenu()
1088 clearFrequentsMenu.setVisible(false); in onPrepareOptionsMenu()
1089 helpMenu.setVisible(false); in onPrepareOptionsMenu()
1093 contactsFilterMenu.setVisible(false); in onPrepareOptionsMenu()
1094 clearFrequentsMenu.setVisible(hasFrequents()); in onPrepareOptionsMenu()
1097 contactsFilterMenu.setVisible(true); in onPrepareOptionsMenu()
1098 clearFrequentsMenu.setVisible(false); in onPrepareOptionsMenu()
1101 helpMenu.setVisible(HelpUtils.isHelpAndFeedbackAvailable()); in onPrepareOptionsMenu()
1148 item.setVisible(visible); in makeMenuItemVisible()

12345