/frameworks/base/core/java/android/app/ |
ProgressDialog.java | 54 private ProgressBar mProgress; 137 int progress = mProgress.getProgress(); 138 int max = mProgress.getMax(); 159 mProgress = (ProgressBar) view.findViewById(R.id.progress); 167 mProgress = (ProgressBar) view.findViewById(R.id.progress); 215 mProgress.setProgress(value); 223 if (mProgress != null) { 224 mProgress.setSecondaryProgress(secondaryProgress); 232 if (mProgress != null) { 233 return mProgress.getProgress() [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
TransitionImageView.java | 76 private float mProgress; 216 mProgress = progress; 219 setScaleX(1f + mScaleXDiff * mProgress); 220 setScaleY(1f + mScaleYDiff * mProgress); 223 setTranslationX(mSrcRect.left + mProgress * mTranslationXDiff); 224 setTranslationY(mSrcRect.top + mProgress * mTranslationYDiff); 227 float unclipCenterX = mSrcUnclipRect.centerX() + mUnclipCenterXDiff * mProgress; 228 float unclipCenterY = mSrcUnclipRect.centerY() + mUnclipCenterYDiff * mProgress; 230 mSrcUnclipRect.width() + mUnclipWidthDiffBeforeScale * mProgress; 232 mSrcUnclipRect.height() + mUnclipHeightDiffBeforeScale * mProgress; [all...] |
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
ProgressService.java | 47 private int mProgress; 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/ |
PanoProgressBar.java | 32 private float mProgress = 0; 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/ |
PanoProgressBar.java | 34 private float mProgress = 0; 144 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; 146 mProgress = Math.min(mWidth, Math.max(0, mProgress)); 149 mRightMostProgress = Math.max(mRightMostProgress, mProgress); 153 mLeftMostProgress = Math.min(mLeftMostProgress, mProgress); 160 mProgress = 0; 178 l = Math.max(mProgress - mIndicatorWidth, 0f); 179 r = mProgress; 181 l = mProgress; [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
PanoProgressBar.java | 31 private float mProgress = 0; 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/ |
PhotoPageProgressBar.java | 29 private View mProgress; 37 mProgress = mContainer.findViewById(R.id.photopage_progress_foreground); 42 LayoutParams layoutParams = mProgress.getLayoutParams(); 44 mProgress.setLayoutParams(layoutParams);
|
TrimVideo.java | 56 public ProgressDialog mProgress; 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.setMessage(getString(R.string.please_wait)) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
ProgressCategory.java | 30 private boolean mProgress = false; 63 progressBar.setVisibility(mProgress ? View.VISIBLE : View.GONE); 65 if (mProgress || !noDeviceFound) { 86 mProgress = progressOn;
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
ExtendedBitmapDrawable.java | 69 private Progress mProgress; 128 mProgress = new Progress(mOpts.progressBar.getConstantState().newDrawable(mResources), mResources, 130 mProgress.setCallback(this); 131 mProgress.setBounds(getBounds()); 133 mProgress = null; 264 if (mProgress != null) onDrawPlaceholderOrProgress(canvas, mProgress); 287 if (mProgress != null) mProgress.setAlpha(alpha); 297 if (mProgress != null) mProgress.setColorFilter(cf) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
DrawerArrowDrawable.java | 58 private float mProgress; 101 final float arrowSize = lerp(mBarSize, mTopBottomArrowSize, mProgress); 102 final float middleBarSize = lerp(mBarSize, mMiddleArrowSize, mProgress); 104 final float middleBarCut = lerp(0, mBarThickness / 2, mProgress); 106 final float rotation = lerp(0, ARROW_HEAD_ANGLE, mProgress); 109 final float canvasRotate = lerp(isRtl ? 0 : -180, isRtl ? 180 : 0, mProgress); 110 final float topBottomBarOffset = lerp(mBarGap + mBarThickness, 0, mProgress); 178 return mProgress; 182 mProgress = progress;
|
/developers/samples/android/wearable/wear/Flashlight/Wearable/src/main/java/com/example/android/flashlight/ |
PartyLightView.java | 47 private float mProgress; 85 mCurrentColor = getColor(mProgress, mColors[mFromColorIndex], 88 mProgress += 0.1; 89 if (mProgress > 1.0) {
|
/development/samples/wearable/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/ |
PartyLightView.java | 47 private float mProgress; 85 mCurrentColor = getColor(mProgress, mColors[mFromColorIndex], 88 mProgress += 0.1; 89 if (mProgress > 1.0) {
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
PowerGaugePreference.java | 36 private int mProgress; 50 mProgress = (int) Math.ceil(percentOfMax); 64 progress.setProgress(mProgress);
|
/frameworks/base/core/java/android/preference/ |
SeekBarPreference.java | 35 private int mProgress; 77 seekBar.setProgress(mProgress); 88 setProgress(restoreValue ? getPersistedInt(mProgress) 131 if (progress != mProgress) { 132 mProgress = progress; 141 return mProgress; 150 if (progress != mProgress) { 154 seekBar.setProgress(mProgress); 175 if (seekBar.getProgress() != mProgress) { 196 myState.progress = mProgress; [all...] |
/packages/apps/Camera2/src/com/android/camera/data/ |
RotationTask.java | 45 private ProgressDialog mProgress; 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();
|
/frameworks/support/v4/java/android/support/v4/widget/ |
SwipeRefreshLayout.java | 126 private MaterialProgressDrawable mProgress; 162 mProgress.setAlpha(MAX_ALPHA); 163 mProgress.start(); 170 mProgress.stop(); 187 mProgress.setAlpha(targetAlpha); 248 mProgress.updateSizes(size); 249 mCircleView.setImageDrawable(mProgress); 310 mProgress = new MaterialProgressDrawable(getContext(), this); 311 mProgress.setBackgroundColor(CIRCLE_BG_LIGHT); 312 mCircleView.setImageDrawable(mProgress); [all...] |
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
ColorPickerDialog.java | 54 private ProgressBar mProgress; 107 mProgress = (ProgressBar) view.findViewById(android.R.id.progress); 145 if (mProgress != null && mPalette != null) { 146 mProgress.setVisibility(View.GONE); 153 if (mProgress != null && mPalette != null) { 154 mProgress.setVisibility(View.VISIBLE);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcessStatsPreference.java | 33 private int mProgress; 64 mProgress = (int) Math.ceil(percentOfWeight); 74 progress.setProgress(mProgress);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
DictionaryDownloadProgressBar.java | 152 private int mProgress; 156 setProgress(mProgress); 159 if (mProgress != progress) { 160 mProgress = progress;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
RequesterTestActivity.java | 77 private ProgressBar mProgress; 111 mProgress = (ProgressBar) findViewById(R.id.p2p_progress); 112 mProgress.setVisibility(ProgressBar.VISIBLE); 165 mProgress.setVisibility(ProgressBar.VISIBLE); 187 mProgress.setVisibility(ProgressBar.INVISIBLE); 198 mProgress.setVisibility(ProgressBar.INVISIBLE); 213 mProgress.setVisibility(ProgressBar.VISIBLE); 234 mProgress.setVisibility(ProgressBar.INVISIBLE);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SlideshowView.java | 126 private float mProgress; 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;
|
/development/samples/Support4Demos/src/com/example/android/supportv4/media/ |
MediaController.java | 48 private ProgressBar mProgress; 152 mProgress = (ProgressBar) findViewById(R.id.mediacontroller_progress); 153 if (mProgress != null) { 154 if (mProgress instanceof SeekBar) { 155 SeekBar seeker = (SeekBar) mProgress; 158 mProgress.setMax(1000); 225 if (mProgress != null) { 229 mProgress.setProgress( (int) pos); 232 mProgress.setSecondaryProgress(percent * 10);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ProgressBarCompat.java | 83 private int mProgress; 120 setProgress(a.getInt(1, mProgress)); 244 mProgress = 0; 373 doRefreshProgress(android.R.id.progress, mProgress, false, false); 394 private int mProgress; 399 mProgress = progress; 404 doRefreshProgress(mId, mProgress, mFromUser, true); 411 mProgress = progress; 482 if (progress != mProgress) { 483 mProgress = progress [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactsUnavailableFragment.java | 47 private ProgressBar mProgress; 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);
|