Home
last modified time | relevance | path

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

/packages/apps/Camera/src/com/android/camera/
DPanoProgressBar.java32 private float mProgress = 0; field in PanoProgressBar
142 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; in setProgress()
144 mProgress = Math.min(mWidth, Math.max(0, mProgress)); in setProgress()
147 mRightMostProgress = Math.max(mRightMostProgress, mProgress); in setProgress()
151 mLeftMostProgress = Math.min(mLeftMostProgress, mProgress); in setProgress()
158 mProgress = 0; in reset()
176 l = Math.max(mProgress - mIndicatorWidth, 0f); in onDraw()
177 r = mProgress; in onDraw()
179 l = mProgress; in onDraw()
180 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/
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()
DTrimVideo.java62 public ProgressDialog mProgress; field in TrimVideo
146 if (mProgress != null) { in onStop()
147 mProgress.dismiss(); in onStop()
148 mProgress = null; in onStop()
313 if (mProgress != null) { in trimVideo()
314 mProgress.dismiss(); in trimVideo()
315 mProgress = null; in trimVideo()
332 mProgress = new ProgressDialog(this); in showProgressDialog()
333 mProgress.setTitle(getString(R.string.trimming)); in showProgressDialog()
334 mProgress.setMessage(getString(R.string.please_wait)); in showProgressDialog()
[all …]
/packages/apps/Settings/src/com/android/settings/
DProgressCategory.java27 private boolean mProgress = false; field in ProgressCategory
45 progressBar.setVisibility(mProgress ? View.VISIBLE : View.GONE); in onBindView()
47 if (mProgress || !noDeviceFound) { in onBindView()
68 mProgress = progressOn; in setProgress()
DTrustedCredentialsSettings.java71 private final int mProgress; field in TrustedCredentialsSettings.Tab
78 mProgress = progress; in Tab()
219 mProgressBar = (ProgressBar) content.findViewById(mTab.mProgress); in onPreExecute()
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DZoomControl.java41 private int mMaxProgress, mProgress; field in ZoomControl
104 mProgress = progress; in setProgress()
176 if (progress != mProgress) { in onTouchEvent()
177 mProgress = progress; in onTouchEvent()
178 mListener.onProgressChanged(mProgress, true); in onTouchEvent()
236 if (mProgress <= mMaxProgress / 2) { in progressToPosition()
237 beta = ((mMaxProgress / 2) - mProgress) * mInterval; in progressToPosition()
239 beta = ((mMaxProgress - mProgress) * mInterval) + Math.PI + MAX_ANGLE; in progressToPosition()
DAudioTrackView.java49 private int mProgress; field in AudioTrackView
132 mProgress = -1; in AudioTrackView()
276 mProgress = progress; in setProgress()
293 if (mProgress >= 0) { in onDraw()
294 ProgressBar.getProgressBar(getContext()).draw(canvas, mProgress, in onDraw()
DAudioTrackLinearLayout.java86 private int mProgress; field in AudioTrackLinearLayout.AudioTrackActionModeCallback
113 mProgress = mAudioTrack.getAppVolume(); in onCreateActionMode()
114 seekBar.setProgress(mProgress); in onCreateActionMode()
152 mProgress = progress; in onProgressChanged()
153 mAudioTrack.setAppVolume(mProgress); in onProgressChanged()
164 mAudioTrack.getId(), mProgress); in onStopTrackingTouch() local
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
DProgressBar.java199 private int mProgress; field in ProgressBar
282 setProgress(a.getInt(R.styleable.ProgressBar_progress, mProgress)); in ProgressBar()
402 mProgress = 0; in initProgressBar()
533 doRefreshProgress(R.id.progress, mProgress, false, false); in setProgressDrawable()
568 private int mProgress; field in ProgressBar.RefreshProgressRunnable
573 mProgress = progress; in RefreshProgressRunnable()
578 doRefreshProgress(mId, mProgress, mFromUser, true); in run()
585 mProgress = progress; in setup()
668 if (progress != mProgress) { in setProgress()
669 mProgress = progress; in setProgress()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlideshowView.java129 private float mProgress; field in SlideshowView.SlideshowAnimation
147 float scale = initScale * (1 + SCALE_SPEED * mProgress); in apply()
149 float centerX = viewWidth / 2 + mMovingVector.x * mProgress; in apply()
150 float centerY = viewHeight / 2 + mMovingVector.y * mProgress; in apply()
163 mProgress = progress; in onCalculate()
DSlotView.java331 protected float mProgress = 0; field in SlotView.SlotAnimation
340 mProgress = progress; in onCalculate()
351 canvas.translate(0, 0, RISING_DISTANCE * (1 - mProgress)); in apply()
366 (mCenter.getX() - target.centerX()) * (1 - mProgress), in apply()
367 (mCenter.getY() - target.centerY()) * (1 - mProgress), in apply()
368 slotIndex * PHOTO_DISTANCE * (1 - mProgress)); in apply()
369 canvas.setAlpha(mProgress); in apply()
DPhotoFallbackEffect.java56 private float mProgress; field in PhotoFallbackEffect
100 float p = mProgress; in drawEntry()
156 mProgress = progress; in onCalculate()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerGaugePreference.java35 private int mProgress; field in PowerGaugePreference
46 mProgress = (int) Math.ceil(percentOfMax); in setPercent()
61 progress.setProgress(mProgress); in onBindView()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsUnavailableFragment.java47 private ProgressBar mProgress; field in ContactsUnavailableFragment
76 mProgress = (ProgressBar) mView.findViewById(R.id.progress); in onCreateView()
104 mProgress.setVisibility(View.GONE); in updateStatus()
116 mProgress.setVisibility(View.VISIBLE); in updateStatus()
128 mProgress.setVisibility(View.VISIBLE); in updateStatus()
142 mProgress.setVisibility(View.GONE); in updateStatus()
DCustomContactListFilterActivity.java854 private ProgressDialog mProgress; field in CustomContactListFilterActivity.UpdateTask
865 mProgress = ProgressDialog.show( in onPreExecute()
899 mProgress.dismiss(); in onPostExecute()
/packages/apps/Browser/src/com/android/browser/
DTitleBar.java50 private PageProgressView mProgress; field in TitleBar
79 mProgress = (PageProgressView) findViewById(R.id.progress); in initLayout()
268 mProgress.setProgress(PageProgressView.MAX_PROGRESS); in setProgress()
269 mProgress.setVisibility(View.GONE); in setProgress()
282 mProgress.setVisibility(View.VISIBLE); in setProgress()
286 mProgress.setProgress(newProgress * PageProgressView.MAX_PROGRESS in setProgress()
390 return mProgress; in getProgressView()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverTransfer.java93 float mProgress; // Progress in range [0..1] field in HandoverTransfer
110 mProgress = 0.0f; in HandoverTransfer()
138 this.mProgress = progress; in updateFileProgress()
152 this.mProgress = 1.0f; in finishTransfer()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java110 mProgress = (ProgressBar) findViewById(android.R.id.progress); in onCreate()
149 if (mProgress instanceof SeekBar) { in onCreate()
150 SeekBar seeker = (SeekBar) mProgress; in onCreate()
153 mProgress.setMax(1000); in onCreate()
1148 private ProgressBar mProgress; field in MediaPlaybackActivity
1176 mProgress.setProgress(progress); in refreshNow()
1188 mProgress.setProgress(1000); in refreshNow()
1196 int width = mProgress.getWidth(); in refreshNow()