/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | SecurityFragment.java | 187 mUnknownSourcesPref.setVisible(false); in refresh() 188 mVerifyAppsPref.setVisible(false); in refresh() 190 mRestrictedProfileGroup.setVisible(true); in refresh() 191 mRestrictedProfileEnterPref.setVisible(false); in refresh() 192 mRestrictedProfileExitPref.setVisible(true); in refresh() 193 mRestrictedProfileAppsPref.setVisible(false); in refresh() 194 mRestrictedProfilePinPref.setVisible(false); in refresh() 195 mRestrictedProfileCreatePref.setVisible(false); in refresh() 196 mRestrictedProfileDeletePref.setVisible(false); in refresh() 199 mUnknownSourcesPref.setVisible(true); in refresh() [all …]
|
D | DateTimeFragment.java | 92 mDatePref.setVisible(!isRestricted); in onCreatePreferences() 94 mTimePref.setVisible(!isRestricted); in onCreatePreferences() 105 autoDateTimePref.setVisible(!isRestricted); in onCreatePreferences() 107 mTimeZone.setVisible(!isRestricted); in onCreatePreferences()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | MenuManager.java | 216 grid.setVisible(mState.derivedMode != State.MODE_GRID); in updateModePicker() 217 list.setVisible(mState.derivedMode != State.MODE_LIST); in updateModePicker() 221 advanced.setVisible(mState.showDeviceStorageOption); in updateAdvanced() 227 debug.setVisible(mState.debugMode); in updateDebug() 231 settings.setVisible(false); in updateSettings() 235 settings.setVisible(false); in updateSettings() 239 eject.setVisible(false); in updateEject() 243 newWindow.setVisible(false); in updateNewWindow() 247 open.setVisible(false); in updateOpenInActionMode() 251 openWith.setVisible(false); in updateOpenWith() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | MenuManager.java | 142 settings.setVisible(true); in updateSettings() 148 eject.setVisible(root.supportsEject()); in updateEject() 155 settings.setVisible(enabled); in updateSettings() 161 newWindow.setVisible(true); in updateNewWindow() 166 open.setVisible(true); in updateOpenInContextMenu() 173 openWith.setVisible(true); in updateOpenWith() 180 openInNewWindow.setVisible(true); in updateOpenInNewWindow() 192 moveTo.setVisible(true); in updateMoveTo() 198 copyTo.setVisible(true); in updateCopyTo() 206 compress.setVisible(mFeatures.isArchiveCreationEnabled()); in updateCompress() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | SelectedConversationsActionMenu.java | 400 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 …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceControllerTest.java | 405 verify(mockLinkSpeedPref).setVisible(false); in linkSpeedPref_shouldNotShowIfNotSet() 469 verify(mockIpv6Category).setVisible(false); in noLinkProperties_allIpDetailsHidden() 470 verify(mockIpAddressPref).setVisible(false); in noLinkProperties_allIpDetailsHidden() 471 verify(mockSubnetPref).setVisible(false); in noLinkProperties_allIpDetailsHidden() 472 verify(mockGatewayPref).setVisible(false); in noLinkProperties_allIpDetailsHidden() 473 verify(mockDnsPref).setVisible(false); in noLinkProperties_allIpDetailsHidden() 474 verify(mockIpv6Category, never()).setVisible(true); in noLinkProperties_allIpDetailsHidden() 475 verify(mockIpAddressPref, never()).setVisible(true); in noLinkProperties_allIpDetailsHidden() 476 verify(mockSubnetPref, never()).setVisible(true); in noLinkProperties_allIpDetailsHidden() 477 verify(mockGatewayPref, never()).setVisible(true); in noLinkProperties_allIpDetailsHidden() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactPickerFragment.java | 351 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/Settings/src/com/android/settings/notification/ |
D | ChannelNotificationSettings.java | 280 setVisible(mBlockBar, false); in setupBlock() 380 setVisible(mImportanceToggle, checkCanBeVisible(NotificationManager.IMPORTANCE_MIN)); in updateDependents() 382 setVisible(mAdvanced, checkCanBeVisible(NotificationManager.IMPORTANCE_MIN)); in updateDependents() 383 setVisible(mImportance, checkCanBeVisible(NotificationManager.IMPORTANCE_MIN)); in updateDependents() 384 setVisible(mAdvanced, mLights, checkCanBeVisible( in updateDependents() 386 setVisible(mVibrate, checkCanBeVisible(NotificationManager.IMPORTANCE_DEFAULT)); in updateDependents() 387 setVisible(mRingtone, checkCanBeVisible(NotificationManager.IMPORTANCE_DEFAULT)); in updateDependents() 390 setVisible(parent, mBadge, checkCanBeVisible(NotificationManager.IMPORTANCE_MIN)); in updateDependents() 391 setVisible(parent, mPriority, checkCanBeVisible(NotificationManager.IMPORTANCE_DEFAULT) in updateDependents() 394 setVisible(parent, mVisibilityOverride, isLockScreenSecure() in updateDependents() [all …]
|
D | AppNotificationSettings.java | 320 setVisible(mBlockBar, false); in setupBlock() 328 setVisible(category, !banned); in updateDependents() 331 setVisible(mDeletedChannels, !banned); in updateDependents() 333 setVisible(mBlockedDesc, banned); in updateDependents() 334 setVisible(mBadge, !banned); in updateDependents() 336 setVisible(mImportanceToggle, !banned); in updateDependents() 337 setVisible(mPriority, checkCanBeVisible(NotificationManager.IMPORTANCE_DEFAULT) in updateDependents() 340 setVisible(mVisibilityOverride, !banned && in updateDependents() 344 setVisible(mAppLink, !banned); in updateDependents() 347 setVisible(mBlockBar, false); in updateDependents()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | NetworkFragment.java | 181 mWifiNetworksCategory.setVisible(wifiEnabled); in updateConnectivity() 182 mCollapsePref.setVisible(wifiEnabled && mWifiNetworksCategory.shouldShowCollapsePref()); in updateConnectivity() 183 mWpsPref.setVisible(wifiEnabled); in updateConnectivity() 184 mAddPref.setVisible(wifiEnabled); in updateConnectivity() 200 mEthernetCategory.setVisible(ethernetAvailable); in updateConnectivity() 201 mEthernetStatusPref.setVisible(ethernetAvailable); in updateConnectivity() 202 mEthernetProxyPref.setVisible(ethernetAvailable); in updateConnectivity() 203 mEthernetDhcpPref.setVisible(ethernetAvailable); in updateConnectivity() 269 mCollapsePref.setVisible(mWifiNetworksCategory.shouldShowCollapsePref()); in updateWifiList()
|
D | WifiDetailsFragment.java | 151 mIpAddressPref.setVisible(active); in update() 152 mMacAddressPref.setVisible(active); in update() 153 mSignalStrengthPref.setVisible(active); in update() 179 mProxySettingsPref.setVisible(wifiConfiguration != null); in update() 180 mIpSettingsPref.setVisible(wifiConfiguration != null); in update() 181 mForgetNetworkPref.setVisible(wifiConfiguration != null); in update()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | MultiSelectActionModeCallback.java | 177 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/Settings/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceController.java | 336 mLinkSpeedPref.setVisible(linkSpeedMbps >= 0); in updateInfo() 391 pref.setVisible(true); in updatePreference() 393 pref.setVisible(false); in updatePreference() 399 mButtonsPref.setVisible(mForgetButton.getVisibility() == View.VISIBLE in updateIpLayerInfo() 403 mIpAddressPref.setVisible(false); in updateIpLayerInfo() 404 mSubnetPref.setVisible(false); in updateIpLayerInfo() 405 mGatewayPref.setVisible(false); in updateIpLayerInfo() 406 mDnsPref.setVisible(false); in updateIpLayerInfo() 407 mIpv6Category.setVisible(false); in updateIpLayerInfo() 448 mIpv6Category.setVisible(true); in updateIpLayerInfo() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | StorageFragment.java | 151 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/TvSettings/Settings/src/com/android/tv/settings/ |
D | MainFragment.java | 138 inputPref.setVisible(mInputSettingNeeded); in onCreatePreferences() 192 preference.setVisible(systemIntentIsHandled(getContext(), preference.getIntent()) != null); in hideIfIntentUnhandled() 289 addAccountPref.setVisible(false); in updateAccounts() 297 addAccountPref.setVisible(!allowableAccountTypes.isEmpty()); in updateAccounts() 309 mAccessoriesGroup.setVisible(false); in updateAccessories() 316 mAccessoriesGroup.setVisible(false); in updateAccessories() 374 mDeveloperPref.setVisible(developerEnabled); in updateDeveloperOptions() 447 googleSettingsPref.setVisible(info != null); in updateGoogleSettings() 457 speechPref.setVisible(info == null); in updateGoogleSettings() 461 searchPref.setVisible(info == null); in updateGoogleSettings()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | WorkSoundPreferenceControllerTest.java | 136 verify(mWorkCategory).setVisible(false); in onManagedProfileAdded_shouldDisplayPreferenceCategory() 144 verify(mWorkCategory).setVisible(true); in onManagedProfileAdded_shouldDisplayPreferenceCategory() 161 verify(mWorkCategory, times(2)).setVisible(true); in onManagedProfileRemoved_shouldHidePreferenceCategory() 168 verify(mWorkCategory).setVisible(false); in onManagedProfileRemoved_shouldHidePreferenceCategory() 182 verify(mWorkCategory).setVisible(true); in displayPreference_isAvailable_shouldShowPreferenceCategory() 193 verify(mWorkCategory).setVisible(false); in displayPreference_notAvailable_shouldHidePreferenceCategory() 224 verify(mWorkCategory.findPreference(KEY_WORK_PHONE_RINGTONE)).setVisible(false); in onResume_noVoiceCapability_shouldHidePhoneRingtone() 245 verify(mWorkCategory, times(2)).setVisible(true); in onResume_availableButLocked_shouldRedactPreferences()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | MultiChoiceManager.java | 142 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/DocumentsUI/src/com/android/documentsui/picker/ |
D | MenuManager.java | 68 grid.setVisible(false); in updateModePicker() 69 list.setVisible(false); in updateModePicker() 78 selectAll.setVisible(enabled); in updateSelectAll() 84 createDir.setVisible(picking()); in updateCreateDir() 99 open.setVisible(mState.action == ACTION_GET_CONTENT in updateOpen()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PrivateVolumeSettings.java | 397 rename.setVisible(false); in onPrepareOptionsMenu() 398 mount.setVisible(false); in onPrepareOptionsMenu() 399 unmount.setVisible(false); in onPrepareOptionsMenu() 400 format.setVisible(false); in onPrepareOptionsMenu() 401 manage.setVisible(getResources().getBoolean( in onPrepareOptionsMenu() 404 rename.setVisible(mVolume.getType() == VolumeInfo.TYPE_PRIVATE); in onPrepareOptionsMenu() 405 mount.setVisible(mVolume.getState() == VolumeInfo.STATE_UNMOUNTED); in onPrepareOptionsMenu() 406 unmount.setVisible(mVolume.isMountedReadable()); in onPrepareOptionsMenu() 407 format.setVisible(true); in onPrepareOptionsMenu() 408 manage.setVisible(false); in onPrepareOptionsMenu() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupMembersFragment.java | 273 setVisible(getContext(), menu, R.id.menu_multi_send_email, !mIsEditMode && !isGroupEmpty()); in onPrepareOptionsMenu() 274 setVisible(getContext(), menu, R.id.menu_multi_send_message, in onPrepareOptionsMenu() 276 setVisible(getContext(), menu, R.id.menu_add, isGroupEditable && !isSelectionMode); in onPrepareOptionsMenu() 277 setVisible(getContext(), menu, R.id.menu_rename_group, in onPrepareOptionsMenu() 279 setVisible(getContext(), menu, R.id.menu_delete_group, in onPrepareOptionsMenu() 281 setVisible(getContext(), menu, R.id.menu_edit_group, in onPrepareOptionsMenu() 283 setVisible(getContext(), menu, R.id.menu_remove_from_group, in onPrepareOptionsMenu() 291 private static void setVisible(Context context, Menu menu, int id, boolean visible) { in setVisible() method in GroupMembersFragment 294 menuItem.setVisible(visible); in setVisible()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleScreenMagnificationPreferenceFragment.java | 143 mConfigWarningPreference.setVisible(false); in onCreate() 206 mVideoPreference.setVisible(true); in onProcessArguments() 210 mVideoPreference.setVisible(false); in onProcessArguments() 229 mConfigWarningPreference.setVisible(warningMessage != null); in updateConfigurationWarningIfNeeded()
|
/packages/services/Car/car-lib/src/android/car/cluster/ |
D | ClusterActivityState.java | 45 public ClusterActivityState setVisible(boolean visible) { in setVisible() method in ClusterActivityState 65 .setVisible(visible) in create() 71 .setVisible(bundle.getBoolean(KEY_VISIBLE, true)) in fromBundle()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | UninstallPreference.java | 40 setVisible(true); in refresh() 43 setVisible(true); in refresh() 46 setVisible(false); in refresh()
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
D | FdnList.java | 156 menu.findItem(MENU_ADD).setVisible(true); in onPrepareOptionsMenu() 157 menu.findItem(MENU_EDIT).setVisible(hasSelection); in onPrepareOptionsMenu() 158 menu.findItem(MENU_DELETE).setVisible(hasSelection); in onPrepareOptionsMenu() 159 menu.findItem(MENU_DIAL).setVisible(hasSelection && mFdnDialDirectlySupported); in onPrepareOptionsMenu()
|
/packages/apps/Settings/src/com/android/settings/datetime/ |
D | ZonePicker.java | 190 menu.findItem(MENU_TIMEZONE).setVisible(false); in onPrepareOptionsMenu() 191 menu.findItem(MENU_ALPHABETICAL).setVisible(true); in onPrepareOptionsMenu() 193 menu.findItem(MENU_TIMEZONE).setVisible(true); in onPrepareOptionsMenu() 194 menu.findItem(MENU_ALPHABETICAL).setVisible(false); in onPrepareOptionsMenu()
|