Home
last modified time | relevance | path

Searched refs:mProgress (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/app/
DProgressDialog.java54 private ProgressBar mProgress; field in ProgressDialog
137 int progress = mProgress.getProgress(); in onCreate()
138 int max = mProgress.getMax(); in onCreate()
159 mProgress = (ProgressBar) view.findViewById(R.id.progress); in onCreate()
167 mProgress = (ProgressBar) view.findViewById(R.id.progress); in onCreate()
215 mProgress.setProgress(value); in setProgress()
223 if (mProgress != null) { in setSecondaryProgress()
224 mProgress.setSecondaryProgress(secondaryProgress); in setSecondaryProgress()
232 if (mProgress != null) { in getProgress()
233 return mProgress.getProgress(); in getProgress()
[all …]
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DExtendedBitmapDrawable.java69 private Progress mProgress; field in ExtendedBitmapDrawable
130mProgress = new Progress(mOpts.progressBar.getConstantState().newDrawable(mResources), mResources, in onOptsChanged()
132 mProgress.setCallback(this); in onOptsChanged()
133 mProgress.setBounds(getBounds()); in onOptsChanged()
135 mProgress = null; in onOptsChanged()
282 if (mProgress != null) onDrawPlaceholderOrProgress(canvas, mProgress); in draw()
305 if (mProgress != null) mProgress.setAlpha(alpha); in setAlpha()
315 if (mProgress != null) mProgress.setColorFilter(cf); in setColorFilter()
323 if (mProgress != null) mProgress.setBounds(bounds); in onBoundsChange()
405 if (mProgress != null) mProgress.reset(); in setLoadState()
[all …]
/frameworks/base/core/java/android/preference/
DSeekBarPreference.java35 private int mProgress; field in SeekBarPreference
77 seekBar.setProgress(mProgress); in onBindView()
88 setProgress(restoreValue ? getPersistedInt(mProgress) in onSetInitialValue()
128 if (progress != mProgress) { in setProgress()
129 mProgress = progress; in setProgress()
138 return mProgress; in getProgress()
147 if (progress != mProgress) { in syncProgress()
151 seekBar.setProgress(mProgress); in syncProgress()
172 if (seekBar.getProgress() != mProgress) { in onStopTrackingTouch()
193 myState.progress = mProgress; in onSaveInstanceState()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DProgressReporter.java65 private int mProgress = 0; field in ProgressReporter
99 listener.onProgress(mId, mProgress, mExtras); in addListener()
146 mProgress = mSegmentRange[0] in setProgress()
151 notifyProgress(mId, mProgress, mExtras); in setProgress()
163 mSegmentRange = new int[] { mProgress, (size * mSegmentRange[1] / 100) }; in startSegment()
173 mProgress = mSegmentRange[0] + mSegmentRange[1]; in endSegment()
179 return mProgress; in getProgress()
193 notifyProgress(mId, mProgress, mExtras); in start()
/frameworks/support/core-ui/java/android/support/v4/widget/
DSwipeRefreshLayout.java150 MaterialProgressDrawable mProgress; field in SwipeRefreshLayout
184 mProgress.setAlpha(MAX_ALPHA);
185 mProgress.start();
200 mProgress.stop(); in reset()
229 mProgress.setAlpha(targetAlpha); in setColorViewAlpha()
312 mProgress.updateSizes(size); in setSize()
313 mCircleView.setImageDrawable(mProgress); in setSize()
381 mProgress = new MaterialProgressDrawable(getContext(), this); in createProgressView()
382 mProgress.setBackgroundColor(CIRCLE_BG_LIGHT); in createProgressView()
383 mCircleView.setImageDrawable(mProgress); in createProgressView()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
DDrawerArrowDrawable.java118 private float mProgress; field in DrawerArrowDrawable
349 arrowHeadBarLength = lerp(mBarLength, arrowHeadBarLength, mProgress); in draw()
350 final float arrowShaftLength = lerp(mBarLength, mArrowShaftLength, mProgress); in draw()
352 final float arrowShaftCut = Math.round(lerp(0, mMaxCutForBarSize, mProgress)); in draw()
354 final float rotation = lerp(0, ARROW_HEAD_ANGLE, mProgress); in draw()
358 flipToPointRight ? 180 : 0, mProgress); in draw()
365 mProgress); in draw()
436 return mProgress; in getProgress()
447 if (mProgress != progress) { in setProgress()
448 mProgress = progress; in setProgress()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaController.java48 private ProgressBar mProgress; field in MediaController
152 mProgress = (ProgressBar) findViewById(R.id.mediacontroller_progress); in initControllerView()
153 if (mProgress != null) { in initControllerView()
154 if (mProgress instanceof SeekBar) { in initControllerView()
155 SeekBar seeker = (SeekBar) mProgress; in initControllerView()
158 mProgress.setMax(1000); in initControllerView()
225 if (mProgress != null) { in updateProgress()
229 mProgress.setProgress( (int) pos); in updateProgress()
232 mProgress.setSecondaryProgress(percent * 10); in updateProgress()
/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorPickerDialog.java56 private ProgressBar mProgress; field in ColorPickerDialog
111 mProgress = (ProgressBar) view.findViewById(android.R.id.progress); in onCreateDialog()
149 if (mProgress != null && mPalette != null) { in showPaletteView()
150 mProgress.setVisibility(View.GONE); in showPaletteView()
157 if (mProgress != null && mPalette != null) { in showProgressBarView()
158 mProgress.setVisibility(View.VISIBLE); in showProgressBarView()
/frameworks/base/core/java/android/print/
DPrintJobInfo.java184 private float mProgress; field in PrintJobInfo
201 mProgress = -1; in PrintJobInfo()
218 mProgress = other.mProgress; in PrintJobInfo()
245 mProgress = parcel.readFloat(); in PrintJobInfo()
377 mProgress = progress; in setProgress()
667 parcel.writeFloat(mProgress); in writeToParcel()
694 builder.append(", progress: " + mProgress); in toString()
742 return mProgress; in getProgress()
821 mPrototype.mProgress = progress; in setProgress()
/frameworks/base/core/java/android/widget/
DMediaController.java79 private ProgressBar mProgress; field in MediaController
292mProgress = (ProgressBar) v.findViewById(com.android.internal.R.id.mediacontroller_progress); in initControllerView()
293 if (mProgress != null) { in initControllerView()
294 if (mProgress instanceof SeekBar) { in initControllerView()
295 SeekBar seeker = (SeekBar) mProgress; in initControllerView()
298 mProgress.setMax(1000); in initControllerView()
339 if (mProgress != null && !mPlayer.canSeekBackward() && !mPlayer.canSeekForward()) { in disableUnsupportedButtons()
340 mProgress.setEnabled(false); in disableUnsupportedButtons()
440 if (mProgress != null) { in setProgress()
444 mProgress.setProgress( (int) pos); in setProgress()
[all …]
DProgressBar.java217 private int mProgress; field in ProgressBar
314 setProgress(a.getInt(R.styleable.ProgressBar_progress, mProgress)); in ProgressBar()
569 mProgress = 0; in initProgressBar()
843 doRefreshProgress(R.id.progress, mProgress, false, false, false); in setProgressDrawable()
1441 if (progress == mProgress) { in setProgressInternal()
1446 mProgress = progress; in setProgressInternal()
1447 refreshProgress(R.id.progress, mProgress, fromUser, animate); in setProgressInternal()
1497 return mIndeterminate ? 0 : mProgress; in getProgress()
1549 if (mProgress > max) { in setMax()
1550 mProgress = max; in setMax()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DPreBootBroadcaster.java53 private final ProgressReporter mProgress; field in PreBootBroadcaster
65 mProgress = progress; in PreBootBroadcaster()
96 if (mProgress != null) { in sendNext()
99 mProgress.setProgress(mIndex, mTargets.size(), in sendNext()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DSaveFragment.java47 private ProgressBar mProgress; field in SaveFragment
115 mProgress = (ProgressBar) view.findViewById(android.R.id.progress); in onCreateView()
185 mProgress.setVisibility(pending ? View.VISIBLE : View.GONE); in setPending()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java129 private float mProgress = 0; field in PackageInstallerSession
292 info.progress = mProgress; in generateInfo()
369 mProgress = MathUtils.constrain(mClientProgress * 0.8f, 0f, 0.8f) in computeProgressLocked()
373 if (forcePublish || Math.abs(mProgress - mReportedProgress) >= 0.01) { in computeProgressLocked()
374 mReportedProgress = mProgress; in computeProgressLocked()
375 mCallback.onSessionProgressChanged(this, mProgress); in computeProgressLocked()
1188 pw.printPair("mProgress", mProgress); in dumpLocked()
/frameworks/support/compat/java/android/support/v4/app/
DNotificationCompat.java628 b.mProgressMax, b.mProgress, b.mProgressIndeterminate); in build()
639 b.mProgressMax, b.mProgress, b.mProgressIndeterminate, in build()
710 b.mProgressMax, b.mProgress, b.mProgressIndeterminate, b.mShowWhen, in build()
762 b.mProgressMax, b.mProgress, b.mProgressIndeterminate, b.mShowWhen, in build()
820 b.mProgressMax, b.mProgress, b.mProgressIndeterminate, b.mShowWhen, in build()
860 b.mProgressMax, b.mProgress, b.mProgressIndeterminate, b.mShowWhen, in build()
1028 int mProgress; field in NotificationCompat.Builder
1207 mProgress = progress; in setProgress()