Home
last modified time | relevance | path

Searched refs:setLoading (Results 1 – 25 of 49) sorted by relevance

12

/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DLoadingSpinnerController.java43 setLoading(true); in initializeLoading()
50 setLoading(false); in onCategoryLoad()
53 private void setLoading(boolean isLoading) { in setLoading() method in LoadingSpinnerController
55 mParentActivity.setLoading(mListView, isLoading, true); in setLoading()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DLoadingSpinnerControllerTest.java54 .setLoading(any(View.class), anyBoolean(), anyBoolean()); in setUp()
63 verify(mActivity, never()).setLoading(any(View.class), eq(true), anyBoolean()); in neverLoadIfCategoryLoadsBeforeInitialized()
69 verify(mActivity, never()).setLoading(any(View.class), eq(false), anyBoolean()); in loadUntilCategoriesLoaded()
72 verify(mActivity).setLoading(any(View.class), eq(false), anyBoolean()); in loadUntilCategoriesLoaded()
83 verify(mActivity, times(1)).setLoading(any(View.class), eq(false), anyBoolean()); in loadingMultipleCategoriesDoesntCauseFlicker()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DStorageDashboardFragmentTest.java84 verify(mFragment).setLoading(true, false); in test_loadWhenQuotaOffIfVolumeInfoNotLoaded()
101 verify(mFragment, never()).setLoading(true, false); in test_dontLoadWhenQuotaOffIfVolumeInfoNotLoaded()
118 verify(mFragment).setLoading(true, false); in test_loadWhenQuotaOnAndVolumeInfoLoadedButAppsMissing()
133 verify(mFragment).setLoading(true, false); in test_loadWhenQuotaOnAndAppsLoadedButVolumeInfoMissing()
151 verify(mFragment, never()).setLoading(true, false); in test_dontLoadWhenQuotaOnAndAllLoaded()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DPermissionsFrameFragment.java73 setLoading(mIsLoading, false, true /* force */); in onCreateView()
87 protected void setLoading(boolean loading, boolean animate) { in setLoading() method in PermissionsFrameFragment
88 setLoading(loading, animate, false); in setLoading()
91 private void setLoading(boolean loading, boolean animate, boolean force) { in setLoading() method in PermissionsFrameFragment
DPermissionAppsFragment.java87 setLoading(true /* loading */, false /* animate */); in onCreate()
205 setLoading(false /* loading */, true /* animate */); in onPermissionsLoaded()
446 setLoading(true /* loading */, false /* animate */); in onCreate()
494 setLoading(false /* loading */, true /* animate */); in setPreferenceScreen()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionsFrameFragment.java88 setLoading(mIsLoading, false, true /* force */); in onCreateView()
120 protected void setLoading(boolean loading, boolean animate) { in setLoading() method in PermissionsFrameFragment
121 setLoading(loading, animate, false); in setLoading()
124 private void setLoading(boolean loading, boolean animate, boolean force) { in setLoading() method in PermissionsFrameFragment
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/preference/
DHealthPreferenceFragment.kt85 setLoading(isLoading, animate = false, force = true) in onCreateView()
110 protected fun setLoading(isLoading: Boolean, animate: Boolean = true) { in setLoading() method
111 setLoading(isLoading, animate, false) in setLoading()
126 private fun setLoading(loading: Boolean, animate: Boolean, force: Boolean) { in setLoading() method
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiHotspotSecuritySettingsTest.java150 doNothing().when(mSettings).setLoading(anyBoolean(), anyBoolean()); in onRestartingChanged_restartingTrue_setLoadingTrue()
154 verify(mSettings).setLoading(true, false); in onRestartingChanged_restartingTrue_setLoadingTrue()
159 doNothing().when(mSettings).setLoading(anyBoolean(), anyBoolean()); in onRestartingChanged_restartingFalse_setLoadingFalse()
163 verify(mSettings).setLoading(false, false); in onRestartingChanged_restartingFalse_setLoadingFalse()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/
DDataSourcesFragment.kt157 setLoading(true) in <lambda>()
166 setLoading(true) in <lambda>()
168 setLoading(false) in <lambda>()
171 setLoading(false) in <lambda>()
322 cardContainerPreference?.setLoading(true) in <lambda>()
329 cardContainerPreference?.setLoading(false) in <lambda>()
DAddAnAppFragment.kt62 setLoading(true) in <lambda>()
64 setLoading(false) in <lambda>()
67 setLoading(false) in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedSettingsTest.java248 doNothing().when(mSettings).setLoading(anyBoolean(), anyBoolean()); in onRestartingChanged_restartingTrue_setLoadingTrue()
252 verify(mSettings).setLoading(true, false); in onRestartingChanged_restartingTrue_setLoadingTrue()
257 doNothing().when(mSettings).setLoading(anyBoolean(), anyBoolean()); in onRestartingChanged_restartingFalse_setLoadingFalse()
261 verify(mSettings).setLoading(false, false); in onRestartingChanged_restartingFalse_setLoadingFalse()
DWifiTetherSettingsTest.java399 doNothing().when(mSettings).setLoading(anyBoolean(), anyBoolean()); in onRestartingChanged_restartingTrue_setLoadingTrue()
404 verify(mSettings).setLoading(true, false); in onRestartingChanged_restartingTrue_setLoadingTrue()
483 doNothing().when(mSettings).setLoading(anyBoolean(), anyBoolean()); in onRestartingChanged_restartingFalse_setLoadingFalse()
488 verify(mSettings).setLoading(false, false); in onRestartingChanged_restartingFalse_setLoadingFalse()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/dashboard/
DAutoPermissionUsageFragment.kt101 setLoading(true) in onCreate()
154 setLoading(false) in reloadData()
231 setLoading(false) in addUIContent()
DAutoPermissionUsageDetailsFragment.kt173 setLoading(true) in reloadData()
241 setLoading(false) in updateUI()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/migration/
DMigrationNavigationFragment.kt39 setLoading(true) in <lambda>()
42 setLoading(false) in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoManageOtherPermissionsFragment.java54 setLoading(true); in onCreate()
125 setLoading(false); in updateCategory()
DAutoManageStandardPermissionsFragment.java65 setLoading(true); in onCreate()
125 setLoading(false); in onPermissionGroupsChanged()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/categories/
DHealthDataAllCategoriesFragment.kt65 setLoading(false) in <lambda>()
72 setLoading(true) in <lambda>()
DHealthDataCategoriesFragment.kt145 setLoading(true) in <lambda>()
148 setLoading(false) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/appdata/
DAppDataFragment.kt89 setLoading(isLoading = true) in <lambda>()
95 setLoading(isLoading = false) in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreferenceControllerTest.java119 doNothing().when(mFragment).setLoading(anyBoolean(), anyBoolean()); in onRebuildComplete_restricted_shouldBeDisabled()
171 doNothing().when(mFragment).setLoading(anyBoolean(), anyBoolean()); in onRebuildComplete_ecmRestricted_shouldBeDisabled()
210 doNothing().when(mFragment).setLoading(anyBoolean(), anyBoolean()); in onRebuildComplete_ecmNotRestricted_notDisabled()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/recentaccess/
DRecentAccessFragment.kt128 setLoading(true) in <lambda>()
134 setLoading(false) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/access/
DAccessFragment.kt112 setLoading(isLoading = true) in <lambda>()
118 setLoading(isLoading = false, animate = false) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/alldata/
DAllDataFragment.kt140 setLoading(isLoading = true) in <lambda>()
150 setLoading(isLoading = false) in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v34/
DAppDataSharingUpdatesFragment.kt57 setLoading(/* loading= */ true, /* animate= */ false) in <lambda>()
83 setLoading(/* loading= */ false, /* animate= */ true) in <lambda>()

12