Home
last modified time | relevance | path

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

12

/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/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/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/Settings/src/com/android/settings/widget/
DSeekBarPreference.java41 private int mProgress; field in SeekBarPreference
97 mSeekBar.setProgress(mProgress); in onBindViewHolder()
128 setProgress(restoreValue ? getPersistedInt(mProgress) in onSetInitialValue()
193 if (progress != mProgress) { in setProgress()
194 mProgress = progress; in setProgress()
203 return mProgress; in getProgress()
212 if (progress != mProgress) { in syncProgress()
216 seekBar.setProgress(mProgress); in syncProgress()
237 if (seekBar.getProgress() != mProgress) { in onStopTrackingTouch()
258 myState.progress = mProgress; in onSaveInstanceState()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsTransitionController.java85 private float mProgress; // [0, 1], mShiftRange * mProgress = shiftCurrent field in AllAppsTransitionController
112 mProgress = 1f; in AllAppsTransitionController()
177 return mProgress < RECATCH_REJECTION_FRACTION; in isInDisallowRecatchTopZone()
181 return mProgress > 1 - RECATCH_REJECTION_FRACTION; in isInDisallowRecatchBottomZone()
314 float shiftPrevious = mProgress * mShiftRange; in setProgress()
315 mProgress = progress; in setProgress()
362 return mProgress; in getProgress()
383 … float nextFrameProgress = mProgress + mContainerVelocity * SINGLE_FRAME_MS / mShiftRange; in animateToAllApps()
385 mProgress = nextFrameProgress; in animateToAllApps()
391 mProgress, 0f); in animateToAllApps()
[all …]
/packages/apps/TV/src/com/android/tv/menu/
DPlaybackProgressBar.java40 private long mProgress = 0; field in PlaybackProgressBar
94 if (mProgress > max) { in setMax()
95 mProgress = max; in setMax()
107 mProgress = constrain(mProgress, start, end); in setProgressRange()
120 if (progress != mProgress) { in setProgress()
121 mProgress = progress; in setProgress()
138 boolean progressUpdated = setProgressBound(mPrimaryDrawable, mProgressStart, mProgress); in setProgressLevels()
139 progressUpdated |= setProgressBound(mSecondaryDrawable, mProgress, mProgressEnd); in setProgressLevels()
DPlayControlsRowView.java58 private PlaybackProgressBar mProgress; field in PlayControlsRowView
174 mProgress = (PlaybackProgressBar) findViewById(R.id.progress); in onFinishInflate()
373 mProgress.setMax(mProgramEndTimeMs - mProgramStartTimeMs); in initializeTimeline()
525 mProgress.setProgressRange(progressStartTimeMs - mProgramStartTimeMs, in updateProgress()
527 mProgress.setProgress(currentPlayingTimeMs - mProgramStartTimeMs); in updateProgress()
529 mProgress.setProgressRange(0, 0); in updateProgress()
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
DProgressService.java47 private int mProgress; field in ProgressService.UpdateRunnable
52 mProgress = progress; in UpdateRunnable()
58 Log.v(TAG, "id: " + mId + " when: " + mWhen + " progress: " + mProgress); in run()
61 ProgressService.this, mProgress, mWhen)); in run()
62 mProgress += 2; in run()
63 if (mProgress <= 100) { in run()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerGaugePreference.java45 private CharSequence mProgress; field in PowerGaugePreference
78 mProgress = Utils.formatPercentage(percentOfTotal, true); in setPercent()
83 return mProgress.toString(); in getPercent()
87 mProgress = subtitle; in setSubtitle()
92 return mProgress; in getSubtitle()
115 subtitle.setText(mProgress); in onBindViewHolder()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageAttachmentBar.java68 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/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()
DPhotoFallbackEffect.java58 private float mProgress; field in PhotoFallbackEffect
102 float p = mProgress; in drawEntry()
158 mProgress = progress; in onCalculate()
/packages/apps/Settings/src/com/android/settings/
DProgressCategory.java31 private boolean mProgress = false; field in ProgressCategory
67 progressBar.setVisibility(mProgress ? View.VISIBLE : View.GONE); in onBindViewHolder()
69 if (mProgress || !noDeviceFound) { in onBindViewHolder()
90 mProgress = progressOn; in setProgress()
DAppProgressPreference.java25 private int mProgress; field in AppProgressPreference
34 mProgress = amount; in setProgress()
43 progress.setProgress(mProgress); in onBindViewHolder()
/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/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()
DCustomContactListFilterActivity.java867 private ProgressDialog mProgress;
878 mProgress = ProgressDialog.show(
912 mProgress.dismiss();
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DGradientView.java63 private float mProgress; field in GradientView
156 this.mProgress = progress; in setProgress()
166 float linearProgress = head + (mProgress * (1f - head)); in onDraw()
168 float interpolatedAlpha = (255 - mAlphaStart) * mAccelerator.getInterpolation(mProgress); in onDraw()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardFormatProgress.java89 private volatile int mProgress = 20; field in StorageWizardFormatProgress.PartitionTask
128 mProgress = progress[0]; in onProgressUpdate()
129 mActivity.setCurrentProgress(mProgress); in onProgressUpdate()
134 mActivity.setCurrentProgress(mProgress); in setActivity()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java105 mProgress = (ProgressBar) findViewById(android.R.id.progress); in onCreate()
144 if (mProgress instanceof SeekBar) { in onCreate()
145 SeekBar seeker = (SeekBar) mProgress; in onCreate()
148 mProgress.setMax(1000); in onCreate()
1124 private ProgressBar mProgress; field in MediaPlaybackActivity
1151 mProgress.setProgress(progress); in refreshNow()
1164 mProgress.setProgress(1000); in refreshNow()
1172 int width = mProgress.getWidth(); in refreshNow()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamTransferManager.java135 float mProgress; // Progress in range [0..1] field in BeamTransferManager
159 mProgress = 0.0f; in BeamTransferManager()
211 this.mProgress = progress; in updateFileProgress()
236 mProgress = 0.0f; in finishTransfer()
327 progress = (float) mCurrentCount * progressUnit + mProgress * progressUnit; in updateNotification()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DSaveFragment.java56 private ProgressBar mProgress; field in SaveFragment
124 mProgress = (ProgressBar) view.findViewById(android.R.id.progress); in onCreateView()
210 mProgress.setVisibility(pending ? View.VISIBLE : View.GONE); in setPending()
/packages/apps/PackageInstaller/src/android/support/wearable/view/
DCircledImageView.java70 private float mProgress = 1f; field in CircledImageView
251 canvas.drawArc(mOval, -90, 360 * mProgress, false, mPaint); in onDraw()
539 if (progress != mProgress) { in setProgress()
540 mProgress = progress; in setProgress()

12