Home
last modified time | relevance | path

Searched refs:mProgress (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoProgressBar.java31 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/
DPanoProgressBar.java34 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/
DTrimVideo.java56 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 …]
DPhotoPageProgressBar.java29 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/
DPlaybackProgressBar.java37 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()
DPlayControlsRowView.java58 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/
DAllAppsTransitionController.java69 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/
DSeekBarPreference.java48 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/
DPowerGaugePreference.java42 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/
DPlaybackProgress.java30 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/
DProgressBarPreference.java44 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/
DDeviceLockedInputConsumer.java98 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/
DSlideshowView.java126 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()
DSlotView.java332 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/
DTransitionAnimationHelper.java104 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/
DProgressCategory.java32 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/
DDictionaryDownloadProgressBar.java152 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/
DSetProgressViewAction.java30 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/
DStorageWizardFormatProgress.java83 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/
DTransformParams.java57 private float mProgress; field in TransformParams
68 mProgress = 0; in TransformParams()
79 mProgress = progress; in setProgress()
189 return mProgress; in getProgress()
DRectFSpringAnim2.java84 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/
DProgressBarControllerAdapterV1.java31 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/
DContactsUnavailableFragment.java52 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/
DPackageIncrementalDownloadUpdatedTask.java35 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/
DCarVolumeItem.java39 private int mProgress; field in CarVolumeItem
51 mProgress = progress; in setProgress()
117 mSeekBar.setProgress(carVolumeItem.mProgress); in bind()

12