/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
D | FirstFrameAnimatorHelper.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.ValueAnimator; 22 import android.animation.Animator.AnimatorListener; 54 public void onAnimationStart (Animator animation) { in FirstFrameAnimatorHelper() 55 final ValueAnimator va = (ValueAnimator) animation; in FirstFrameAnimatorHelper() 80 public void onAnimationUpdate(final ValueAnimator animation) { in onAnimationUpdate() argument 97 animation.setCurrentPlayTime(0); in onAnimationUpdate() 105 animation.setCurrentPlayTime(IDEAL_FRAME_DURATION); in onAnimationUpdate() 111 animation.removeUpdateListener(FirstFrameAnimatorHelper.this); in onAnimationUpdate() [all …]
|
/frameworks/base/docs/html/guide/topics/graphics/ |
D | prop-animation.jd | 42 "/reference/android/animation/ValueAnimator.html">ValueAnimator</a></code></li> 45 "/reference/android/animation/ObjectAnimator.html">ObjectAnimator</a></code></li> 48 "/reference/android/animation/TypeEvaluator.html">TypeEvaluator</a></code></li> 55 "{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/animation/index.html">API 60 <p>The property animation system is a robust framework that allows you 61 to animate almost anything. You can define an animation to change any object property over time, 62 regardless of whether it draws to the screen or not. A property animation changes a property's 67 <p>The property animation system lets you define the following characteristics of an 68 animation:</p> 71 <li>Duration: You can specify the duration of an animation. The default length is 300 ms.</li> [all …]
|
D | view-animation.jd | 3 parent.link=animation.html 8 <p>You can use the view animation system to perform tweened animation on Views. Tween animation 9 calculates the animation with information such as the start point, end point, size, rotation, and 10 other common aspects of an animation. 13 <p>A tween animation can perform a series of simple transformations (position, size, rotation, 17 android.view.animation animation package} provides all the classes used in a tween animation.</p> 19 <p>A sequence of animation instructions defines the tween animation, defined by either XML or 21 reusable, and swappable than hard-coding the animation. In the example below, we use XML. (To 22 learn more about defining an animation in your application code, instead of XML, refer to the 23 {@link android.view.animation.AnimationSet} class and other {@link [all …]
|
D | drawable-animation.jd | 3 parent.link=animation.html 6 <p>Drawable animation lets you load a series of Drawable resources one after 7 …another to create an animation. This is a traditional animation in the sense that it is created wi… 11 <p>While you can define the frames of an animation in your code, using the {@link 13 single XML file that lists the frames that compose the animation. The XML file for this kind 14 of animation belongs in the <code>res/drawable/</code> directory of 16 the animation.</p> 18 <p>The XML file consists of an <code><animation-list></code> element as the root node and a 20 the frame and the frame duration. Here's an example XML file for a Drawable animation:</p> 22 <animation-list xmlns:android="http://schemas.android.com/apk/res/android" [all …]
|
D | overview.jd | 4 …<p>Android provides a variety of powerful APIs for applying animation to UI elements and drawing c… 8 <h3 id="animation">Animation</h3> 10 <p>The Android framework provides two animation systems: property animation 11 (introduced in Android 3.0) and view animation. Both animation systems are viable options, 12 but the property animation system, in general, is the preferred method to use, because it 14 animation, which allows you to load drawable resources and display them one frame after 18 <dt><strong><a href="{@docRoot}guide/topics/graphics/prop-animation.html">Property 20 <dd>Introduced in Android 3.0 (API level 11), the property animation system lets you 24 <dt><strong><a href="{@docRoot}guide/topics/graphics/view-animation.html">View 30 <dt><strong><a href="{@docRoot}guide/topics/graphics/drawable-animation.html">Drawable [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListWithDisappearingItemBug.java | 25 import android.view.animation.AlphaAnimation; 26 import android.view.animation.Animation; 27 import android.view.animation.AnimationSet; 28 import android.view.animation.LayoutAnimationController; 29 import android.view.animation.TranslateAnimation; 63 Animation animation = new AlphaAnimation(0.0f, 1.0f); in onCreate() local 64 animation.setDuration(50); in onCreate() 65 set.addAnimation(animation); in onCreate() 67 animation = new TranslateAnimation( in onCreate() 71 animation.setDuration(100); in onCreate() [all …]
|
/frameworks/base/core/java/android/animation/ |
D | AnimatorSet.java | 17 package android.animation; 217 childList.add(node.animation); in getChildAnimations() 232 Animator animation = node.animation; in setTarget() local 233 if (animation instanceof AnimatorSet) { in setTarget() 234 ((AnimatorSet)animation).setTarget(target); in setTarget() 235 } else if (animation instanceof ObjectAnimator) { in setTarget() 236 ((ObjectAnimator)animation).setTarget(target); in setTarget() 320 node.animation.cancel(); in cancel() 349 node.animation.addListener(mSetListener); in end() 357 node.animation.end(); in end() [all …]
|
D | AnimatorListenerAdapter.java | 17 package android.animation; 30 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument 37 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument 44 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument 51 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
|
D | Animator.java | 17 package android.animation; 258 void onAnimationStart(Animator animation); in onAnimationStart() argument 266 void onAnimationEnd(Animator animation); in onAnimationEnd() argument 274 void onAnimationCancel(Animator animation); in onAnimationCancel() argument 281 void onAnimationRepeat(Animator animation); in onAnimationRepeat() argument
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
D | KeyguardGlowStripView.java | 18 import android.animation.Animator; 19 import android.animation.AnimatorListenerAdapter; 20 import android.animation.ValueAnimator; 21 import android.animation.ValueAnimator.AnimatorUpdateListener; 27 import android.view.animation.DecelerateInterpolator; 28 import android.view.animation.Interpolator; 29 import android.view.animation.LinearInterpolator; 119 public void onAnimationEnd(Animator animation) { in makeEmGo() 126 public void onAnimationStart(Animator animation) { in makeEmGo() 132 public void onAnimationUpdate(ValueAnimator animation) { in makeEmGo() [all …]
|
D | KeyguardSecurityViewHelper.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.ObjectAnimator; 42 public void onAnimationCancel(Animator animation) { in showBouncer() 48 public void onAnimationEnd(Animator animation) { in showBouncer()
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | animation-resource.jd | 13 <li><a href="#Tween">Tween animation</a></li> 14 <li><a href="#Frame">Frame animation</a></li> 20 <li><a href="{@docRoot}guide/topics/graphics/view-animation.html">View Animation</a></li> 21 <li><a href="{@docRoot}guide/topics/graphics/prop-animation.html">Property Animation</a></li> 27 <p>An animation resource can define one of two types of animations:</p> 31 <dd>Creates an animation by modifying an object's property values over a set period 32 of time with an {@link android.animation.Animator}.</dd> 35 <p>There are two types of animations that you can do with the view animation framework:</p> 37 …<li><a href="#Tween">Tween animation</a>: Creates an animation by performing a series of transform… 38 with an {@link android.view.animation.Animation}</li> [all …]
|
/frameworks/base/services/java/com/android/server/wm/ |
D | AppWindowAnimator.java | 12 import android.view.animation.Animation; 13 import android.view.animation.Transformation; 26 Animation animation; field in AppWindowAnimator 71 animation = anim; in setAnimation() 99 animation = sDummyAnimation; in setDummyAnimation() 106 if (animation != null) { in clearAnimation() 107 animation = null; in clearAnimation() 182 if (animation == null) { in stepAnimation() 186 final boolean more = animation.getTransformation(currentTime, transformation); in stepAnimation() 190 animation = null; in stepAnimation() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DrawableHolder.java | 21 import android.animation.Animator; 22 import android.animation.ObjectAnimator; 23 import android.animation.ValueAnimator; 24 import android.animation.Animator.AnimatorListener; 28 import android.view.animation.DecelerateInterpolator; 210 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument 214 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument 215 mAnimators.remove(animation); in onAnimationEnd() 218 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument 222 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
|
D | AbsActionBarView.java | 22 import android.animation.Animator; 23 import android.animation.AnimatorSet; 24 import android.animation.ObjectAnimator; 25 import android.animation.TimeInterpolator; 32 import android.view.animation.DecelerateInterpolator; 253 public void onAnimationStart(Animator animation) { in onAnimationStart() argument 255 mVisibilityAnim = animation; in onAnimationStart() 260 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument 271 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument 276 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument
|
/frameworks/base/core/java/android/view/animation/ |
D | LayoutAnimationController.java | 17 package android.view.animation; 131 public LayoutAnimationController(Animation animation) { in LayoutAnimationController() argument 132 this(animation, 0.5f); in LayoutAnimationController() 142 public LayoutAnimationController(Animation animation, float delay) { in LayoutAnimationController() argument 144 setAnimation(animation); in LayoutAnimationController() 198 public void setAnimation(Animation animation) { in setAnimation() argument 199 mAnimation = animation; in setAnimation() 325 final Animation animation = mAnimation.clone(); in getAnimationForView() local 326 animation.setStartOffset(delay); in getAnimationForView() 327 return animation; in getAnimationForView()
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
D | Tweener.java | 24 import android.animation.Animator.AnimatorListener; 25 import android.animation.Animator; 26 import android.animation.AnimatorListenerAdapter; 27 import android.animation.ObjectAnimator; 28 import android.animation.PropertyValuesHolder; 29 import android.animation.TimeInterpolator; 30 import android.animation.ValueAnimator.AnimatorUpdateListener; 143 public void onAnimationEnd(Animator animation) { 144 remove(animation); 148 public void onAnimationCancel(Animator animation) { [all …]
|
/frameworks/base/core/java/android/view/ |
D | ViewPropertyAnimator.java | 19 import android.animation.Animator; 20 import android.animation.ValueAnimator; 21 import android.animation.TimeInterpolator; 941 public void onAnimationStart(Animator animation) { in onAnimationStart() argument 943 Runnable r = mAnimatorSetupMap.get(animation); in onAnimationStart() 947 mAnimatorSetupMap.remove(animation); in onAnimationStart() 950 Runnable r = mAnimatorOnStartMap.get(animation); in onAnimationStart() 954 mAnimatorOnStartMap.remove(animation); in onAnimationStart() 957 mListener.onAnimationStart(animation); in onAnimationStart() 962 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MarqueeActivity.java | 23 import android.view.animation.Animation; 24 import android.view.animation.AnimationUtils; 60 Animation animation = AnimationUtils.loadAnimation(text2.getContext(), in onCreate() 62 animation.setFillEnabled(true); in onCreate() 63 animation.setFillAfter(true); in onCreate() 64 text2.startAnimation(animation); in onCreate()
|
D | ScaledTextActivity.java | 19 import android.animation.ObjectAnimator; 38 ObjectAnimator animation = ObjectAnimator.ofFloat(view, "textScale", 1.0f, 10.0f); in onCreate() local 39 animation.setDuration(3000); in onCreate() 40 animation.setRepeatCount(ObjectAnimator.INFINITE); in onCreate() 41 animation.setRepeatMode(ObjectAnimator.REVERSE); in onCreate() 42 animation.start(); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | AutoCancelTest.java | 16 package android.animation; 75 public void onAnimationStart(Animator animation) { in setupAnimators() 90 public void onAnimationStart(Animator animation) { in setupAnimators() 102 public void onAnimationEnd(Animator animation) { in setupAnimators() 189 public void onAnimationCancel(Animator animation) { 190 mCanceledMap.put(animation, true);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
D | NotificationPanel.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.AnimatorSet; 22 import android.animation.ObjectAnimator; 34 import android.view.animation.AccelerateInterpolator; 35 import android.view.animation.DecelerateInterpolator; 36 import android.view.animation.Interpolator; 404 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument 408 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument 420 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument [all …]
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 409 Animation animation; in movie() local 422 animation.width = width; in movie() 423 animation.height = height; in movie() 424 animation.fps = fps; in movie() 433 animation.parts.add(part); in movie() 440 const size_t pcount = animation.parts.size(); in movie() 450 if (path == animation.parts[j].path) { in movie() 460 Animation::Part& part(animation.parts.editItemAt(j)); in movie() 489 const int xc = (mWidth - animation.width) / 2; in movie() 490 const int yc = ((mHeight - animation.height) / 2); in movie() [all …]
|
/frameworks/base/docs/html/training/animation/ |
D | zoom.jd | 35 …This lesson demonstrates how to do a touch-to-zoom animation, which is useful for apps such as pho… 38 <p>Here's what a touch-to-zoom animation looks like that 50 Zoom animation 104 screen. To achieve the "zoom" animation, this view's bounds are animated 122 Once you apply your layout, set up the event handlers that trigger the zoom animation. 124 android.widget.ImageButton} to execute the zoom animation when the user 133 // The system "short" animation time duration, in milliseconds. This 153 // Retrieve and cache the system's default "short" animation time. 166 …nds of the larger-sized view. The following method shows you how to implement a zoom animation that 182 added to an {@link android.animation.AnimatorSet} so that they can be started at the same [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.ObjectAnimator; 22 import android.animation.Animator.AnimatorListener; 23 import android.animation.ValueAnimator; 24 import android.animation.ValueAnimator.AnimatorUpdateListener; 29 import android.view.animation.LinearInterpolator; 299 public void onAnimationEnd(Animator animation) { in dismissChild() 305 public void onAnimationUpdate(ValueAnimator animation) { in dismissChild() 319 public void onAnimationUpdate(ValueAnimator animation) { in snapChild()
|