Home
last modified time | relevance | path

Searched refs:progressBar (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/toolbar/
DToolbarProgressBarTest.java67 runWithProgressBar((progressBar) -> progressBar.setVisible(true)); in test_showProgressBar_works()
84 runWithProgressBar((progressBar) -> { in test_settersAndGetters_work() argument
85 isVisible[0] = progressBar.isVisible(); in test_settersAndGetters_work()
86 isIndeterminate[0] = progressBar.isIndeterminate(); in test_settersAndGetters_work()
87 min[0] = progressBar.getMin(); in test_settersAndGetters_work()
88 max[0] = progressBar.getMax(); in test_settersAndGetters_work()
89 progress[0] = progressBar.getProgress(); in test_settersAndGetters_work()
98 runWithProgressBar((progressBar) -> { in test_settersAndGetters_work() argument
99 progressBar.setVisible(true); in test_settersAndGetters_work()
100 progressBar.setIndeterminate(false); in test_settersAndGetters_work()
[all …]
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DControlBarHelper.java39 @NonNull PlaybackViewModel model, @Nullable ProgressBar progressBar, in initProgressBar() argument
41 if (progressBar == null) { in initProgressBar()
45 progressBar.setVisibility(View.GONE); in initProgressBar()
59 progressBar.setProgressTintList(ColorStateList.valueOf(color)); in initProgressBar()
62 progressBar.setProgressTintList(ColorStateList.valueOf(defaultColor)); in initProgressBar()
67 progressBar.setMax((int) progress.getMaxProgress()); in initProgressBar()
68 progressBar.setProgress((int) progress.getProgress()); in initProgressBar()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DProgressBarPreference.java129 ProgressBar progressBar = (ProgressBar) view.findViewById(android.R.id.progress); in onBindViewHolder() local
130 progressBar.setMin(mMin); in onBindViewHolder()
131 progressBar.setMax(mMax); in onBindViewHolder()
132 progressBar.setProgress(mProgress); in onBindViewHolder()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DManageCachePage.java365 ProgressBar progressBar = (ProgressBar) mFooterContent.findViewById(R.id.progress); in refreshCacheStorageInfo() local
367 progressBar.setMax(PROGRESS_BAR_MAX); in refreshCacheStorageInfo()
375 progressBar.setProgress(0); in refreshCacheStorageInfo()
376 progressBar.setSecondaryProgress(0); in refreshCacheStorageInfo()
382 progressBar.setProgress((int) (usedBytes * PROGRESS_BAR_MAX / totalBytes)); in refreshCacheStorageInfo()
383 progressBar.setSecondaryProgress( in refreshCacheStorageInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DStorageItemPreferenceTest.java58 final ProgressBar progressBar = holder.itemView.findViewById(android.R.id.progress); in testProgressBarPercentageSet() local
63 assertThat(progressBar).isNotNull(); in testProgressBarPercentageSet()
64 assertThat(progressBar.getProgress()).isEqualTo(10); in testProgressBarPercentageSet()
/packages/providers/MediaProvider/src/com/android/providers/media/
DCacheClearingActivity.java152 final ProgressBar progressBar = new ProgressBar(CacheClearingActivity.this); in createLoadingDialog() local
155 progressBar.setIndeterminate(true); in createLoadingDialog()
156 progressBar.setPadding(0, padding / 2, 0, padding); in createLoadingDialog()
160 .setView(progressBar) in createLoadingDialog()
DPermissionActivity.java228 final ProgressBar progressBar = new ProgressBar(this); in createProgressDialog() local
231 progressBar.setIndeterminate(true); in createProgressDialog()
232 progressBar.setPadding(0, padding / 2, 0, padding); in createProgressDialog()
235 .setView(progressBar) in createProgressDialog()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DWordListPreference.java218 final DictionaryDownloadProgressBar progressBar = in onBindView() local
221 progressBar.setIds(mClientId, mWordlistId); in onBindView()
222 progressBar.setMax(mFilesize); in onBindView()
226 progressBar.setVisibility(showProgressBar ? View.VISIBLE : View.INVISIBLE); in onBindView()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DWallpaperSectionController.java485 private void setupFade(CardView cardView, ContentLoadingProgressBar progressBar, int duration, in setupFade() argument
494 progressBar.hide(); in setupFade()
500 progressBar.hide(); in setupFade()
513 progressBar.animate() in setupFade()
517 .withStartAction(progressBar::show) in setupFade()
518 .withEndAction(progressBar::hide); in setupFade()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DSliceFragment.java578 View progressBar = view == null ? null : getView().findViewById(R.id.progress_bar); in showProgressBar() local
579 if (progressBar != null) { in showProgressBar()
580 progressBar.bringToFront(); in showProgressBar()
581 progressBar.setVisibility(View.VISIBLE); in showProgressBar()
587 View progressBar = view == null ? null : getView().findViewById(R.id.progress_bar); in hideProgressBar() local
588 if (progressBar != null) { in hideProgressBar()
589 progressBar.setVisibility(View.GONE); in hideProgressBar()
/packages/apps/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/toolbar/
DProgressBarController.java28 ProgressBarController(@NonNull ProgressBar progressBar) { in ProgressBarController() argument
29 mProgressBar = progressBar; in ProgressBarController()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestNotificationService.java185 ProgressBar progressBar = getProgresssBar(getRemoteViews(notifiction)); in isStartProgress() local
186 return (progressBar != null) ? progressBar.getProgress() > 0 : false; in isStartProgress()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DProgressBarControllerImpl.java34 ProgressBarControllerImpl(@NonNull ProgressBar progressBar) { in ProgressBarControllerImpl() argument
35 mProgressBar = progressBar; in ProgressBarControllerImpl()
/packages/apps/Settings/src/com/android/settings/
DProgressCategory.java64 final View progressBar = view.findViewById(R.id.scanning_progress); in onBindViewHolder() local
68 progressBar.setVisibility(mProgress ? View.VISIBLE : View.GONE); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/wifi/
DNetworkRequestSingleSsidDialogFragment.java40 final ProgressBar progressBar = customTitle in onCreateDialog() local
42 progressBar.setVisibility(View.GONE); in onCreateDialog()
DNetworkRequestDialogFragment.java137 final ProgressBar progressBar = customTitle.findViewById( in onCreateDialog() local
139 progressBar.setVisibility(View.VISIBLE); in onCreateDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppDataUsagePreferenceTest.java97 final ProgressBar progressBar = (ProgressBar) preferenceViewHolder.findViewById( in createPref_progressBarShouldSetPercentageContentDescription() local
102 assertThat(progressBar.getContentDescription()).isEqualTo(FIFTY_PERCENT); in createPref_progressBarShouldSetPercentageContentDescription()
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/
DPanelFragmentTest.java324 final ProgressBar progressBar = panelFragment.mLayoutView.findViewById(R.id.progress_bar); in onProgressBarVisibleChanged_isProgressBarVisible_showProgressBar() local
331 assertThat(progressBar.getVisibility()).isEqualTo(View.VISIBLE); in onProgressBarVisibleChanged_isProgressBarVisible_showProgressBar()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCategorySelectorFragment.java417 ProgressBar progressBar = view.findViewById(R.id.loading_indicator); in LoadingIndicatorHolder() local
418 progressBar.getIndeterminateDrawable().setColorFilter( in LoadingIndicatorHolder()