/frameworks/base/core/java/android/app/ |
D | ProgressDialog.java | 69 private ProgressBar mProgress; field in ProgressDialog 211 int progress = mProgress.getProgress(); in onCreate() 212 int max = mProgress.getMax(); in onCreate() 233 mProgress = (ProgressBar) view.findViewById(R.id.progress); in onCreate() 241 mProgress = (ProgressBar) view.findViewById(R.id.progress); in onCreate() 296 mProgress.setProgress(value); in setProgress() 312 if (mProgress != null) { in setSecondaryProgress() 313 mProgress.setSecondaryProgress(secondaryProgress); in setSecondaryProgress() 326 if (mProgress != null) { in getProgress() 327 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/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/base/core/java/android/preference/ |
D | SeekBarPreference.java | 43 private int mProgress; field in SeekBarPreference 88 seekBar.setProgress(mProgress); in onBindView() 94 setProgress(restoreValue ? getPersistedInt(mProgress) in onSetInitialValue() 134 if (progress != mProgress) { in setProgress() 135 mProgress = progress; in setProgress() 144 return mProgress; in getProgress() 153 if (progress != mProgress) { in syncProgress() 157 seekBar.setProgress(mProgress); in syncProgress() 178 if (seekBar.getProgress() != mProgress) { in onStopTrackingTouch() 199 myState.progress = mProgress; in onSaveInstanceState() [all …]
|
/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/packages/SettingsLib/AppPreference/src/com/android/settingslib/widget/apppreference/ |
D | AppPreference.java | 31 private int mProgress; field in AppPreference 45 mProgress = amount; in setProgress() 56 progress.setProgress(mProgress); in onBindViewHolder()
|
/frameworks/base/core/java/android/print/ |
D | PrintJobInfo.java | 191 private float mProgress; field in PrintJobInfo 208 mProgress = -1; in PrintJobInfo() 225 mProgress = other.mProgress; in PrintJobInfo() 252 mProgress = parcel.readFloat(); in PrintJobInfo() 384 mProgress = progress; in setProgress() 679 parcel.writeFloat(mProgress); in writeToParcel() 706 builder.append(", progress: " + mProgress); in toString() 754 return mProgress; in getProgress() 833 mPrototype.mProgress = progress; in setProgress()
|
/frameworks/base/core/java/android/widget/ |
D | MediaController.java | 90 private ProgressBar mProgress; field in MediaController 312 mProgress = v.findViewById(com.android.internal.R.id.mediacontroller_progress); in initControllerView() 313 if (mProgress != null) { in initControllerView() 314 if (mProgress instanceof SeekBar) { in initControllerView() 315 SeekBar seeker = (SeekBar) mProgress; in initControllerView() 318 mProgress.setMax(1000); in initControllerView() 359 if (mProgress != null && !mPlayer.canSeekBackward() && !mPlayer.canSeekForward()) { in disableUnsupportedButtons() 360 mProgress.setEnabled(false); in disableUnsupportedButtons() 460 if (mProgress != null) { in setProgress() 464 mProgress.setProgress( (int) pos); in setProgress() [all …]
|
D | ProgressBar.java | 194 private int mProgress; field in ProgressBar 308 setProgress(a.getInt(R.styleable.ProgressBar_progress, mProgress)); in ProgressBar() 311 super.setStateDescription(formatStateDescription(mProgress)); in ProgressBar() 636 mProgress = 0; in initProgressBar() 958 doRefreshProgress(R.id.progress, mProgress, false, false, false); in setProgressDrawable() 1597 super.setStateDescription(formatStateDescription(mProgress)); in setStateDescription() 1605 super.setStateDescription(formatStateDescription(mProgress)); in onProgressRefresh() 1715 if (progress == mProgress) { in setProgressInternal() 1720 mProgress = progress; in setProgressInternal() 1721 refreshProgress(R.id.progress, mProgress, fromUser, animate); in setProgressInternal() [all …]
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/volume/ |
D | CarVolumeItem.java | 39 private int mProgress; field in CarVolumeItem 51 mProgress = progress; in setProgress() 117 mSeekBar.setProgress(carVolumeItem.mProgress); in bind()
|
D | CarVolumeDialogImpl.java | 141 if (value != volumeItem.mProgress && isShowing) { 143 volumeItem.mProgress = value; 484 volumeItem.mProgress = seekbarProgressValue; in createCarVolumeListItem() 516 private int mProgress; field in CarVolumeDialogImpl.VolumeItem 644 mAvailableVolumeItems.get(mVolumeGroupId).mProgress = progress; in onProgressChanged()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PreBootBroadcaster.java | 56 private final ProgressReporter mProgress; field in PreBootBroadcaster 68 mProgress = progress; in PreBootBroadcaster() 99 if (mProgress != null) { in sendNext() 102 mProgress.setProgress(mIndex, mTargets.size(), in sendNext()
|
/frameworks/base/media/java/android/media/ |
D | MediaTranscodeManager.java | 206 private float mProgress = 0.0f; field in MediaTranscodeManager.TranscodingJob 243 return mProgress; in getProgress() 267 mProgress = newProgress; in setJobProgress() 273 () -> onProgressChangedListener.onProgressChanged(mProgress)); in setJobProgress()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerSession.java | 284 private float mProgress = 0; field in PackageInstallerSession 661 info.progress = mProgress; in generateInfoInternal() 790 mProgress = MathUtils.constrain(mClientProgress * 0.8f, 0f, 0.8f) in computeProgressLocked() 794 if (forcePublish || Math.abs(mProgress - mReportedProgress) >= 0.01) { in computeProgressLocked() 795 mReportedProgress = mProgress; in computeProgressLocked() 796 mCallback.onSessionProgressChanged(this, mProgress); in computeProgressLocked() 3198 pw.printPair("mProgress", mProgress); in dumpLocked()
|