Home
last modified time | relevance | path

Searched refs:progressBar (Results 1 – 15 of 15) 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/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/
DSideFpsProgressBar.kt59 progressBar?.isGone = true in hide()
94 progressBar?.pivotX = 0.0f in createAndShowOverlay()
95 progressBar?.pivotY = 0.0f in createAndShowOverlay()
97 progressBar?.layoutParams?.width = progressBarLength in createAndShowOverlay()
98 progressBar?.layoutParams?.height = progressBarThickness in createAndShowOverlay()
99 progressBar?.translationX = viewLeftTop.x.toFloat() in createAndShowOverlay()
100 progressBar?.translationY = viewLeftTop.y.toFloat() in createAndShowOverlay()
101 progressBar?.rotation = rotation in createAndShowOverlay()
102 progressBar?.isGone = false in createAndShowOverlay()
107 progressBar?.setProgress((value * 100).toInt(), false) in setProgress()
[all …]
/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/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DMaximizeButtonView.kt48 private val progressBar: ProgressBar constant
54 progressBar = requireViewById(R.id.progress_bar)
74 ObjectAnimator.ofInt(progressBar, "progress", 100) in startHoverAnimation()
78 progressBar.setProgress(0, false) in startHoverAnimation()
79 progressBar.visibility = View.VISIBLE in startHoverAnimation()
82 progressBar.visibility = View.INVISIBLE in startHoverAnimation()
93 progressBar.visibility = View.INVISIBLE in cancelHoverAnimation()
117 progressBar.progressTintList = ColorStateList.valueOf(baseForegroundColor) in setAnimationTints()
119 progressBar.progressBackgroundTintList = ColorStateList.valueOf(Color.TRANSPARENT) in setAnimationTints()
122 progressBar.progressTintList = ColorStateList.valueOf( in setAnimationTints()
[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/SettingsLib/UsageProgressBarPreference/src/com/android/settingslib/widget/
DUsageProgressBarPreference.java193 final ProgressBar progressBar = (ProgressBar) holder.findViewById(android.R.id.progress); in onBindViewHolder() local
195 progressBar.setIndeterminate(true); in onBindViewHolder()
197 progressBar.setIndeterminate(false); in onBindViewHolder()
198 progressBar.setProgress(mPercent); in onBindViewHolder()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/widget/
DUsageProgressBarPreferenceTest.java145 final ProgressBar progressBar = (ProgressBar) mViewHolder in setPercent_getCorrectProgress() local
147 assertThat(progressBar.getProgress()).isEqualTo((int) (31.0f / 80 * 100)); in setPercent_getCorrectProgress()
156 final ProgressBar progressBar = (ProgressBar) mViewHolder in setPercent_totalSizeZero_getProgressZero() local
158 assertThat(progressBar.getProgress()).isEqualTo(0); in setPercent_totalSizeZero_getProgressZero()
/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/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/
DGlifLayoutTest.java106 ProgressBar progressBar = layout.findViewById(R.id.suw_layout_progress); in testSetPrimaryColor() local
107 assertThat(progressBar.getIndeterminateTintList()) in testSetPrimaryColor()
110 assertThat(progressBar.getProgressBackgroundTintList()) in testSetPrimaryColor()
127 ProgressBar progressBar = layout.findViewById(R.id.suw_layout_progress); in testSetPrimaryColorTablet() local
129 .that(progressBar.getIndeterminateTintList()) in testSetPrimaryColorTablet()
132 .that(progressBar.getProgressBackgroundTintList()) in testSetPrimaryColorTablet()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DMediaRecommendationsViewBinder.kt206 val progressBar = viewHolder.mediaProgressBars[index] in <lambda>() constant
207 progressBar.progress = mediaRecViewModel.progress in <lambda>()
208 progressBar.progressTintList = ColorStateList.valueOf(mediaRecViewModel.progressColor) in <lambda>()
210 progressBar.visibility = View.GONE in <lambda>()
/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/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DCarSetupWizardCompatLayoutTest.java448 View progressBar = mCarSetupWizardCompatLayout.getProgressBar(); in testSetProgressBarVisibleTrue() local
451 TestHelper.assertViewVisible(progressBar); in testSetProgressBarVisibleTrue()
460 View progressBar = mCarSetupWizardCompatLayout.getProgressBar(); in testSetProgressBarVisibleFalse() local
463 TestHelper.assertViewNotVisible(progressBar); in testSetProgressBarVisibleFalse()
/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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanel.java1674 (progressBar) -> progressBar.setProgressTintList(