/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | TrimTimeBar.java | 75 return mProgressBar.left + in getBarPosFromTime() 76 (int) ((mProgressBar.width() * (long) time) / mTotalTime); in getBarPosFromTime() 91 mPlayedBar.set(mProgressBar); in updatePlayedBarAndScrubberFromTime() 105 mPlayedBar.right = mProgressBar.left; in updatePlayedBarAndScrubberFromTime() 106 mScrubberLeft = mProgressBar.left - mScrubber.getWidth() / 2; in updatePlayedBarAndScrubberFromTime() 107 mTrimStartScrubberLeft = mProgressBar.left - trimStartScrubberTipOffset(); in updatePlayedBarAndScrubberFromTime() 108 mTrimEndScrubberLeft = mProgressBar.right - trimEndScrubberTipOffset(); in updatePlayedBarAndScrubberFromTime() 162 return (int) ((long) (scrubberLeft + offset - mProgressBar.left) in getScrubberTime() 163 * mTotalTime / mProgressBar.width()); in getScrubberTime() 171 mProgressBar.set(0, 0, w, h); in onLayout() [all …]
|
D | TimeBar.java | 57 protected final Rect mProgressBar; field in TimeBar 89 mProgressBar = new Rect(); in TimeBar() 114 mPlayedBar.set(mProgressBar); in update() 118 … mPlayedBar.left + (int) ((mProgressBar.width() * (long) mCurrentTime) / mTotalTime); in update() 120 mPlayedBar.right = mProgressBar.left; in update() 162 int max = mProgressBar.right - half; in clampScrubber() 163 int min = mProgressBar.left - half; in clampScrubber() 168 return (int) ((long) (mScrubberLeft + mScrubber.getWidth() / 2 - mProgressBar.left) in getScrubberTime() 169 * mTotalTime / mProgressBar.width()); in getScrubberTime() 177 mProgressBar.set(0, 0, w, h); in onLayout() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AudioAttachmentView.java | 67 private AudioPlaybackProgressBar mProgressBar; field in AudioAttachmentView 112 mProgressBar = (AudioPlaybackProgressBar) findViewById(R.id.progress); in onFinishInflate() 121 mProgressBar.pause(); in onFinishInflate() 198 mProgressBar.restart(); in playAudio() 202 mProgressBar.resume(); in playAudio() 238 mProgressBar.reset(); in setupMediaPlayer() 250 mProgressBar.setDuration(mMediaPlayer.getDuration()); in setupMediaPlayer() 287 mProgressBar.reset(); in releaseMediaPlayer() 352 mProgressBar.setVisualStyle(mUseIncomingStyle); in updateVisualStyle() 361 mProgressBar.setVisibility(VISIBLE); in initializeViewsForMode() [all …]
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
D | FingerprintEnrollEnrolling.java | 75 private ProgressBar mProgressBar; field in FingerprintEnrollEnrolling 100 mProgressBar = (ProgressBar) findViewById(R.id.fingerprint_progress_bar); in onCreate() 181 ObjectAnimator anim = ObjectAnimator.ofInt(mProgressBar, "progress", in animateProgress() 182 mProgressBar.getProgress(), progress); in animateProgress() 284 mProgressBar.setProgress(progress); in updateProgress() 355 if (mProgressBar.getProgress() >= PROGRESS_BAR_MAX) { 356 mProgressBar.postDelayed(mDelayedFinishRunnable, FINISH_DELAY);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
D | ProgressDialogFragment.java | 41 private ProgressBar mProgressBar; field in ProgressDialogFragment 53 mProgressBar = (ProgressBar) view.findViewById(android.R.id.progress); in onCreateView() 94 mProgressBar.setIndeterminate(indeterminte); in setIndeterminte() 98 mProgressBar.setProgress(progress); in setProgress() 102 mProgressBar.setMax(max); in setProgressMax()
|
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/ |
D | FillCallLogTestActivity.java | 70 private ProgressBar mProgressBar; field in FillCallLogTestActivity 99 mProgressBar = (ProgressBar) findViewById(R.id.progress); in onCreate() 119 mProgressBar.setProgress(0); in onCreate() 120 mProgressBar.setMax(count); in onCreate() 121 mProgressBar.setVisibility(View.VISIBLE); in onCreate() 173 mProgressBar.setVisibility(View.GONE); in insertCompleted() 365 mProgressBar.setProgress(count); in updateCount()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TrustedCredentialsSettings.java | 413 private ProgressBar mProgressBar; field in TrustedCredentialsSettings.AdapterData.AliasLoader 424 mProgressBar = (ProgressBar) content.findViewById(mTab.mProgress); in onPreExecute() 426 mProgressBar.setVisibility(View.VISIBLE); in onPreExecute() 491 if (max != mProgressBar.getMax()) { in onProgressUpdate() 492 mProgressBar.setMax(max); in onProgressUpdate() 494 mProgressBar.setProgress(progress); in onProgressUpdate() 503 mProgressBar.setVisibility(View.GONE); in onPostExecute() 505 mProgressBar.setProgress(0); in onPostExecute()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WpsDialog.java | 53 private ProgressBar mProgressBar; field in WpsDialog 167 mProgressBar = ((ProgressBar) mView.findViewById(R.id.wps_progress_bar)); in onCreate() 168 mProgressBar.setVisibility(View.GONE); in onCreate() 243 mProgressBar.setVisibility(View.VISIBLE); in updateDialog() 249 mProgressBar.setVisibility(View.GONE); in updateDialog()
|
D | WriteWifiConfigToNfcDialog.java | 71 private ProgressBar mProgressBar; field in WriteWifiConfigToNfcDialog 122 mProgressBar = (ProgressBar) mView.findViewById(R.id.progress_bar); in onCreate() 176 mProgressBar.setVisibility(View.VISIBLE); in onClick() 201 mProgressBar.setVisibility(View.GONE); in handleWriteNfcEvent()
|
/packages/services/Telephony/tests/src/com/android/phone/tests/ |
D | OtaspTestActivity.java | 46 private ProgressBar mProgressBar; field in OtaspTestActivity 67 mProgressBar = (ProgressBar) findViewById(R.id.progress_bar); in onCreate() 112 mProgressBar.setVisibility(View.INVISIBLE); in onCreate() 221 mProgressBar.setVisibility(View.VISIBLE); in makeTestCall()
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | FilmstripBottomPanel.java | 54 private ProgressBar mProgressBar; field in FilmstripBottomPanel 152 mProgressBar.setProgress(progress); in setProgress() 245 mProgressBar = (ProgressBar) mLayout.findViewById(R.id.bottom_session_progress_bar); in setupProgressUi() 246 mProgressBar.setMax(100); in setupProgressUi()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallAppProgress.java | 67 private ProgressBar mProgressBar; field in UninstallAppProgress 204 mProgressBar.setVisibility(View.INVISIBLE); 274 mProgressBar = (ProgressBar) findViewById(R.id.progress_bar); in initView() 275 mProgressBar.setIndeterminate(true); in initView()
|
D | InstallAppProgress.java | 65 private ProgressBar mProgressBar; field in InstallAppProgress 91 mProgressBar.setVisibility(View.INVISIBLE); 255 mProgressBar = (ProgressBar) findViewById(R.id.progress_bar); 256 mProgressBar.setIndeterminate(true);
|
/packages/apps/Gallery/src/com/android/camera/ |
D | DeleteImage.java | 35 private ProgressBar mProgressBar; field in DeleteImage 56 mProgressBar = (ProgressBar) findViewById(R.id.delete_progress); in onCreate() 75 mProgressBar.setProgress(mIndex * 10000 / mUriList.size()); in deleteNext()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayFragment.java | 49 protected ProgressBar mProgressBar; field in DayFragment 165 mProgressBar.setVisibility(View.VISIBLE); in startProgressSpinner() 170 mProgressBar.setVisibility(View.GONE); in stopProgressSpinner()
|