summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/anim
Commit message (Collapse)AuthorAgeFilesLines
* SystemUI : Add screen timeout tileDanesh M2015-12-108-0/+56
| | | | Change-Id: If4f9e86ea25f92f435fd1d443cbe0b23ef4c1fb4
* Added animation for trusted to fingerprint errorSelim Cinek2015-08-2820-0/+1012
| | | | | Bug: 21781452 Change-Id: Ib3b229c9ebece926a68a0c6a69341d0f68166698
* Make wake-and-unlock fasterJorim Jaggi2015-08-211-0/+1
| | | | | | | | | | | | | | | | | - Scrims: When dismissing Keyguard, don't wait until the next frame to start the animation. Saves 16ms - Scrims: Skip first frame, because it's completely black anyways. Saves 16ms. - Don't wait with navigation bar to show until the screen has turned on. Window manager is blocked on DisplayPowerController anyways, so the animation will exactly be started when the screen turns on. Fixes some jank as well. - Window manager: Don't wait for the window below Keyguard for draw completion until turning on screen. Saves a lot of time depending on how the app is behaving. Bug: 23401557 Change-Id: I9734f9a12143f0e3c0647e9aa066831a29a6de63
* Animation for touch, wake and unlockJorim Jaggi2015-07-281-0/+22
| | | | | | | | | | | | | | | | | | - Add callback to inform SysUI when the screen has been unblocked and turned on. - Cleanup inconsistent messaging about device interactive/screen on and off. - Add callbacks to inform SysUI about screen states - Implement a quick fade for the scrim after touch, wake, and unlock. First, start with a black scrim on top of everything, and then fade it out. - Make sure we play the normal unlock animation when device is pulsing - Override navigation bar animations for touch, wake and unlock: Fade in the same manner as the scrim. Bug: 22571198 Bug: 21855614 Change-Id: I8ff08d72cced1e0f03c78d71ff710d8a4f6b848c
* QS: Add disable animations for the DND tile.John Spurlock2015-06-156-0/+156
| | | | | | | | Elide the disabled -> enabled anim, since we launch the detail panel instead. Bug: 21118976 Change-Id: I392f848641190f114b7838515acb13f22c96e37d
* Remove separate light/dark animated vector drawablesAndrew Flynn2015-06-016-134/+14
| | | | | | | | Now that AnimatedVectorDrawables can use themed animations, SysUI no longer needs to track separate AVDs for the carrier network change icons. Bug: 21118142 Change-Id: Ifb6d7b5e7e3de85c10bc13183b4142fd2e6714b6
* Polish animations for fingerprint iconJorim Jaggi2015-05-2639-204/+696
| | | | | | | | | | | - Make error state animation faster. - Add animation for -- Draw on when turning on the screen -- Draw off when unlocking -- Error state -> normal state Bug: 21269675 Change-Id: If09c0a35ce194fbeeb86151d45b4cfa81c9999c5
* Add animation for fingerprint error stateJorim Jaggi2015-04-2815-0/+637
| | | | | | | | - Put lock icon logic in a separate class. - Add animation when switching between fingerprint scanning and fingerprint error. Change-Id: I87c3f101d645a990d5397b82a797c9ee40a63da2
* SysUI: Carrier Network Change iconAndrew Flynn2015-04-169-0/+360
| | | | | | | | | | | | - Listen for new PhoneStateListener.CARRIER_NETWORK_CHANGE events. - Show/hide a new unique animated icon in status bar and quick settings during Carrier Network Change events if we are instructed by PhoneStateListener and it's during a period without connectivity. - ObjectAnimator doesn't let you animate colors between themed colors, so there's quite a bit of boilerplate duplication in the animation xml. - Add a new demo mode command to toggle it on/off. Change-Id: Ic5bb2aa7444303c6b7f2456526a9c25325c6e1f4
* Integrate Heads-up notifications into the shadeSelim Cinek2015-04-152-24/+0
| | | | Change-Id: I4ca0fb4e76e7c974490538c168da0564fe97e0ae
* Introduce new volume dialog.John Spurlock2015-04-026-0/+154
| | | | | | | | | | | | | | | | | | | | | | | | - New VolumeDialog (presentation) + VolumeDialogController (state) to implement a volume dialog that keeps track of multiple audio streams, including all remote streams. - The dialog starts out with a single stream, with more detail available behind an expand chevron. - Existing zen options reorganized under a master switch bar named "Block interruptions", with "None" renamed to "No interruptions" and "Priority" renamed to "Priority only". - Combined "Block interruptions" icon replaces the now-obsolete star/no-smoking icons in the status bar. - New icons for all sliders. - All sliders present a continuous facade, mapped to discrete integer units under the hood. - All interesting volume events and state changes piped through one central helper for future routing. - VolumePanel is obsolete, still accessible via a sysprop if needed. Complete removal / garbage collection deferred until all needed functionality is ported over. Bug: 19260237 Change-Id: I6689de3e4d14ae666d3e8da302cc9da2d4d77b9b
* Remove dead code #7: Remove unused SysUI resourcesJorim Jaggi2015-01-075-108/+0
| | | | Change-Id: I6e338dee76063d7d200967bef0ed1122c2769d42
* Tweaking animation XMLs and removing dead code. (Bug 17672056, Bug 18415217)Winson Chung2014-11-176-13/+11
| | | | | | | - Use shape drawable for pin background instead of asset. - Includes fix for scrolling regression when task stack scroller was not reset. Change-Id: I11eec1f3b0386b4354c8c5e3deca2b17cff83be1
* Improved the dismiss all animationSelim Cinek2014-11-116-0/+175
| | | | | | | | | Added an AVD to the icon and changed the order to be from bottom to the top. Bug: 17903685 Bug: 17007783 Change-Id: Ia1509e2d4e02c87782285e05b7b7fb6a11854f95
* Merge "QS: Icon animation update for existing animations." into lmp-mr1-devJohn Spurlock2014-11-1036-490/+213
|\
| * QS: Icon animation update for existing animations.John Spurlock2014-11-0936-490/+213
| | | | | | | | | | | | | | | | - Remove starting delay. - Remove alpha on <group>s. Bug:17426910 Change-Id: I497cb1ca07df865e693c24e9726fd7e80dffa03c
* | Merge "QS: Animated hotspot tile icon." into lmp-mr1-devJohn Spurlock2014-11-106-0/+189
|\ \
| * | QS: Animated hotspot tile icon.John Spurlock2014-11-096-0/+189
| |/ | | | | | | | | Bug: 17426910 Change-Id: Ic7d0219b0a5d749223c35fcbedca78d4adf585c5
* | Volume dialog: Add zen mode icons and notification access.John Spurlock2014-11-102-40/+0
|/ | | | | | | | | | | | | | | | - Add icon above text to all three zen mode states, update text style. - Remove zentoast. - Update shared borderless rect background, masks now support shapes. - Update size of volume stream icons. - Ensure all volume icons are expressions of white. - Make volume icons testable via new demo mode command. - Add a divider + secondary icon to access the notification slider. - Animate the transition when accessing notification slider. Bug: 18206097 Bug: 16303068 Bug: 18102850 Change-Id: I5eb6f820dc317e89be272cc78f6c80ed969ad5e9
* Adding bounce animation for affiliated tasks. (Bug 16656169)Winson Chung2014-11-062-32/+22
| | | | Change-Id: I39e4a57c4e6b707d15513dacde2d40c23bb05058
* QS: Toggle tile icon animations.John Spurlock2014-11-0532-0/+1136
| | | | | | | | | | | - New location tile icon animation. - New flashlight tile icon animation. - New airplane-mode tile icon animation. - New color inversion tile icon animation. - Remove obsolete static icons. Bug: 17426910 Change-Id: I51c98979afd46f4cdfc2fd383e80d7bf13c5eeab
* QS: New rotation-lock tile icon, using AVDs.John Spurlock2014-11-0320-0/+788
| | | | | | | | | Also: - Better icon change detection, unify tile.icon vs tile.iconId. - Fix regression in touch feedback by fixing a11y string calculation. Bug: 17426910 Change-Id: I14772f4e9b3be127bc39106ae9146ed46488fa48
* Supertoast when user changes zen mode.John Spurlock2014-09-252-0/+40
| | | | | | | | | | | If the user selects a new zen mode, display a quick toast with the mode icon + text to aid in association. Also fix a recent regression in the zen subhead alignment. Bug:16215680 Bug:17641211 Change-Id: I4ead88d81be4d9c26459aed82c47b8c2fb32eafa
* Changed the swipe up search affordanceSelim Cinek2014-09-151-13/+5
| | | | | | | | | | The previous card animation is removed and replaced by a animating circle with a shadow. Also fixes several cases where the card could either get stuck and the affordance was not launched. Bug: 17457300 Bug: 17444236 Change-Id: I005313a1dbe63d338490e6100dd3bd01e35687ba
* Adding task switching animation xmls for further tweaking. (Bug 16656169)Winson Chung2014-09-096-0/+217
| | | Change-Id: I472116cb3d86a3f90a935b2a3ac058ffc2ac1b5d
* Fixing build (adding missing animations).Winson Chung2014-09-024-0/+114
|
* Providing a more seamless transition to Home (Bug. 17012456)Winson Chung2014-09-015-5/+5
| | | | | - Fixing landscape N7 transition issue Change-Id: I968d6fd4db693359d520664b1444e699d7ee30ee
* Multiple performance changes to speed recents invocation/app launching time. ↵Winson Chung2014-08-254-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Bug 16987565) - Reverting changes to the existing thumbnail transition to prevent breaking applications that currently depend on that transition. As a result, we need to create a new, hidden, aspect-scaled thumbnail transition, and instead use that thumbnail to animate the recents header so that we don't have to wait to do that inside the Recents activity. In order for this to work, we also have to ensure that the thumbnail surface destruction is synchronized with the application that is currently closing (when going down to recents) or opening (when coming back up). The current thumbnail is destroyed when the animation ends, but that can be at least 1 frame before the surface for the animating window is destroyed. We change this by deferring destruction of this thumbnail window to the animation that is being closed. Especially on the way up, not having to wait for us to hide the header before doing the transition up can save us the duration of that first animation (> 100ms). - Other optimizations: * No longer creating a new stack view on each transition to calculate the target rect * Removing unnecessary call to get the thumbnail when transitioning up/down (the actual window does its own animation. * We reduced numerous system calls per task by adding a flag to ignore home-stack tasks and caching the activity label and icon (and task description icon). These caches follow the same eviction schemes as the thumbnail and icon cache. - Also tweaked the touch slop for the nav bar swiping gesture to prevent conflicting with tapping on home (Bug 17109581) Change-Id: Ica697aad788051a9203edd9351c583e1cb038a71
* Copy framework internal resources for indeterminate anim.John Spurlock2014-08-204-0/+207
| | | | | Bug:14622065 Change-Id: Icfe4df5b01f342b7d3dc792e03391dc764abd59b
* Tweaking enter/scrim animations/styles. Fixing issue with clipping not ↵Winson Chung2014-06-164-10/+10
| | | | | | saving layers. Change-Id: I476c68d7df4a8fc59ca3d9be3f99526089183ec2
* Exploring transitions to/from Recents.Winson Chung2014-06-128-5/+175
| | | | | | | | | - refactored hwlayers and change view property animations to use a reference counted trigger - cleaned up RecentsConfiguration, and move it into classes using it - moved task bar animations back into TaskBarView - refactoring enter/exit animations to use an animation context Change-Id: Ia66b622b094f22145c2fab07c2a9bdfd62344be2
* Initial changes for recents.Winson Chung2014-03-112-0/+56
| | | | Change-Id: Ide2c202b4a5b25410f0f32bd0a81ccf817ede38f
* improvements to heads up interfaceChris Wren2014-02-271-7/+5
| | | | | | | | | | | remove shadow quick hack to open shade from HUN over status bar instead of under and below it dismiss by pushing up tablets: shadow remains on left, right, and bottom Bug: 13208692 Change-Id: Ie3abb762fb1388be68353c7e3111fe4708ab8110
* Remove unused animations.John Spurlock2014-02-255-121/+0
| | | | Change-Id: I7c34732c6bc8263c42461325437c90a06214d04a
* allow rich notifications in the heads up.Chris Wren2013-07-231-4/+2
| | | | | | | | | | | | | | | | | | | new shouldInterrupt logic: screen on, not locked, not dreaming, and priority above HIGH and noisy, or has fullscreen intent draft of API allowing devs to give hints about head up display reuse inflateViews() add an expand helper to the heads up space move some things into Entry for reuse don't allow touches in first second delay decay if touched make decay time a resource add a custom viewgroup for notification rows to get view management out of the NotificationData class. Change-Id: I36464f110cfa0dabc3f35db7db6c35c27e8ee2ba
* heads up notifications, v0.1Chris Wren2013-07-092-0/+0
| | | | | | | | | | | | | | 1. re-name intruder alerts to heads up notifications 2. use interrupt for the verb form, instead of intrude 3. new policy: no full screen, high priority, screen on, not locked or dreaming 4. controlled by global setting, with an observer 5. only content view for now, expandable is a todo to turn it on: adb shell settings put global heads_up_enabled 1 calendar notifications (not pop-up) work well. Change-Id: I253418c217d0a5cf81dc2fa001f4bad90fafcce5
* Eliminate flash when going from home to recentsCraig Mautner2013-05-082-0/+2
| | | | | | | | | | When the wallpaper animation is coupled to the recents animation it will go from fully transparent to visible along with it. In master this is causing noticable jank if we are going from the home screen where it was previously visible. Detaching the wallpaper animation from the recents animation fixes it. Change-Id: If1d1a1478530610017d954983b00ca6101cbaa8b
* Fixing wallpaper flash when going in/out of RecentsMichael Jurka2012-10-194-7/+64
| | | | | | Bug: 7372516 Bug: 7216872 Change-Id: I2a2308a85caf9f2ad2d382c709e5f8867bd060be
* Use black bg in recents if using live wallpaperMichael Jurka2012-10-136-60/+121
| | | | | Bug: 7282784 Change-Id: I686f8f0e36e3414ad30d23de80cbbfb2868069d4
* Work on issue #6579997: Mariner entrance animationDianne Hackborn2012-06-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | Add a new variation of ActivityOptions that allows you to supply custom animation resources and get a callback when the animation starts. Use this in SearchPanelView to determine when to start hiding the search panel instead of having a fixed delay. Fix some issues in the activity manager where we would cancel the options in cases where we should actually keep them to give to the window manager for a transition. (Basically when the activity being started is not actually ending up launched, but just results in a shift in the activity stack.) Note that this is not quite what the design calls for -- the entire search UI is waiting and then disappearing when the animation starts, instead of the ring first disappearing while waiting for the time to fade out the circle. Change-Id: Iee9a404ba530908d73cdbd4a9d0d2907ac03428f
* Fix 6398209: Add custom transition animation for swipe to searchJim Miller2012-05-212-0/+55
| | | | Change-Id: I63ca0d332a44471c4d4a05414b9e3020e48834f5
* Clean up status bar, system bar, navigation bar management.Dianne Hackborn2012-04-044-106/+0
| | | | | | | | | | | | | | | | | | | | | | The status bar and navigation bar are two completely separate elements, with their own semantics. The system bar now classifies itself as a navigation bar, since that is really how it behaves. This required rewriting the HDMI resizing code, so that it is all done by PhoneWindowManager since that is what is responsible for the size of the navigation bar (and thus now system bar). This actually gets rid of a fair amount of code, and means we can also do the same thing for a pure navigation bar. Likewise the system bar now has the navigation bar ability to be hidden when requested by system UI flags. To get the behavior we want on Xoom, we only allow the nav bar to be hidden when it will help provide a better aspect ratio for showing widescreen videos. Finally the nav/system bar now animates when hidden and shown. Change-Id: Ie927154b68376a0b61802f99171ff56b8da92e7a
* Make Recent Apps fasterMichael Jurka2011-10-181-1/+1
| | | | | | | | | - start loading on touch down - avoid unneeded calls to onLayout - don't fade in thumbnails if they've been loaded before we show recent apps - don't pause between loading thumbnails - fade in thumbnails+shadow (rather than just thumbnail as before) Change-Id: I6dd4be7f52f9e8b51284ae052614719db8e71dc5
* Fix issue #5192141: systemui asplodes after enough tapping on the windowlist ↵Dianne Hackborn2011-08-241-1/+1
| | | | | | button Change-Id: I5afb2d54b531d9eac9435660616579324f239812
* Fix issue #5128639: SystemUI grows by 10MB after taking a screenshotDianne Hackborn2011-08-171-0/+20
| | | | | | | | | | | We now do the screenshot in a separate process. Also change the recents panel to not use hardware acceleration on lower-end devices. And improve how it gets shown to not load all data up-front which results in a long delay when you have lots of recents. Change-Id: Ia309a90f9939e5405758621b3f7114597bd0c02a
* Put back the status bar animations.Dianne Hackborn2011-08-024-0/+82
| | | | Change-Id: I9b326e8da9fa17878dde8a83c6551e9eb600bb7e
* The beginnings of the new status bar.Joe Onorato2010-11-152-44/+0
| | | | | | There is a lot of rough stuff still, but most of the functionality is here again. Change-Id: I4b1241e61270f1434e798481afa83634233ee670
* Restore user-accessible lights-out control.Daniel Sandler2010-11-054-8/+8
| | | | | | | | | | | | | | | | Current system area gestures: tap - no-op (bug 3114340) swipe up - open system panel swipe down - lights out long press - lights out (bug 3134973) The enter/exit animations have been tweaked to reinforce this, particularly the swipe down for lights out. (Swiping up to exit lights out will work, as will any kind of tap in the lights-out "curtain".) Change-Id: Ie027d7a0e86a402d06a8a368a5a43050a6bb9e58
* Refinements to the notification icon area.Daniel Sandler2010-10-222-0/+46
| | | | | | | | - New icon states per revised UX designs. - Basic implementation of do-not-disturb mode. - Removed unused grippies. Change-Id: I506dcdc8ceb855902f2401e3145c3c676c0de207
* Several improvements to RecentActivities:Jim Miller2010-09-282-0/+60
| | | | | | | | | | | | | | | | | | It now toggles between show/hide for each tap on the home button. Added new bitmap generation for lighting and halo effect while loading. Uses new CarouselViewHelper class to manage textures and threading. Uses a "real view" to render detail text. Activities can now overload onCreateDescription() to show a description in Carousel. Improved startup and resume speed by posting single event to refresh the activity list. Change-Id: Id5552da75b9d022d24f599d11358ddababc97006