/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/src/com/android/launcher3/allapps/ |
D | AllAppsTransitionController.java | 69 return controller.mProgress; 90 private float mProgress; // [0, 1], mShiftRange * mProgress = shiftCurrent field in AllAppsTransitionController 98 mProgress = 1f; in AllAppsTransitionController() 128 mProgress = progress; in setProgress() 129 mAppsView.setTranslationY(mProgress * mShiftRange); in setProgress() 133 return mProgress; in getProgress() 155 if (Float.compare(mProgress, targetProgress) == 0) { in setStateWithAnimation() 165 Animator anim = createSpringAnimation(mProgress, targetProgress); in setStateWithAnimation() 225 if (Float.compare(mProgress, 1f) == 0) { in onProgressAnimationEnd()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SeekBarPreference.java | 48 private int mProgress; field in SeekBarPreference 128 mSeekBar.setProgress(mProgress); in onBindViewHolder() 180 setProgress(restoreValue ? getPersistedInt(mProgress) in onSetInitialValue() 267 if (progress != mProgress) { in setProgress() 268 mProgress = progress; in setProgress() 277 return mProgress; in getProgress() 286 if (progress != mProgress) { in syncProgress() 300 seekBar.setProgress(mProgress); in syncProgress() 320 if (seekBar.getProgress() != mProgress) { in onStopTrackingTouch() 378 myState.progress = mProgress; in onSaveInstanceState() [all …]
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | PowerGaugePreference.java | 42 private CharSequence mProgress; field in PowerGaugePreference 76 mProgress = Utils.formatPercentage(percentOfTotal, true); in setPercent() 81 return mProgress.toString(); in getPercent() 85 mProgress = subtitle; in setSubtitle() 90 return mProgress; in getSubtitle() 119 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/src/com/android/quickstep/inputconsumers/ |
D | DeviceLockedInputConsumer.java | 98 private final AnimatedFloat mProgress = new AnimatedFloat(this::applyTransform); field in DeviceLockedInputConsumer 167 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() 257 mTransformParams.setProgress(mProgress.value); in applyTransform() 266 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/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | TransitionAnimationHelper.java | 104 startCurrentAnimatedDrawable(mTransitionAnimationState.mProgress); in start() 120 mTransitionAnimationState.mProgress = mAnimationComponents.mAnimationView.getProgress(); in updateState() 324 private float mProgress; 332 mProgress = progress; 342 Float.compare(that.mProgress, mProgress) == 0 && 348 return Objects.hash(mAnimationIndex, mProgress, mLastTransitionTimestamp);
|
/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/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/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/actions/ |
D | SetProgressViewAction.java | 30 private int mProgress; field in SetProgressViewAction 33 mProgress = progress; in SetProgressViewAction() 39 seekBar.setProgress(mProgress); in perform()
|
/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/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | TransformParams.java | 57 private float mProgress; field in TransformParams 68 mProgress = 0; in TransformParams() 79 mProgress = progress; in setProgress() 189 return mProgress; in getProgress()
|
D | RectFSpringAnim2.java | 84 return rectFSpringAnim.mProgress; 89 rectFSpringAnim.mProgress = progress; 107 private float mProgress; field in RectFSpringAnim2 315 float rectProgress = mProgress; in onUpdate()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/ |
D | ProgressBarControllerAdapterV1.java | 31 private int mProgress = 0; field in ProgressBarControllerAdapterV1 94 mProgress = progress; in setProgress() 99 return mProgress; in getProgress()
|
/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/model/ |
D | PackageIncrementalDownloadUpdatedTask.java | 35 private final int mProgress; field in PackageIncrementalDownloadUpdatedTask 41 mProgress = 1 - progress > 0.001 ? (int) (100 * progress) : 100; in PackageIncrementalDownloadUpdatedTask() 50 mProgress, in execute()
|
/packages/apps/Car/SystemUI/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()
|