Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DTextProgressBar.java54 ProgressBar mProgressBar = null; field in TextProgressBar
96 mProgressBar = (ProgressBar) child; in addView()
115 if (mProgressBar == null || mChronometer == null) { in setDurationBase()
125 mProgressBar.setMax(mDuration); in setDurationBase()
133 if (mProgressBar == null) { in onChronometerTick()
146 mProgressBar.setProgress(mDuration - remaining); in onChronometerTick()
153 params = (RelativeLayout.LayoutParams) mProgressBar.getLayoutParams(); in onChronometerTick()
154 int contentWidth = mProgressBar.getWidth() - (params.leftMargin + params.rightMargin); in onChronometerTick()
155 int leadingEdge = ((contentWidth * mProgressBar.getProgress()) / in onChronometerTick()
156 mProgressBar.getMax()) + params.leftMargin; in onChronometerTick()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DPlaybackTransportRowPresenterTest.java267 assertSame(mViewHolder.mProgressBar, view.focusSearch(View.FOCUS_DOWN)); in navigatePrimaryDownToProgress()
275 mViewHolder.mProgressBar.requestFocus(); in navigateProgressUpToPrimary()
281 mViewHolder.mProgressBar.focusSearch(View.FOCUS_UP).requestFocus(); in navigateProgressUpToPrimary()
293 mViewHolder.mProgressBar.requestFocus(); in navigateProgressDownToSecondary()
299 mViewHolder.mProgressBar.focusSearch(View.FOCUS_DOWN).requestFocus(); in navigateProgressDownToSecondary()
316 assertSame(mViewHolder.mProgressBar, view.focusSearch(View.FOCUS_UP)); in navigateSecondaryUpToProgress()
333 mViewHolder.mProgressBar.requestFocus(); in seekAndConfirm()
334 assertTrue(mViewHolder.mProgressBar.hasFocus()); in seekAndConfirm()
367 mViewHolder.mProgressBar.requestFocus(); in playSeekToZero()
368 assertTrue(mViewHolder.mProgressBar.hasFocus()); in playSeekToZero()
[all …]
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
DFragmentRetainInstanceSupport.java101 ProgressBar mProgressBar; field in FragmentRetainInstanceSupport.RetainedFragment
137 max = mProgressBar.getMax();
138 mProgressBar.setProgress(mPosition);
180 mProgressBar = (ProgressBar)getTargetFragment().getView().findViewById( in onActivityCreated()
216 mProgressBar = null; in onDetach()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DPlaybackControlsPresenter.java59 final ProgressBar mProgressBar; field in PlaybackControlsPresenter.ViewHolder
73 mProgressBar = (ProgressBar) rootView.findViewById(R.id.playback_progress); in ViewHolder()
144 mProgressBar.setVisibility(View.GONE); in setTotalTime()
147 mProgressBar.setVisibility(View.VISIBLE); in setTotalTime()
151 mProgressBar.setMax(Integer.MAX_VALUE);//current progress will be a fraction of this in setTotalTime()
169 mProgressBar.setProgress((int)progressRatio); in setCurrentTime()
181 mProgressBar.setSecondaryProgress((int) progressRatio); in setSecondaryProgress()
241 ((LayerDrawable) vh.mProgressBar.getProgressDrawable()) in setProgressColor()
DPlaybackTransportRowPresenter.java65 final SeekBar mProgressBar; field in PlaybackTransportRowPresenter.ViewHolder
164 mProgressBar.setProgress((int) (ratio * Integer.MAX_VALUE)); // Could safely cast to int in updateProgressInSeek()
271 mProgressBar = (SeekBar) rootView.findViewById(R.id.playback_progress); in ViewHolder()
272 mProgressBar.setOnClickListener(new View.OnClickListener() { in ViewHolder()
278 mProgressBar.setOnKeyListener(new View.OnKeyListener() { in ViewHolder()
320 ? !mProgressBar.isAccessibilityFocused() : true); in ViewHolder()
327 mProgressBar.setAccessibilitySeekListener(new SeekBar.AccessibilitySeekListener() { in ViewHolder()
338 mProgressBar.setMax(Integer.MAX_VALUE); //current progress will be a fraction of this in ViewHolder()
504 mProgressBar.setProgress((int) progressRatio); in setCurrentPosition()
513 mProgressBar.setSecondaryProgress((int) progressRatio); in setBufferedPosition()
[all …]
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/sherlockholmes/
DAnalyzeSherlockHolmesActivity.java43 private ProgressBar mProgressBar; field in AnalyzeSherlockHolmesActivity
56 mProgressBar = findViewById(R.id.progress); in onCreate()
57 mProgressBar.setVisibility(View.GONE); in onCreate()
98 mProgressBar.setVisibility(loading ? View.VISIBLE : View.GONE); in enqueueWork()
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/imageprocessing/
DImageRecyclerViewAdapter.java58 private ProgressBar mProgressBar; field in ImageRecyclerViewAdapter.ViewHolder
66 mProgressBar = itemView.findViewById(R.id.progressBar); in ViewHolder()
72 mProgressBar.setVisibility(View.VISIBLE); in load()
82 mProgressBar.setVisibility(View.GONE); in load()
/frameworks/opt/car/setupwizard/library/src/com/android/car/setupwizardlib/
DCarSetupWizardLayout.java68 private ProgressBar mProgressBar; field in CarSetupWizardLayout
194 mProgressBar = findViewById(R.id.progress_bar); in init()
466 return mProgressBar; in getProgressBar()
473 setViewVisible(mProgressBar, visible); in setProgressBarVisible()
480 mProgressBar.setIndeterminate(indeterminate); in setProgressBarIndeterminate()
488 mProgressBar.setProgress(progress); in setProgressBarProgress()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationTemplateViewWrapper.java50 private ProgressBar mProgressBar; field in NotificationTemplateViewWrapper
143 mProgressBar = (ProgressBar) progress; in resolveTemplateViews()
146 mProgressBar = null; in resolveTemplateViews()
298 if (mProgressBar != null) { in updateTransformedTypes()
300 mProgressBar); in updateTransformedTypes()
/frameworks/support/car/src/main/java/androidx/car/drawer/
DCarDrawerController.java69 private final ProgressBar mProgressBar; field in CarDrawerController
102 mProgressBar = drawerLayout.findViewById(R.id.drawer_progress); in CarDrawerController()
182 mProgressBar.setVisibility(show ? View.VISIBLE : View.GONE); in showLoadingProgressBar()
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
DRemoteInputView.java75 private ProgressBar mProgressBar; field in RemoteInputView
93 mProgressBar = findViewById(R.id.remote_input_progress); in onFinishInflate()
133 mProgressBar.setVisibility(VISIBLE); in sendRemoteInput()
230 mProgressBar.setVisibility(INVISIBLE); in reset()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java80 private ProgressBar mProgressBar; field in RemoteInputView
108 mProgressBar = findViewById(R.id.remote_input_progress); in onFinishInflate()
150 mProgressBar.setVisibility(VISIBLE); in sendRemoteInput()
308 boolean sending = mProgressBar.getVisibility() == VISIBLE; in onNotificationUpdateOrReset()
327 mProgressBar.setVisibility(INVISIBLE); in reset()