Home
last modified time | relevance | path

Searched refs:animation (Results 1 – 25 of 580) sorted by relevance

12345678910>>...24

/frameworks/base/docs/html/guide/topics/graphics/
Dprop-animation.jd42 "/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 …]
Dview-animation.jd3 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 …]
Ddrawable-animation.jd3 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>&lt;animation-list&gt;</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 &lt;animation-list xmlns:android="http://schemas.android.com/apk/res/android"
[all …]
/frameworks/support/design/base/android/support/design/widget/
DAnimationUtils.java19 import android.support.v4.view.animation.FastOutLinearInInterpolator;
20 import android.support.v4.view.animation.FastOutSlowInInterpolator;
21 import android.support.v4.view.animation.LinearOutSlowInInterpolator;
22 import android.view.animation.Animation;
23 import android.view.animation.DecelerateInterpolator;
24 import android.view.animation.Interpolator;
25 import android.view.animation.LinearInterpolator;
48 public void onAnimationStart(Animation animation) { in onAnimationStart() argument
52 public void onAnimationEnd(Animation animation) { in onAnimationEnd() argument
56 public void onAnimationRepeat(Animation animation) { in onAnimationRepeat() argument
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListWithDisappearingItemBug.java25 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/tools/layoutlib/bridge/src/com/android/internal/view/animation/
DNativeInterpolatorFactoryHelper_Delegate.java17 package com.android.internal.view.animation;
23 import android.view.animation.AccelerateDecelerateInterpolator;
24 import android.view.animation.AccelerateInterpolator;
25 import android.view.animation.AnticipateInterpolator;
26 import android.view.animation.AnticipateOvershootInterpolator;
27 import android.view.animation.BaseInterpolator;
28 import android.view.animation.BounceInterpolator;
29 import android.view.animation.CycleInterpolator;
30 import android.view.animation.DecelerateInterpolator;
31 import android.view.animation.Interpolator;
[all …]
/frameworks/support/v4/honeycomb_mr1/android/support/v4/animation/
DHoneycombMr1AnimatorCompatProvider.java17 package android.support.v4.animation;
19 import android.animation.Animator;
20 import android.animation.PropertyValuesHolder;
21 import android.animation.TimeInterpolator;
22 import android.animation.TypeEvaluator;
23 import android.animation.ValueAnimator;
81 public void onAnimationUpdate(ValueAnimator animation) { in addUpdateListener()
108 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
113 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
118 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DSystemBarScrimViews.java64 AnimationProps animation) { in updateNavBarScrim() argument
66 if (animateNavBarScrim && animation != null) { in updateNavBarScrim()
67 animateNavBarScrimVisibility(true, animation); in updateNavBarScrim()
86 private void animateNavBarScrimVisibility(boolean visible, AnimationProps animation) { in animateNavBarScrimVisibility() argument
94 if (animation != AnimationProps.IMMEDIATE) { in animateNavBarScrimVisibility()
97 .setDuration(animation.getDuration(AnimationProps.BOUNDS)) in animateNavBarScrimVisibility()
98 .setInterpolator(animation.getInterpolator(AnimationProps.BOUNDS)) in animateNavBarScrimVisibility()
119 AnimationProps animation = mShouldAnimateNavBarScrim in onBusEvent() local
124 animateNavBarScrimVisibility(true, animation); in onBusEvent()
134 AnimationProps animation = createBoundsAnimation( in onBusEvent() local
[all …]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DViewGroupBindingAdapter.java18 import android.animation.LayoutTransition;
27 import android.view.animation.Animation;
28 import android.view.animation.Animation.AnimationListener;
81 public void onAnimationStart(Animation animation) { in setListener()
83 start.onAnimationStart(animation); in setListener()
88 public void onAnimationEnd(Animation animation) { in setListener()
90 end.onAnimationEnd(animation); in setListener()
95 public void onAnimationRepeat(Animation animation) { in setListener()
97 repeat.onAnimationRepeat(animation); in setListener()
113 void onAnimationStart(Animation animation); in onAnimationStart() argument
[all …]
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp509 bool BootAnimation::parseAnimationDesc(Animation& animation) in parseAnimationDesc() argument
513 if (!readFile(animation.zip, "desc.txt", desString)) { in parseAnimationDesc()
520 if (readFile(animation.zip, "audio_conf.txt", audioConf)) { in parseAnimationDesc()
546 animation.width = width; in parseAnimationDesc()
547 animation.height = height; in parseAnimationDesc()
548 animation.fps = fps; in parseAnimationDesc()
559 part.animation = NULL; in parseAnimationDesc()
566 animation.parts.add(part); in parseAnimationDesc()
575 part.animation = loadAnimation(String8(SYSTEM_BOOTANIMATION_FILE)); in parseAnimationDesc()
576 if (part.animation != NULL) in parseAnimationDesc()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSettingsButton.java18 import android.animation.Animator;
19 import android.animation.Animator.AnimatorListener;
20 import android.animation.ObjectAnimator;
27 import android.view.animation.Animation;
28 import android.view.animation.AnimationUtils;
109 public void onAnimationStart(Animator animation) { in startExitAnimation()
113 public void onAnimationRepeat(Animator animation) { in startExitAnimation()
117 public void onAnimationEnd(Animator animation) { in startExitAnimation()
124 public void onAnimationCancel(Animator animation) { in startExitAnimation()
138 public void onAnimationStart(Animator animation) { in startAccelSpin()
[all …]
DTrustDrawable.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.ValueAnimator;
32 import android.view.animation.Interpolator;
254 public void onAnimationUpdate(ValueAnimator animation) {
255 mCurAlpha = (int) animation.getAnimatedValue();
263 public void onAnimationUpdate(ValueAnimator animation) {
264 mCurInnerRadius = (float) animation.getAnimatedValue();
273 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
[all …]
/frameworks/base/core/java/android/animation/
DAnimatorListenerAdapter.java17 package android.animation;
31 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
38 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
45 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument
52 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
59 public void onAnimationPause(Animator animation) { in onAnimationPause() argument
66 public void onAnimationResume(Animator animation) { in onAnimationResume() argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DRevealActivity.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
21 import android.animation.AnimatorSet;
45 public void onAnimationStart(Animator animation) {
46 Log.d("Reveal", "onAnimatorStart " + animation);
50 public void onAnimationRepeat(Animator animation) {
51 Log.d("Reveal", "onAnimationRepeat " + animation);
55 public void onAnimationEnd(Animator animation) {
56 Log.d("Reveal", "onAnimationEnd " + animation);
60 public void onAnimationCancel(Animator animation) {
[all …]
/frameworks/base/docs/html/guide/topics/resources/
Danimation-resource.jd13 <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/core/java/com/android/server/wm/
DAppWindowAnimator.java35 import android.view.animation.Animation;
36 import android.view.animation.Transformation;
54 Animation animation; field in AppWindowAnimator
123 animation = anim; in setAnimation()
170 animation = sDummyAnimation; in setDummyAnimation()
177 animation = null; in setNullAnimation()
182 if (animation != null) { in clearAnimation()
194 return animation != null || mAppToken.inPendingTransaction; in isAnimating()
213 if (animation != null) { in transferCurrentAnimation()
214 toAppAnimator.animation = animation; in transferCurrentAnimation()
[all …]
/frameworks/base/core/java/android/view/
DViewPropertyAnimator.java19 import android.animation.Animator;
20 import android.animation.ValueAnimator;
21 import android.animation.TimeInterpolator;
1073 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
1075 Runnable r = mAnimatorSetupMap.get(animation); in onAnimationStart()
1079 mAnimatorSetupMap.remove(animation); in onAnimationStart()
1082 Runnable r = mAnimatorOnStartMap.get(animation); in onAnimationStart()
1086 mAnimatorOnStartMap.remove(animation); in onAnimationStart()
1089 mListener.onAnimationStart(animation); in onAnimationStart()
1094 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DInterpolators.java19 import android.view.animation.AccelerateDecelerateInterpolator;
20 import android.view.animation.AccelerateInterpolator;
21 import android.view.animation.DecelerateInterpolator;
22 import android.view.animation.Interpolator;
23 import android.view.animation.LinearInterpolator;
24 import android.view.animation.PathInterpolator;
/frameworks/support/v4/donut/android/support/v4/animation/
DAnimatorListenerCompat.java17 package android.support.v4.animation;
33 void onAnimationStart(ValueAnimatorCompat animation); in onAnimationStart() argument
41 void onAnimationEnd(ValueAnimatorCompat animation); in onAnimationEnd() argument
49 void onAnimationCancel(ValueAnimatorCompat animation); in onAnimationCancel() argument
56 void onAnimationRepeat(ValueAnimatorCompat animation); in onAnimationRepeat() argument
/frameworks/base/core/java/com/android/internal/widget/
DDrawableHolder.java21 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
/frameworks/base/core/java/android/view/animation/
DLayoutAnimationController.java17 package android.view.animation;
133 public LayoutAnimationController(Animation animation) { in LayoutAnimationController() argument
134 this(animation, 0.5f); in LayoutAnimationController()
144 public LayoutAnimationController(Animation animation, float delay) { in LayoutAnimationController() argument
146 setAnimation(animation); in LayoutAnimationController()
200 public void setAnimation(Animation animation) { in setAnimation() argument
201 mAnimation = animation; in setAnimation()
327 final Animation animation = mAnimation.clone(); in getAnimationForView() local
328 animation.setStartOffset(delay); in getAnimationForView()
329 return animation; in getAnimationForView()
/frameworks/base/services/core/java/com/android/server/policy/
DStatusBarController.java27 import android.view.animation.Animation;
28 import android.view.animation.AnimationSet;
29 import android.view.animation.Interpolator;
30 import android.view.animation.TranslateAnimation;
158 private static TranslateAnimation findTranslateAnimation(Animation animation) { in findTranslateAnimation() argument
159 if (animation instanceof TranslateAnimation) { in findTranslateAnimation()
160 return (TranslateAnimation) animation; in findTranslateAnimation()
161 } else if (animation instanceof AnimationSet) { in findTranslateAnimation()
162 AnimationSet set = (AnimationSet) animation; in findTranslateAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogMotion.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.TimeInterpolator;
22 import android.animation.ValueAnimator;
23 import android.animation.ValueAnimator.AnimatorUpdateListener;
32 import android.view.animation.PathInterpolator;
137 public void onAnimationUpdate(ValueAnimator animation) { in startShowAnimation()
152 public void onAnimationEnd(Animator animation) { in startShowAnimation()
158 public void onAnimationCancel(Animator animation) { in startShowAnimation()
165 public void onAnimationUpdate(ValueAnimator animation) { in startShowAnimation()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/animation/
DCurvedTranslateAnimation.java17 package com.android.server.wm.animation;
19 import android.animation.KeyframeSet;
20 import android.animation.PathKeyframes;
23 import android.view.animation.Animation;
24 import android.view.animation.Transformation;
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistDisclosure.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.ValueAnimator;
34 import android.view.animation.AnimationUtils;
136 public void onAnimationStart(Animator animation) { in AssistDisclosureView()
141 public void onAnimationCancel(Animator animation) { in AssistDisclosureView()
146 public void onAnimationEnd(Animator animation) { in AssistDisclosureView()
251 public void onAnimationUpdate(ValueAnimator animation) { in onAnimationUpdate() argument
252 if (animation == mAlphaOutAnimator) { in onAnimationUpdate()
[all …]

12345678910>>...24