/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
D | ProgressBarMixin.java | 43 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/ |
D | SideFpsProgressBar.kt | 59 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/ |
D | ProgressBarMixinTest.java | 64 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/ |
D | MaximizeButtonView.kt | 48 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/ |
D | SetupWizardLayoutTest.java | 144 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()
|
D | SetupWizardListLayoutTest.java | 88 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/ |
D | UsageProgressBarPreference.java | 193 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/ |
D | UsageProgressBarPreferenceTest.java | 145 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/ |
D | ExtendedBitmapDrawable.java | 128 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/ |
D | GlifLayoutTest.java | 106 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/ |
D | MediaRecommendationsViewBinder.kt | 206 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/ |
D | R$id.class | R.java
package com.android.layoutlib.test.myapplication
public final com.android. ... |
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/ |
D | CarSetupWizardCompatLayoutTest.java | 448 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/ |
D | SelectPrinterActivity.java | 420 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/ |
D | MediaControlPanel.java | 1674 (progressBar) -> progressBar.setProgressTintList(
|