/frameworks/base/core/java/android/app/ |
ProgressDialog.java | 66 private ProgressBar mProgress; 206 int progress = mProgress.getProgress(); 207 int max = mProgress.getMax(); 228 mProgress = (ProgressBar) view.findViewById(R.id.progress); 236 mProgress = (ProgressBar) view.findViewById(R.id.progress); 291 mProgress.setProgress(value); 307 if (mProgress != null) { 308 mProgress.setSecondaryProgress(secondaryProgress); 321 if (mProgress != null) { 322 return mProgress.getProgress() [all...] |
/packages/apps/Settings/src/com/android/settings/ |
AppProgressPreference.java | 25 private int mProgress; 34 mProgress = amount; 43 progress.setProgress(mProgress);
|
ProgressCategory.java | 31 private boolean mProgress = false; 67 progressBar.setVisibility(mProgress ? View.VISIBLE : View.GONE); 69 if (mProgress || !noDeviceFound) { 90 mProgress = progressOn;
|
/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 += 2; 63 if (mProgress <= 100) {
|
/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...] |
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
ExtendedBitmapDrawable.java | 69 private Progress mProgress; 130 mProgress = new Progress(mOpts.progressBar.getConstantState().newDrawable(mResources), mResources, 132 mProgress.setCallback(this); 133 mProgress.setBounds(getBounds()); 135 mProgress = null; 282 if (mProgress != null) onDrawPlaceholderOrProgress(canvas, mProgress); 305 if (mProgress != null) mProgress.setAlpha(alpha); 315 if (mProgress != null) mProgress.setColorFilter(cf) [all...] |
/packages/apps/TV/src/com/android/tv/menu/ |
PlaybackProgressBar.java | 40 private long mProgress = 0; 94 if (mProgress > max) { 95 mProgress = max; 107 mProgress = constrain(mProgress, start, end); 120 if (progress != mProgress) { 121 mProgress = progress; 138 boolean progressUpdated = setProgressBound(mPrimaryDrawable, mProgressStart, mProgress); 139 progressUpdated |= setProgressBound(mSecondaryDrawable, mProgress, mProgressEnd);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
PowerGaugePreference.java | 45 private CharSequence mProgress; 78 mProgress = Utils.formatPercentage(percentOfTotal, true); 83 return mProgress.toString(); 87 mProgress = subtitle; 92 return mProgress; 115 subtitle.setText(mProgress);
|
/frameworks/base/core/java/com/android/internal/util/ |
ProgressReporter.java | 65 private int mProgress = 0; 99 listener.onProgress(mId, mProgress, mExtras); 146 mProgress = mSegmentRange[0] 151 notifyProgress(mId, mProgress, mExtras); 163 mSegmentRange = new int[] { mProgress, (size * mSegmentRange[1] / 100) }; 173 mProgress = mSegmentRange[0] + mSegmentRange[1]; 179 return mProgress; 193 notifyProgress(mId, mProgress, mExtras);
|
/developers/build/prebuilts/gradle/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) {
|
/developers/samples/android/wearable/wear/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) {
|
/development/samples/browseable/Flashlight/src/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) {
|
/frameworks/base/core/java/android/preference/ |
SeekBarPreference.java | 35 private int mProgress; 77 seekBar.setProgress(mProgress); 83 setProgress(restoreValue ? getPersistedInt(mProgress) 123 if (progress != mProgress) { 124 mProgress = progress; 133 return mProgress; 142 if (progress != mProgress) { 146 seekBar.setProgress(mProgress); 167 if (seekBar.getProgress() != mProgress) { 188 myState.progress = mProgress; [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
SeekBarPreference.java | 41 private int mProgress; 97 mSeekBar.setProgress(mProgress); 128 setProgress(restoreValue ? getPersistedInt(mProgress) 193 if (progress != mProgress) { 194 mProgress = progress; 203 return mProgress; 212 if (progress != mProgress) { 216 seekBar.setProgress(mProgress); 237 if (seekBar.getProgress() != mProgress) { 258 myState.progress = mProgress; [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
DrawerArrowDrawable.java | 118 private float mProgress; 349 arrowHeadBarLength = lerp(mBarLength, arrowHeadBarLength, mProgress); 350 final float arrowShaftLength = lerp(mBarLength, mArrowShaftLength, mProgress); 352 final float arrowShaftCut = Math.round(lerp(0, mMaxCutForBarSize, mProgress)); 354 final float rotation = lerp(0, ARROW_HEAD_ANGLE, mProgress); 358 flipToPointRight ? 180 : 0, mProgress); 365 mProgress); 436 return mProgress; 447 if (mProgress != progress) { 448 mProgress = progress [all...] |
/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); 174 mProgress.setVisibility(ProgressBar.VISIBLE); 196 mProgress.setVisibility(ProgressBar.INVISIBLE); 207 mProgress.setVisibility(ProgressBar.INVISIBLE); 222 mProgress.setVisibility(ProgressBar.VISIBLE); 243 mProgress.setVisibility(ProgressBar.INVISIBLE);
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
AllAppsTransitionController.java | 77 // Animation in this class is controlled by a single variable {@link mProgress}. 81 // When {@link mProgress} is 0, all apps container is pulled up. 82 // When {@link mProgress} is 1, all apps container is pulled down. 85 private float mProgress; // [0, 1], mShiftRange * mProgress = shiftCurrent 112 mProgress = 1f; 177 return mProgress < RECATCH_REJECTION_FRACTION; 181 return mProgress > 1 - RECATCH_REJECTION_FRACTION; 314 float shiftPrevious = mProgress * mShiftRange; 315 mProgress = progress [all...] |
/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;
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactsUnavailableFragment.java | 52 private ProgressBar mProgress; 84 mProgress = (ProgressBar) mView.findViewById(R.id.progress); 117 mProgress.setVisibility(View.GONE); 127 mProgress.setVisibility(View.VISIBLE);
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
SwipeRefreshLayout.java | 149 CircularProgressDrawable mProgress; 183 mProgress.setAlpha(MAX_ALPHA); 184 mProgress.start(); 199 mProgress.stop(); 227 mProgress.setAlpha(targetAlpha); 310 mProgress.setStyle(size); 311 mCircleView.setImageDrawable(mProgress); 379 mProgress = new CircularProgressDrawable(getContext()); 380 mProgress.setStyle(CircularProgressDrawable.DEFAULT); 381 mCircleView.setImageDrawable(mProgress); [all...] |
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
ColorPickerDialog.java | 56 private ProgressBar mProgress; 111 mProgress = (ProgressBar) view.findViewById(android.R.id.progress); 149 if (mProgress != null && mPalette != null) { 150 mProgress.setVisibility(View.GONE); 157 if (mProgress != null && mPalette != null) { 158 mProgress.setVisibility(View.VISIBLE);
|