/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
H A D | ProgressService.java | 47 private int mProgress; field in class:ProgressService.UpdateRunnable 52 mProgress = progress; 58 Log.v(TAG, "id: " + mId + " when: " + mWhen + " progress: " + mProgress); 61 ProgressService.this, mProgress, mWhen)); 62 mProgress += 10; 63 if (mProgress <= 100) {
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | PanoProgressBar.java | 32 private float mProgress = 0; field in class:PanoProgressBar 142 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; 144 mProgress = Math.min(mWidth, Math.max(0, mProgress)); 147 mRightMostProgress = Math.max(mRightMostProgress, mProgress); 151 mLeftMostProgress = Math.min(mLeftMostProgress, mProgress); 158 mProgress = 0; 176 l = Math.max(mProgress - mIndicatorWidth, 0f); 177 r = mProgress; 179 l = mProgress; [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
H A D | PanoProgressBar.java | 32 private float mProgress = 0; field in class:PanoProgressBar 142 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; 144 mProgress = Math.min(mWidth, Math.max(0, mProgress)); 147 mRightMostProgress = Math.max(mRightMostProgress, mProgress); 151 mLeftMostProgress = Math.min(mLeftMostProgress, mProgress); 158 mProgress = 0; 176 l = Math.max(mProgress - mIndicatorWidth, 0f); 177 r = mProgress; 179 l = mProgress; [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
H A D | PanoProgressBar.java | 31 private float mProgress = 0; field in class:PanoProgressBar 139 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; 141 mProgress = Math.min(mWidth, Math.max(0, mProgress)); 144 mRightMostProgress = Math.max(mRightMostProgress, mProgress); 148 mLeftMostProgress = Math.min(mLeftMostProgress, mProgress); 155 mProgress = 0; 173 l = Math.max(mProgress - mIndicatorWidth, 0f); 174 r = mProgress; 176 l = mProgress; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | PhotoPageProgressBar.java | 29 private View mProgress; field in class:PhotoPageProgressBar 37 mProgress = mContainer.findViewById(R.id.photopage_progress_foreground); 42 LayoutParams layoutParams = mProgress.getLayoutParams(); 44 mProgress.setLayoutParams(layoutParams);
|
H A D | TrimVideo.java | 56 public ProgressDialog mProgress; field in class:TrimVideo 136 if (mProgress != null) { 137 mProgress.dismiss(); 138 mProgress = null; 259 if (mProgress != null) { 260 mProgress.dismiss(); 261 mProgress = null; 278 mProgress = new ProgressDialog(this); 279 mProgress.setTitle(getString(R.string.trimming)); 280 mProgress [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | ProgressCategory.java | 27 private boolean mProgress = false; field in class:ProgressCategory 45 progressBar.setVisibility(mProgress ? View.VISIBLE : View.GONE); 47 if (mProgress || !noDeviceFound) { 68 mProgress = progressOn;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | ProcessStatsPreference.java | 31 private int mProgress; field in class:ProcessStatsPreference 46 mProgress = (int) Math.ceil(percentOfWeight); 57 progress.setProgress(mProgress);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
H A D | PowerGaugePreference.java | 35 private int mProgress; field in class:PowerGaugePreference 46 mProgress = (int) Math.ceil(percentOfMax); 61 progress.setProgress(mProgress);
|
/packages/apps/Camera2/src/com/android/camera/data/ |
H A D | RotationTask.java | 45 private ProgressDialog mProgress; field in class:RotationTask 58 mProgress = new ProgressDialog(mContext); 60 mProgress.setTitle(mContext.getString(titleStringId)); 61 mProgress.setMessage(mContext.getString(R.string.please_wait)); 62 mProgress.setCancelable(false); 63 mProgress.show(); 147 mProgress.dismiss();
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
H A D | MtpDeviceIndex.java | 119 private Progress mProgress = Progress.Uninitialized; field in class:MtpDeviceIndex 158 if (mProgress != Progress.Initialized) return null; 159 mProgress = Progress.Pending; 164 return mProgress == Progress.Finished; 168 return mProgress; 178 return mProgress; 195 return mProgress == Progress.Finished ? mUnifiedLookupIndex.length : 0; 206 if (mProgress != Progress.Finished) return null; 233 if (mProgress != Progress.Finished) return null; 252 if (mProgress ! [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | DictionaryDownloadProgressBar.java | 157 private int mProgress; field in class:DictionaryDownloadProgressBar.UpdaterThread.UpdateHelper 161 setProgress(mProgress); 164 if (mProgress != progress) { 165 mProgress = progress;
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
H A D | ZoomControl.java | 41 private int mMaxProgress, mProgress; field in class:ZoomControl 104 mProgress = progress; 176 if (progress != mProgress) { 177 mProgress = progress; 178 mListener.onProgressChanged(mProgress, true); 236 if (mProgress <= mMaxProgress / 2) { 237 beta = ((mMaxProgress / 2) - mProgress) * mInterval; 239 beta = ((mMaxProgress - mProgress) * mInterval) + Math.PI + MAX_ANGLE;
|
H A D | AudioTrackView.java | 49 private int mProgress; field in class:AudioTrackView 132 mProgress = -1; 276 mProgress = progress; 293 if (mProgress >= 0) { 294 ProgressBar.getProgressBar(getContext()).draw(canvas, mProgress,
|
H A D | AudioTrackLinearLayout.java | 86 private int mProgress; field in class:AudioTrackLinearLayout.AudioTrackActionModeCallback 113 mProgress = mAudioTrack.getAppVolume(); 114 seekBar.setProgress(mProgress); 152 mProgress = progress; 153 mAudioTrack.setAppVolume(mProgress); 164 mAudioTrack.getId(), mProgress);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | SlideshowView.java | 126 private float mProgress; field in class:SlideshowView.SlideshowAnimation 144 float scale = initScale * (1 + SCALE_SPEED * mProgress); 146 float centerX = viewWidth / 2 + mMovingVector.x * mProgress; 147 float centerY = viewHeight / 2 + mMovingVector.y * mProgress; 160 mProgress = progress;
|
H A D | PhotoFallbackEffect.java | 58 private float mProgress; field in class:PhotoFallbackEffect 102 float p = mProgress; 158 mProgress = progress;
|
H A D | SlotView.java | 332 protected float mProgress = 0; field in class:SlotView.SlotAnimation 341 mProgress = progress; 352 canvas.translate(0, 0, RISING_DISTANCE * (1 - mProgress)); 367 (mCenter.getX() - target.centerX()) * (1 - mProgress), 368 (mCenter.getY() - target.centerY()) * (1 - mProgress), 369 slotIndex * PHOTO_DISTANCE * (1 - mProgress)); 370 canvas.setAlpha(mProgress);
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
H A D | AttachmentDrawable.java | 62 private Progress mProgress; field in class:AttachmentDrawable 106 mProgress = new Progress(progress.getConstantState().newDrawable(res), res, 108 mProgress.setCallback(this); 233 mProgress.draw(canvas); 242 mProgress.setAlpha(alpha); 252 mProgress.setColorFilter(cf); 267 mProgress.setBounds(bounds); 397 mProgress.reset(); 402 mProgress.setVisible(false); 406 mProgress [all...] |
H A D | AttachmentGridDrawable.java | 32 private final Drawable mProgress; field in class:AttachmentGridDrawable 42 mProgress = progress; 52 mDecodeAggregator, mCoordinates, mPlaceholder, mProgress);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactsUnavailableFragment.java | 47 private ProgressBar mProgress; field in class:ContactsUnavailableFragment 76 mProgress = (ProgressBar) mView.findViewById(R.id.progress); 104 mProgress.setVisibility(View.GONE); 116 mProgress.setVisibility(View.VISIBLE); 128 mProgress.setVisibility(View.VISIBLE); 142 mProgress.setVisibility(View.GONE);
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | TitleBar.java | 50 private PageProgressView mProgress; field in class:TitleBar 78 mProgress = (PageProgressView) findViewById(R.id.progress); 254 mProgress.setProgress(PageProgressView.MAX_PROGRESS); 255 mProgress.setVisibility(View.GONE); 268 mProgress.setVisibility(View.VISIBLE); 272 mProgress.setProgress(newProgress * PageProgressView.MAX_PROGRESS 374 return mProgress;
|
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/ |
H A D | ProgressBar.java | 82 * private ProgressBar mProgress; 92 * mProgress = (ProgressBar) findViewById(R.id.progress_bar); 103 * mProgress.setProgress(mProgressStatus); 199 private int mProgress; field in class:ProgressBar 282 setProgress(a.getInt(R.styleable.ProgressBar_progress, mProgress)); 402 mProgress = 0; 533 doRefreshProgress(R.id.progress, mProgress, false, false); 568 private int mProgress; field in class:ProgressBar.RefreshProgressRunnable 573 mProgress = progress; 578 doRefreshProgress(mId, mProgress, mFromUse [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | MessageAttachmentBar.java | 66 private ProgressBar mProgress; field in class:MessageAttachmentBar 152 mProgress = (ProgressBar) findViewById(R.id.attachment_progress); 387 mProgress.setMax(mAttachment.size); 388 mProgress.setProgress(mAttachment.downloadedSize); 389 mProgress.setIndeterminate(!showProgress); 390 mProgress.setVisibility(VISIBLE); 393 mProgress.setVisibility(INVISIBLE);
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
H A D | HandoverTransfer.java | 113 float mProgress; // Progress in range [0..1] field in class:HandoverTransfer 132 mProgress = 0.0f; 162 this.mProgress = progress; 178 mProgress = 0.0f; 250 progress = (float) mCurrentCount * progressUnit + mProgress * progressUnit;
|