Home
last modified time | relevance | path

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

12345678910>>...15

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DSecurityFragment.java192 mUnknownSourcesPref.setVisible(false); in refresh()
193 mVerifyAppsPref.setVisible(false); in refresh()
195 mRestrictedProfileGroup.setVisible(true); in refresh()
196 mRestrictedProfileEnterPref.setVisible(false); in refresh()
197 mRestrictedProfileExitPref.setVisible(true); in refresh()
198 mRestrictedProfileAppsPref.setVisible(false); in refresh()
199 mRestrictedProfilePinPref.setVisible(false); in refresh()
200 mRestrictedProfileCreatePref.setVisible(false); in refresh()
201 mRestrictedProfileDeletePref.setVisible(false); in refresh()
204 mUnknownSourcesPref.setVisible(true); in refresh()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMenuManager.java241 grid.setVisible(mState.derivedMode != State.MODE_GRID); in updateModePicker()
242 list.setVisible(mState.derivedMode != State.MODE_LIST); in updateModePicker()
246 advanced.setVisible(mState.showDeviceStorageOption); in updateAdvanced()
252 sort.setVisible(true); in updateSort()
256 debug.setVisible(mState.debugMode); in updateDebug()
260 settings.setVisible(false); in updateSettings()
264 settings.setVisible(false); in updateSettings()
268 eject.setVisible(false); in updateEject()
272 newWindow.setVisible(false); in updateNewWindow()
276 select.setVisible(false); in updateSelect()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DMenuManager.java136 settings.setVisible(true); in updateSettings()
142 eject.setVisible(root.supportsEject()); in updateEject()
149 settings.setVisible(enabled); in updateSettings()
155 newWindow.setVisible(true); in updateNewWindow()
160 openWith.setVisible(true); in updateOpenWith()
167 openInNewWindow.setVisible(true); in updateOpenInNewWindow()
179 moveTo.setVisible(true); in updateMoveTo()
185 copyTo.setVisible(true); in updateCopyTo()
193 compress.setVisible(mFeatures.isArchiveCreationEnabled()); in updateCompress()
201 extractTo.setVisible(enabled); in updateExtractTo()
[all …]
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DMetadataController.java96 ViewUtils.setVisible(title, false); in MetadataController()
97 ViewUtils.setVisible(artist, false); in MetadataController()
98 ViewUtils.setVisible(albumTitle, false); in MetadataController()
99 ViewUtils.setVisible(albumArt, false); in MetadataController()
107 ViewUtils.setVisible(title, true); in MetadataController()
112 ViewUtils.setVisible(artist, !TextUtils.isEmpty(artistName)); in MetadataController()
129 ViewUtils.setVisible(albumArt, true); in MetadataController()
136 ViewUtils.setVisible(currentTime, hasTime); in MetadataController()
137 ViewUtils.setVisible(innerSeparator, hasTime); in MetadataController()
138 ViewUtils.setVisible(maxTime, hasTime); in MetadataController()
[all …]
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/inputmethod/
DKeyboardFragmentTest.java107 verify(mKeyboardCategory, atLeastOnce()).setVisible(false); in testUpdateAutofillSettings_noCandiate()
108 verify(mKeyboardCategory, never()).setVisible(true); in testUpdateAutofillSettings_noCandiate()
110 verify(mAutofillCategory, atLeastOnce()).setVisible(false); in testUpdateAutofillSettings_noCandiate()
111 verify(mAutofillCategory, never()).setVisible(true); in testUpdateAutofillSettings_noCandiate()
127 verify(mKeyboardCategory, atLeastOnce()).setVisible(true); in testUpdateAutofillSettings_selected()
128 verify(mKeyboardCategory, never()).setVisible(false); in testUpdateAutofillSettings_selected()
130 verify(mAutofillCategory, atLeastOnce()).setVisible(true); in testUpdateAutofillSettings_selected()
131 verify(mAutofillCategory, never()).setVisible(false); in testUpdateAutofillSettings_selected()
149 verify(mKeyboardCategory, atLeastOnce()).setVisible(true); in testUpdateAutofillSettings_selectedNone()
150 verify(mKeyboardCategory, never()).setVisible(false); in testUpdateAutofillSettings_selectedNone()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiDetailPreferenceControllerTest.java604 verify(mockTxLinkSpeedPref).setVisible(false); in linkSpeedPref_shouldNotShowIfNotSet()
614 verify(mockTxLinkSpeedPref).setVisible(true); in linkSpeedPref_shouldVisibleForConnectedNetwork()
624 verify(mockTxLinkSpeedPref).setVisible(false); in linkSpeedPref_shouldInvisibleForDisconnectedNetwork()
634 verify(mockTxLinkSpeedPref).setVisible(false); in linkSpeedPref_shouldInvisibleForNotInRangeNetwork()
645 verify(mockRxLinkSpeedPref).setVisible(false); in rxLinkSpeedPref_shouldNotShowIfNotSet()
655 verify(mockRxLinkSpeedPref).setVisible(true); in rxLinkSpeedPref_shouldVisibleForConnectedNetwork()
665 verify(mockRxLinkSpeedPref).setVisible(false); in rxLinkSpeedPref_shouldInvisibleForDisconnectedNetwork()
675 verify(mockRxLinkSpeedPref).setVisible(false); in rxLinkSpeedPref_shouldInvisibleForNotInRangeNetwork()
688 verify(mockSsidPref, times(1)).setVisible(true); in ssidPref_shouldHaveDetailTextSetForPasspointR1()
700 verify(mockSsidPref, times(1)).setVisible(true); in ssidPref_shouldHaveDetailTextSetForPasspointR2()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/
DWifiDetailPreferenceController.java439 headerPref.setVisible(false); in setupEntityHeader()
441 mDataUsageSummaryPref.setVisible(true); in setupEntityHeader()
595 mSignalStrengthPref.setVisible(false); in refreshRssiViews()
617 mSignalStrengthPref.setVisible(true); in refreshRssiViews()
648 mFrequencyPref.setVisible(false); in refreshFrequency()
664 mFrequencyPref.setVisible(false); in refreshFrequency()
669 mFrequencyPref.setVisible(true); in refreshFrequency()
674 mTxLinkSpeedPref.setVisible(false); in refreshTxSpeed()
679 mTxLinkSpeedPref.setVisible(txLinkSpeedMbps >= 0); in refreshTxSpeed()
686 mRxLinkSpeedPref.setVisible(false); in refreshRxSpeed()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiDetailPreferenceController.java418 headerPref.setVisible(false); in setupEntityHeader()
420 mDataUsageSummaryPref.setVisible(true); in setupEntityHeader()
567 mSignalStrengthPref.setVisible(false); in refreshRssiViews()
589 mSignalStrengthPref.setVisible(true); in refreshRssiViews()
620 mFrequencyPref.setVisible(false); in refreshFrequency()
636 mFrequencyPref.setVisible(false); in refreshFrequency()
641 mFrequencyPref.setVisible(true); in refreshFrequency()
646 mTxLinkSpeedPref.setVisible(false); in refreshTxSpeed()
651 mTxLinkSpeedPref.setVisible(txLinkSpeedMbps >= 0); in refreshTxSpeed()
658 mRxLinkSpeedPref.setVisible(false); in refreshRxSpeed()
[all …]
/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 …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DDisplayWhiteBalancePreferenceControllerTest.java142 verify(mPreference).setVisible(true); in visibility_configuredAvailableAccessibilityToggled()
147 verify(mPreference).setVisible(true); in visibility_configuredAvailableAccessibilityToggled()
152 verify(mPreference).setVisible(false); in visibility_configuredAvailableAccessibilityToggled()
157 verify(mPreference).setVisible(false); in visibility_configuredAvailableAccessibilityToggled()
164 verify(mPreference).setVisible(false); in visibility_configuredAvailableAccessibilityToggled()
169 verify(mPreference).setVisible(true); in visibility_configuredAvailableAccessibilityToggled()
182 verify(mPreference).setVisible(true); in visibility_configuredAvailableColorModeChanged()
187 verify(mPreference).setVisible(false); in visibility_configuredAvailableColorModeChanged()
193 verify(mPreference).setVisible(true); in visibility_configuredAvailableColorModeChanged()
/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/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/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkFragment.java185 mWifiNetworksCategory.setVisible(wifiEnabled); in updateConnectivity()
186 mCollapsePref.setVisible(wifiEnabled && mWifiNetworksCategory.shouldShowCollapsePref()); in updateConnectivity()
187 mAddPref.setVisible(wifiEnabled); in updateConnectivity()
203 mEthernetCategory.setVisible(ethernetAvailable); in updateConnectivity()
204 mEthernetStatusPref.setVisible(ethernetAvailable); in updateConnectivity()
205 mEthernetProxyPref.setVisible(ethernetAvailable); in updateConnectivity()
206 mEthernetDhcpPref.setVisible(ethernetAvailable); in updateConnectivity()
272 mCollapsePref.setVisible(mWifiNetworksCategory.shouldShowCollapsePref()); in updateWifiList()
DWifiDetailsFragment.java146 mIpAddressPref.setVisible(active); in update()
147 mMacAddressPref.setVisible(active); in update()
148 mSignalStrengthPref.setVisible(active); in update()
174 mProxySettingsPref.setVisible(wifiConfiguration != null); in update()
175 mIpSettingsPref.setVisible(wifiConfiguration != null); in update()
176 mForgetNetworkPref.setVisible(wifiConfiguration != null); in update()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DStorageFragment.java157 mMigratePref.setVisible(showMigrate); in refresh()
166 mEjectPref.setVisible(!privateInternal); in refresh()
169 mErasePref.setVisible(!privateInternal); in refresh()
180 mAppsUsagePref.setVisible(isPrivate); in refresh()
183 mDcimUsagePref.setVisible(isPrivate); in refresh()
184 mMusicUsagePref.setVisible(isPrivate); in refresh()
185 mDownloadsUsagePref.setVisible(isPrivate); in refresh()
186 mCacheUsagePref.setVisible(isPrivate); in refresh()
/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseViewHolder.java79 ViewUtils.setVisible(mSubtitle, showSubtitle); in bind()
87 ViewUtils.setVisible(mRightArrow, hasMediaItem && data.mMediaItem.isBrowsable()); in bind()
93 ViewUtils.setVisible(mTitleDownloadIcon, !showSubtitle && downloaded); in bind()
94 ViewUtils.setVisible(mTitleExplicitIcon, !showSubtitle && explicit); in bind()
95 ViewUtils.setVisible(mSubTitleDownloadIcon, showSubtitle && downloaded); in bind()
96 ViewUtils.setVisible(mSubTitleExplicitIcon, showSubtitle && explicit); in bind()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DWorkSoundPreferenceControllerTest.java134 verify(mWorkCategory).setVisible(false); in onManagedProfileAdded_shouldDisplayPreferenceCategory()
142 verify(mWorkCategory).setVisible(true); in onManagedProfileAdded_shouldDisplayPreferenceCategory()
159 verify(mWorkCategory, times(2)).setVisible(true); in onManagedProfileRemoved_shouldHidePreferenceCategory()
166 verify(mWorkCategory).setVisible(false); in onManagedProfileRemoved_shouldHidePreferenceCategory()
179 verify(mWorkCategory).setVisible(true); in displayPreference_isAvailable_shouldShowPreferenceCategory()
190 verify(mWorkCategory).setVisible(false); in displayPreference_notAvailable_shouldHidePreferenceCategory()
222 .setVisible(false); in onResume_noVoiceCapability_shouldHidePhoneRingtone()
243 verify(mWorkCategory, times(2)).setVisible(true); in onResume_availableButLocked_shouldRedactPreferences()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DMenuManager.java89 grid.setVisible(false); in updateModePicker()
90 list.setVisible(false); in updateModePicker()
100 selectAll.setVisible(visible); in updateSelectAll()
106 createDir.setVisible(picking()); in updateCreateDir()
112 select.setVisible(mState.action == ACTION_GET_CONTENT in updateSelect()
/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/Dialer/java/com/android/dialer/speeddial/
DContextMenu.java82 getMenu().findItem(R.id.voice_call_container).setVisible(voiceChannel != null); in ContextMenu()
83 getMenu().findItem(R.id.video_call_container).setVisible(videoChannel != null); in ContextMenu()
84 getMenu().findItem(R.id.send_message_container).setVisible(voiceChannel != null); in ContextMenu()
94 getMenu().findItem(R.id.starred_contact_context_menu_title).setVisible(true); in ContextMenu()
96 getMenu().findItem(R.id.starred_contact_context_menu_title).setVisible(false); in ContextMenu()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/
DDevicePrefFragmentTest.java78 verify(developerPref, atLeastOnce()).setVisible(false); in testUpdateDeveloperOptions_developerDisabled()
79 verify(developerPref, never()).setVisible(true); in testUpdateDeveloperOptions_developerDisabled()
92 verify(developerPref, atLeastOnce()).setVisible(false); in testUpdateDeveloperOptions_notAdmin()
93 verify(developerPref, never()).setVisible(true); in testUpdateDeveloperOptions_notAdmin()
104 verify(developerPref, atLeastOnce()).setVisible(true); in testUpdateDeveloperOptions_developerEnabled()
105 verify(developerPref, never()).setVisible(false); in testUpdateDeveloperOptions_developerEnabled()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoPermissionAppsFragment.java153 allowed.setVisible(false); in bindUi()
159 foreground.setVisible(false); in bindUi()
165 denied.setVisible(false); in bindUi()
289 allowed.setVisible(true); in onPermissionsLoaded()
291 allowedForeground.setVisible(allowedForeground.getPreferenceCount() > 0); in onPermissionsLoaded()
299 denied.setVisible(true); in onPermissionsLoaded()
/packages/apps/Car/Media/src/com/android/car/media/
DPlaybackFragment.java133 ViewUtils.setVisible(mThumbnailContainer, mShowThumbnailForQueueItem); in bind()
139 ViewUtils.setVisible(mSpacer, !mShowThumbnailForQueueItem); in bind()
151 ViewUtils.setVisible(mCurrentTime, shouldShowTime); in bind()
152 ViewUtils.setVisible(mMaxTime, shouldShowTime); in bind()
153 ViewUtils.setVisible(mTimeSeparator, shouldShowTime); in bind()
156 ViewUtils.setVisible(mActiveIcon, shouldShowIcon); in bind()
277 ViewUtils.setVisible(mBackgroundScrim, false); in onCreateView()
279 ViewUtils.setVisible(mControlBarScrim, false); in onCreateView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPrivateVolumeSettings.java398 rename.setVisible(false); in onPrepareOptionsMenu()
399 mount.setVisible(false); in onPrepareOptionsMenu()
400 unmount.setVisible(false); in onPrepareOptionsMenu()
401 format.setVisible(false); in onPrepareOptionsMenu()
402 manage.setVisible(getResources().getBoolean( in onPrepareOptionsMenu()
405 rename.setVisible(mVolume.getType() == VolumeInfo.TYPE_PRIVATE); in onPrepareOptionsMenu()
406 mount.setVisible(mVolume.getState() == VolumeInfo.STATE_UNMOUNTED); in onPrepareOptionsMenu()
407 unmount.setVisible(mVolume.isMountedReadable()); in onPrepareOptionsMenu()
408 format.setVisible(true); in onPrepareOptionsMenu()
409 manage.setVisible(false); in onPrepareOptionsMenu()
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeSettings.java398 rename.setVisible(false); in onPrepareOptionsMenu()
399 mount.setVisible(false); in onPrepareOptionsMenu()
400 unmount.setVisible(false); in onPrepareOptionsMenu()
401 format.setVisible(false); in onPrepareOptionsMenu()
402 manage.setVisible(getResources().getBoolean( in onPrepareOptionsMenu()
405 rename.setVisible(mVolume.getType() == VolumeInfo.TYPE_PRIVATE); in onPrepareOptionsMenu()
406 mount.setVisible(mVolume.getState() == VolumeInfo.STATE_UNMOUNTED); in onPrepareOptionsMenu()
407 unmount.setVisible(mVolume.isMountedReadable()); in onPrepareOptionsMenu()
408 format.setVisible(true); in onPrepareOptionsMenu()
409 manage.setVisible(false); in onPrepareOptionsMenu()
[all …]

12345678910>>...15