summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/charging/WirelessChargingAnimation.java
Commit message (Collapse)AuthorAgeFilesLines
* Add a turbulence noise shader for media player and ghost loadingYein Jo2022-11-091-1/+1
| | | | | | | | | | | effects. Some of the ripple shader utility code has moved to a new util package. Design doc: go/surface-effects-umo Test: TurbulenceNoiseViewTest, TurbulenceNoiseControllerTest Bug: 249536060 Change-Id: Id345a7ab06928da3f51a7ae649ef861f9c54708a
* Add a flag for rounded box charging ripple.Yein Jo2022-08-091-12/+14
| | | | | | | | | | DockingAnimationCallback passes `rippleShape` in ag/19518997 (separating the CLs because they are in a different module.) rounded box ripple: https://recall.googleplex.com/projects/5caa6343-713d-48a6-9354-df13859d3244/sessions/eaf63912-b4d2-4590-8af3-9748646e2b4d Bug: b/237282686 Test: Manual Change-Id: I074e1459893b31a6ff23c416eb710bc62bc67a87
* Add a static method to make charging animation for unknown battery level.Nick Ning2022-03-101-0/+12
| | | | | | | | The method presumes default values for the non-dozing, battery level unknown case. Bug: 220330974 Test: DockingAnimationCallbackTest Change-Id: I3a26ba7c63b8cc0470a4a88d2435bd924d81d565
* Add logging for wired charging ripple.Shan Huang2021-06-011-5/+26
| | | | | | Test: checked logged events via test-drive Bug: 183382912 Change-Id: If69099ae27ffa8142e81a1eb883569f10a9e2965
* Update wireless charging layout to match the new design.Shan Huang2021-05-101-1/+1
| | | | | | Test: Manual. SystemUITests Bug: 183382912 Change-Id: I8b061ae1227e43458848621d68fb0c2777e0c72e
* Set charging animation windows as trusted overlays so thatShan Huang2021-04-141-0/+1
| | | | | | | | touches can pass through. Test: Manual Bug: 184867824 Change-Id: I8f37b68ea48076eb9ad90aa1d7d200b9316a2253
* Remove text and animated dots on wireless charging animation.Shan Huang2021-04-091-4/+1
| | | | | | | | Test: Manual Test: SystemUITests Bug: 183382912 Change-Id: I726f63ffe67cf34e62dee2505a40d5ea45a527b1
* Make ripple window truly full screen.Shan Huang2021-04-071-1/+3
| | | | | | Test: Manually Bug: 183382912 Change-Id: I4bebefcd855a51c0fc682e186ea568368fb48c1b
* Add charging ripple to wireless charging animation.Shan Huang2021-03-251-4/+3
| | | | | | | | | | | | | | | | | This cl adds the ripple effect to the WirelessChargingLayout. It also removes the cross fade effect that happens on lock screen and AOD. Next steps: - Apply distortion to the ripple. - Remove the dots and percentage text to match the new design. Demo videos: https://drive.google.com/drive/folders/1wOi53MSjh5hOwkLVTDJglXbRK2Cdw9zL?usp=sharing Test: Manually Test: SysUITests Bug: 183382912 Change-Id: Ib4dbb04bf263e3e46a6cb55cc077b6ee9902ebe3
* Modify WirelessChargingLayout for reverse chargingJohn Li2020-06-081-13/+18
| | | | | | | | | - add Tx battery level and Tx icon - new LifecycleRegistry in StatusBar for BatteryStateChangeCallback Bug: 153272360 Test: atest SystemUITests:StatusBarTest Change-Id: Ibb719e45799f20a93875dc85ae60af75ed79cf14
* Change WirelessChargingAnimation window param typeBeverly2018-07-301-1/+1
| | | | | | | | - set params.type to allow the animation to display on all users Change-Id: I95e61802bfcb18aba38711f53b3d7b2fd12faa13 Fixes: 111877720 Test: manual
* Allow charging anim logs to be enabled from adbBeverly2018-07-251-10/+9
| | | | | | | | | - to enable charging animation logging: adb shell setprop log.tag.WirelessChargingView DEBUG Test: builds, Bug: 111391759 Change-Id: I59d57ce7c422aee187bccca0651bde3738647943
* Tweaks to wireless charging animationBeverly2018-03-231-7/+7
| | | | | | | | | Animation is white when dozing Bug: 74946337 Fixes: 76201223 Test: manual Change-Id: I9408b38cd624e8599eb4689b04d1973ef8f0c61f
* Wireless charging on aod and lockscreenBeverly2018-02-081-19/+22
| | | | | | | | | | - wireless charging animation plays on aod + lockscreen - timing changes on animation based on design spec - charging feedback only given if phone is not just booted Test: manual Bug: 67598445 Change-Id: I009ff6016141bcdfe9f0392bb9a1c220ea88dfe5
* Basic workspace wireless charging animationBeverly2018-01-241-0/+213
(No animation on ambient or lockscreen yet) Test: manual (testing w/o wireless charger, set DEBUG_WIRELESS=true) Bug: 67598445 Change-Id: Ifeef72805930187b8f78e72fd44bd7da25724e0c