/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()
|
D | PlayControlsRowView.java | 58 private PlaybackProgressBar mProgress; field in PlayControlsRowView 174 mProgress = (PlaybackProgressBar) findViewById(R.id.progress); in onFinishInflate() 398 mProgress.setMax(mProgramEndTimeMs - mProgramStartTimeMs); in initializeTimeline() 559 mProgress.setProgressRange( in updateProgress() 562 mProgress.setProgress(currentPlayingTimeMs - mProgramStartTimeMs); in updateProgress() 564 mProgress.setProgressRange(0, 0); in updateProgress()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | ShelfScrimView.java | 204 if (mProgress < mDragHandleProgress) { in updateColors() 205 mDragHandleOffset = mShiftRange * (mDragHandleProgress - mProgress); in updateColors() 208 if (mProgress >= SCRIM_CATCHUP_THRESHOLD) { in updateColors() 209 mShelfTop = mShiftRange * mProgress + mTopOffset; in updateColors() 211 mShelfTop = Utilities.mapRange(mProgress / SCRIM_CATCHUP_THRESHOLD, -mRadius, in updateColors() 215 if (mProgress >= 1) { in updateColors() 225 } else if (mProgress >= mMidProgress) { in updateColors() 229 mProgress, mMidProgress, 1, mMidAlpha, 0, mBeforeMidProgressColorInterpolator)); in updateColors() 234 Utilities.mapToRange(mProgress, (float) 0, mMidProgress, (float) mEndAlpha, in updateColors() 239 Utilities.mapToRange(mProgress, (float) 0, mMidProgress, mMaxScrimAlpha, in updateColors() [all …]
|
/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/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 | 61 return controller.mProgress; 85 private float mProgress; // [0, 1], mShiftRange * mProgress = shiftCurrent field in AllAppsTransitionController 96 mProgress = 1f; in AllAppsTransitionController() 128 mProgress = progress; in setProgress() 139 return mProgress; in getProgress() 161 if (Float.compare(mProgress, targetProgress) == 0) { in setStateWithAnimation() 179 Animator anim = createSpringAnimation(mProgress, targetProgress); in setStateWithAnimation() 252 if (Float.compare(mProgress, 1f) == 0) { in onProgressAnimationEnd() 292 mPlugin.onAnimationEnd(mProgress); in updatePluginAnimationEnd() 293 if (Float.compare(mProgress, 1f) == 0) { in updatePluginAnimationEnd()
|
/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/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/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/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/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/ |
D | DeviceLockedInputConsumer.java | 97 private final AnimatedFloat mProgress = new AnimatedFloat(this::applyTransform); field in DeviceLockedInputConsumer 166 mProgress.updateValue(dy / mDisplaySize.y); in onMotionEvent() 195 dismissTask = mProgress.value >= (1 - MIN_PROGRESS_FOR_OVERVIEW); in finishTouchTracking() 199 ObjectAnimator animator = mProgress.animateToValue(mProgress.value, 0); in finishTouchTracking() 259 mTransformParams.setProgress(mProgress.value); in applyTransform() 268 mMatrix.setTranslate(0, mProgress.value * mMaxTranslationY); in onBuildTargetParams()
|
/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/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/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/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/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/ |
D | TransformParams.java | 56 private float mProgress; field in TransformParams 66 mProgress = 0; in TransformParams() 77 mProgress = progress; in setProgress() 171 return mProgress; in getProgress()
|
/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/src/com/android/launcher3/views/ |
D | ScrimView.java | 133 protected float mProgress = 1; field in ScrimView 235 if (mProgress != progress) { 236 mProgress = progress; 248 mCurrentFlatColor = mProgress >= 1 ? 0 : setColorAlphaBound( 249 mEndFlatColor, Math.round((1 - mProgress) * mEndFlatColorAlpha)); 255 boolean forceChange = mProgress <= 0.1f; in updateSysUiColors()
|