summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com
Commit message (Collapse)AuthorAgeFilesLines
...
| * Revert "SystemUI: recalculate clock position on removing empty shade views"Roman Birg2016-05-211-3/+0
| | | | | | | | | | | | This reverts commit 023d3365524584de91acf4716822553f38aa507b. Change-Id: I79bde45cd57e2523dbfa3211c5971c4b82a240c0
| * SystemUI: fix NPE when configuring blur layerScott Mertz2016-05-201-1/+1
| | | | | | | | | | | | | | | | | | I noticed a NPE on my device with OOB encryption & password lockscreen (no password required to boot). This fixes it. FEIJ-753 Change-Id: I303354e94be451ab65deb815ecf39cda9d6a339e
| * Revert "SystemUI: fix clock jumping when expanding QS from lockscreen"Roman Birg2016-05-201-3/+1
| | | | | | | | | | | | | | | | No longer needed. This reverts commit 8dffc8688628e9e633717f35dbbd12ac633a9f34. Change-Id: I889364790a01433596b7e97e2be971ff68205acb
| * Revert "SysUI: Fix coloring of battery drawables"Clark Scheff2016-05-191-5/+2
| | | | | | | | | | | | | | | | This reverts commit 453e8f212c4a0efafe1d7e3d6f00a0d87e953ed8. Going to re-do this since the colors need to be cached so when the user changes styles we apply the correct tinting Change-Id: I7bcd70d4464eac5a7869a3e237d19be8629310f5
| * SystemUI: update qs tile hint and header view on locale changeRoman Birg2016-05-193-1/+15
| | | | | | | | | | | | | | Ticket: CYNGNOS-2814 Change-Id: I305ac5eca862ffa5c525ec6b39bfeddf03719227 Signed-off-by: Roman Birg <roman@cyngn.com>
| * SystemUI: Check current data subscription when updating signal clusterEthan Chen2016-05-191-1/+2
| | | | | | | | | | | | | | | | | | | | * Checking connected and data state is insufficient when updating the signal cluster, for multi-SIM use we need to check whether the current signal controller has the data subscription as well, otherwise it's possible for both clusters to display the data tech simultaneously. REF: KIPPER-702 Change-Id: I1dd2994271df2c42deb8e9aeb7c01798a6cfd2ca
| * SysUI: Fix coloring of battery drawablesd34d2016-05-191-2/+5
| | | | | | | | | | | | | | | | | | | | The frame color is now correctly tinted based on background color set by setDarkIntensity() Battery bolt and percentage text have their alpha set to full opacity to increase visibility when drawn on a light colored status bar. Change-Id: I907101ed1465f99b92370332d4839b7f0aad13b2
| * SysUI: Adjust battery dimensions for better lookd34d2016-05-191-2/+4
| | | | | | | | | | | | | | Make some minor tweaks to the new vector based batter meter to get it even closer to stock look. Change-Id: I80fcdefb2578352bef5ca35ad902556b204de322
| * SysUI: Check swiping progress before collapsing KBAd34d2016-05-181-1/+4
| | | | | | | | | | | | | | | | | | | | Collapsing the KeyguardBottomArea while a swipe is in progress causes the window to collapse to a smaller size and cut off the circular animations from the affordance views. Luckliy there is a method we can call to see if we are in such a state, so let's use it. Change-Id: I45241ed17c3c90580fb04845700f5632b34db187 TICKET: CYNGNOS-2824
| * SystemUI : Fix left swipe when dismissing bouncerDanesh M2016-05-185-8/+25
| | | | | | | | | | | | | | | | | | | | | | | | - Only show bouncer when requesting dismiss, which will set the states for us. - Also remove duplicate states. - Ensure we disable edge gesture when showKeyguard is called - Bail out on showKeyguard if already in keyguard. CYNGNOS-2872 Change-Id: I6be10923de1590b386c270925654669a8f832cfe
| * SystemUI : Ensure bouncer is not shown for SHADEDanesh M2016-05-171-8/+4
| | | | | | | | | | | | | | | | | | When dismissing the notification panel, bouncer should only be shown if you are in SHADE_LOCKED or KEYGUARD. CYNGNOS-2810 Change-Id: Ia9c6f3198fe785ba8d19e10962caa92a5cea3f23
| * QSTiles: set disconnect callback in bluetooth details list adapterRandall Rushing2016-05-171-0/+1
| | | | | | | | | | | | | | | | Adapter callback to disconnect device was not being set after scrollable tiles bringup. This resulted in a broken disconnect button in the details item list. Change-Id: Ibbc96d9d379b95b04b4376f4767fd877226c0c95
| * SystemUI : Ensure previous camera preview is removedDanesh M2016-05-171-2/+14
| | | | | | | | | | | | | | For lockscreen shortcuts, ensure if the camera intent changes, we remove the previous view. Change-Id: I7c44353d25ddc47c3d986acf32dd9a3e85915c82
| * Lls: Use LlsController for checking LLS focusd34d2016-05-163-13/+14
| | | | | | | | | | | | | | | | | | | | We're trying to keep track of this state in too many places. The LiveLockScreenController keeps track of the LLS focus so this patch adds a method to get the state of the LLS focus and use that instead of cached values that may not be in sync. Change-Id: I2cbf1122b8a27cb1b0ee1ed93379a362308db5bd TICKET: CYNGNOS-2849
| * LLS: Don't change bar state when changing LLS focusd34d2016-05-161-1/+0
| | | | | | | | | | | | | | | | State changes are taken care of elsewhere so don't change the state when unfocusing the LLS. Change-Id: Ie4d14a840cfc2f29815bd6d185caf920134b6d21 TICKET: FEIJ-531
| * LLS: Ensure LLS loses focus when showing bouncerd34d2016-05-162-1/+2
| | | | | | | | | | | | | | | | Let showBouncer take care of removing focus from the LLS instead of relying on the callers to do so. Change-Id: Iaec9ad74b3498ea385bdecbfc5173a9d482b043e TICKET: FEIJ-531
| * Expose lock screen blurring as a setting [2/2]d34d2016-05-161-13/+37
| | | | | | | | | | | | | | | | | | This will provide control over blurring since the current implementation assumes it is always on provided the device config specifies it supports blur. Change-Id: If6d1f1290473df20bda7e96e42571285bd2d8967 TICKET: CYNGNOS-2610
| * QS: fix performance profile tile observerScott Mertz2016-05-131-1/+1
| | | | | | | | | | | | CYNGNOS-2837 Change-Id: I9a0f9febe22e046a1fb3297e6a4b3ab1f8fafa87
| * SystemUI : Fix multi-user for keyguardDanesh M2016-05-133-11/+10
| | | | | | | | | | OPO-696 Change-Id: I4383eb49abc1f61bf41e7279ff8e0ed2c1dbb6eb
| * CMSettings : Move force_show_navbar to globalDanesh M2016-05-131-4/+4
| | | | | | | | | | | | | | | | | | | | | | Keep feature inline with 12.1, only allow owner to control the feature and mirror across users. Also add additional checks for moved settings. OPO-696 Change-Id: I81c942ab106fead12020107b99c0795a5b9aac98
| * Lockscreen : Disable left edge after showing keyguardDanesh M2016-05-132-0/+12
| | | | | | | | | | | | CYNGNOS-2816 Change-Id: Ie2ef88765f52e099d61d250faa9ae4100726abf3
| * Keyguard: Allow swiping up when trust managedd34d2016-05-132-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | When the lock screen is being trust managed, the center keyguard affordance view becomes clickable and consumes touch events, which includes the user swiping up from the center icon to unlock. This patch checks if the lock screen is being trust managed and if so, intercepts the touch events while retaining the clickability of the center lock icon. Change-Id: I54dd9bfdded3dbd2bf90ed1fc49dd55e5b3a7214 TICKET: CYNGNOS-2687
| * SpamFilter : Hide option if notification cannot be filteredDanesh M2016-05-131-1/+3
| | | | | | | | | | | | | | | | | | Hide option to filter notification if its a completely custom notification which did not invoke setContentTitle/Message...etc. NOTES-85 Change-Id: Ieec799dba589329b994f7add703babece13b6d14
| * Lockscreen : Only animate targets if launched via swipeDanesh M2016-05-121-1/+2
| | | | | | | | | | | | | | | | If launching via gesture or double tap of power button, showing the reveal doesn't make much sense and creates visual jank. Only animate for swipes. Change-Id: I69e1d06c77c12fe39b5ddb01bcc22ed2fff2a9d0
| * Ensure camera is launched if doing screen off gestureDanesh M2016-05-122-2/+6
| | | | | | | | | | | | | | Currently it launches whatever the right affordance is set to, which is incorrect. Ensure screen off gesture always launches camera. Change-Id: I251d37ccc85d014ff46714b222b9074b2092f6e1
| * Keyguard : Ensure we expand onIconClickedDanesh M2016-05-121-0/+1
| | | | | | | | | | | | | | Not doing so shows visible clipping when the notification panel is expanded mainly due to the limited height of the bar. Change-Id: I50a35b186b3efb8a0e4ba0ae18ff915aebe236c6
| * Revert "LLS: Fix logic in isKeyguardInteractiveAndShowing"Clark Scheff2016-05-111-1/+1
| | | | | | | | | | | | | | This reverts commit 256268f3d2de20ff3185d87957609d15e853fc70 which is causing some adverser effects with normal LS Change-Id: I4c7b68f73dae39aa9f00188fd30dcf05f914f3e4 TICKET: CYNGNOS-2687
| * LLS: Fix logic in isKeyguardInteractiveAndShowingd34d2016-05-111-1/+1
| | | | | | | | | | Change-Id: I0722d488969615eef7f63b17f65e5b41d3896329 TICKET: CYNGNOS-2687
| * SysUI: Use VectorDrawable's for rendering batteryd34d2016-05-112-533/+281
| | | | | | | | | | | | | | | | | | | | The current implementation of BatteryMeterView uses arrays of points that are drawn programmatically. This limits the ability to overlay or theme the battery. By utilizing VectorDrawables and AnimatedVectorDrawables we can achieve the same look and feel of stock while allowing for more unique battery meters. Change-Id: I16a8a949a92827a9e8c1b528981031b6830e97cd
| * SystemUI: fix blank qs tile issuesRoman Birg2016-05-111-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | The blank tiles were an artifact of precaching custom tiles. We need to not show them or count them if they don't have an actual tile attached to them yet. Also, allow disabled tiles to be edited. Ticket: CYNGNOS-2530 Change-Id: Ie6e0e6e18435eb53e9b419a05d780bdd1ee808b7 Signed-off-by: Roman Birg <roman@cyngn.com>
| * SystemUI: fix potential NPE with QueueRoman Birg2016-05-111-1/+1
| | | | | | | | | | | | | | Ticket: CYNGNOS-2782 Change-Id: I96816f5234e3bd7c3608ebfe67133eefd5fdcccc Signed-off-by: Roman Birg <roman@cyngn.com>
| * SystemUI: Update cached weather data when temperature unit changesLuis Vidal2016-05-073-11/+68
| | | | | | | | | | | | | | | | | | Register an observer to keep track of the temperature unit selected in settings to update the cached data accordingly TICKET: CYNGNOS-2694 Change-Id: I92adec20835bcd6d6476d793564300611bcba4a1
| * SysUI: Make sure LLS focus is false when unlockingd34d2016-05-061-0/+1
| | | | | | | | | | | | | | | | | | | | Ensure mLlsHasFocus is set to false when device is unlocked. If not this can cause state issues where LiveLockScreenController thinks the LLS had focus when the backing service dies or disconnects, which causes the keyguard to be shown erroneously. Change-Id: I33cef3990461599a08a5441e88c883c0d0c7c589 TICKET: CYNGNOS-2739
| * Lockscreen : Bunch-o-fixesDanesh M2016-05-058-47/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Prevent edge gesture from conflicting with lockscreen shortcuts - Fix lockscreen shortcuts crash where animations were being run on detached view - Fix statusbar flicker when swiping keyguard in from the left - Fade scrim away when swiping lockscreen in and out - Fix back button not working when showing bouncer in external keyguard. - Ensure we collapse bottom area after up/cancel when in external keyguard - Fix issue where clock/notifications can get off-center when swiping to left. - Fix bottom flicker when swiping lockscreen to left - Only lock directional swiping when swipe helper acknowledges it. This allows for all the standard swipe behavior to function. - Ensure lockscreen shortcuts are not actionable when in SHADE - Only dismiss bottom area after lockscreen shortcuts animations have finished animating - Prevent swipe when album art showing CYNGNOS-2585 CYNGNOS-2488 CYNGNOS-2517 CYNGNOS-2390 CYNGNOS-2632 CYNGNOS-2634 Change-Id: I2fe767ed7e07b621075c755aae98121c8517b997
| * SystemUI: bail out of recents-to-home animation when losing focusRoman Birg2016-05-051-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the case when recents is animating out, and an application happens to immediately add a view to the window manager, the recents view would lose its focus, but the animations would continue to run, breaking the behavior in certain cases. Bail out of the recents activity and override the pending transition to be disabled to not distrubt the newly added window. Ref: CYNGNOS-1136 Change-Id: I5998a9dcf21b1369473f04ea4d867c5f2543d6df Signed-off-by: Roman Birg <roman@cyngn.com>
| * SystemUI: implement properly saving tile locationsRoman Birg2016-05-045-78/+132
| | | | | | | | | | | | | | | | | | | | | | | | Use new persisted key which does not use the tiles' ID (which changes usually across reboots with every tile). When the Custom tile service comes up, it will update the placeholder tiles created with their real values and the order is preserved properly. Ticket: CYNGNOS-2530 Change-Id: I5e75c739553969f1d92c249f521a476259fe0cd6 Signed-off-by: Roman Birg <roman@cyngn.com>
| * systemui: Fix the TrustDrawable animation stateSteve Kondik2016-05-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | * The TrustDrawable animation is being mistakenly activated when the screen turns off, resulting in SystemUI obliterating SurfaceFlinger with vsync requests. This results in high power consumption. * Add a check for device interactive state when enabling the animation to prevent this. Change-Id: Iad9dd2a7c26fced4e412ac0b7dfb393aa58e6c02
| * SysUI: Show keyguard when LLS dies and had focusd34d2016-05-041-6/+9
| | | | | | | | | | | | | | Make sure LLS had focus before showing keyguard. Change-Id: Ic5e8168f7b97cef92b57cac4d055b398ce8a9d0a TICKET: CYNGNOS-2671
| * SystemUI: avoid lock screen shortcut picker crashRoman Birg2016-05-031-2/+4
| | | | | | | | | | | | | | | | | | | | Fixes crash when picking lock screen shortcut app, then rotating, then hitting the back button. Ticket: FEIJ-299 Change-Id: I728052878ca3fc87243878ef96acea2e052aed6d Signed-off-by: Roman Birg <roman@cyngn.com>
| * SystemUI: remember deleted custom tilesRoman Birg2016-05-032-3/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We previously had no mechanism of knowing which tiles the user had manually removed, leading to the tiles returning when the publishing application decided it was time to update. Now, when the user removes a custom tile; set a flag and hide it in the tile list. The removed tiles will be enumerated in the Add tile detail view if the user decides they want it back. Ticket: CYNGNOS-2530 Change-Id: Ia4fe74ef580af7139279a2fb78e240e872f8dbb0 Signed-off-by: Roman Birg <roman@cyngn.com>
| * Revert "Selectively show zen footer."Roman Birg2016-05-021-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | While playing music, if zen mode is on, the user must exit it via the quick settings tile or via the settings menu, even if they used the volume buttons to enter the state. We shouldn't have such a restriction. Ticket: CYNGNOS-2662 This reverts commit 97eff878a45f4e828812fa5a4745e3477209df1f. Change-Id: I305d94e5b187db6fa01e5453bcdadbd1687cf43f
| * Lockscreen shortcuts: don't allow specific activitiesRoman Birg2016-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The picker allowed users to pick specific activities from an app that it did not explicitly expose to the user. This is not good UX as many activities are not meant to be user facing and are expecting certain input. Users can pick apps themselves, or apps can opt-in to shortcuts and publish things themselves. Ticket: CYNGNOS-2684 Change-Id: I9199d442dbe9eaa4140a706166a6fde87bc8957c Signed-off-by: Roman Birg <roman@cyngn.com>
| * SysUI: Animate notificaiton panel back into viewd34d2016-04-294-14/+76
| | | | | | | | | | | | | | | | Add an animation for when the user has swiped the left edge to bring the notificaiton panel back into view from the left side. Change-Id: Ie2ab3482a39d2d9c7b93a853f6ebae43a174e2c0 TICKET: CYNGNOS-2549
| * SystemUI: Handle null keys on settings reload.Adnan Begovic2016-04-281-0/+6
| | | | | | | | | | | | | | | | | | | | During instrumentation or through manual command line invocation, null keys can be fetched from the listening uri's causing an IllegalArgumentException within the ContentProviderProxy of CMSettingsProvider's impl. Change-Id: I4a159e838f57e6b0c32b722c72d3bb6a898f6830 TICKET: CYNGNOS-2602
| * SysUI: Don't call removeAllViews on AdapterViewd34d2016-04-261-1/+4
| | | | | | | | | | Change-Id: I957c87e499fb719d1d45671c968c625dac75ecc7 TICKET: OPO-649
| * Add Weather Content Provider [5/5]Luis Vidal2016-04-261-32/+35
| | | | | | | | | | | | | | | | | | | | | | Use the Weather Content Provider in the cmsdk to pull the weather data. However, SystemUI will rely on LockClock to force weather updates via the new Weather Service, which in turn will send a broadcast when new weather data is available. Change-Id: I3c65ea5f4cc297a7944fcdef33f496cdf2d68d0a
| * LLS: Update LLS slide offsets when focus changesd34d2016-04-251-0/+4
| | | | | | | | | | Change-Id: If5da6e9aff440c25f507aff4d9b54c7f9f51a18d TICKET: CYNGNOS-2557
| * LLS: Show notification panel if LLS crashesd34d2016-04-221-0/+7
| | | | | | | | | | | | | | | | | | | | If a LLS crashes while it has focus, PhoneWindowManager will disable the left edge gesture detection. This patch makes sure we are showing the notification panel if the LLS crashes while it currently has focus. Change-Id: Ibc50246c2e426a0d40d0e7d498be27ada0b27c00 TICKET: CYNGNOS-2483
| * LLS: Fix screen off event firing when not interactived34d2016-04-221-4/+12
| | | | | | | | | | | | | | | | | | | | Track PowerManager's interactivity to accurately report screen off. While we did not get the screen on when in ambient display, the screen off event would still fire. Keep track of the interactivity and send screen off event accordingly. Change-Id: I633cacbf3a5d22b416e1bd6550d7b8d661c16c3d TICKET: CYNGNOS-2519
| * Keyguard: switch to cm-specific device provisioned flagRoman Birg2016-04-222-8/+12
| | | | | | | | | | | | | | Ticket: CYNGNOS-2431 Change-Id: I2f47031f9fb2cc40e61a5f57d49e985104b14024 Signed-off-by: Roman Birg <roman@cyngn.com>