Home
last modified time | relevance | path

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

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DProgressBarMixin.java43 final View progressBar = templateLayout.findManagedViewById(R.id.suw_layout_progress); in isShown() local
44 return progressBar != null && progressBar.getVisibility() == View.VISIBLE; in isShown()
55 View progressBar = getProgressBar(); in setShown() local
56 if (progressBar != null) { in setShown()
57 progressBar.setVisibility(View.VISIBLE); in setShown()
60 View progressBar = peekProgressBar(); in setShown() local
61 if (progressBar != null) { in setShown()
62 progressBar.setVisibility(View.GONE); in setShown()
75 final View progressBar = peekProgressBar(); in getProgressBar() local
76 if (progressBar == null) { in getProgressBar()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DProgressBarMixinTest.java64 ProgressBar progressBar = (ProgressBar) mTemplateLayout.findViewById(R.id.suw_layout_progress); in testSetShown() local
65 assertNotNull("Progress bar should be available after setting to shown", progressBar); in testSetShown()
66 assertEquals(View.VISIBLE, progressBar.getVisibility()); in testSetShown()
75 ProgressBar progressBar = (ProgressBar) mTemplateLayout.findViewById(R.id.suw_layout_progress); in testNotShown() local
76 assertNotEquals(View.VISIBLE, progressBar.getVisibility()); in testNotShown()
109 ProgressBar progressBar = in testSetColorBeforeSetShown() local
111 assertEquals(ColorStateList.valueOf(Color.MAGENTA), progressBar.getIndeterminateTintList()); in testSetColorBeforeSetShown()
113 ColorStateList.valueOf(Color.MAGENTA), progressBar.getProgressBackgroundTintList()); in testSetColorBeforeSetShown()
126 ProgressBar progressBar = in testSetColorAfterSetShown() local
128 assertEquals(ColorStateList.valueOf(Color.YELLOW), progressBar.getIndeterminateTintList()); in testSetColorAfterSetShown()
[all …]
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DSetupWizardLayoutTest.java144 final View progressBar = layout.findViewById(R.id.suw_layout_progress); in testShowProgressBar() local
147 progressBar instanceof ProgressBar && progressBar.getVisibility() == View.VISIBLE); in testShowProgressBar()
157 final View progressBar = layout.findViewById(R.id.suw_layout_progress); in testHideProgressBar() local
160 progressBar == null || progressBar.getVisibility() != View.VISIBLE); in testHideProgressBar()
DSetupWizardListLayoutTest.java88 final View progressBar = layout.findViewById(R.id.suw_layout_progress); in testShowProgressBar() local
91 progressBar instanceof ProgressBar && progressBar.getVisibility() == View.VISIBLE); in testShowProgressBar()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceChooserActivity.java129 final ProgressBar progressBar = new ProgressBar(this); in getProgressBar() local
130 progressBar.setForegroundGravity(Gravity.CENTER_HORIZONTAL); in getProgressBar()
132 progressBar.setPadding(padding, padding, padding, padding); in getProgressBar()
133 return progressBar; in getProgressBar()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DExtendedBitmapDrawable.java128 if (mOpts.progressBar != null) { in onOptsChanged()
130 … mProgress = new Progress(mOpts.progressBar.getConstantState().newDrawable(mResources), mResources, in onOptsChanged()
766 public Drawable progressBar; field in ExtendedBitmapDrawable.ExtendedOptions
779 final Drawable progressBar) { in ExtendedOptions() argument
782 this.progressBar = progressBar; in ExtendedOptions()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/android/layoutlib/test/myapplication/
DR$id.classR.java package com.android.layoutlib.test.myapplication public final com.android. ...
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallInstalling.java316 ProgressBar progressBar = requireViewById(R.id.progress); in onProgressChanged() local
317 progressBar.setMax(Integer.MAX_VALUE); in onProgressChanged()
318 progressBar.setProgress((int) (Integer.MAX_VALUE * progress)); in onProgressChanged()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DSelectPrinterActivity.java420 View progressBar = findViewById(R.id.progress_bar); in updateEmptyView() local
423 progressBar.setVisibility(View.GONE); in updateEmptyView()
426 progressBar.setVisibility(View.VISIBLE); in updateEmptyView()
429 progressBar.setVisibility(View.GONE); in updateEmptyView()