/packages/apps/Settings/src/com/android/settings/ |
AppProgressPreference.java | 25 private int mProgress; 34 mProgress = amount; 43 progress.setProgress(mProgress);
|
ProgressCategory.java | 30 private boolean mProgress = false; 63 progressBar.setVisibility(mProgress ? View.VISIBLE : View.GONE); 65 if (mProgress || !noDeviceFound) { 86 mProgress = progressOn;
|
/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...] |
/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...] |
/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); 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...] |
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
DrawerArrowDrawable.java | 114 private float mProgress; 345 arrowHeadBarLength = lerp(mBarLength, arrowHeadBarLength, mProgress); 346 final float arrowShaftLength = lerp(mBarLength, mArrowShaftLength, mProgress); 348 final float arrowShaftCut = Math.round(lerp(0, mMaxCutForBarSize, mProgress)); 350 final float rotation = lerp(0, ARROW_HEAD_ANGLE, mProgress); 354 flipToPointRight ? 180 : 0, mProgress); 361 mProgress); 432 return mProgress; 443 if (mProgress != progress) { 444 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); 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;
|
/frameworks/support/v4/java/android/support/v4/widget/ |
SwipeRefreshLayout.java | 142 private MaterialProgressDrawable mProgress; 178 mProgress.setAlpha(MAX_ALPHA); 179 mProgress.start(); 186 mProgress.stop(); 203 mProgress.setAlpha(targetAlpha); 264 mProgress.updateSizes(size); 265 mCircleView.setImageDrawable(mProgress); 330 mProgress = new MaterialProgressDrawable(getContext(), this); 331 mProgress.setBackgroundColor(CIRCLE_BG_LIGHT); 332 mCircleView.setImageDrawable(mProgress); [all...] |
/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);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactsUnavailableFragment.java | 45 private ProgressBar mProgress; 70 mProgress = (ProgressBar) mView.findViewById(R.id.progress); 96 mProgress.setVisibility(View.GONE); 106 mProgress.setVisibility(View.VISIBLE);
|
/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);
|
/packages/apps/Browser/src/com/android/browser/ |
TitleBar.java | 50 private PageProgressView mProgress; 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;
|
/frameworks/base/core/java/android/widget/ |
MediaController.java | 81 private ProgressBar mProgress; 296 mProgress = (ProgressBar) v.findViewById(com.android.internal.R.id.mediacontroller_progress); 297 if (mProgress != null) { 298 if (mProgress instanceof SeekBar) { 299 SeekBar seeker = (SeekBar) mProgress; 302 mProgress.setMax(1000); 343 if (mProgress != null && !mPlayer.canSeekBackward() && !mPlayer.canSeekForward()) { 344 mProgress.setEnabled(false); 447 if (mProgress != null) { 451 mProgress.setProgress( (int) pos) [all...] |