Home
last modified time | relevance | path

Searched refs:setVisible (Results 1 – 25 of 363) 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.java104 ViewUtils.setVisible(title, false); in MetadataController()
105 ViewUtils.setVisible(artist, false); in MetadataController()
106 ViewUtils.setVisible(albumTitle, false); in MetadataController()
107 ViewUtils.setVisible(albumArt, false); in MetadataController()
115 ViewUtils.setVisible(title, true); in MetadataController()
120 ViewUtils.setVisible(artist, !TextUtils.isEmpty(artistName)); in MetadataController()
123 ViewUtils.setVisible(albumArt, true); in MetadataController()
131 ViewUtils.setVisible(currentTime, hasTime); in MetadataController()
132 ViewUtils.setVisible(innerSeparator, hasTime); in MetadataController()
133 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/apps/Settings/src/com/android/settings/wifi/details/
DWifiDetailPreferenceController.java432 headerPref.setVisible(false); in setupEntityHeader()
434 mDataUsageSummaryPref.setVisible(true); in setupEntityHeader()
581 mSignalStrengthPref.setVisible(false); in refreshRssiViews()
603 mSignalStrengthPref.setVisible(true); in refreshRssiViews()
634 mFrequencyPref.setVisible(false); in refreshFrequency()
650 mFrequencyPref.setVisible(false); in refreshFrequency()
655 mFrequencyPref.setVisible(true); in refreshFrequency()
660 mTxLinkSpeedPref.setVisible(false); in refreshTxSpeed()
665 mTxLinkSpeedPref.setVisible(txLinkSpeedMbps >= 0); in refreshTxSpeed()
672 mRxLinkSpeedPref.setVisible(false); in refreshRxSpeed()
[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/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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSettings.java433 mPresidentialCheckBox.setVisible( in updatePreferenceVisibility()
438 mExtremeCheckBox.setVisible(res.getBoolean(R.bool.show_extreme_alert_settings) in updatePreferenceVisibility()
444 mSevereCheckBox.setVisible(res.getBoolean(R.bool.show_severe_alert_settings) in updatePreferenceVisibility()
450 mAmberCheckBox.setVisible(res.getBoolean(R.bool.show_amber_alert_settings) in updatePreferenceVisibility()
456 mPublicSafetyMessagesChannelCheckBox.setVisible( in updatePreferenceVisibility()
464 mTestCheckBox.setVisible(isTestAlertsToggleVisible(getContext())); in updatePreferenceVisibility()
468 mEmergencyAlertsCheckBox.setVisible(!channelManager.getCellBroadcastChannelRanges( in updatePreferenceVisibility()
473 mStateLocalTestCheckBox.setVisible( in updatePreferenceVisibility()
480 mReceiveCmasInSecondLanguageCheckBox.setVisible(!res.getString( in updatePreferenceVisibility()
485 mAreaUpdateInfoCheckBox.setVisible( in updatePreferenceVisibility()
[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/Settings/src/com/android/settings/development/
DWirelessDebuggingFragment.java340 mDeviceNamePreference.setVisible(false); in showOffMessage()
341 mIpAddrPreference.setVisible(false); in showOffMessage()
342 mPairingMethodsCategory.setVisible(false); in showOffMessage()
343 mPairedDevicesCategory.setVisible(false); in showOffMessage()
344 mFooterCategory.setVisible(true); in showOffMessage()
348 mDeviceNamePreference.setVisible(true); in showDebuggingPreferences()
349 mIpAddrPreference.setVisible(true); in showDebuggingPreferences()
350 mPairingMethodsCategory.setVisible(true); in showDebuggingPreferences()
351 mPairedDevicesCategory.setVisible(true); in showDebuggingPreferences()
352 mFooterCategory.setVisible(false); in showDebuggingPreferences()
/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/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/Car/Media/src/com/android/car/media/
DPlaybackFragment.java152 ViewUtils.setVisible(mThumbnailContainer, mShowThumbnailForQueueItem); in bind()
158 ViewUtils.setVisible(mSpacer, !mShowThumbnailForQueueItem); in bind()
170 ViewUtils.setVisible(mCurrentTime, shouldShowTime); in bind()
171 ViewUtils.setVisible(mMaxTime, shouldShowTime); in bind()
172 ViewUtils.setVisible(mTimeSeparator, shouldShowTime); in bind()
175 ViewUtils.setVisible(mActiveIcon, shouldShowIcon); in bind()
361 ViewUtils.setVisible(mBackgroundScrim, false); in onCreateView()
364 ViewUtils.setVisible(mControlBarScrim, false); in onCreateView()
576 ViewUtils.setVisible(mViewsToShowImmediatelyWhenQueueIsVisible, true); in setQueueVisible()
577 ViewUtils.setVisible(mViewsToHideImmediatelyWhenQueueIsVisible, false); in setQueueVisible()
[all …]
/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseViewHolder.java88 ViewUtils.setVisible(mSubtitle, showSubtitle); in bind()
96 ViewUtils.setVisible(mRightArrow, hasMediaItem && data.mMediaItem.isBrowsable()); in bind()
102 ViewUtils.setVisible(mTitleDownloadIcon, !showSubtitle && downloaded); in bind()
103 ViewUtils.setVisible(mTitleExplicitIcon, !showSubtitle && explicit); in bind()
104 ViewUtils.setVisible(mSubTitleDownloadIcon, showSubtitle && downloaded); in bind()
105 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/Car/Dialer/src/com/android/car/dialer/ui/dialpad/
DDialpadFragment.java241 ViewUtils.setVisible(mDeleteButton, false); in presentDialedNumber()
251 ViewUtils.setVisible(mDeleteButton, true); in presentDialedNumber()
256 ViewUtils.setVisible(mRecyclerView, true); in presentDialedNumber()
286 ViewUtils.setVisible(mLabel, true); in presentContactDetail()
289 ViewUtils.setVisible(mAvatar, true); in presentContactDetail()
293 ViewUtils.setVisible(mLabel, false); in resetContactInfo()
294 ViewUtils.setVisible(mAvatar, false); in resetContactInfo()
/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()

12345678910>>...15