Home
last modified time | relevance | path

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

/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/Launcher3/src/com/android/launcher3/allapps/
DAllAppsTransitionController.java77 private float mProgress; // [0, 1], mShiftRange * mProgress = shiftCurrent field in AllAppsTransitionController
100 mProgress = 1f; in AllAppsTransitionController()
160 return mProgress < RECATCH_REJECTION_FRACTION; in isInDisallowRecatchTopZone()
164 return mProgress > 1 - RECATCH_REJECTION_FRACTION; in isInDisallowRecatchBottomZone()
270 float shiftPrevious = mProgress * mShiftRange; in setProgress()
271 mProgress = progress; in setProgress()
312 return mProgress; in getProgress()
333 … float nextFrameProgress = mProgress + mContainerVelocity * SINGLE_FRAME_MS / mShiftRange; in animateToAllApps()
335 mProgress = nextFrameProgress; in animateToAllApps()
341 mProgress, 0f); in animateToAllApps()
[all …]
/packages/apps/Settings/src/com/android/settings/
DSeekBarPreference.java40 private int mProgress; field in SeekBarPreference
90 mSeekBar.setProgress(mProgress); in onBindViewHolder()
104 setProgress(restoreValue ? getPersistedInt(mProgress) in onSetInitialValue()
165 if (progress != mProgress) { in setProgress()
166 mProgress = progress; in setProgress()
175 return mProgress; in getProgress()
184 if (progress != mProgress) { in syncProgress()
188 seekBar.setProgress(mProgress); in syncProgress()
209 if (seekBar.getProgress() != mProgress) { in onStopTrackingTouch()
230 myState.progress = mProgress; in onSaveInstanceState()
[all …]
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()
DTrustedCredentialsSettings.java114 private final int mProgress; field in TrustedCredentialsSettings.Tab
122 mProgress = progress; in Tab()
678 mProgressBar = (ProgressBar) content.findViewById(mTab.mProgress); in onPreExecute()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DDrawerArrowDrawable.java60 private float mProgress; field in DrawerArrowDrawable
118 final float arrowSize = lerp(mBarSize, mTopBottomArrowSize, mProgress); in draw()
119 final float middleBarSize = lerp(mBarSize, mMiddleArrowSize, mProgress); in draw()
121 final float middleBarCut = Math.round(lerp(0, mMaxCutForBarSize, mProgress)); in draw()
123 final float rotation = lerp(0, ARROW_HEAD_ANGLE, mProgress); in draw()
126 final float canvasRotate = lerp(isRtl ? 0 : -180, isRtl ? 180 : 0, mProgress); in draw()
133 mProgress); in draw()
196 return mProgress; in getProgress()
205 mProgress = progress; in setProgress()
/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.java43 private CharSequence mProgress; field in PowerGaugePreference
74 mProgress = Utils.formatPercentage(percentOfTotal, true); in setPercent()
79 return mProgress.toString(); in getPercent()
83 mProgress = subtitle; in setSubtitle()
88 return mProgress; in getSubtitle()
101 ((TextView) view.findViewById(R.id.widget_summary)).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/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/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.java137 float mProgress; // Progress in range [0..1] field in BeamTransferManager
161 mProgress = 0.0f; in BeamTransferManager()
213 this.mProgress = progress; in updateFileProgress()
238 mProgress = 0.0f; in finishTransfer()
329 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()