/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | PanoProgressBar.java | 31 private float mProgress = 0; field in PanoProgressBar 139 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; in setProgress() 141 mProgress = Math.min(mWidth, Math.max(0, mProgress)); in setProgress() 144 mRightMostProgress = Math.max(mRightMostProgress, mProgress); in setProgress() 148 mLeftMostProgress = Math.min(mLeftMostProgress, mProgress); in setProgress() 155 mProgress = 0; in reset() 173 l = Math.max(mProgress - mIndicatorWidth, 0f); in onDraw() 174 r = mProgress; in onDraw() 176 l = mProgress; in onDraw() 177 r = Math.min(mProgress + mIndicatorWidth, mWidth); in onDraw()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PanoProgressBar.java | 34 private float mProgress = 0; field in PanoProgressBar 144 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; in setProgress() 146 mProgress = Math.min(mWidth, Math.max(0, mProgress)); in setProgress() 149 mRightMostProgress = Math.max(mRightMostProgress, mProgress); in setProgress() 153 mLeftMostProgress = Math.min(mLeftMostProgress, mProgress); in setProgress() 160 mProgress = 0; in reset() 178 l = Math.max(mProgress - mIndicatorWidth, 0f); in onDraw() 179 r = mProgress; in onDraw() 181 l = mProgress; in onDraw() 182 r = Math.min(mProgress + mIndicatorWidth, mWidth); in onDraw()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | TrimVideo.java | 56 public ProgressDialog mProgress; field in TrimVideo 136 if (mProgress != null) { in onStop() 137 mProgress.dismiss(); in onStop() 138 mProgress = null; in onStop() 259 if (mProgress != null) { in trimVideo() 260 mProgress.dismiss(); in trimVideo() 261 mProgress = null; in trimVideo() 278 mProgress = new ProgressDialog(this); in showProgressDialog() 279 mProgress.setTitle(getString(R.string.trimming)); in showProgressDialog() 280 mProgress.setMessage(getString(R.string.please_wait)); in showProgressDialog() [all …]
|
D | PhotoPageProgressBar.java | 29 private View mProgress; field in PhotoPageProgressBar 37 mProgress = mContainer.findViewById(R.id.photopage_progress_foreground); in PhotoPageProgressBar() 42 LayoutParams layoutParams = mProgress.getLayoutParams(); in setProgress() 44 mProgress.setLayoutParams(layoutParams); in setProgress()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | PlaybackProgressBar.java | 37 private long mProgress = 0; field in PlaybackProgressBar 92 if (mProgress > max) { in setMax() 93 mProgress = max; in setMax() 103 mProgress = constrain(mProgress, start, end); in setProgressRange() 114 if (progress != mProgress) { in setProgress() 115 mProgress = progress; in setProgress() 132 boolean progressUpdated = setProgressBound(mPrimaryDrawable, mProgressStart, mProgress); in setProgressLevels() 133 progressUpdated |= setProgressBound(mSecondaryDrawable, mProgress, mProgressEnd); in setProgressLevels()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | SeekBarPreference.java | 42 private int mProgress; field in SeekBarPreference 108 mSeekBar.setProgress(mProgress); in onBindViewHolder() 154 setProgress(restoreValue ? getPersistedInt(mProgress) in onSetInitialValue() 230 if (progress != mProgress) { in setProgress() 231 mProgress = progress; in setProgress() 240 return mProgress; in getProgress() 249 if (progress != mProgress) { in syncProgress() 253 seekBar.setProgress(mProgress); in syncProgress() 273 if (seekBar.getProgress() != mProgress) { in onStopTrackingTouch() 312 myState.progress = mProgress; in onSaveInstanceState() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | ShelfScrimView.java | 180 if (mProgress >= SCRIM_CATCHUP_THRESHOLD) { in updateColors() 181 mShelfTop = mShiftRange * mProgress + mTopOffset; in updateColors() 183 mShelfTop = Utilities.mapRange(mProgress / SCRIM_CATCHUP_THRESHOLD, -mRadius, in updateColors() 187 if (mProgress >= 1) { in updateColors() 195 } else if (mProgress >= mMidProgress) { in updateColors() 199 mProgress, mMidProgress, 1, mMidAlpha, 0, mBeforeMidProgressColorInterpolator)); in updateColors() 202 mDragHandleOffset += mShiftRange * (mMidProgress - mProgress); in updateColors() 206 Utilities.mapToRange(mProgress, (float) 0, mMidProgress, (float) mEndAlpha, in updateColors() 211 Utilities.mapToRange(mProgress, (float) 0, mMidProgress, mMaxScrimAlpha, in updateColors() 233 } else if (mProgress <= 0) { in drawBackground()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SeekBarPreference.java | 42 private int mProgress; field in SeekBarPreference 119 mSeekBar.setProgress(mProgress); in onBindViewHolder() 165 setProgress(restoreValue ? getPersistedInt(mProgress) in onSetInitialValue() 241 if (progress != mProgress) { in setProgress() 242 mProgress = progress; in setProgress() 251 return mProgress; in getProgress() 260 if (progress != mProgress) { in syncProgress() 264 seekBar.setProgress(mProgress); in syncProgress() 284 if (seekBar.getProgress() != mProgress) { in onStopTrackingTouch() 323 myState.progress = mProgress; in onSaveInstanceState() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsTransitionController.java | 58 return controller.mProgress; 83 private float mProgress; // [0, 1], mShiftRange * mProgress = shiftCurrent field in AllAppsTransitionController 90 mProgress = 1f; in AllAppsTransitionController() 123 mProgress = progress; in setProgress() 150 return mProgress; in getProgress() 176 if (Float.compare(mProgress, targetProgress) == 0) { in setStateWithAnimation() 191 Animator anim = createSpringAnimation(mProgress, targetProgress); in setStateWithAnimation() 259 if (Float.compare(mProgress, 1f) == 0) { 267 return Float.compare(mProgress, 0f) == 0;
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | PowerGaugePreference.java | 41 private CharSequence mProgress; field in PowerGaugePreference 75 mProgress = Utils.formatPercentage(percentOfTotal, true); in setPercent() 80 return mProgress.toString(); in getPercent() 84 mProgress = subtitle; in setSubtitle() 89 return mProgress; in getSubtitle() 110 subtitle.setText(mProgress); in onBindViewHolder()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | PowerGaugePreference.java | 41 private CharSequence mProgress; field in PowerGaugePreference 75 mProgress = Utils.formatPercentage(percentOfTotal, true); in setPercent() 80 return mProgress.toString(); in getPercent() 84 mProgress = subtitle; in setSubtitle() 89 return mProgress; in getSubtitle() 110 subtitle.setText(mProgress); in onBindViewHolder()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | ProgressBarPreference.java | 44 private int mProgress; field in ProgressBarPreference 73 mProgress = a.getInteger(R.styleable.ProgressBarPreference_progress, 0); in init() 114 if (mProgress != progress) { in setProgress() 115 mProgress = progress; in setProgress() 122 return mProgress; in getProgress() 132 progressBar.setProgress(mProgress); in onBindViewHolder()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/ |
D | PlaybackProgress.java | 30 private final long mProgress; field in PlaybackProgress 34 mProgress = progress; in PlaybackProgress() 42 return mProgress; in getProgress() 57 return formatTime(mProgress, showHours); in getCurrentTimeText() 72 return mMaxProgress > 0 && mProgress != PlaybackState.PLAYBACK_POSITION_UNKNOWN; in hasTime()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | SlideshowView.java | 126 private float mProgress; field in SlideshowView.SlideshowAnimation 144 float scale = initScale * (1 + SCALE_SPEED * mProgress); in apply() 146 float centerX = viewWidth / 2 + mMovingVector.x * mProgress; in apply() 147 float centerY = viewHeight / 2 + mMovingVector.y * mProgress; in apply() 160 mProgress = progress; in onCalculate()
|
D | SlotView.java | 332 protected float mProgress = 0; field in SlotView.SlotAnimation 341 mProgress = progress; in onCalculate() 352 canvas.translate(0, 0, RISING_DISTANCE * (1 - mProgress)); in apply() 367 (mCenter.getX() - target.centerX()) * (1 - mProgress), in apply() 368 (mCenter.getY() - target.centerY()) * (1 - mProgress), in apply() 369 slotIndex * PHOTO_DISTANCE * (1 - mProgress)); in apply() 370 canvas.setAlpha(mProgress); in apply()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/ |
D | FallbackNoButtonInputConsumer.java | 102 private float mProgress; field in FallbackNoButtonInputConsumer 235 mProgress = displacement / mTransitionDragLength; in updateDisplacement() 236 mTransformParams.setProgress(mProgress); in updateDisplacement() 271 goingHome = -mProgress >= MIN_PROGRESS_FOR_OVERVIEW; in finishTouchTracking() 292 if (mProgress < PROGRESS_TO_END_GESTURE) { 295 long duration = (long) (Math.min(mProgress - PROGRESS_TO_END_GESTURE, 1) 301 ValueAnimator anim = ValueAnimator.ofFloat(mProgress, PROGRESS_TO_END_GESTURE);
|
D | DeviceLockedInputConsumer.java | 87 private float mProgress; field in DeviceLockedInputConsumer 154 mProgress = dy / mDisplaySize.y; in onMotionEvent() 155 mTransformParams.setProgress(mProgress); in onMotionEvent() 188 dismissTask = mProgress >= (1 - MIN_PROGRESS_FOR_OVERVIEW); in finishTouchTracking()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | ProgressCategory.java | 32 private boolean mProgress = false; field in ProgressCategory 68 progressBar.setVisibility(mProgress ? View.VISIBLE : View.GONE); in onBindViewHolder() 70 if (mProgress || !noDeviceFound) { in onBindViewHolder() 91 mProgress = progressOn; in setProgress()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ProgressCategory.java | 32 private boolean mProgress = false; field in ProgressCategory 68 progressBar.setVisibility(mProgress ? View.VISIBLE : View.GONE); in onBindViewHolder() 70 if (mProgress || !noDeviceFound) { in onBindViewHolder() 91 mProgress = progressOn; in setProgress()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | MessageAttachmentBar.java | 68 private ProgressBar mProgress; field in MessageAttachmentBar 169 mProgress = (ProgressBar) findViewById(R.id.attachment_progress); in onFinishInflate() 405 mProgress.setMax(mAttachment.size); in updateProgress() 406 mProgress.setProgress(mAttachment.downloadedSize); in updateProgress() 407 mProgress.setIndeterminate(!showProgress); in updateProgress() 408 mProgress.setVisibility(VISIBLE); in updateProgress() 411 mProgress.setVisibility(INVISIBLE); in updateProgress()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionaryDownloadProgressBar.java | 152 private int mProgress; field in DictionaryDownloadProgressBar.UpdaterThread.UpdateHelper 156 setProgress(mProgress); in run() 159 if (mProgress != progress) { in setProgressFromAnotherThread() 160 mProgress = progress; in setProgressFromAnotherThread()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | StorageWizardFormatProgress.java | 81 private volatile int mProgress = 20; field in StorageWizardFormatProgress.PartitionTask 132 mProgress = progress[0]; in onProgressUpdate() 133 mActivity.setCurrentProgress(mProgress); in onProgressUpdate() 138 mActivity.setCurrentProgress(mProgress); in setActivity()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageWizardFormatProgress.java | 83 private volatile int mProgress = 20; field in StorageWizardFormatProgress.PartitionTask 134 mProgress = progress[0]; in onProgressUpdate() 135 mActivity.setCurrentProgress(mProgress); in onProgressUpdate() 140 mActivity.setCurrentProgress(mProgress); in setActivity()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactsUnavailableFragment.java | 52 private ProgressBar mProgress; field in ContactsUnavailableFragment 84 mProgress = (ProgressBar) mView.findViewById(R.id.progress); in onCreateView() 117 mProgress.setVisibility(View.GONE); in updateViewsForEmptyStatus() 127 mProgress.setVisibility(View.VISIBLE); in updateViewsForBusyStatus()
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/ |
D | TaskLayerDrawable.java | 34 private float mProgress; field in TaskLayerDrawable 54 applyTransitionProgress(mProgress); in setCurrentDrawable() 87 mProgress = progress; in setTransitionProgress()
|