Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScreenOffAnimationController.kt38 private val animations: List<ScreenOffAnimation> = constant
46 animations.forEach { it.initialize(centralSurfaces, shadeViewController, lightRevealScrim) } in initialize()
54 animations.firstOrNull { it.startAnimation() } in onStartedGoingToSleep()
62 animations.forEach { it.onScrimOpaqueChanged(isOpaque) } in onScrimOpaqueChanged()
68 animations.forEach { it.onAlwaysOnChanged(alwaysOn) } in onAlwaysOnChanged()
75 animations.any { it.shouldPlayAnimation() } in shouldControlUnlockedScreenOff()
82 animations.any { it.isAnimationPlaying() } in shouldExpandNotifications()
89 animations.any { it.shouldAnimateInKeyguard() } in shouldAnimateInKeyguard()
95 animations.firstOrNull { in animateInKeyguard()
108 animations.any { it.isAnimationPlaying() } in shouldIgnoreKeyguardTouches()
[all …]
/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/packages/SystemUI/docs/
Dphysics-animation-layout.md4animations for each of its child views. During the initial construction of the animations, the lay…
6 Once the animations are built, the controller can access **PhysicsPropertyAnimator** instances to r…
10animations to be chained (for the ‘following’ drag effect), and has methods such as ```moveStack(x…
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.
23 … of the other animation. Otherwise, return NONE. This is used to chain animations together, so tha…
26 Value to add every time chained animations update the subsequent animation in the chain. For exampl…
29 … use for animations of the given property. This allows the controller to configure stiffness and b…
32 …er’s configuration properties to build the animations, the controller can use them to actually run…
[all …]
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…
Dscene.md14 itself with either transition animations or anything in other scenes. This
19 3. Transition animations (the effects that happen alongside the gradual change
48 [this section](#Scene-transition-animations).
136 see the [Scene transition animations](#Scene-transition-animations) section
182 ## Scene transition animations
184 The Scene Framework separates transition animations from content UI declaration
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DReflectionInflaterTest.java47 final List<Animation> animations = set.getAnimations(); in testInflateXml() local
48 assertEquals(1, animations.size()); in testInflateXml()
49 assertTrue(animations.get(0) instanceof ScaleAnimation); in testInflateXml()
61 final List<Animation> animations = set.getAnimations(); in testDefaultPackage() local
62 assertEquals(1, animations.size()); in testDefaultPackage()
63 assertTrue(animations.get(0) instanceof ScaleAnimation); in testDefaultPackage()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/
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 …]
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DClockEventControllerTest.kt88 @Mock private lateinit var animations: ClockAnimations variable in com.android.keyguard.ClockEventControllerTest
124 whenever(smallClockController.animations).thenReturn(animations) in setUp()
125 whenever(largeClockController.animations).thenReturn(animations) in setUp()
211 verify(animations, times(2)).charge() in batteryCallback_keyguardShowingCharging_verifyChargeAnimation()
225 verify(animations, times(2)).charge() in batteryCallback_keyguardShowingCharging_Duplicate_verifyChargeAnimation()
238 verify(animations, never()).charge() in batteryCallback_keyguardHiddenCharging_verifyChargeAnimation()
251 verify(animations, never()).charge() in batteryCallback_keyguardShowingNotCharging_verifyChargeAnimation()
273 verify(animations, never()).doze(0f) in keyguardCallback_visibilityChanged_clockDozeCalled()
276 verify(animations, times(2)).doze(0f) in keyguardCallback_visibilityChanged_clockDozeCalled()
318 verify(animations, times(2)).doze(0.4f) in keyguardCallback_verifyKeyguardChanged()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
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 …]
DDefaultTransitionHandler.java321 final ArrayList<Animator> animations = new ArrayList<>(); in startAnimation() local
322 mAnimations.put(transition, animations); in startAnimation()
325 if (!animations.isEmpty()) return; in startAnimation()
362 startRotationAnimation(startTransaction, change, info, anim, animations, in startAnimation()
415 ROTATION_ANIMATION_ROTATE, animations, onAnimFinish); in startAnimation()
543 buildSurfaceAnimation(animations, a, change.getLeash(), onAnimFinish, in startAnimation()
554 attachThumbnail(animations, onAnimFinish, change, info.getAnimationOptions(), in startAnimation()
580 for (int i = 0; i < animations.size(); ++i) { in startAnimation()
581 animations.get(i).start(); in startAnimation()
686 ArrayList<Animator> animations, Runnable onAnimFinish) { in startRotationAnimation() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/ui/view/
DMirroringConfirmationDialogDelegate.kt118 animations: MutableList<WindowInsetsAnimation>, in <lambda>()
121 onInsetsChanged(changedTypes = allAnimationMasks(animations), insets) in <lambda>()
125 private fun allAnimationMasks(animations: List<WindowInsetsAnimation>): Int = in <lambda>()
126 animations.fold(0) { acc: Int, it -> acc or it.typeMask } in <lambda>()
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DDefaultClockController.kt104 largeClock.animations = LargeClockAnimations(largeClock.view, dozeFraction, foldFraction) in initialize()
105 smallClock.animations = DefaultClockAnimations(smallClock.view, dozeFraction, foldFraction) in initialize()
130 override var animations: DefaultClockAnimations = DefaultClockAnimations(view, 0f, 0f) variable
184 if (!animations.dozeState.isActive) { in updateColor()
206 animations = LargeClockAnimations(view, 0f, 0f)
/frameworks/base/tests/FlickerTests/AppClose/
DOWNERS1 # window manager > animations/transitions
/frameworks/base/tests/FlickerTests/Rotation/
DOWNERS1 # window manager > animations/transitions
/frameworks/base/tests/FlickerTests/AppLaunch/
DOWNERS3 # window manager > animations/transitions
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DClockEventController.kt319 smallClock.animations.charge() in <lambda>()
320 largeClock.animations.charge() in <lambda>()
341 smallClock.animations.doze(if (isDozing) 1f else 0f) in <lambda>()
342 largeClock.animations.doze(if (isDozing) 1f else 0f) in <lambda>()
531 smallClock.animations.doze(dozeAmount) in <lambda>()
534 largeClock.animations.doze(dozeAmount) in <lambda>()
DConnectedDisplayKeyguardPresentation.kt139 faceController.animations.enter() in onAttachedToWindow()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskFragmentAnimationRunner.java264 final Animation[] animations = in createChangeAnimationAdapters() local
268 animations[0], target)); in createChangeAnimationAdapters()
271 animations[1], target)); in createChangeAnimationAdapters()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardClockInteractor.kt151 clock.smallClock.animations.fold(foldFraction) in <lambda>()
152 clock.largeClock.animations.fold(foldFraction) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/transitions/
DDefaultClockSteppingTransition.kt67 clock.largeClock.animations.onPositionUpdated( in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationRunner.java437 final Animation[] animations = mAnimationSpec.createChangeBoundsChangeAnimations(change, in createChangeAnimationAdapters() local
442 changeAnimation = animations[1]; in createChangeAnimationAdapters()
453 animations[0], change, screenshotLeash, root)); in createChangeAnimationAdapters()
459 animations[1], boundsAnimationChange, root)); in createChangeAnimationAdapters()
/frameworks/base/libs/hwui/aconfig/
Dhwui_flags.aconfig53 description: "APIs to help enable animations involving gainmaps"
/frameworks/base/packages/SystemUI/aconfig/
Daccessibility.aconfig26 description: "Sets up animations for tucking/untucking and adjusts clipbounds."
/frameworks/base/libs/WindowManager/Shell/aconfig/
Dmultitasking.aconfig45 description: "Enables new animations for expand and collapse for bubbles"
/frameworks/base/core/java/android/window/flags/
Dlarge_screen_experiences_app_compat.aconfig98 "app compat feature like reachability, animations and others related to/n"

12