summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'cm-13.0' of ↵HEADreplicant-6.0-0001replicant-6.0Wolfgang Wiedmeyer2017-05-021-3/+10
|\ | | | | | | https://github.com/LineageOS/android_frameworks_base into replicant-6.0
| * Use STREAM_RING on non-voice capable devicesLuK13372017-02-111-3/+10
| | | | | | | | | | | | * That's what Google does. Change-Id: Iac88d161eb1dccbbb5c538d5e04d8d1fc43edef2
* | Merge branch 'cm-13.0' of ↵Wolfgang Wiedmeyer2017-02-114-65/+5
|\ \ | |/ | | | | https://github.com/LineageOS/android_frameworks_base into replicant-6.0
| * Revert "Add CM PlatLogo (1/2)"Zhao Wei Liew2016-12-293-63/+3
| | | | | | | | | | | | | | | | As part of the rebrand to LineageOS. This reverts commit aed50cbe3c3dbe175dac695764df586d8dda14c9. Change-Id: I7ee6125f6c8d4ec8e57e5a1673bf2e095a11cb76
| * 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.
* | Merge branch 'cm-13.0' of ↵Wolfgang Wiedmeyer2016-12-1266-1611/+3840
|\ \ | |/ | | | | https://github.com/CyanogenMod/android_frameworks_base into replicant-6.0
| * SystemUI: Fix possible NPEMichael W2016-11-041-2/+3
| | | | | | | | | | | | | | | | | | isTaskAboveTask() results in an NPE if the caller is null. Wrap with null checks on lauchTargetTask and launchTargetTask.group to prevent this Change-Id: I372ea7744c67ddd11d9731e6bee1858d4dd3318c Reference: BugDumps 20161021-27 L#77
| * 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-082-0/+39
| | | | | | | | | | | | | | 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
| * SystemUI : Initialize state linked volumeDanesh M2016-07-251-0/+1
| | | | | | | | | | | | Otherwise false is what it defaults to and only updates on state changes. Change-Id: I55503e930882acec1fe141de48fbb1094d21ba3c
| * SystemUI: don't automatically disable compass tileRoman Birg2016-07-251-5/+6
| | | | | | | | | | | | | | | | | | Persist the user state until they disable it. Ticket: CYNGNOS-3135 Change-Id: I9956f78419e94cc63b6a6ecabd28075a32192c2a Signed-off-by: Roman Birg <roman@cyngn.com>
| * 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
| * SystemUI: add themes dynamic tiles iconRoman Birg2016-07-081-4/+5
| | | | | | | | | | | | | | | | | | | | Resolves the themes tile having the default android activity icon. Also resolves other dynamic tiles not being queried properly. Ticket: OSS NIGHTLIES-2967 Change-Id: I532eeaef417195f3148915b777e7ab175b1089aa Signed-off-by: Roman Birg <roman@cyngn.com>
| * SystemUI: fix qstile page reset timeoutRoman Birg2016-07-061-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the user hasn't visisted the quick settings tile area for some time (currently 10s), we need to reset the page back to the first one. We can't go off whether we are listening to events because when the user turns the screen off, listening is set to true, so the page would never reset if the user turned their screen off. We now key off whether we are expanded, which represents whether the user is interacting with the panel. Change-Id: I010aaa9e9ea84eb96308184dad606d47ce136748 Signed-off-by: Roman Birg <roman@cyngn.com>
| * SystemUI: Restrict persistent USB drive notifications to USB disksAdrianDC2016-07-021-2/+5
| | | | | | | | | | | | | | * Without the addition of the isUsb check, a regular FAT32 MicroSD would have a persistent notification that is unwished Change-Id: I396a861702674d0a6a70beb5206fb4c7374ec85d
| * 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
| * SystemUI: fix NFC tile sometimes hidingRoman Birg2016-06-101-28/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | - Check whether NFC is supported based on device features - Don't hold a reference to the NFC adapter - query it when we need it (not using getDefault, but the internal method, if we use the default, querying for the adapter before the service was spun up would lead to systemui never having a valid refernce to an adpater). Ticket: CYNGNOS-1943, CYNGNOS-2866 Change-Id: Iba8b668406ca96183aafcf9a55d60c6d89d70061 Signed-off-by: Roman Birg <roman@cyngn.com>
| * 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
| * SystemUI: Add support for persistent usb drive notification.Adnan Begovic2016-06-061-0/+2
| | | | | | | | | | | | | | This option can be enabled via config_persistUsbDriveNotification Change-Id: I331a759aeb914e46e3ef4842896d3465d894707a TICKET: PAELLA-225
| * 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-252-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | - 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-244-49/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * SysUI: Fix coloring of frame and boltd34d2016-05-231-4/+15
| | | | | | | | | | | | | | | | | | This patch should address issues with the frame and bolt being incorrectly colored in dark/light scenarios. We also keep track of the darkness intensity level so that it can be set when changing meter modes. Change-Id: Iaec8b88d39bbb7f6dbcbbf078c91d20b54ab29c8
| * SysUI: Allow styling of battery text/charge blend moded34d2016-05-231-8/+26
| | | | | | | | | | | | | | | | | | | | | | Not all battery meter modes are created equally and sometimes you need to draw the text or charge indicator using a different blend mode than XOR. This patch adds a new attribute to the battery meter style which allows the blend mode to be defined per battery style. Change-Id: I3d2eb38828abc7e5d93337fa815a414675df43a1 TICKET: NIGHTLIES-2981
| * 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>
| * SystemUI: Filter out unsupported values off perf profile tileLuK13372016-05-231-7/+28
| | | | | | | | Change-Id: I4409d1e9e7310530b47ac7d48db8c4796f0ae49e
| * SysUI: Only set mKeyguardBlurEnabled if supportedd34d2016-05-231-2/+2
| | | | | | | | Change-Id: I5aa65804005cbdc9012f40c764521d9d551f6e75