Home
last modified time | relevance | path

Searched refs:mProgressBar (Results 1 – 7 of 7) 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/v17/leanback/tests/java/android/support/v17/leanback/widget/
DPlaybackTransportRowPresenterTest.java212 mViewHolder.mProgressBar.requestFocus(); in seekAndConfirm()
213 assertTrue(mViewHolder.mProgressBar.hasFocus()); in seekAndConfirm()
241 mViewHolder.mProgressBar.requestFocus(); in seekHoldKeyDown()
242 assertTrue(mViewHolder.mProgressBar.hasFocus()); in seekHoldKeyDown()
267 mViewHolder.mProgressBar.requestFocus(); in seekAndCancel()
268 assertTrue(mViewHolder.mProgressBar.hasFocus()); in seekAndCancel()
297 mViewHolder.mProgressBar.requestFocus(); in seekUpBetweenTwoKeyPosition()
298 assertTrue(mViewHolder.mProgressBar.hasFocus()); in seekUpBetweenTwoKeyPosition()
322 mViewHolder.mProgressBar.requestFocus(); in seekDownBetweenTwoKeyPosition()
323 assertTrue(mViewHolder.mProgressBar.hasFocus()); in seekDownBetweenTwoKeyPosition()
[all …]
/frameworks/support/samples/Support4Demos/src/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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationTemplateViewWrapper.java40 private ProgressBar mProgressBar; field in NotificationTemplateViewWrapper
127 mProgressBar = (ProgressBar) progress; in resolveTemplateViews()
130 mProgressBar = null; in resolveTemplateViews()
168 if (mProgressBar != null) { in updateTransformedTypes()
170 mProgressBar); in updateTransformedTypes()
185 if (mProgressBar != null) { in setProgressBarDark()
187 fadeProgressDark(mProgressBar, dark, delay); in setProgressBarDark()
189 updateProgressDark(mProgressBar, dark); in setProgressBarDark()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPlaybackControlsPresenter.java58 final ProgressBar mProgressBar; field in PlaybackControlsPresenter.ViewHolder
72 mProgressBar = (ProgressBar) rootView.findViewById(R.id.playback_progress); in ViewHolder()
143 mProgressBar.setVisibility(View.GONE); in setTotalTime()
146 mProgressBar.setVisibility(View.VISIBLE); in setTotalTime()
150 mProgressBar.setMax(Integer.MAX_VALUE);//current progress will be a fraction of this in setTotalTime()
168 mProgressBar.setProgress((int)progressRatio); in setCurrentTime()
180 mProgressBar.setSecondaryProgress((int) progressRatio); in setSecondaryProgress()
240 ((LayerDrawable) vh.mProgressBar.getProgressDrawable()) in setProgressColor()
DPlaybackTransportRowPresenter.java64 final SeekBar mProgressBar; field in PlaybackTransportRowPresenter.ViewHolder
163 mProgressBar.setProgress((int) (ratio * Integer.MAX_VALUE)); // Could safely cast to int in updateProgressInSeek()
270 mProgressBar = (SeekBar) rootView.findViewById(R.id.playback_progress); in ViewHolder()
271 mProgressBar.setOnClickListener(new View.OnClickListener() { in ViewHolder()
277 mProgressBar.setOnKeyListener(new View.OnKeyListener() { in ViewHolder()
319 ? !mProgressBar.isAccessibilityFocused() : true); in ViewHolder()
326 mProgressBar.setAccessibilitySeekListener(new SeekBar.AccessibilitySeekListener() { in ViewHolder()
337 mProgressBar.setMax(Integer.MAX_VALUE); //current progress will be a fraction of this in ViewHolder()
503 mProgressBar.setProgress((int) progressRatio); in setCurrentPosition()
512 mProgressBar.setSecondaryProgress((int) progressRatio); in setBufferedPosition()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java77 private ProgressBar mProgressBar; field in RemoteInputView
104 mProgressBar = findViewById(R.id.remote_input_progress); in onFinishInflate()
145 mProgressBar.setVisibility(VISIBLE); in sendRemoteInput()
291 boolean sending = mProgressBar.getVisibility() == VISIBLE; in onNotificationUpdateOrReset()
309 mProgressBar.setVisibility(INVISIBLE); in reset()