Home
last modified time | relevance | path

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

12345678910>>...15

/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()
DCarrierWifiTogglePreferenceControllerTest.java144 assertThat(mNetworkPreference.isVisible()).isTrue(); in displayPreference_carrierNetworkActive_showCarrierNetwork()
155 assertThat(mNetworkPreference.isVisible()).isFalse(); in displayPreference_carrierNetworkInactive_hideCarrierNetwork()
167 assertThat(mNetworkPreference.isVisible()).isEqualTo(true); in onWifiStateChanged_carrierNetworkActive_shouldSetSummary()
178 assertThat(mNetworkPreference.isVisible()).isEqualTo(false); in onWifiStateChanged_carrierNetworkInactive_shouldHideNetwork()
190 assertThat(mNetworkPreference.isVisible()).isEqualTo(true); in onWifiEntriesChanged_carrierNetworkActive_shouldSetSummary()
201 assertThat(mNetworkPreference.isVisible()).isEqualTo(false); in onWifiEntriesChanged_carrierNetworkInactive_shouldHideNetwork()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/binder/
DWallpaperQuickSwitchOptionBinder.kt23 import androidx.core.view.isVisible in <lambda>()
88 selectionBorder.animatedVisibility(isVisible = it) in <lambda>()
90 selectionBorder.isVisible = it in <lambda>()
102 selectionIcon.animatedVisibility(isVisible = it) in <lambda>()
104 selectionIcon.isVisible = it in <lambda>()
107 selectionIcon.animatedVisibility(isVisible = it) in <lambda>()
113 progressIndicator.animatedVisibility(isVisible = it) in <lambda>()
126 thumbnailView.isVisible = true in <lambda>()
131 thumbnailView.isVisible = false in <lambda>()
170 isVisible: Boolean, 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/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DDataEntriesFragment.kt24 import androidx.core.view.isVisible in <lambda>()
224 loadingView.isVisible = true in <lambda>()
225 noDataView.isVisible = false in <lambda>()
226 errorView.isVisible = false in <lambda>()
227 entriesRecyclerView.isVisible = false in <lambda>()
230 noDataView.isVisible = true in <lambda>()
231 loadingView.isVisible = false in <lambda>()
232 errorView.isVisible = false in <lambda>()
233 entriesRecyclerView.isVisible = false in <lambda>()
236 entriesRecyclerView.isVisible = true in <lambda>()
[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/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/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceControllerTest.java210 assertThat(mController.mPublicStoragePreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
211 assertThat(mController.mImagesPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
212 assertThat(mController.mVideosPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
213 assertThat(mController.mAudioPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
214 assertThat(mController.mAppsPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
215 assertThat(mController.mGamesPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
216 assertThat(mController.mDocumentsAndOtherPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
217 assertThat(mController.mSystemPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
218 assertThat(mController.mTrashPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
384 assertThat(mController.mDocumentsAndOtherPreference.isVisible()).isTrue(); in displayPreference_dontHideFilePreferenceWhenEmulatedInternalStorageUsed()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/recentaccess/
DRecentAccessFragment.kt26 import androidx.core.view.isVisible in <lambda>()
92 fab.isVisible = true in <lambda>()
141 mRecentAccessNoDataPreference?.isVisible = false in <lambda>()
144 mRecentAccessYesterdayPreferenceGroup?.isVisible = false in <lambda>()
145 mRecentAccessTodayPreferenceGroup?.isVisible = false in <lambda>()
146 mRecentAccessNoDataPreference?.isVisible = true in <lambda>()
147 fab.isVisible = false in <lambda>()
150 mRecentAccessTodayPreferenceGroup?.isVisible = recentAppsList[0].isToday in <lambda>()
153 mRecentAccessYesterdayPreferenceGroup?.isVisible = !recentAppsList.last().isToday in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataaccess/
DHealthDataAccessFragment.kt116 mCanReadSection?.isVisible = false in <lambda>()
117 mCanWriteSection?.isVisible = false in <lambda>()
118 mInactiveSection?.isVisible = false in <lambda>()
150 mPermissionTypeDescription?.isVisible = false in <lambda>()
152 mPermissionTypeDescription?.isVisible = true in <lambda>()
156 mPermissionTypeDescription?.isVisible = true in <lambda>()
209 mCanReadSection?.isVisible = false in <lambda>()
211 mCanReadSection?.isVisible = true in <lambda>()
219 mCanWriteSection?.isVisible = false in <lambda>()
221 mCanWriteSection?.isVisible = true in <lambda>()
[all …]
/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/modules/HealthFitness/apk/src/com/android/healthconnect/controller/entrydetails/
DDataEntryDetailsFragment.kt21 import androidx.core.view.isVisible in <lambda>()
180 loadingView.isVisible = true in <lambda>()
181 errorView.isVisible = false in <lambda>()
182 recyclerView.isVisible = false in <lambda>()
185 errorView.isVisible = true in <lambda>()
186 loadingView.isVisible = false in <lambda>()
187 recyclerView.isVisible = false in <lambda>()
190 recyclerView.isVisible = true in <lambda>()
192 errorView.isVisible = false in <lambda>()
193 loadingView.isVisible = false in <lambda>()
/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/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DTabAdapter.java85 shouldShowChooseAppBanner.observe(lifecycleOwner, isVisible -> in TabAdapter()
86 setBannerVisibility(isVisible, Banner.CHOOSE_APP, onChooseAppBannerEventListener)); in TabAdapter()
87 shouldShowCloudMediaAvailableBanner.observe(lifecycleOwner, isVisible -> in TabAdapter()
88 setBannerVisibility(isVisible, Banner.CLOUD_MEDIA_AVAILABLE, in TabAdapter()
90 shouldShowAccountUpdatedBanner.observe(lifecycleOwner, isVisible -> in TabAdapter()
91 setBannerVisibility(isVisible, Banner.ACCOUNT_UPDATED, in TabAdapter()
93 shouldShowChooseAccountBanner.observe(lifecycleOwner, isVisible -> in TabAdapter()
94 setBannerVisibility(isVisible, Banner.CHOOSE_ACCOUNT, in TabAdapter()
205 private void setBannerVisibility(boolean isVisible, @NonNull Banner banner, in setBannerVisibility() argument
207 if (isVisible) { in setBannerVisibility()
/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/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/apps/Car/Settings/src/com/android/car/settings/location/
DLocationRecentAccessesPreferenceController.java125 boolean isVisible = getVisibility(); in updateState()
126 preference.setVisible(isVisible); in updateState()
127 if (isVisible) { in updateState()
133 boolean isVisible = mLocationManager.isLocationEnabled(); in getVisibility()
135 isVisible = isVisible || mLocationManager.isAdasGnssLocationEnabled(); in getVisibility()
137 return isVisible; in getVisibility()
/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/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DAddProfilePreferenceControllerTest.java96 assertThat(mPreference.isVisible()).isTrue(); in onCreate_userInDemoMode_showsExitRetailModeButton()
109 assertThat(mPreference.isVisible()).isTrue(); in onCreate_userCanAddNewProfile_showsAddProfileButton()
124 assertThat(mPreference.isVisible()).isTrue(); in onCreate_userCanAddNewProfile_showsAddProfileButton_zoneWrite()
139 assertThat(mPreference.isVisible()).isTrue(); in onCreate_userCanAddNewProfile_showsAddProfileButton_zoneRead()
154 assertThat(mPreference.isVisible()).isFalse(); in onCreate_userCanAddNewProfile_showsAddProfileButton_zoneHidden()
220 assertThat(mPreference.isVisible()).isFalse(); in onCreate_userRestrictedByUmFromAddingNewProfileAndNotInDemo_buttonDisabled()
234 assertThat(mPreference.isVisible()).isFalse(); in onCreate_addingNewProfileAndNotInDemo_buttonDisabled_zoneWrite()
248 assertThat(mPreference.isVisible()).isFalse(); in onCreate_addingNewProfileAndNotInDemo_buttonDisabled_zoneRead()
262 assertThat(mPreference.isVisible()).isFalse(); in onCreate_addingNewProfileAndNotInDemo_buttonDisabled_zoneHidden()
DProfileDetailsActionButtonsPreferenceControllerTest.java115 assertThat(getRenameButton().isVisible()).isTrue(); in onStart_userIsViewingSelf_renameButtonShown()
127 assertThat(getRenameButton().isVisible()).isFalse(); in onStart_userIsNotViewingSelf_renameButtonHidden()
140 assertThat(getMakeAdminButton().isVisible()).isTrue(); in onStart_isAdminViewingNonAdmin_makeAdminButtonShown()
154 assertThat(getMakeAdminButton().isVisible()).isFalse(); in onStart_isAdminViewingAdmin_makeAdminButtonHidden()
172 assertThat(getProfilesButton().isVisible()).isTrue(); in onStart_isAdminViewingSelf_manageOtherProfilesButtonShown()
191 assertThat(getProfilesButton().isVisible()).isFalse(); in onStart_isAdminViewingOther_manageOtherProfilesButtonHidden()
208 assertThat(getProfilesButton().isVisible()).isTrue(); in onStart_isNonAdmin_addAProfileButtonShown()
226 assertThat(getProfilesButton().isVisible()).isTrue(); in onStart_isAdmin_isOnlyProfile_makeAddAProfileButtonShown()
241 assertThat(getDeleteButton().isVisible()).isTrue(); in onStart_profileIsRemovable_deleteButtonShown()
257 assertThat(getDeleteButton().isVisible()).isFalse(); in onStart_profileIsNotRemovable_deleteButtonHidden()
[all …]
DProfileDetailsDeletePreferenceControllerTest.java98 assertThat(mPreference.isVisible()).isTrue(); in onCreate_userNotRestricted_deleteButtonShown()
111 assertThat(mPreference.isVisible()).isFalse(); in onCreate_userRestrictedByUm_deleteButtonHidden()
124 assertThat(mPreference.isVisible()).isTrue(); in onCreate_userRestrictedByDpm_deleteButtonVisible()
137 assertThat(mPreference.isVisible()).isFalse(); in onCreate_userIsViewingSelf_deleteButtonHidden()
149 assertThat(mPreference.isVisible()).isFalse(); in onCreate_userIsNotViewingSelf_deleteButtonHidden()
161 assertThat(mPreference.isVisible()).isFalse(); in onCreate_isDemoUser_deleteButtonHidden()
175 assertThat(mPreference.isVisible()).isFalse(); in onCreate_isDemoUserAndRestrictedByDpm_deleteButtonHidden()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/
DConnectedAppsFragment.kt188 mThingsToTryCategory?.isVisible = false in <lambda>()
380 mThingsToTryCategory?.isVisible = true in <lambda>()
392 private fun setAppAndSettingsCategoriesVisibility(isVisible: Boolean) { in <lambda>()
393 mInactiveAppsCategory?.isVisible = isVisible in <lambda>()
394 mAllowedAppsCategory?.isVisible = isVisible in <lambda>()
395 mNotAllowedAppsCategory?.isVisible = isVisible in <lambda>()
396 mSettingsAndHelpCategory?.isVisible = isVisible in <lambda>()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/
DCarUiPortraitHomeScreen.java722 private void setControlBarSpacerVisibility(boolean isVisible) { in setControlBarSpacerVisibility() argument
729 isVisible ? mNavBarHeight : 0); in setControlBarSpacerVisibility()
797 if (mRootTaskViewPanel.isVisible()) { in updateBackgroundTaskViewInsets()
799 } else if (mAppGridTaskViewPanel.isVisible()) { in updateBackgroundTaskViewInsets()
950 private void setControlBarVisibility(boolean isVisible, boolean animate) { in setControlBarVisibility() argument
951 float translationY = isVisible ? 0 : mContainer.getHeight() - mControlBarView.getTop(); in setControlBarVisibility()
987 boolean isVisible = newState.isVisible(); in setUpAppGridTaskView()
988 notifySystemUI(MSG_APP_GRID_VISIBILITY_CHANGE, boolToInt(isVisible)); in setUpAppGridTaskView()
996 if (!newState.isVisible() && !mRootTaskViewPanel.isVisible()) { in setUpAppGridTaskView()
1070 boolean isVisible = newState.isVisible(); in setUpRootTaskView()
[all …]

12345678910>>...15