summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/statusbar
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'cm-13.0' of ↵Wolfgang Wiedmeyer2017-02-111-2/+2
|\ | | | | | | https://github.com/LineageOS/android_frameworks_base into replicant-6.0
| * StatusBarIconView: Enable notification icon count by defaultZhao Wei Liew2016-12-231-2/+2
| | | | | | | | | | | | This used to be enabled by default in previous releases. Change-Id: I24766bed58d081a0dd4763b9602379ff6435e092
* | Revert "Keyguard: switch to cm-specific device provisioned flag"Wolfgang Wiedmeyer2016-12-132-12/+8
|/ | | | This reverts commit ab5c226f688080d714f3eee987bd97e13cc348d5.
* SysUI: Don't set panel bar to null and avoid NPEsd34d2016-09-131-10/+0
| | | | | | | | | | | This patch removes the onDetachedFromWindow method introduced in change Ieaec759e4378a9a7701e6fba46ed33464caaee0a. It is not necessary to set the panel bar to null in the PanelViews or the PanelHolder in order for these objects to be GC'ed when recreating the status bar after a theme change or a user switch. Change-Id: I67f1e8289d04df2f5daefdb206030d7f0404d714 TICKET: HAM-1551
* PhoneWindowManager: set focus flags on keyguard panelsRoman Birg2016-09-081-0/+7
| | | | | | | Ticket: CYNGNOS-3251 Change-Id: I394514335bdaeafdc7b89918ece1fe3d2794647f Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: Don't pad when config_showScreenOnLockScreenHints is falseMatthias Yzusqui2016-08-263-4/+9
| | | | | | | | | | When the overlay is false the 'down' indicator is unused and there- fore no padding for text alignment is needed. Also use the overlay to disable the up-arrow indicator, thus return- ing to the old lockscreen layout. Change-Id: I542109686778e081c1883885287de0d5380578a2
* Fix slow anim when using a gesture to open status bar pulldownDave Kover2016-08-131-1/+1
| | | | | | | | | When using a custom launcher, like Nova, it is possible to set a gesture to open the status bar pulldown. It does not open at the same speed as when using a finder to pull down from the top of the screen at the status bar. This fixes that. Change-Id: If3f14f14ef5ed4f14495472d0335cb11d743a5a1
* SystemUI: Display bluetooth battery status when availableGavin Ni2016-08-041-1/+47
| | | | Change-Id: I659e6270058d02fdd894b8242a6375b1a13237df
* SystemUI: avoid null tile creationRoman Birg2016-08-011-3/+5
| | | | | | | Don't add a tile spec if creation throws an exception. Change-Id: I0625caef1cd4060bcc59aae2bf433d2b38512e0d Signed-off-by: Roman Birg <roman@cyngn.com>
* SysUI: Define config for showing screen on hintsd34d2016-07-281-1/+5
| | | | | | If you want it, enable the config otherwise stay calm and carry on. Change-Id: I057443dc289098dad21775f941e13903881c6832
* SysUI: Show hints if showing keyguard and provisionedd34d2016-07-221-3/+9
| | | | | Change-Id: Ifd8923e7eabc7b8fd9186dbf757272dec3a1a8b1 TICKET: NIGHTLIES-3199 NIGHTLIES-3202 NIGHTLIES-3204
* SysUI: Add first time use lock screen hintsd34d2016-07-215-8/+398
| | | | | | | | | This adds a set of hints that will be displayed on the keyguard when the screen is turned on. Each of the hints provides the user with a hint on how to interact with the lock screen. Once the user has performed the hinted action the hint should not be shown again. Change-Id: I438316cbf7a01c3f215330a5ca1aed5b78ab3fdc
* keyguard: Set FLAG_SHOW_WALLPAPER when shwowing mediad34d2016-07-131-1/+1
| | | | | | | | | This ensures the flag is set if the user has "directly show lock pattern/pin/password" enabled and a lock screen wallpaper is set on a device that has blur enabled. Change-Id: Ib3d359afd914fb1cd9068ffff0bff13b5d23b9cc TICKET: CYNGNOS-3192
* Keyguard: Don't circular reveal a non-visible viewd34d2016-07-081-1/+1
| | | | | | | | | This follows the same logic used in the setCirculeRadius method in this class and avoids performing a circular reveal on a non-visible, and possibly detached, view. Change-Id: I238a81433fd78e41192ca099bd68404ae1d0ac6e TICKET: FEIJ-1501
* Revert "Revert "Only show keyguard panel if on lockscreen + no activity on top""Danesh M2016-06-292-2/+6
| | | | | | | | CYNGNOS-2980 This reverts commit 226797c8e2aba40ecbfb646f2ef5085893dff46a. Change-Id: I0440faf2dd07b427f639277eec2f3cfa89a7de6e
* SystemUI: detect rotation and resize mKeyguardBlur accordinglyDan Pasanen2016-06-172-0/+14
| | | | Change-Id: Icfd1d2de9929f9620332e3367885bec972063681
* Revert "Only show keyguard panel if on lockscreen + no activity on top"Danesh M2016-06-162-6/+2
| | | | | | | | | Breaks SHOW_WHEN_LOCKED for secure lockscreen + blur + LLS CYNGNOS-3057 This reverts commit 28e023d0c621f00e357f52264baaedf72c1eeee7. Change-Id: Iccec0129e793b910af02bf0a8f60ec9a2ca226a2
* SysUI: Don't let rogue themes ruin notificationsd34d2016-06-141-5/+43
| | | | | | | | | | | If we encounter an exception when inflating a notification's views, and a theme is applied, we should make a second attempt at inflating the notification without a theme applied in case the theme cause the issue. If the exception still occurs, we treat it like we normally do and allow the app to be killed for posting a bad notification. Change-Id: I444cf6c78ee43e2978201880957c53eb08e6966d TICKET: CYNGNOS-2892
* Keyguard: Get your weather on... the lock screen [1/3]d34d2016-06-092-3/+41
| | | | Change-Id: Ieed59aa488a0a26fa9fc27bd77cbdc6156baac68
* systemui: Fix compilation failureDiogo Ferreira2016-06-071-1/+1
| | | | | | An invisible character was breaking the build. Change-Id: I5946edce7b9a9eed1fad95033c3988bfeef67812
* isRoaming: fix possible NPEMichael W2016-06-071-2/+4
| | | | | | | | | | | Looks like isRoaming() is called with mServiceState being null sometimes Check for non null as well (Reference: BugReport 13-20160520-26 L #36) Change-Id: I90a7feb2f5b72a4b94bbb4e7a5c4f486b416143b
* Only show keyguard panel if on lockscreen + no activity on topDanesh M2016-06-032-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | There is a bug in window manager, where if the keyboard is collapsed, the reference to the window is lost when destroying its surface. This in turn prevents the ime window from being reordered later on. For normal apps this is not an issue, but since we're above normal apps (KEYGUARD_PANEL), this rises an issue for us in this scenario : 1) Set password lockscreen 2) Swipe up to unlock 3) Collapse keyboard 4) Launch emergency dialer (SHOW_WHEN_LOCKED) 5) Press home button Notice that all touch events are going to the external keyguard. If the keyboard is not collapsed in step 3, everything works and the reason is the reference to the input method window in window manager isn't lost and it gets re-ordered behind the windows. To workaround this issue, avoid removing/re-adding the window and instead rely on window manager to control its visibility. Change-Id: I59dd41547902ae5e23bbeb0a01ee27f11fc29dfc
* SystemUI: Do not enable KeyguardBlur by defaultMichael Bestas2016-06-031-8/+10
| | | | | | | | * The observer has been moved outside of blurSupported check so we can't initalize mKeyguardBlurEnabled to 1 by default * Default mKeyguardBlurEnabled to R.bool.config_ui_blur_enabled Change-Id: I32ed01ee3d75359abfbb6c7acfe315b9f154ce6f
* Visualizer: Let visualizer fill the entire available screenDan Pasanen2016-06-031-8/+0
| | | | | | * This will allow it to be more dynamic (landscape lock screen for instance) Change-Id: I2ffd6b0ca8832812faaa4cc0ec4cdd6071fbec8c
* SystemUI: fix toggling lockscreen rotation [1/3]Dan Pasanen2016-06-031-5/+20
| | | | Change-Id: I28fea0124c91b8efc206a940761e77fa61d1fefc
* SystemUI: Fix mCanDismissKeyguard state issueEthan Chen2016-06-011-1/+3
| | | | | | | | | * Setting it to keyguardShowing causes issues when notifications are expanded from the lockscreen if a fingerprint is used to unlock the device. REF: CYNGNOS-2400, NIGHTLIES-2767 Change-Id: Id973c2cc011e56f516a34b69df0851ee3307af24
* SystemUI : Ensure we unset focus when showKeyguard is calledDanesh M2016-06-011-0/+1
| | | | | | | | | | | | | Repro steps : 1) Swipe left to enter INTERACTIVE live lockscreen 2) Turn screen off 3) Turn screen on 4) Notice left swipe does not work CYNGNOS-2950 Change-Id: I1af24e2bc3377afc9e8236a35afc208ab676bcc0
* Don't lookup application keyguard notification visibility unnecessarilySam Mortimer2016-06-011-2/+4
| | | | | TICKET: CRACKLING-1127 Change-Id: I7a70f2c9d9e813c71544f2446c9bc6502f061c4f
* Frameworks: Add per app controls for LP keyguard notifications (1/2)Lars Greiss2016-06-011-7/+17
| | | | | | | | | | | | | | | Nice done by google but the UX is a problem especially for ppl who are using a lot apps and just want to see from important apps the notifications on the lockscreen. This commit adds the ability to - enable/disable per app the keyguard notification at all - enable/disable per app ongoing notifications on the keyguard We handle this over the app policy conf file like the other per app notification options. CRACKLING-1127 Change-Id: Ib166db1b1673aeaea132c8eeb16c650d2f254a82
* SystemUI: fix qs pulldown on certain themesRoman Birg2016-05-251-1/+1
| | | | | | | | | | Some themes define the peek height as 0, we should respect that and allow the QS pulldown to still work. Ticket: CYNGNOS-2756 Change-Id: I0404974a23ef41f4689c38ab86e3f09c4bb150ab Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: improve keyguard with SIM PIN interactionsRoman Birg2016-05-251-0/+6
| | | | | | | | | | | | - Dismiss heads up popups when PIN is required, it would block input as the new PUK screen would pop up - Also dismiss the PUK screen when the SIM is removed Ticket: CYNGNOS-2843 Change-Id: Id42626faaa563215b128d7c830793d9908e5282d Signed-off-by: Roman Birg <roman@cyngn.com>
* StatusBar: Do not just define vars...Michael W2016-05-241-3/+2
| | | | | | ... also use them! Change-Id: I4582cc949694fe7dc7ae13866357e26ed7957df2
* SystemUI: improve layout of qs detail panelRoman Birg2016-05-241-6/+38
| | | | | | | | | | | | | | | Don't try to fit the detail views, but allow the user to scroll freely while detail view is showing and we are in landscape. The user can still fling up and down and the velocity flings are respected in the detail scroll lock mode. Hitting done will always return the user to the QS panel, or they can close the detail view manually. Ticket: FEIJ-201 Change-Id: Id8b16a682ba5cebdc57c0455d81aa38fd5e90cbd Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: fix multi touch gestures and extra jankRoman Birg2016-05-235-3/+6
| | | | | | | | | | | | | | | | | | The dejank utils were getting a little ahead of themselves: in between the panel height being set to 0 (could happen often), and the user actively trying to expand the panel, the next layout traversal from the dejank utils would try to collapse the panel, causing bad states. Also in the qs height animator updater, be careful to only actively update the end height when the user did not just peak. Finally, and most importantly, we need to disable motion event splitting in our view that holds our notification panel logic so we can get multi touch gestures in those views properly. Ticket: CYNGNOS-2756 Change-Id: I2cda440d4e0548d3477c6fad88f7dac1cb59d9db Signed-off-by: Roman Birg <roman@cyngn.com>
* SysUI: Only set mKeyguardBlurEnabled if supportedd34d2016-05-231-2/+2
| | | | Change-Id: I5aa65804005cbdc9012f40c764521d9d551f6e75
* 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
* SystemUI: update qs tile hint and header view on locale changeRoman Birg2016-05-191-0/+4
| | | | | | | 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: 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-184-7/+22
| | | | | | | | | | | | - 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
* 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
* 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