/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
H A D | AlphaAnimation.java | 44 protected void onCalculate(float progress) { argument 46 + (mEndAlpha - mStartAlpha) * progress, 0f, 1f);
|
H A D | FloatAnimation.java | 33 protected void onCalculate(float progress) { argument 34 mCurrent = mFrom + (mTo - mFrom) * progress;
|
H A D | AnimationSet.java | 48 protected void onCalculate(float progress) { argument
|
H A D | Animation.java | 34 // In step 3, onCalculate(float progress) is called so subclasses can calculate 35 // the value according to progress (progress is a value in [0,1]). 38 // can change the progress value. The interpolator can be set by 91 abstract protected void onCalculate(float progress); argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/ |
H A D | ScaleSeekBar.java | 33 void onProgressChanged(float progress, boolean fromUser); argument 46 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { 47 listener.onProgressChanged((float) progress / getMax(), fromUser); 60 public void setProgress(float progress) { argument 61 setProgress((int) (progress * getMax()));
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
H A D | ProgressCallbackEntity.java | 81 private void broadcastProgressIfNeeded(int progress) { argument 84 intent.putExtra("progress", progress);
|
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/ |
H A D | SeekBar.java | 26 * the thumb and drag left or right to set the current progress level or use the arrow keys. 37 * A callback that notifies clients when the progress level has been 45 * Notification that the progress level has changed. Clients can use the fromUser parameter 48 * @param seekBar The SeekBar whose progress has changed 49 * @param progress The current progress level. This will be in the range 0..max where max 51 * @param fromUser True if the progress change was initiated by the user. 53 void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser); argument 94 * Sets a listener to receive notifications of changes to the SeekBar's progress level. Also
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
H A D | ProgressBar.java | 29 * Draw a progress bar for media items, transitions and the audio track 41 * Get the progress bar singleton 45 * @return The progress bar 63 // Prepare the progress bitmap 81 * Draw the progress bar 84 * @param progress The progress (between 0 and 100) 89 public void draw(Canvas canvas, int progress, Rect dest, int left, int width) { argument 90 switch (progress) { 106 dest.right = ((width - left) * progress) / 10 [all...] |
H A D | AudioTrackView.java | 271 * The audio track processing progress 273 * @param progress The progress 275 public void setProgress(int progress) { argument 276 mProgress = progress;
|
H A D | TransitionView.java | 122 // Initialize the progress value 189 * Resets the transition generation progress. 196 * Sets the transition generation progress. 198 public void setGeneratingTransitionProgress(int progress) { argument 199 if (progress == 100) { 204 mGeneratingTransitionProgress = progress; 211 * @return true if generation is in progress 220 * @param playback true if playback is in progress
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | PageProgressView.java | 101 void setProgress(int progress) { argument 103 mTargetProgress = progress;
|
H A D | TitleBar.java | 75 mProgress = (PageProgressView) findViewById(R.id.progress); 113 void setShowProgressOnly(boolean progress) { argument 114 if (progress && !wantsToBeVisible()) { 222 * Update the progress, from 0 to 100.
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | Mosaic.cpp | 179 int Mosaic::createMosaic(float &progress, bool &cancelComputation) argument 184 progress = TIME_PERCENT_ALIGN + TIME_PERCENT_BLEND 203 mosaicWidth, mosaicHeight, progress, cancelComputation);
|
/packages/apps/Email/src/com/android/email/ |
H A D | ControllerResultUiThreadWrapper.java | 62 final long messageId, final long attachmentId, final int progress) { 71 progress); 78 final long messageId, final int progress) { 82 mWrappee.loadMessageForViewCallback(result, accountId, messageId, progress); 89 final long messageId, final int progress) { 93 mWrappee.sendMailCallback(result, accountId, messageId, progress); 100 final long mailboxId, final int progress, final long tag) { 104 mWrappee.serviceCheckMailCallback(result, accountId, mailboxId, progress, tag); 111 final long mailboxId, final int progress, final int numNewMessages, 116 mWrappee.updateMailboxCallback(result, accountId, mailboxId, progress, 61 loadAttachmentCallback(final MessagingException result, final long accountId, final long messageId, final long attachmentId, final int progress) argument 77 loadMessageForViewCallback(final MessagingException result, final long accountId, final long messageId, final int progress) argument 88 sendMailCallback(final MessagingException result, final long accountId, final long messageId, final int progress) argument 99 serviceCheckMailCallback(final MessagingException result, final long accountId, final long mailboxId, final int progress, final long tag) argument 110 updateMailboxCallback(final MessagingException result, final long accountId, final long mailboxId, final int progress, final int numNewMessages, final ArrayList<Long> addedMessages) argument 123 updateMailboxListCallback(final MessagingException result, final long accountId, final int progress) argument [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | AttachmentLoader.java | 82 private void doProgressCallback(int progress) { argument 85 EmailServiceStatus.IN_PROGRESS, progress); 126 // Keep track of how much we've read for progress callback 137 // Report progress back to the UI
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | PositionRepository.java | 86 Position source, Position target, Position output, float progress) { 87 if (progress < 1f) { 89 Utils.interpolateScale(source.x, target.x, progress), 90 Utils.interpolateScale(source.y, target.y, progress), 91 Utils.interpolateScale(source.z, target.z, progress), 92 Utils.interpolateAngle(source.theta, target.theta, progress), 93 Utils.interpolateScale(source.alpha, target.alpha, progress)); 85 interpolate( Position source, Position target, Position output, float progress) argument
|
H A D | SlideshowView.java | 161 protected void onCalculate(float progress) { argument 162 mProgress = progress;
|
H A D | FlingScroller.java | 107 public void computeScrollOffset(float progress) { argument 108 progress = Math.min(progress, 1); 109 float f = 1 - progress; 113 mCurrV = getV(progress); 136 private double getV(float progress) { argument 139 Math.pow(1 - progress, DECELERATED_FACTOR - 1) / mDuration;
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
H A D | AbstractPublicApiTest.java | 121 // waits until progress_so_far is >= (progress)% 122 boolean runUntilProgress(int progress) throws InterruptedException { argument 145 if (numBytesReceivedSoFar * 100 / totalBytes >= progress) { 146 // progress_so_far is >= progress%. we are done
|
/packages/apps/Camera/src/com/android/camera/panorama/ |
H A D | PanoProgressBar.java | 103 public void setMaxProgress(int progress) { argument 104 mMaxProgress = progress; 127 public void setProgress(int progress) { argument 131 if (progress > 10) { 133 } else if (progress < -10) { 139 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; 143 // The right most progress is adjusted. 147 // The left most progress is adjusted. 166 // the progress area
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | MailboxFinder.java | 129 int progress) { 141 } else if (progress == 100) { 128 updateMailboxListCallback(MessagingException result, long accountId, int progress) argument
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
H A D | ActivityMusic.java | 323 public void onProgressChanged(final SeekBar seekBar, final int progress, 327 mAudioSession, ControlPanelEffect.Key.virt_strength, progress); 375 public void onProgressChanged(final SeekBar seekBar, final int progress, 379 mAudioSession, ControlPanelEffect.Key.bb_strength, progress); 661 public void onProgressChanged(final SeekBar seekbar, final int progress, final boolean fromUser) { argument 666 final short level = (short) (progress + mEqualizerMinBandLevel); 718 final int progress = level - mEqualizerMinBandLevel; 719 mEqualizerSeekBar[band].setProgress(progress);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | BrightnessPreference.java | 115 public void onProgressChanged(SeekBar seekBar, int progress, argument 117 setBrightness(progress + mScreenBrightnessDim); 226 myState.progress = mSeekBar.getProgress(); 248 setBrightness(myState.progress + mScreenBrightnessDim); 255 int progress; field in class:BrightnessPreference.SavedState 261 progress = source.readInt(); 270 dest.writeInt(progress);
|
H A D | PointerSpeedPreference.java | 81 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch) { argument 83 setSpeed(progress + MIN_SPEED); 152 myState.progress = mSeekBar.getProgress(); 171 mSeekBar.setProgress(myState.progress); 172 setSpeed(myState.progress + MIN_SPEED); 176 int progress; field in class:PointerSpeedPreference.SavedState 181 progress = source.readInt(); 188 dest.writeInt(progress);
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
H A D | Recorder.java | 105 public int progress() { method in class:Recorder
|