Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DScreenOffAnimationController.kt38 private val animations: List<ScreenOffAnimation> =
54 animations.firstOrNull { it.startAnimation() }
75 animations.any { it.shouldPlayAnimation() }
82 animations.any { it.isAnimationPlaying() }
95 animations.firstOrNull {
108 animations.any { it.isAnimationPlaying() }
114 animations.all { !it.isAnimationPlaying() }
130 animations.any { it.isKeyguardShowDelayed() }
142 animations.any { it.shouldPlayAnimation() }
161 animations.any { it.isAnimationPlaying() }
[all …]
/aosp14/frameworks/base/core/java/android/view/animation/
H A DAnimationSet.java132 final ArrayList<Animation> animations = mAnimations; in clone() 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()
274 Animation a = animations.get(i); in getStartTime()
286 int count = animations.size(); in restrictDuration()
302 final int count = animations.size(); in getDuration()
350 final Animation a = animations.get(i); in initializeInvalidateRegion()
401 final Animation a = animations.get(i); in getTransformation()
430 int count = animations.size(); in scaleCurrentDuration()
[all …]
/aosp14/frameworks/base/packages/SystemUI/docs/
H A Dphysics-animation-layout.md4animations for each of its child views. During the initial construction of the animations, the lay…
13 … the layout while constructing the animations, and animation control methods, which are called to …
16 ![Diagram of how animations are configured using the controller's configuration methods.](physics-a…
20 … such as TRANSLATION_X and TRANSLATION_Y, for which the layout should construct physics animations.
29 … use for animations of the given property. This allows the controller to configure stiffness and b…
44 …ich starts translationX and translationY animations, and calls the provided callbacks only when bo…
52 …, with an optional end action to call when the animations for every property (including chained an…
64 This would use the physics animations constructed by the layout to spring the view to *(100, 200)* …
104 …rently halfway down the left side of the screen). When the translation animations have finished fo…
120 … reconfigure the physics animations according to the new controller’s configuration methods, and h…
[all …]
H A Dphysics-animation-testing.md2 Physics animations are notoriously difficult to test, since they’re essentially small simulations. …
4animations. Manual testing should be sufficient to reveal flaws in the en-route animation visuals.…
7animations need to run on the main thread, and they’re asynchronous - the test has to wait for the…
11animations on a given property to complete before continuing the test. This works since the test i…
H A Dfalsing.md38 - Dragging animations, touch ripples, and other purely visual effects should not query.
H A Dqs-tiles.md86 …o apply the current `State` of the tile, modifying the icon (color and animations). Classes that i…
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/
H A DFreeformTaskTransitionHandler.java128 final ArrayList<Animator> animations = new ArrayList<>(); in startAnimation() local
130 if (!animations.isEmpty()) return; in startAnimation()
157 finishT, animations, onAnimFinish); in startAnimation()
165 mAnimations.put(transition, animations); in startAnimation()
169 for (Animator anim : animations) { in startAnimation()
183 ArrayList<Animator> animations = mAnimations.get(mergeTarget); in mergeAnimation() local
184 if (animations == null) return; in mergeAnimation()
186 for (Animator anim : animations) { in mergeAnimation()
223 SurfaceControl.Transaction finishT, ArrayList<Animator> animations, in startCloseTransition() argument
244 animations.remove(animator); in startCloseTransition()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DClockEventControllerTest.kt80 @Mock private lateinit var animations: ClockAnimations
118 whenever(smallClockController.animations).thenReturn(animations)
119 whenever(largeClockController.animations).thenReturn(animations)
204 verify(animations, times(2)).charge()
218 verify(animations, times(2)).charge()
230 verify(animations, never()).charge()
243 verify(animations, never()).charge()
263 verify(animations, never()).doze(0f)
266 verify(animations, times(2)).doze(0f)
304 verify(animations, times(2)).doze(0.4f)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
H A DScreenRotationAnimation.java248 boolean buildAnimation(@NonNull ArrayList<Animator> animations, in buildAnimation() argument
313 buildScreenshotAlphaAnimation(animations, finishCallback, mainExecutor); in buildAnimation()
314 startDisplayRotation(animations, finishCallback, mainExecutor); in buildAnimation()
316 startDisplayRotation(animations, finishCallback, mainExecutor); in buildAnimation()
317 startScreenshotRotationAnimation(animations, finishCallback, mainExecutor); in buildAnimation()
324 private void startDisplayRotation(@NonNull ArrayList<Animator> animations, in startDisplayRotation() argument
326 buildSurfaceAnimation(animations, mRotateEnterAnimation, mSurfaceControl, finishCallback, in startDisplayRotation()
331 private void startScreenshotRotationAnimation(@NonNull ArrayList<Animator> animations, in startScreenshotRotationAnimation() argument
333 buildSurfaceAnimation(animations, mRotateExitAnimation, mAnimLeash, finishCallback, in startScreenshotRotationAnimation()
338 private void buildScreenshotAlphaAnimation(@NonNull ArrayList<Animator> animations, in buildScreenshotAlphaAnimation() argument
[all …]
H A DDefaultTransitionHandler.java319 final ArrayList<Animator> animations = new ArrayList<>(); in startAnimation() local
320 mAnimations.put(transition, animations); in startAnimation()
323 if (!animations.isEmpty()) return; in startAnimation()
537 for (int i = 0; i < animations.size(); ++i) { in startAnimation()
538 animations.get(i).start(); in startAnimation()
620 ArrayList<Animator> animations, Runnable onAnimFinish) { in startRotationAnimation() argument
633 animations.removeAll(animGroupStore); in startRotationAnimation()
641 animations.add(animator); in startRotationAnimation()
762 animations.remove(va); in buildSurfaceAnimation()
793 animations.add(va); in buildSurfaceAnimation()
[all …]
/aosp14/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
H A DDefaultClockController.kt92 largeClock.animations = LargeClockAnimations(largeClock.view, dozeFraction, foldFraction)
93 smallClock.animations = DefaultClockAnimations(smallClock.view, dozeFraction, foldFraction)
118 override var animations: DefaultClockAnimations = DefaultClockAnimations(view, 0f, 0f)
171 if (!animations.dozeState.isActive) {
185 animations = LargeClockAnimations(view, 0f, 0f)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DClockEventController.kt283 smallClock.animations.charge()
284 largeClock.animations.charge()
305 smallClock.animations.doze(if (isDozing) 1f else 0f)
306 largeClock.animations.doze(if (isDozing) 1f else 0f)
415 smallClock.animations.doze(dozeAmount)
416 largeClock.animations.doze(dozeAmount)
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/close/
H A DOWNERS1 # window manager > animations/transitions
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/rotation/
H A DOWNERS1 # window manager > animations/transitions
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/launch/
H A DOWNERS3 # window manager > animations/transitions
/aosp14/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
H A DTaskFragmentAnimationRunner.java264 final Animation[] animations = in createChangeAnimationAdapters() local
268 animations[0], target)); in createChangeAnimationAdapters()
271 animations[1], target)); in createChangeAnimationAdapters()
/aosp14/frameworks/base/tests/FlickerTests/
H A DREADME.md13 ### Rotation animations and transitions
26 ### Non-Rotation animations and transitions
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
H A DActivityEmbeddingAnimationRunner.java417 final Animation[] animations = mAnimationSpec.createChangeBoundsChangeAnimations(change, in createChangeAnimationAdapters() local
422 changeAnimation = animations[1]; in createChangeAnimationAdapters()
433 animations[0], change, screenshotLeash, root)); in createChangeAnimationAdapters()
439 animations[1], boundsAnimationChange, root)); in createChangeAnimationAdapters()
/aosp14/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
H A DClockProviderPlugin.kt95 val animations: ClockAnimations
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/clocks/
H A DDefaultClockProviderTest.kt204 clock.smallClock.animations.doze(0.9f) // set AOD mode to active
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/
H A Dthreading.md41 animations could be offloaded here)
/aosp14/frameworks/base/core/java/com/android/internal/policy/
H A DTransitionAnimation.java1294 final List<Animation> animations = set.getAnimations(); in createHiddenByKeyguardExit() local
1295 for (int i = animations.size() - 1; i >= 0; --i) { in createHiddenByKeyguardExit()
1296 animations.get(i).setInterpolator(interpolator); in createHiddenByKeyguardExit()
/aosp14/frameworks/base/packages/SystemUI/docs/device-entry/
H A Dglossary.md8 …pports variable weights, users will experience delightful clock weight animations - in particular,…
/aosp14/frameworks/base/cmds/bootanimation/
H A DFORMAT.md133 Some animations benefit from being reduced to 256 colors: