/packages/apps/Contacts/src/com/android/contacts/widget/ |
H A D | TransitionAnimationView.java | 72 * @param duration The duration the animation should last for. If -1, the system default(300) 75 public void startMaskTransition(boolean showMask, int duration) { argument 87 if (duration != -1) { 88 mAnimator.setDuration(duration);
|
/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
H A D | FloatAnimation.java | 25 public FloatAnimation(float from, float to, int duration) { argument 29 setDuration(duration);
|
H A D | Animation.java | 25 // 1. First we need to use setDuration(int) to set the duration of the 26 // animation. The duration is in milliseconds. 43 // before calculate is passed a value which reaches the duration of the 60 public void setDuration(int duration) { argument 61 mDuration = duration;
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
H A D | AudioRecordViewTest.java | 77 private void sleepNoThrow(final long duration) { argument 79 Thread.sleep(duration);
|
/packages/apps/Stk/src/com/android/stk/ |
H A D | StkApp.java | 48 * This function calculate the time in MS from a duration instance. 49 * returns zero when duration is null. 51 public static int calculateDurationInMilis(Duration duration) { argument 53 if (duration != null) { 54 switch (duration.timeUnit) { 66 timeout *= duration.timeInterval;
|
/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
H A D | ViewGroupItemVerticalExplodeAnimation.java | 67 * for the duration of the animation so that the animation won't get cancelled. 71 final View animationStagingView, final boolean snapshotView, final int duration) { 73 new ViewExplodeAnimationJellyBeanMR2(viewToAnimate, container, snapshotView, duration) 94 final boolean snapshotView, final int duration) { 97 mDuration = duration; 70 startAnimationForView(final ViewGroup container, final View viewToAnimate, final View animationStagingView, final boolean snapshotView, final int duration) argument 93 ViewExplodeAnimationJellyBeanMR2(final View viewToAnimate, final ViewGroup container, final boolean snapshotView, final int duration) argument
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
H A D | Tweener.java | 57 public static Tweener to(Object object, long duration, Object... vars) { argument 119 anim.setDuration(duration); 133 Tweener from(Object object, long duration, Object... vars) { argument 137 return Tweener.to(object, duration, vars);
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
H A D | SmsReleaseStorage.java | 36 * Class representing a time duration specified by Gservices 39 // Time duration unit types 61 * Parse message retaining time duration specified by Gservices 63 * @return The parsed time duration from Gservices 80 LogUtil.e(TAG, "SmsAutoDelete: invalid duration " + 86 * Get string representation of the time duration 88 * @param duration 91 public static String getMessageRetainingDurationString(final Duration duration) { argument 93 switch (duration.mUnit) { 96 R.plurals.week_count, duration 119 durationToTimeInMillis(final Duration duration) argument [all...] |
/packages/apps/Music/src/com/android/music/ |
H A D | RepeatingImageButton.java | 134 * @param duration The number of milliseconds the button has been pressed so far. 139 void onRepeat(View v, long duration, int repeatcount); argument
|
/packages/apps/TV/src/com/android/tv/ui/ |
H A D | IntroView.java | 86 protected void onStartEnterAnimation(TimeInterpolator interpolator, long duration) { argument 92 .setDuration(duration) 98 protected void onStartExitAnimation(TimeInterpolator interpolator, long duration, argument 104 .setDuration(duration)
|
H A D | FullscreenDialogView.java | 134 protected void onStartEnterAnimation(TimeInterpolator interpolator, long duration) { argument 140 protected void onStartExitAnimation(TimeInterpolator interpolator, long duration, argument
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/ac3/ |
H A D | AudioTrackMonitor.java | 56 * @param duration the frequency of monitoring in milliseconds 58 public void reset(long duration) { argument 60 mDuration = duration;
|
/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/ |
H A D | CallLogBackupAgentTest.java | 219 private static Call makeCall(int id, long date, long duration, String number) { argument 223 c.duration = duration;
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | CallLogger.java | 60 final long duration = c.getDurationMillis(); 83 logCall(ci, logNumber, presentation, callLogType, date, duration); 111 long duration) { 110 logCall(CallerInfo ci, String number, int presentation, int callType, long start, long duration) argument
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | EditorAnimator.java | 203 float toY, int startDelay, int duration) { 209 translateAnimator.setDuration(duration); 202 translateViews(List<Animator> animators, List<View> views, float fromY, float toY, int startDelay, int duration) argument
|
/packages/apps/Dialer/src/com/android/dialer/ |
H A D | PhoneCallDetails.java | 60 // The duration of the call in milliseconds, or 0 for missed calls. 61 public long duration; field in class:PhoneCallDetails
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | InterruptibleInOutAnimator.java | 48 public InterruptibleInOutAnimator(View view, long duration, float fromValue, float toValue) { argument 49 mAnimator = LauncherAnimUtils.ofFloat(view, fromValue, toValue).setDuration(duration); 50 mOriginalDuration = duration; 75 // Ensure we don't calculate a non-sensical duration 76 long duration = mOriginalDuration - currentPlayTime; 77 mAnimator.setDuration(Math.max(0, Math.min(duration, mOriginalDuration))); 104 * direction and animate for a correspondingly shorter duration. 114 * direction and animate for a correspondingly shorter duration.
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | InterruptibleInOutAnimator.java | 50 public InterruptibleInOutAnimator(View view, long duration, float fromValue, float toValue) { argument 51 mAnimator = LauncherAnimUtils.ofFloat(view, fromValue, toValue).setDuration(duration); 52 mOriginalDuration = duration; 77 // Ensure we don't calculate a non-sensical duration 78 long duration = mOriginalDuration - currentPlayTime; 79 mAnimator.setDuration(Math.max(0, Math.min(duration, mOriginalDuration))); 106 * direction and animate for a correspondingly shorter duration. 116 * direction and animate for a correspondingly shorter duration.
|
H A D | PinchToOverviewListener.java | 135 int duration = computeDuration(remainingProgress, progressVelocity); 137 cancelPinch(mPreviousProgress, duration); 141 mAnimationManager.animateToProgress(mPreviousProgress, toProgress, duration, 153 * speed. If this time is too long, instead return the normal duration, ignoring the speed. 163 * overview). If duration is -1, the default overview transition duration is used. 165 private void cancelPinch(float currentProgress, int duration) { argument 169 mAnimationManager.animateToProgress(currentProgress, toProgress, duration,
|
/packages/apps/PhoneCommon/src/com/android/phone/common/animation/ |
H A D | AnimUtils.java | 46 public static void crossFadeViews(View fadeIn, View fadeOut, int duration) { argument 47 fadeIn(fadeIn, duration); 48 fadeOut(fadeOut, duration); 51 public static void fadeOut(View fadeOut, int duration) { argument 52 fadeOut(fadeOut, duration, null); 125 * @param durationMs The duration of the scaling in milliseconds. 149 * @param durationMs The duration of the scaling in milliseconds.
|
/packages/providers/CalendarProvider/ |
H A D | maketests.py | 80 duration = ""
variable 98 duration = re_duration.group(1)
variable
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
H A D | FabDrawable.java | 68 * @param duration The animation duration for the growth of the fab and stroke. 70 public FabDrawable(int fabGrowth, int strokeWidth, int duration) { argument 80 mStrokeAnimator = ValueAnimator.ofFloat(0f, 1f).setDuration(duration);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
H A D | AppScanStats.java | 42 long duration; field in class:AppScanStats.LastScan 49 public LastScan(long timestamp, long duration, argument 51 this.duration = duration; 133 curr.duration = scanDuration; 247 sb.append(scan.duration + "ms "); 264 sb.append(" Current scan duration in ms : " +
|
/packages/apps/Camera2/src/com/android/camera/filmstrip/ |
H A D | FilmstripController.java | 108 * @param duration The duration of this scrolling. 111 public void scrollToPosition(int position, int duration, boolean interruptible); argument
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | AsyncRingtonePlayer.java | 195 * @param duration length of time over which the crescendo occurs 198 private static float computeVolume(long currentTime, long stopTime, long duration) { argument 201 final float fractionComplete = 1 - (elapsedCrescendoTime / duration); 216 * @return {@code true} iff the crescendo duration is more than 0 seconds 223 * @return the duration of the crescendo in milliseconds 280 /** The duration over which to increase the volume. */ 454 /** The duration over which to increase the volume. */
|