/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 | 64 final ProgressBar progressBar = holder.itemView.findViewById(android.R.id.progress); in testProgressBarPercentageSet() local 69 assertThat(progressBar).isNotNull(); in testProgressBarPercentageSet() 70 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()
|
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/ |
D | SliceFragment.java | 492 View progressBar = getView().findViewById(R.id.progress_bar); in showProgressBar() local 493 if (progressBar != null) { in showProgressBar() 494 progressBar.bringToFront(); in showProgressBar() 495 progressBar.setVisibility(View.VISIBLE); in showProgressBar() 500 View progressBar = getView().findViewById(R.id.progress_bar); in hideProgressBar() local 501 if (progressBar != null) { in hideProgressBar() 502 progressBar.setVisibility(View.GONE); in hideProgressBar()
|
/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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | CustomizationVerifier.java | 79 ProgressBar progressBar = mActivity.findViewById(progressBarLayoutId); in assertProgressBarColorCorrect() local 82 assertThat(progressBar.getIndeterminateTintList(), equalTo(expected)); in assertProgressBarColorCorrect() 83 assertThat(progressBar.getProgressBackgroundTintList(), equalTo(expected)); in assertProgressBarColorCorrect()
|
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
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 | 92 final ProgressBar progressBar = customTitle.findViewById( in onCreateDialog() local 94 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/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | CategorySelectorFragment.java | 310 ProgressBar progressBar = view.findViewById(R.id.loading_indicator); in LoadingIndicatorHolder() local 311 progressBar.getIndeterminateDrawable().setColorFilter( in LoadingIndicatorHolder()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | NetworkRequestDialogFragment.java | 117 final ProgressBar progressBar = customTitle.findViewById( in onCreateDialog() local 119 progressBar.setVisibility(View.VISIBLE); in onCreateDialog()
|