/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/toolbar/ |
D | ToolbarProgressBarTest.java | 67 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/ |
D | ControlBarHelper.java | 39 @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/ |
D | ProgressBarPreference.java | 129 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/ |
D | ManageCachePage.java | 365 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/ |
D | StorageItemPreferenceTest.java | 58 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/ |
D | CacheClearingActivity.java | 152 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()
|
D | PermissionActivity.java | 228 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/ |
D | WordListPreference.java | 218 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/ |
D | WallpaperSectionController.java | 485 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/ |
D | SliceFragment.java | 578 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/ |
D | ProgressBarController.java | 28 ProgressBarController(@NonNull ProgressBar progressBar) { in ProgressBarController() argument 29 mProgressBar = progressBar; in ProgressBarController()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/ |
D | TestNotificationService.java | 185 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/ |
D | ProgressBarControllerImpl.java | 34 ProgressBarControllerImpl(@NonNull ProgressBar progressBar) { in ProgressBarControllerImpl() argument 35 mProgressBar = progressBar; in ProgressBarControllerImpl()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ProgressCategory.java | 64 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/ |
D | NetworkRequestSingleSsidDialogFragment.java | 40 final ProgressBar progressBar = customTitle in onCreateDialog() local 42 progressBar.setVisibility(View.GONE); in onCreateDialog()
|
D | NetworkRequestDialogFragment.java | 137 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/ |
D | AppDataUsagePreferenceTest.java | 97 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/ |
D | PanelFragmentTest.java | 324 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/ |
D | CategorySelectorFragment.java | 417 ProgressBar progressBar = view.findViewById(R.id.loading_indicator); in LoadingIndicatorHolder() local 418 progressBar.getIndeterminateDrawable().setColorFilter( in LoadingIndicatorHolder()
|