/packages/apps/Browser/src/com/android/browser/ |
H A D | LogTag.java | 42 * @param duration the time the browser spent loading the page. 44 public static void logPageFinishedLoading(String url, long duration) { argument 46 + duration); 53 * @param duration the time spent on the webpage. 55 public static void logTimeOnPage(String url, long duration) { argument 57 + duration);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactNameHighlightingAnimation.java | 32 public ContactNameHighlightingAnimation(ListView listView, int duration) { argument 33 super(duration);
|
/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);
|
H A D | TextHighlightingAnimation.java | 173 public TextHighlightingAnimation(int duration) { argument 174 mDuration = 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;
|
H A D | StateTransitionAnimation.java | 38 public int duration = 330; field in class:StateTransitionAnimation.Spec 109 setDuration(mTransitionSpec.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/Dialer/src/com/android/dialer/ |
H A D | PhoneCallDetails.java | 45 /** The duration of the call in milliseconds, or 0 for missed calls. */ 46 public final long duration; field in class:PhoneCallDetails 66 int[] callTypes, long date, long duration) { 68 callTypes, date, duration, "", 0, "", null, null); 74 int[] callTypes, long date, long duration, CharSequence name, 84 this.duration = duration; 64 PhoneCallDetails(CharSequence number, int numberPresentation, CharSequence formattedNumber, String countryIso, String geocode, int[] callTypes, long date, long duration) argument 72 PhoneCallDetails(CharSequence number, int numberPresentation, CharSequence formattedNumber, String countryIso, String geocode, int[] callTypes, long date, long duration, CharSequence name, int numberType, CharSequence numberLabel, Uri contactUri, Uri photoUri) argument
|
/packages/apps/DeskClock/src/com/android/deskclock/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/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/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/services/Telephony/src/com/android/phone/ |
H A D | CallLogger.java | 59 final long duration = c.getDurationMillis(); 82 logCall(ci, logNumber, presentation, callLogType, date, duration); 110 long duration) { 128 + "," + presentation + ", " + callType + ", " + start + ", " + duration); 132 presentation, callType, start, duration); 109 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 | 222 float toY, int startDelay, int duration) { 228 translateAnimator.setDuration(duration); 221 translateViews(List<Animator> animators, List<View> views, float fromY, float toY, int startDelay, int duration) argument
|
/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.
|
H A D | DeleteDropTarget.java | 310 * For this animation, the alpha runs for a fixed duration and we update the position 361 DragObject d, PointF vel, final long startTime, final int duration, 389 final int duration = FLING_DELETE_ANIMATION_DURATION; 407 startTime) / duration); 418 duration, config); 434 dragLayer.animateView(d.dragView, updateCb, duration, tInterpolator, onAnimationEndRunnable, 360 createFlingAlongVectorAnimatorListener(final DragLayer dragLayer, DragObject d, PointF vel, final long startTime, final int duration, ViewConfiguration config) argument
|
H A D | DragView.java | 205 public void crossFade(int duration) { argument 207 va.setDuration(duration);
|
H A D | LauncherViewPropertyAnimator.java | 159 public Animator setDuration(long duration) { argument 161 mDuration = duration;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
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.
|
H A D | DeleteDropTarget.java | 413 * For this animation, the alpha runs for a fixed duration and we update the position 464 DragObject d, PointF vel, final long startTime, final int duration, 492 final int duration = FLING_DELETE_ANIMATION_DURATION; 510 startTime) / duration); 521 duration, config); 537 dragLayer.animateView(d.dragView, updateCb, duration, tInterpolator, onAnimationEndRunnable, 463 createFlingAlongVectorAnimatorListener(final DragLayer dragLayer, DragObject d, PointF vel, final long startTime, final int duration, ViewConfiguration config) argument
|
H A D | DragView.java | 205 public void crossFade(int duration) { argument 207 va.setDuration(duration);
|
/packages/providers/CalendarProvider/ |
H A D | maketests.py | 80 duration = ""
variable 98 duration = re_duration.group(1)
variable
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | MediaSaveService.java | 120 public void addVideo(String path, long duration, ContentValues values, argument 124 new VideoSaveTask(path, duration, values, l, resolver).execute(); 197 private long duration; field in class:MediaSaveService.VideoSaveTask 202 public VideoSaveTask(String path, long duration, ContentValues values, argument 205 this.duration = duration; 214 values.put(Video.Media.DURATION, duration);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastAlertAudio.java | 55 /** Extra for alert audio duration (from settings). */ 75 /** Pause duration between alert sound and alert speech. */ 247 int duration = intent.getIntExtra(ALERT_AUDIO_DURATION_EXTRA, 10500); 285 play(duration); // in milliseconds 303 * @param duration the alert sound duration in milliseconds 305 private void play(int duration) { argument 349 // stop alert after the specified duration 350 mHandler.sendMessageDelayed(mHandler.obtainMessage(ALERT_SOUND_FINISHED), duration);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | Paper.java | 122 private void startAnimation(float start, float finish, long duration, argument 126 mDuration = duration;
|