summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI
Commit message (Collapse)AuthorAgeFilesLines
...
| * Automatic translation importpinky@build012016-07-211-1/+1
| | | | | | | | | | Change-Id: I98efe6096c57217d4c6cb46ec4fd4d94d84cd426 Ticket: -
| * Automatic translation importpinky@build012016-07-191-0/+11
| | | | | | | | | | Change-Id: Id6a830b775d7a32c8d00a9a30e441f781d1fbe95 Ticket: -
| * Automatic translation importinky@build012016-07-152-1/+5
| | | | | | | | | | Change-Id: Iaf2d46f67d3b9ea9f8acf7293df7c98fb53156cf Ticket: -
| * 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
| * SystemUI: Themes are translatableMichael Bestas2016-07-131-1/+1
| | | | | | | | Change-Id: I637ba2960adec161b028f66f55b8777fb75b92f2
| * Automatic translation importclyde@build012016-07-112-1/+2
| | | | | | | | | | Change-Id: Ia5826d42a5a84f3ef604545fb537ce2c5d791809 Ticket: -
| * 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-084-4/+37
| | | | | | | | | | | | | | | | | | | | 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>
| * Automatic translation importblinky@build012016-07-052-0/+13
| | | | | | | | Change-Id: Ia66a72254e86b00e1cd98e6a6d775fa76066e3b6
| * 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
| * Automatic translation importinky@build012016-06-295-15/+16
| | | | | | | | Change-Id: I94e4f7e190765e42efcebd4d4df1efcae30224c4
| * 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: Add margin in qs_tile_top between instruction text and add buttonEric Biedert2016-06-251-0/+1
| | | | | | | | | | | | | | | | Screens: - http://i.imgur.com/sHV1e5j.png - http://i.imgur.com/m4vA8zo.png (with exclamation marks to see padding better) Change-Id: I5714a68268d2567153d8bf851e151b7af8b699d8
| * Automatic translation importblinky@build012016-06-201-1/+2
| | | | | | | | Change-Id: Iafe816c8763128873c4449b3b25b902b9be7ebae
| * Automatic translation importinky@build012016-06-1796-0/+219
| | | | | | | | Change-Id: Id9b2d5014436ab0eaf7ea0125d23e7caba75db8d
| * 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-102-28/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | - 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-093-3/+45
| | | | | | | | 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
| * Automatic translation importinky@build012016-06-012-0/+7
| | | | | | | | Change-Id: I863da8b2434e535fd980256a08addac7cb515cfa
| * 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-246-50/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Use linear interpolator for battery leveld34d2016-05-233-0/+3
| | | | | | | | | | | | | | | | | | | | By default, ObjectAnimator uses the AccelerateDecelerate interpolator which causes the battery meter to show the incorrect level. Explicitly setting the interpolator to linear fixes this issue. Change-Id: I06e2c743aaa6e0560f0fe8fe27377427becb11c7 TICKET: NIGHTLIES-2985
| * SysUI: Fix coloring of frame and boltd34d2016-05-234-7/+21
| | | | | | | | | | | | | | | | | | 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-233-9/+67
| | | | | | | | | | | | | | | | | | | | | | 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
| * 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-194-11/+5
| | | | | | | | | | | | | | | | 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-194-2/+16
| | | | | | | | | | | | | | 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-194-5/+11
| | | | | | | | | | | | | | | | | | | | 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