Home
last modified time | relevance | path

Searched refs:isVisible (Results 1 – 25 of 459) sorted by relevance

12345678910>>...19

/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DInternetResetHelperTest.java158 assertThat(mResettingPreference.isVisible()).isTrue(); in suspendPreferences_shouldShowResettingHideSubSys()
161 assertThat(mWifiTogglePreferences.isVisible()).isFalse(); in suspendPreferences_shouldShowResettingHideSubSys()
162 assertThat(mConnectedWifiEntryPreferences.isVisible()).isFalse(); in suspendPreferences_shouldShowResettingHideSubSys()
163 assertThat(mFirstWifiEntryPreference.isVisible()).isFalse(); in suspendPreferences_shouldShowResettingHideSubSys()
164 assertThat(mWifiEntryPreferences.isVisible()).isFalse(); in suspendPreferences_shouldShowResettingHideSubSys()
176 assertThat(mResettingPreference.isVisible()).isTrue(); in resumePreferences_onlyRecoveryReady_shouldShowSubSysHideResetting()
180 assertThat(mWifiTogglePreferences.isVisible()).isFalse(); in resumePreferences_onlyRecoveryReady_shouldShowSubSysHideResetting()
181 assertThat(mConnectedWifiEntryPreferences.isVisible()).isFalse(); in resumePreferences_onlyRecoveryReady_shouldShowSubSysHideResetting()
182 assertThat(mFirstWifiEntryPreference.isVisible()).isFalse(); in resumePreferences_onlyRecoveryReady_shouldShowSubSysHideResetting()
183 assertThat(mWifiEntryPreferences.isVisible()).isFalse(); in resumePreferences_onlyRecoveryReady_shouldShowSubSysHideResetting()
[all …]
DNetworkMobileProviderControllerTest.java102 assertTrue(mPreferenceCategory.isVisible()); in testDisplayPreference_subscriptionsControllerAvailable()
110 assertFalse(mPreferenceCategory.isVisible()); in testDisplayPreference_subscriptionsControllerUnAvailable()
147 assertTrue(mPreferenceCategory.isVisible()); in testOnChildUpdated_subscriptionsControllerAvailable_categoryIsVisible()
159 assertFalse(mPreferenceCategory.isVisible()); in testOnChildUpdated_subscriptionsControllerUnavailable_categoryIsInvisible()
183 assertThat(mPreferenceCategory.isVisible()).isFalse(); in hidePreference_hidePreferenceTrue_preferenceIsNotVisible()
193 assertThat(mPreferenceCategory.isVisible()).isTrue(); in hidePreference_hidePreferenceFalse_preferenceIsVisible()
205 assertThat(mPreferenceCategory.isVisible()).isFalse(); in hidePreference_hidePreferenceFalse_preferenceIsNotVisibleImmediately()
210 assertThat(mPreferenceCategory.isVisible()).isTrue(); in hidePreference_hidePreferenceFalse_preferenceIsNotVisibleImmediately()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/privacy/
DPrivacyFragment.kt82 accountPrefCategory?.isVisible = false in onCreateView()
83 assistantSlicePreference?.isVisible = false in onCreateView()
84 purchasesSlicePreference?.isVisible = false in onCreateView()
86 mUpdateSlicePreference?.isVisible = false in onCreateView()
87 deviceLockPreference?.isVisible = deviceLockPreference is SlicePreference in onCreateView()
90 deviceLockPreference?.isVisible = false; in onCreateView()
91 assistantSlicePreference?.isVisible = assistantSlicePreference is SlicePreference in onCreateView()
93 purchasesSlicePreference?.isVisible = purchasesSlicePreference is SlicePreference in onCreateView()
95 accountPrefCategory?.isVisible = assistantSlicePreference?.isVisible == true in onCreateView()
96 || purchasesSlicePreference?.isVisible == true in onCreateView()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/binder/
DWallpaperQuickSwitchOptionBinder.kt23 import androidx.core.view.isVisible in <lambda>()
119 selectionBorder.animatedVisibility(isVisible = it) in <lambda>()
120 selectionIcon.animatedVisibility(isVisible = it) in <lambda>()
122 selectionBorder.isVisible = it in <lambda>()
123 selectionIcon.isVisible = it in <lambda>()
126 selectionIcon.animatedVisibility(isVisible = it) in <lambda>()
139 thumbnailView.isVisible = true in <lambda>()
144 thumbnailView.isVisible = false in <lambda>()
183 isVisible: Boolean, in <lambda>()
185 if (isVisible) { in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/
DAllEntriesFragment.kt23 import androidx.core.view.isVisible in <lambda>()
186 loadingView.isVisible = true in <lambda>()
187 noDataView.isVisible = false in <lambda>()
188 errorView.isVisible = false in <lambda>()
189 entriesRecyclerView.isVisible = false in <lambda>()
192 noDataView.isVisible = true in <lambda>()
193 loadingView.isVisible = false in <lambda>()
194 errorView.isVisible = false in <lambda>()
195 entriesRecyclerView.isVisible = false in <lambda>()
198 entriesRecyclerView.isVisible = true in <lambda>()
[all …]
DAppEntriesFragment.kt24 import androidx.core.view.isVisible in <lambda>()
216 loadingView.isVisible = true in <lambda>()
217 noDataView.isVisible = false in <lambda>()
218 errorView.isVisible = false in <lambda>()
219 entriesRecyclerView.isVisible = false in <lambda>()
222 noDataView.isVisible = true in <lambda>()
223 loadingView.isVisible = false in <lambda>()
224 errorView.isVisible = false in <lambda>()
225 entriesRecyclerView.isVisible = false in <lambda>()
228 entriesRecyclerView.isVisible = true in <lambda>()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/security/
DSecuritySettingsTest.java221 assertThat(mPreferenceFace.isVisible()).isTrue(); in preferenceLifecycle_faceShowsThenCombined()
222 assertThat(mPreferenceFingerprint.isVisible()).isFalse(); in preferenceLifecycle_faceShowsThenCombined()
223 assertThat(mPreferenceCombined.isVisible()).isFalse(); in preferenceLifecycle_faceShowsThenCombined()
229 assertThat(mPreferenceFace.isVisible()).isFalse(); in preferenceLifecycle_faceShowsThenCombined()
230 assertThat(mPreferenceFingerprint.isVisible()).isFalse(); in preferenceLifecycle_faceShowsThenCombined()
231 assertThat(mPreferenceCombined.isVisible()).isTrue(); in preferenceLifecycle_faceShowsThenCombined()
257 assertThat(mPreferenceFace.isVisible()).isFalse(); in preferenceLifecycle_fingerprintShowsThenCombined()
258 assertThat(mPreferenceFingerprint.isVisible()).isTrue(); in preferenceLifecycle_fingerprintShowsThenCombined()
259 assertThat(mPreferenceCombined.isVisible()).isFalse(); in preferenceLifecycle_fingerprintShowsThenCombined()
265 assertThat(mPreferenceFace.isVisible()).isFalse(); in preferenceLifecycle_fingerprintShowsThenCombined()
[all …]
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DSwitchOnHoldCallController.java38 private boolean isVisible; field in SwitchOnHoldCallController
61 public void setVisible(boolean isVisible) { in setVisible() argument
62 this.isVisible = isVisible; in setVisible()
67 isVisible = hasSecondaryInfo(); in setOnScreen()
73 isVisible = hasSecondaryInfo(); in setSecondaryInfo()
82 switchOnHoldButton.setVisibility(isVisible ? View.VISIBLE : View.INVISIBLE); in updateButtonState()
83 onHoldBanner.setVisibility(isVisible ? View.VISIBLE : View.INVISIBLE); in updateButtonState()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DDataEntriesFragment.kt24 import androidx.core.view.isVisible in <lambda>()
241 loadingView.isVisible = true in <lambda>()
242 noDataView.isVisible = false in <lambda>()
243 errorView.isVisible = false in <lambda>()
244 entriesRecyclerView.isVisible = false in <lambda>()
247 noDataView.isVisible = true in <lambda>()
248 loadingView.isVisible = false in <lambda>()
249 errorView.isVisible = false in <lambda>()
250 entriesRecyclerView.isVisible = false in <lambda>()
253 entriesRecyclerView.isVisible = true in <lambda>()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceControllerTest.java226 assertThat(mController.mPublicStoragePreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
227 assertThat(mController.mImagesPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
228 assertThat(mController.mVideosPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
229 assertThat(mController.mAudioPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
230 assertThat(mController.mAppsPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
231 assertThat(mController.mGamesPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
232 assertThat(mController.mDocumentsPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
233 assertThat(mController.mOtherPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
234 assertThat(mController.mSystemPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
235 assertThat(mController.mTemporaryFilesPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/common/dialog/ui/viewbinder/
DDialogViewBinder.kt29 import androidx.core.view.isVisible in <lambda>()
58 icon.isVisible = true in <lambda>()
60 ?: run { icon.isVisible = false } in <lambda>()
67 headline.isVisible = true in <lambda>()
69 ?: run { headline.isVisible = false } in <lambda>()
76 supportingText.isVisible = true in <lambda>()
78 ?: run { supportingText.isVisible = false } in <lambda>()
85 message.isVisible = true in <lambda>()
87 ?: run { message.isVisible = false } in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/floatingsheetcontent/
DFloatingSheetContent.kt36 private var isVisible = false variable in com.android.wallpaper.widget.floatingsheetcontent.FloatingSheetContent
59 setVisibility(isVisible) in recreateView()
70 open fun setVisibility(isVisible: Boolean) { in setVisibility()
71 this.isVisible = isVisible in setVisibility()
72 contentView.visibility = if (this.isVisible) FrameLayout.VISIBLE else FrameLayout.GONE in setVisibility()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/notification/
DCarHeadsUpNotificationSystemContainerTest.java77 assertThat(mCarHeadsUpNotificationSystemContainer.isVisible()).isTrue(); in testDisplayNotification_firstNotification_isVisible()
85 assertThat(mCarHeadsUpNotificationSystemContainer.isVisible()).isFalse(); in testRemoveNotification_lastNotification_isInvisible()
95 assertThat(mCarHeadsUpNotificationSystemContainer.isVisible()).isTrue(); in testRemoveNotification_nonLastNotification_isVisible()
102 assertThat(mCarHeadsUpNotificationSystemContainer.isVisible()).isTrue(); in testDisplayNotification_userFullySetupTrue_isInvisible()
111 assertThat(mCarHeadsUpNotificationSystemContainer.isVisible()).isFalse(); in testDisplayNotification_userFullySetupFalse_isInvisible()
119 assertThat(mCarHeadsUpNotificationSystemContainer.isVisible()).isFalse(); in testDisplayNotification_overlayWindowStateShouldShowHUNFalse_isInvisible()
126 assertThat(mCarHeadsUpNotificationSystemContainer.isVisible()).isTrue(); in testDisplayNotification_overlayWindowStateShouldShowHUNTrue_isVisible()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DDevicePrefFragment.kt109 findPreference<Preference>(KEY_INPUTS)?.isVisible = mInputSettingNeeded in onCreateView()
183 if (preference == null || !preference.isVisible) { in hideIfIntentUnhandled()
186 … preference.isVisible = MainFragment.systemIntentIsHandled(context, preference.intent) != null in hideIfIntentUnhandled()
194 findPreference<Preference>(KEY_DEVELOPER)?.isVisible = in updateDeveloperOptions()
199 findPreference<Preference>(KEY_SOUNDS)?.isVisible = in updateSounds()
209 isVisible = info != null in updateGoogleSettings()
240 isVisible = SliceUtils.isSliceProviderValid(requireContext(), this.uri) in updateCastSettings()
248 isVisible = SliceUtils.isSliceProviderValid(context, this.uri) in updateInternalSettings()
255 isVisible = SliceUtilsKt.isSettingsSliceEnabled( in updateAssistantBroadcastSlice()
265 isVisible = SliceUtils.isSliceProviderValid(context, this.uri) in updateFastpairSettings()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataaccess/
DHealthDataAccessFragment.kt118 mCanReadSection?.isVisible = false in <lambda>()
119 mCanWriteSection?.isVisible = false in <lambda>()
120 mInactiveSection?.isVisible = false in <lambda>()
152 mPermissionTypeDescription?.isVisible = false in <lambda>()
154 mPermissionTypeDescription?.isVisible = true in <lambda>()
158 mPermissionTypeDescription?.isVisible = true in <lambda>()
211 mCanReadSection?.isVisible = false in <lambda>()
213 mCanReadSection?.isVisible = true in <lambda>()
221 mCanWriteSection?.isVisible = false in <lambda>()
223 mCanWriteSection?.isVisible = true in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/recentaccess/
DRecentAccessFragment.kt26 import androidx.core.view.isVisible in <lambda>()
94 fab.isVisible = true in <lambda>()
144 mRecentAccessNoDataPreference?.isVisible = false in <lambda>()
147 mRecentAccessYesterdayPreferenceGroup?.isVisible = false in <lambda>()
148 mRecentAccessTodayPreferenceGroup?.isVisible = false in <lambda>()
149 mRecentAccessNoDataPreference?.isVisible = true in <lambda>()
151 fab.isVisible = false in <lambda>()
154 mRecentAccessTodayPreferenceGroup?.isVisible = recentAppsList[0].isToday in <lambda>()
157 mRecentAccessYesterdayPreferenceGroup?.isVisible = !recentAppsList.last().isToday in <lambda>()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppsFragment.kt51 isVisible = TextUtils.isEmpty( in onCreateView()
58 findPreference<Preference>(KEY_HIBERNATED_APPS)?.isVisible = isHibernationEnabled in onCreateView()
69 updateSlicePreference?.isVisible = false in onCreateView()
77 updateSlicePreference?.isVisible = in onCreateView()
96 overlaySecuritySlicePreference?.isVisible = true in showOverlaySecuritySlicePreference()
97 securityPreference?.isVisible = false in showOverlaySecuritySlicePreference()
103 securityPreference?.isVisible = true in showSecurityPreference()
104 overlaySecuritySlicePreference?.isVisible = false in showSecurityPreference()
/packages/apps/Car/Settings/src/com/android/car/settings/location/
DLocationRecentAccessesPreferenceController.java89 boolean isVisible = getVisibility(); in updateState()
90 preference.setVisible(isVisible); in updateState()
91 if (isVisible) { in updateState()
97 boolean isVisible = getLocationManager().isLocationEnabled(); in getVisibility()
99 isVisible = isVisible || getLocationManager().isAdasGnssLocationEnabled(); in getVisibility()
101 return isVisible; in getVisibility()
/packages/apps/Dialer/java/com/android/incallui/
DManageConferenceActivity.java27 private boolean isVisible; field in ManageConferenceActivity
29 public boolean isVisible() { in isVisible() method in ManageConferenceActivity
30 return isVisible; in isVisible()
78 isVisible = true; in onStart()
84 isVisible = false; in onStop()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/access/
DAccessFragment.kt88 mCanReadSection?.isVisible = false in <lambda>()
89 mCanWriteSection?.isVisible = false in <lambda>()
90 mInactiveSection?.isVisible = false in <lambda>()
147 mCanReadSection?.isVisible = false in <lambda>()
149 mCanReadSection?.isVisible = true in <lambda>()
157 mCanWriteSection?.isVisible = false in <lambda>()
159 mCanWriteSection?.isVisible = true in <lambda>()
167 mInactiveSection?.isVisible = false in <lambda>()
169 mInactiveSection?.isVisible = true in <lambda>()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/panel/
DToolBarView.java68 public void updateToolBarContentVisibility(boolean isVisible) { in updateToolBarContentVisibility() argument
69 updateViewVisibilityWithAnimation(isVisible, mClock); in updateToolBarContentVisibility()
70 updateViewVisibilityWithAnimation(isVisible, mBackButton); in updateToolBarContentVisibility()
73 private void updateViewVisibilityWithAnimation(boolean isVisible, View view) { in updateViewVisibilityWithAnimation() argument
77 float translationY = isVisible ? 0 : -getHeight(); in updateViewVisibilityWithAnimation()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppsPreferenceControllerTest.java113 assertThat(mAllAppsInfoPref.isVisible()).isTrue(); in displayPreference_noRecentApps_showAllAppsInfo()
114 assertThat(mRecentAppsCategory.isVisible()).isFalse(); in displayPreference_noRecentApps_showAllAppsInfo()
115 assertThat(mGeneralCategory.isVisible()).isFalse(); in displayPreference_noRecentApps_showAllAppsInfo()
116 assertThat(mSeeAllPref.isVisible()).isFalse(); in displayPreference_noRecentApps_showAllAppsInfo()
128 assertThat(mAllAppsInfoPref.isVisible()).isFalse(); in displayPreference_hasRecentApps_showRecentApps()
129 assertThat(mRecentAppsCategory.isVisible()).isTrue(); in displayPreference_hasRecentApps_showRecentApps()
130 assertThat(mGeneralCategory.isVisible()).isTrue(); in displayPreference_hasRecentApps_showRecentApps()
131 assertThat(mSeeAllPref.isVisible()).isTrue(); in displayPreference_hasRecentApps_showRecentApps()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListItemView.java467 if (isVisible(mCheckBox)) { in onMeasure()
476 if (isVisible(mDeleteImageButton)) { in onMeasure()
485 if (isVisible(mNameTextView)) { in onMeasure()
497 if (isVisible(mPhoneticNameTextView)) { in onMeasure()
508 if (isVisible(mDataView)) { in onMeasure()
509 if (isVisible(mLabelView)) { in onMeasure()
521 if (isVisible(mLabelView)) { in onMeasure()
528 if (isVisible(mDataView)) { in onMeasure()
534 if (isVisible(mLabelView)) { in onMeasure()
541 if (isVisible(mSnippetView)) { in onMeasure()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/
DConnectedAppsFragment.kt212 mThingsToTryCategory?.isVisible = false in <lambda>()
281 mNeedUpdateAppsCategory?.isVisible = false in <lambda>()
283 mNeedUpdateAppsCategory?.isVisible = true in <lambda>()
482 mThingsToTryCategory?.isVisible = true in <lambda>()
494 private fun setAppAndSettingsCategoriesVisibility(isVisible: Boolean) { in <lambda>()
495 mInactiveAppsCategory?.isVisible = isVisible in <lambda>()
496 mAllowedAppsCategory?.isVisible = isVisible in <lambda>()
497 mNeedUpdateAppsCategory?.isVisible = isVisible in <lambda>()
498 mNotAllowedAppsCategory?.isVisible = isVisible in <lambda>()
499 mSettingsAndHelpCategory?.isVisible = isVisible in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/
DSmallPreviewBinder.kt24 import androidx.core.view.isVisible in <lambda>()
108 wallpaperSurface.isVisible = true in <lambda>()
109 workspaceSurface.isVisible = true in <lambda>()
121 wallpaperSurface.isVisible = true in <lambda>()
122 workspaceSurface.isVisible = true in <lambda>()
138 wallpaperSurface.isVisible = true in <lambda>()
139 workspaceSurface.isVisible = true in <lambda>()

12345678910>>...19