Home
last modified time | relevance | path

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

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DProgressBarMixin.java51 final View progressBar = mTemplateLayout.findManagedViewById(R.id.suw_layout_progress); in isShown() local
52 return progressBar != null && progressBar.getVisibility() == View.VISIBLE; in isShown()
63 View progressBar = getProgressBar(); in setShown() local
64 if (progressBar != null) { in setShown()
65 progressBar.setVisibility(View.VISIBLE); in setShown()
68 View progressBar = peekProgressBar(); in setShown() local
69 if (progressBar != null) { in setShown()
70 progressBar.setVisibility(View.GONE); in setShown()
83 final View progressBar = peekProgressBar(); in getProgressBar() local
84 if (progressBar == null) { in getProgressBar()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DProgressBarMixinTest.java66 ProgressBar progressBar = (ProgressBar) mTemplateLayout.findViewById( in testSetShown() local
68 assertNotNull("Progress bar should be available after setting to shown", progressBar); in testSetShown()
69 assertEquals(View.VISIBLE, progressBar.getVisibility()); in testSetShown()
78 ProgressBar progressBar = (ProgressBar) mTemplateLayout.findViewById( in testNotShown() local
80 assertNotEquals(View.VISIBLE, progressBar.getVisibility()); in testNotShown()
113 ProgressBar progressBar = (ProgressBar) mTemplateLayout.findViewById( in testSetColorBeforeSetShown() local
116 progressBar.getIndeterminateTintList()); in testSetColorBeforeSetShown()
118 progressBar.getProgressBackgroundTintList()); in testSetColorBeforeSetShown()
131 ProgressBar progressBar = (ProgressBar) mTemplateLayout.findViewById( in testSetColorAfterSetShown() local
134 progressBar.getIndeterminateTintList()); in testSetColorAfterSetShown()
[all …]
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DConstantWithConditionalTest.java40 assertTrue(mBinder.progressBar.isIndeterminate()); in testValues()
45 assertFalse(mBinder.progressBar.isIndeterminate()); in testValues()
52 assertTrue(mBinder.progressBar.isIndeterminate()); in testValues()
57 assertFalse(mBinder.progressBar.isIndeterminate()); in testValues()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DBrowseErrorActivity.java57 ProgressBar progressBar = new ProgressBar(container.getContext()); in onCreateView() local
61 progressBar.setLayoutParams(layoutParams); in onCreateView()
63 return progressBar; in onCreateView()
DBrowseErrorSupportActivity.java60 ProgressBar progressBar = new ProgressBar(container.getContext()); in onCreateView() local
64 progressBar.setLayoutParams(layoutParams); in onCreateView()
66 return progressBar; in onCreateView()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceChooserActivity.java126 final ProgressBar progressBar = new ProgressBar(this); in getProgressBar() local
127 progressBar.setForegroundGravity(Gravity.CENTER_HORIZONTAL); in getProgressBar()
129 progressBar.setPadding(padding, padding, padding, padding); in getProgressBar()
130 return progressBar; in getProgressBar()
/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
146 progressBar instanceof ProgressBar && progressBar.getVisibility() == View.VISIBLE); in testShowProgressBar()
156 final View progressBar = layout.findViewById(R.id.suw_layout_progress); in testHideProgressBar() local
158 progressBar == null || progressBar.getVisibility() != View.VISIBLE); in testHideProgressBar()
DSetupWizardListLayoutTest.java85 final View progressBar = layout.findViewById(R.id.suw_layout_progress); in testShowProgressBar() local
87 progressBar instanceof ProgressBar && progressBar.getVisibility() == View.VISIBLE); in testShowProgressBar()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/
DGlifLayoutTest.java108 ProgressBar progressBar = (ProgressBar) layout.findViewById(R.id.suw_layout_progress); in testSetPrimaryColor() local
110 ColorStateList.valueOf(Color.RED), progressBar.getIndeterminateTintList()); in testSetPrimaryColor()
112 ColorStateList.valueOf(Color.RED), progressBar.getProgressBackgroundTintList()); in testSetPrimaryColor()
126 ProgressBar progressBar = (ProgressBar) layout.findViewById(R.id.suw_layout_progress); in testSetPrimaryColorTablet() local
128 ColorStateList.valueOf(Color.RED), progressBar.getIndeterminateTintList()); in testSetPrimaryColorTablet()
130 ColorStateList.valueOf(Color.RED), progressBar.getProgressBackgroundTintList()); in testSetPrimaryColorTablet()
/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/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
DR$id.classR.java package com.android.layoutlib.test.myapplication public final com.android. ...
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DSelectPrinterActivity.java415 View progressBar = findViewById(R.id.progress_bar); in updateEmptyView() local
418 progressBar.setVisibility(View.GONE); in updateEmptyView()
421 progressBar.setVisibility(View.VISIBLE); in updateEmptyView()
424 progressBar.setVisibility(View.GONE); in updateEmptyView()