/frameworks/base/core/java/android/app/ |
D | ProgressDialog.java | 62 private ProgressBar mProgress; field in ProgressDialog 202 int progress = mProgress.getProgress(); in onCreate() 203 int max = mProgress.getMax(); in onCreate() 224 mProgress = (ProgressBar) view.findViewById(R.id.progress); in onCreate() 232 mProgress = (ProgressBar) view.findViewById(R.id.progress); in onCreate() 287 mProgress.setProgress(value); in setProgress() 303 if (mProgress != null) { in setSecondaryProgress() 304 mProgress.setSecondaryProgress(secondaryProgress); in setSecondaryProgress() 317 if (mProgress != null) { in getProgress() 318 return mProgress.getProgress(); in getProgress() [all …]
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | ExtendedBitmapDrawable.java | 69 private Progress mProgress; field in ExtendedBitmapDrawable 130 … mProgress = 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/ |
D | SeekBarPreference.java | 35 private int mProgress; field in SeekBarPreference 77 seekBar.setProgress(mProgress); in onBindView() 83 setProgress(restoreValue ? getPersistedInt(mProgress) in onSetInitialValue() 123 if (progress != mProgress) { in setProgress() 124 mProgress = progress; in setProgress() 133 return mProgress; in getProgress() 142 if (progress != mProgress) { in syncProgress() 146 seekBar.setProgress(mProgress); in syncProgress() 167 if (seekBar.getProgress() != mProgress) { in onStopTrackingTouch() 188 myState.progress = mProgress; in onSaveInstanceState() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ProgressReporter.java | 65 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/ |
D | SwipeRefreshLayout.java | 149 MaterialProgressDrawable mProgress; field in SwipeRefreshLayout 183 mProgress.setAlpha(MAX_ALPHA); 184 mProgress.start(); 199 mProgress.stop(); in reset() 227 mProgress.setAlpha(targetAlpha); in setColorViewAlpha() 310 mProgress.updateSizes(size); in setSize() 311 mCircleView.setImageDrawable(mProgress); in setSize() 379 mProgress = new MaterialProgressDrawable(getContext(), this); in createProgressView() 380 mProgress.setBackgroundColor(CIRCLE_BG_LIGHT); in createProgressView() 381 mCircleView.setImageDrawable(mProgress); in createProgressView() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
D | DrawerArrowDrawable.java | 118 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/opt/colorpicker/src/com/android/colorpicker/ |
D | ColorPickerDialog.java | 56 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/ |
D | PrintJobInfo.java | 184 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() 661 parcel.writeFloat(mProgress); in writeToParcel() 688 builder.append(", progress: " + mProgress); in toString() 736 return mProgress; in getProgress() 815 mPrototype.mProgress = progress; in setProgress()
|
/frameworks/base/core/java/android/widget/ |
D | MediaController.java | 79 private ProgressBar mProgress; field in MediaController 292 mProgress = 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 …]
|
D | ProgressBar.java | 175 private int mProgress; field in ProgressBar 276 setProgress(a.getInt(R.styleable.ProgressBar_progress, mProgress)); in ProgressBar() 532 mProgress = 0; in initProgressBar() 806 doRefreshProgress(R.id.progress, mProgress, false, false, false); in setProgressDrawable() 1412 if (progress == mProgress) { in setProgressInternal() 1417 mProgress = progress; in setProgressInternal() 1418 refreshProgress(R.id.progress, mProgress, fromUser, animate); in setProgressInternal() 1468 return mIndeterminate ? 0 : mProgress; in getProgress() 1537 if (mProgress < min) { in setMin() 1538 mProgress = min; in setMin() [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | SeekBar.java | 65 private int mProgress; field in SeekBar 147 mProgress = progress; in setProgress() 168 return mProgress; in getProgress() 212 final float progressPixels = mProgress / (float) mMax * progressWidth; in calculate()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PreBootBroadcaster.java | 55 private final ProgressReporter mProgress; field in PreBootBroadcaster 67 mProgress = progress; in PreBootBroadcaster() 98 if (mProgress != null) { in sendNext() 101 mProgress.setProgress(mIndex, mTargets.size(), in sendNext()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerSession.java | 131 private float mProgress = 0; field in PackageInstallerSession 297 info.progress = mProgress; in generateInfo() 375 mProgress = MathUtils.constrain(mClientProgress * 0.8f, 0f, 0.8f) in computeProgressLocked() 379 if (forcePublish || Math.abs(mProgress - mReportedProgress) >= 0.01) { in computeProgressLocked() 380 mReportedProgress = mProgress; in computeProgressLocked() 381 mCallback.onSessionProgressChanged(this, mProgress); in computeProgressLocked() 1227 pw.printPair("mProgress", mProgress); in dumpLocked()
|
/frameworks/support/wear/src/android/support/wear/widget/ |
D | CircledImageView.java | 94 private float mProgress = 1f; field in CircledImageView 263 canvas.drawArc(mOval, -90, 360 * mProgress, false, mPaint); in onDraw() 583 if (progress != mProgress) { in setProgress() 584 mProgress = progress; in setProgress()
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | NotificationCompat.java | 662 b.mProgressMax, b.mProgress, b.mProgressIndeterminate); in build() 701 b.mProgressMax, b.mProgress, b.mProgressIndeterminate, in build() 743 b.mProgressMax, b.mProgress, b.mProgressIndeterminate, b.mShowWhen, in build() 766 b.mProgressMax, b.mProgress, b.mProgressIndeterminate, b.mShowWhen, in build() 806 b.mProgressMax, b.mProgress, b.mProgressIndeterminate, b.mShowWhen, in build() 842 b.mProgressMax, b.mProgress, b.mProgressIndeterminate, b.mShowWhen, in build() 865 b.mProgressMax, b.mProgress, b.mProgressIndeterminate, b.mShowWhen, in build() 1035 int mProgress; field in NotificationCompat.Builder 1234 mProgress = progress; in setProgress()
|