Home
last modified time | relevance | path

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

12

/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DMtpDeviceIndex.java119 private Progress mProgress = Progress.Uninitialized; field in MtpDeviceIndex
158 if (mProgress != Progress.Initialized) return null; in getIndexRunnable()
159 mProgress = Progress.Pending; in getIndexRunnable()
164 return mProgress == Progress.Finished; in indexReady()
168 return mProgress; in getProgress()
178 return mProgress; in setProgressListener()
195 return mProgress == Progress.Finished ? mUnifiedLookupIndex.length : 0; in size()
206 if (mProgress != Progress.Finished) return null; in get()
233 if (mProgress != Progress.Finished) return null; in getWithoutLabels()
252 if (mProgress != Progress.Finished) return -1; in getPositionFromPositionWithoutLabels()
[all …]
/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/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/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/Camera2/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/UnifiedEmail/src/com/android/mail/bitmap/
DAttachmentDrawable.java62 private Progress mProgress; field in AttachmentDrawable
106 mProgress = new Progress(progress.getConstantState().newDrawable(res), res, in AttachmentDrawable()
108 mProgress.setCallback(this); in AttachmentDrawable()
233 mProgress.draw(canvas); in draw()
242 mProgress.setAlpha(alpha); in setAlpha()
252 mProgress.setColorFilter(cf); in setColorFilter()
267 mProgress.setBounds(bounds); in onBoundsChange()
397 mProgress.reset(); in setLoadState()
402 mProgress.setVisible(false); in setLoadState()
406 mProgress.setVisible(true); in setLoadState()
[all …]
DAttachmentGridDrawable.java32 private final Drawable mProgress; field in AttachmentGridDrawable
42 mProgress = progress; in AttachmentGridDrawable()
52 mDecodeAggregator, mCoordinates, mPlaceholder, mProgress); in createDivisionDrawable()
/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/Camera2/src/com/android/camera/data/
DRotationTask.java45 private ProgressDialog mProgress; field in RotationTask
58 mProgress = new ProgressDialog(mContext); in onPreExecute()
60 mProgress.setTitle(mContext.getString(titleStringId)); in onPreExecute()
61 mProgress.setMessage(mContext.getString(R.string.please_wait)); in onPreExecute()
62 mProgress.setCancelable(false); in onPreExecute()
63 mProgress.show(); in onPreExecute()
147 mProgress.dismiss(); in onPostExecute()
/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 += 10; in run()
63 if (mProgress <= 100) { in run()
/packages/apps/Browser/src/com/android/browser/
DTitleBar.java50 private PageProgressView mProgress; field in TitleBar
78 mProgress = (PageProgressView) findViewById(R.id.progress); in initLayout()
254 mProgress.setProgress(PageProgressView.MAX_PROGRESS); in setProgress()
255 mProgress.setVisibility(View.GONE); in setProgress()
268 mProgress.setVisibility(View.VISIBLE); in setProgress()
272 mProgress.setProgress(newProgress * PageProgressView.MAX_PROGRESS in setProgress()
374 return mProgress; in getProgressView()
/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()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageAttachmentBar.java66 private ProgressBar mProgress; field in MessageAttachmentBar
152 mProgress = (ProgressBar) findViewById(R.id.attachment_progress); in onFinishInflate()
387 mProgress.setMax(mAttachment.size); in updateProgress()
388 mProgress.setProgress(mAttachment.downloadedSize); in updateProgress()
389 mProgress.setIndeterminate(!showProgress); in updateProgress()
390 mProgress.setVisibility(VISIBLE); in updateProgress()
393 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()
/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()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryDownloadProgressBar.java157 private int mProgress; field in DictionaryDownloadProgressBar.UpdaterThread.UpdateHelper
161 setProgress(mProgress); in run()
164 if (mProgress != progress) { in setProgressFromAnotherThread()
165 mProgress = progress; in setProgressFromAnotherThread()
/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()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverTransfer.java113 float mProgress; // Progress in range [0..1] field in HandoverTransfer
132 mProgress = 0.0f; in HandoverTransfer()
162 this.mProgress = progress; in updateFileProgress()
178 mProgress = 0.0f; in finishTransfer()
250 progress = (float) mCurrentCount * progressUnit + mProgress * progressUnit; in updateNotification()
/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/Settings/src/com/android/settings/applications/
DProcessStatsPreference.java31 private int mProgress; field in ProcessStatsPreference
46 mProgress = (int) Math.ceil(percentOfWeight); in setPercent()
57 progress.setProgress(mProgress); in onBindView()

12