Home
last modified time | relevance | path

Searched refs:animations (Results 1 – 25 of 130) sorted by relevance

123456

/frameworks/base/core/java/android/view/animation/
DAnimationSet.java132 final ArrayList<Animation> animations = mAnimations; in clone() local
135 animation.mAnimations.add(animations.get(i).clone()); in clone()
186 final ArrayList<Animation> animations = mAnimations; in hasAlpha() local
189 if (animations.get(i).hasAlpha()) { in hasAlpha()
258 final ArrayList<Animation> animations = mAnimations; in setStartTime() local
261 Animation a = animations.get(i); in setStartTime()
271 final ArrayList<Animation> animations = mAnimations; in getStartTime() local
274 Animation a = animations.get(i); in getStartTime()
285 final ArrayList<Animation> animations = mAnimations; in restrictDuration() local
286 int count = animations.size(); in restrictDuration()
[all …]
/frameworks/base/docs/html/design/material/
Dindex.jd53 <li>New APIs for custom shadows and animations</li>
63 their color palette, and default animations for touch feedback and activity transitions.</p>
89 and animations:</p>
139 <p>The new animation APIs let you create custom animations for touch feedback in UI controls,
146 Respond to touch events in your views with <strong>touch feedback</strong> animations.
149 Hide and show views with <strong>circular reveal</strong> animations.
152 Switch between activities with custom <strong>activity transition</strong> animations.
155 Create more natural animations with <strong>curved motion</strong>.
158 Animate changes in one or more view properties with <strong>view state change</strong> animations.
161 Show animations in <strong>state list drawables</strong> between view state changes.
[all …]
/frameworks/base/docs/html/training/transitions/
Doverview.jd21 transitions framework. This framework applies one or more animations to all the views in the
27 <dt><em>Group-level animations</em></dt>
30 <dd>Runs animations based on the changes between starting and ending view property values.</dd>
31 <dt><em>Built-in animations</em></dt>
32 <dd>Includes predefined animations for common effects such as fade out or movement.</dd>
49 <dd>Loads view hierarchies and built-in animations from layout resource files.</dd>
70 <p>The transitions framework works in parallel with view hierarchies and animations. The
76 objects, and animations:</p>
114 Changes to the scene and animations that affect the scene occur within the scene root.</p>
123 <p>In the transitions framework, animations create a series of frames that depict a change
[all …]
Dindex.jd38 different view hierarchies in your user interface. These animations give users feedback on
43 changing some of their property values over time. The framework includes built-in animations
44 for common effects and lets you create custom animations and transition lifecycle callbacks.</p>
46 <p>This class teaches you to use the built-in animations in the transitions framework to
48 animations.</p>
Dcustom-transitions.jd22 <p>A custom transition, like one of the built-in transition types, applies animations to
24 however, you have to provide the code that captures property values and generates animations.
27 <p>This lesson teaches you to capture property values and generate animations to create
59 <p>Transition animations use the property animation system described in
61 animations change a view property between a starting and ending value over a specified
/frameworks/base/docs/html/training/material/
Dget-started.jd38 Customize the <strong>animations</strong> in your app.</li>
51 animations.</p>
77 default animations for touch feedback and activity transitions. For more details, see
112 <p>The new <code>translationZ</code> property lets you create animations that reflect temporary
114 <a href="{@docRoot}training/material/animations.html#ViewState">responding to touch
145 <p>Android 5.0 (API level 21) includes new APIs to create custom animations in your app.
173 href="{@docRoot}training/material/animations.html">Defining Custom Animations</a>.</p>
Dshadows-clipping.jd31 <p>Elevation is also useful to create animations where widgets temporarily rise above the
45 <li>Translation: The dynamic component used for animations.</li>
68 specify these animations in a declarative way. This is especially useful for cases where state
69 changes trigger animations, like when a user presses a button. For more information, see
70 <a href="{@docRoot}training/material/animations.html#ViewState">Animate View State Changes</a>.</p>
135 href="{@docRoot}training/material/animations.html#Reveal">Reveal Effect</a> animation.</p>
Dtheme.jd26 <li>Touch feedback animations for the system widgets</li>
27 <li>Activity transition animations</li>
34 <p>The system widgets have a new design and touch feedback animations. You can customize the
35 color palette, the touch feedback animations, and the activity transitions for your app.</p>
114 animations or fading.</p>
Dindex.jd32 <li>Custom animations</li>
56 <dt><a href="{@docRoot}training/material/animations.html">Defining Custom Animations</a></dt>
57 …<dd>Learn how to create custom animations for views and activity transitions with shared elements.…
/frameworks/base/docs/html/training/wearables/watch-faces/
Dperformance.jd32 Watch faces with animations must run smoothly while accommodating
103 <p>The best practices in this section help to reduce the power consumption of animations.</p>
105 <h3>Reduce the frame rate of animations</h3>
108 animations look fluid at 30 frames per second, so you should avoid running your animations
111 <h3>Let the CPU sleep between animations</h3>
114 face should let the CPU sleep in between animations. For example, you can use short bursts of
118 <p>To maximize battery life, use animations sparingly. Even a blinking colon wakes up the CPU with
134 method drastically reduces the frame rate at which the system can run your animations.</p>
156 the performance of your animations, but it also saves power.</p>
/frameworks/base/docs/html/training/animation/
Dlayout.jd29 …Android system to animate these layout changes, and system-default animations are carried out for …
31 <p class="note"><strong>Tip</strong>: If you want to supply custom layout animations,
63 attribute to <code>true</code> for the layout that you want to enable animations for.
Dindex.jd46 Keep in mind though, that overusing animations or using them at the wrong time can be
48 implement some common types of animations that can increase usability and add flair without
85 …Learn how to enable built-in animations when adding, removing, or updating child views in a layout.
Dcardflip.jd38 animation with custom fragment animations.
94 Create the animations for the card flips. You'll need two animators for when the front
348 <li>Sets the custom animations that you created earlier for the fragment transitions.
351 with the custom animations that you created.
370 // the back of the card, uses custom animations, and is part of the fragment
376 // Replace the default fragment animations with animator resources
/frameworks/base/docs/html/guide/topics/resources/
Davailable-resources.jd23 <dd>Define pre-determined animations.<br/>
24 Tween animations are saved in {@code res/anim/} and accessed from the {@code R.anim} class.<br/>
25 Frame animations are saved in {@code res/drawable/} and accessed from the {@code R.drawable} class.…
/frameworks/base/docs/html/guide/topics/graphics/
Dprop-animation.jd81 <li>Animator sets: You can group animations into logical sets that play together or
102 <p>You can also specify animations to have a non-linear interpolation. Figure 2 illustrates a
113 would calculate animations like the ones illustrated above. Figure 3 depicts how the main classes
116 <p class="img-caption"><strong>Figure 3.</strong> How animations are calculated</p>
203 animations. You normally do not use this class directly as it only provides minimal
246 <td>Provides a mechanism to group animations together so that they run in
247 relation to one another. You can set animations to play together, sequentially, or after
249 animations with Animator Sets</a> for more information.</td>
303 function of time. For example, you can specify animations to happen linearly across the whole
304 animation, meaning the animation moves evenly the entire time, or you can specify animations
[all …]
Dindex.jd3 …oid's powerful graphics features such as OpenGL, hardware acceleration, and built-in UI animations.
13 href="http://android-developers.blogspot.com/2011/11/android-40-graphics-and-animations.html">
Doverview.jd39 …graphical tasks are best accomplished with varying techniques. For example, graphics and animations
40 for a rather static application should be implemented much differently than graphics and animations
53 animations.</dd>
/frameworks/base/docs/html/training/wearables/ui/
Dconfirm.jd25 <p>The Wearable UI Library helps you show confirmation animations and timers in your
32 <dt><em>Confirmation animations</em></dt>
33 <dd>Confirmation animations give users visual feedback when they complete an action.</dd>
137 one of the these animations with the
/frameworks/base/docs/html-intl/intl/ru/training/material/
Dshadows-clipping.jd69 <a href="{@docRoot}training/material/animations.html#ViewState">Анимация изменений состояния предст…
133 …мого эффекта используйте анимацию <a href="{@docRoot}training/material/animations.html#Reveal">эфф…
/frameworks/base/docs/html-intl/intl/zh-tw/training/material/
Dshadows-clipping.jd68 如需詳細資訊,請參閱<a href="{@docRoot}training/material/animations.html#ViewState">動畫顯示視圖狀態變更</a>。
133 如果想要達到這種效果,請使用<a href="{@docRoot}training/material/animations.html#Reveal">顯示效果</a>動畫。</p>
Dget-started.jd112 高度變化可以用來<a href="{@docRoot}training/material/animations.html#ViewState">回應輕觸手勢</a>。
171 <p>如需深入了解新的動畫 API,請參閱<a href="{@docRoot}training/material/animations.html">定義自訂動畫</a>。</p>
/frameworks/base/docs/html-intl/intl/ko/training/material/
Dshadows-clipping.jd69 <a href="{@docRoot}training/material/animations.html#ViewState">뷰 상태 변경 애니메이트</a>를 참조하세요.</p>
133 이 효과를 얻으려면 <a href="{@docRoot}training/material/animations.html#Reveal">표시 효과</a> 애니메이션을 사용하세요.</p>
Dget-started.jd113 <a href="{@docRoot}training/material/animations.html#ViewState">터치
171 <p>새 애니메이션 API에 대한 자세한 내용은 <a href="{@docRoot}training/material/animations.html">사용자지정 애니메이션 정의</a>…
/frameworks/base/docs/html-intl/intl/zh-cn/training/material/
Dshadows-clipping.jd68 如果要了解更多信息,请参阅<a href="{@docRoot}training/material/animations.html#ViewState">为视图状态改变添加动画</a>。
133 如果要实现此效果,请使用<a href="{@docRoot}training/material/animations.html#Reveal">揭露效果</a>动画。</p>
/frameworks/base/docs/html-intl/intl/ja/training/material/
Dshadows-clipping.jd69 <a href="{@docRoot}training/material/animations.html#ViewState">ビューの状態遷移にアニメーションを付ける</a>をご覧ください。</p>
133 この効果を発揮させるには、<a href="{@docRoot}training/material/animations.html#Reveal">出現エフェクト</a>アニメーションを使用します。…

123456