Home
last modified time | relevance | path

Searched refs:isLoading (Results 1 – 25 of 52) sorted by relevance

123

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearManageCustomPermissionScreen.kt37 var isLoading by remember { mutableStateOf(true) } in WearManageCustomPermissionScreen() variable
40 isLoading, in WearManageCustomPermissionScreen()
45 if (isLoading && permissionGroups.value.isNotEmpty()) { in WearManageCustomPermissionScreen()
46 isLoading = false in WearManageCustomPermissionScreen()
52 isLoading: Boolean, in WearManageCustomPermissionContent()
58 isLoading = isLoading in WearManageCustomPermissionContent()
DWearAppPermissionGroupsScreen.kt42 var isLoading by remember { mutableStateOf(true) } in WearAppPermissionGroupsScreen() variable
46 isLoading, in WearAppPermissionGroupsScreen()
56 if (isLoading && !packagePermGroups.value.isNullOrEmpty()) { in WearAppPermissionGroupsScreen()
57 isLoading = false in WearAppPermissionGroupsScreen()
63 isLoading: Boolean, in WearAppPermissionGroupsContent()
67 ScrollableScreen(title = stringResource(R.string.app_permissions), isLoading = isLoading) { in WearAppPermissionGroupsContent()
DWearPermissionUsageDetailsScreen.kt51 var isLoading by remember { mutableStateOf(true) } in <lambda>() variable
92 isLoading, in <lambda>()
101 if (isLoading && uiData.value != null) { in <lambda>()
102 isLoading = false in <lambda>()
110 isLoading: Boolean, in WearPermissionUsageDetailsContent()
118 ScrollableScreen(title = title, subtitle = subtitle, isLoading = isLoading) { in WearPermissionUsageDetailsContent()
DWearPermissionAppsScreen.kt44 var isLoading by remember { mutableStateOf(true) } in WearPermissionAppsScreen() variable
59 isLoading, in WearPermissionAppsScreen()
63 if (isLoading && categorizedApps.value.isNotEmpty()) { in WearPermissionAppsScreen()
64 isLoading = false in WearPermissionAppsScreen()
77 isLoading: Boolean, in WearPermissionAppsContent()
80 ScrollableScreen(title = title, subtitle = subtitle, isLoading = isLoading) { in WearPermissionAppsContent()
DWearManageStandardPermissionScreen.kt49 var isLoading by remember { mutableStateOf(true) } in <lambda>() variable
52 isLoading, in <lambda>()
61 if (isLoading && permissionGroups.value.isNotEmpty()) { in <lambda>()
62 isLoading = false in <lambda>()
97 isLoading: Boolean, in WearManageStandardPermissionContent()
107 isLoading = isLoading in WearManageStandardPermissionContent()
DWearPermissionUsageScreen.kt52 var isLoading by remember { mutableStateOf(true) } in <lambda>() variable
103 isLoading, in <lambda>()
110 if (isLoading && isDataLoaded) { in <lambda>()
111 isLoading = false in <lambda>()
117 isLoading: Boolean, in WearPermissionUsageContent()
125 isLoading = isLoading in WearPermissionUsageContent()
DWearAppPermissionScreen.kt58 var isLoading by remember { mutableStateOf(true) } in <lambda>() variable
69 isLoading, in <lambda>()
87 if (isLoading && !buttonState.value.isNullOrEmpty()) { in <lambda>()
88 isLoading = false in <lambda>()
98 isLoading: Boolean, in WearAppPermissionContent()
103 ScrollableScreen(title = title, isLoading = isLoading) { in WearAppPermissionContent()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/wear/
DWearDefaultAppScreen.kt43 var isLoading by remember { mutableStateOf(true) } in WearDefaultAppScreen() variable
45 WearDefaultAppContent(isLoading, roleLiveData.value, helper) in WearDefaultAppScreen()
51 if (isLoading && roleLiveData.value.isNotEmpty()) { in WearDefaultAppScreen()
52 isLoading = false in WearDefaultAppScreen()
58 isLoading: Boolean, in WearDefaultAppContent()
62 ScrollableScreen(title = helper.getTitle(), isLoading = isLoading) { in WearDefaultAppContent()
DWearRequestRoleScreen.kt57 var isLoading by remember { mutableStateOf(true) } in <lambda>() variable
59 if (isLoading && roleLiveData.value.isNotEmpty()) { in <lambda>()
79 isLoading, in <lambda>()
91 if (isLoading && roleLiveData.value.isNotEmpty()) { in <lambda>()
92 isLoading = false in <lambda>()
98 isLoading: Boolean, in WearRequestRoleContent()
113 isLoading = isLoading in WearRequestRoleContent()
DWearDefaultAppListScreen.kt46 var isLoading by remember { mutableStateOf(true) } in <lambda>() variable
48 ScrollableScreen(title = stringResource(R.string.default_apps), isLoading = isLoading) { in <lambda>()
73 if (isLoading && defaultApps.isNotEmpty()) { in <lambda>()
74 isLoading = false in <lambda>()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/builders/
DPreferenceSliceBuilder.java315 private RowBuilder setTitleItem(@Nullable IconCompat icon, boolean isLoading) { in setTitleItem() argument
318 mTitleItemLoading = isLoading; in setTitleItem()
343 private RowBuilder setTitleItem(@NonNull SliceAction action, boolean isLoading) { in setTitleItem() argument
346 mTitleActionLoading = isLoading; in setTitleItem()
522 public RowBuilder setTitle(@Nullable CharSequence title, boolean isLoading) { in setTitle() argument
524 mTitleLoading = isLoading; in setTitle()
549 public RowBuilder setSubtitle(@Nullable CharSequence subtitle, boolean isLoading) { in setSubtitle() argument
551 mSubtitleLoading = isLoading; in setSubtitle()
576 private RowBuilder addEndItem(@Nullable IconCompat icon, boolean isLoading) { in addEndItem() argument
584 mEndLoads.add(isLoading); in addEndItem()
[all …]
DPreferenceSliceBuilderImpl.java402 private void setTitleItem(IconCompat icon, int imageMode, boolean isLoading) { in setTitleItem() argument
410 if (isLoading) { in setTitleItem()
415 if (isLoading) { in setTitleItem()
432 private void setTitleItem(SliceAction action, boolean isLoading) { in setTitleItem() argument
434 if (isLoading) { in setTitleItem()
473 public void setTitle(CharSequence title, boolean isLoading) { in setTitle() argument
475 if (isLoading) { in setTitle()
594 public void setSubtitle(CharSequence subtitle, boolean isLoading) { in setSubtitle() argument
596 if (isLoading) { in setSubtitle()
613 public void addEndItem(IconCompat icon, int imageMode, boolean isLoading) { in addEndItem() argument
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/preference/
DHealthPreferenceFragment.kt50 private var isLoading: Boolean = false variable in com.android.healthconnect.controller.shared.preference.HealthPreferenceFragment
85 setLoading(isLoading, animate = false, force = true) in onCreateView()
110 protected fun setLoading(isLoading: Boolean, animate: Boolean = true) { in setLoading()
111 setLoading(isLoading, animate, false) in setLoading()
127 if (isLoading != loading || force) { in setLoading()
128 isLoading = loading in setLoading()
DCardContainerPreference.kt54 private var isLoading = false variable
71 fun setLoading(isLoading: Boolean) { in setLoading()
72 this.isLoading = isLoading in setLoading()
77 if (!isLoading) { in setLoading()
103 if (!isLoading) { in onBindViewHolder()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DLoadingSpinnerController.java53 private void setLoading(boolean isLoading) { in setLoading() argument
54 if (mListView != null && mParentActivity.isLoadingVisible() != isLoading) { in setLoading()
55 mParentActivity.setLoading(mListView, isLoading, true); in setLoading()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/wear/
DWearConfirmationScreen.kt44 var isLoading by rememberSaveable { mutableStateOf(true) } in WearConfirmationScreen() variable
47 if (isLoading) { in WearConfirmationScreen()
75 if (isLoading && showDialog.value) { in WearConfirmationScreen()
76 isLoading = false in WearConfirmationScreen()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/
DScrollableScreen.kt81 isLoading: Boolean = false, in <lambda>()
107 isLoading = isLoading || isBackground || dismissed, in <lambda>()
119 isLoading, in <lambda>()
133 isLoading: Boolean, in Scaffold()
192 if (showTimeText && !isLoading) { in Scaffold()
204 if (isLoading) { in Scaffold()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/handheld/
DSettingsFragment.java160 boolean isLoading = mPreferenceFragment.getPreferenceManager() == null in updateStateViews()
162 UiUtils.setViewShown(mLoadingView, isLoading); in updateStateViews()
163 boolean isEmpty = !isLoading in updateStateViews()
/packages/apps/ThemePicker/src/com/android/customization/picker/preview/ui/viewmodel/
DPreviewWithThemeViewModel.kt53 private val wallpaperIsLoading = super.isLoading in workspaceUpdateEvents()
55 override val isLoading: Flow<Boolean> = in workspaceUpdateEvents() constant
/packages/apps/Launcher3/src/com/android/launcher3/util/
DShortcutUtil.java66 boolean isLoading = info instanceof WorkspaceItemInfo in isActive()
68 return !isLoading && !info.isDisabled(); in isActive()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DComboAlbumSet.java69 public boolean isLoading() { in isLoading() method in ComboAlbumSet
71 if (mSets[i].isLoading()) return true; in isLoading()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DLoadingSpinnerControllerTest.java49 final boolean isLoading = (boolean) invocationOnMock.getArguments()[1]; in setUp()
50 when(mActivity.isLoadingVisible()).thenReturn(isLoading); in setUp()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DScrollableImagePreviewView.kt303 private var isLoading = false in <lambda>() variable
315 isLoading = this.totalItemCount > 0 in <lambda>()
320 if (!isLoading) return in <lambda>()
321 isLoading = false in <lambda>()
373 override fun getItemCount(): Int = previews.size + if (isLoading || hasOtherItem) 1 else 0 in <lambda>()
377 position == previews.size && isLoading -> R.layout.image_preview_loading_item in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/auto/
DAutoSettingsFrameFragment.java103 public void setLoading(boolean isLoading) { in setLoading() argument
104 mIsLoading = isLoading; in setLoading()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/appdata/
DAppDataFragment.kt89 setLoading(isLoading = true) in <lambda>()
95 setLoading(isLoading = false) in <lambda>()

123