summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res
Commit message (Collapse)AuthorAgeFilesLines
* base: dock batteryJorge Ruesga2016-03-106-1/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8cc3fc465daa49c9010bdbbf876dae18461d7024 Require: topic:dock_battery Signed-off-by: Jorge Ruesga <jorge@ruesga.com> Improve dock battery strings Change-Id: Iccfa2df4ec608ae02c0bfcef99648788dab95933 systemui: fix battery text level visibility Use present flag instead of plug-in flag to determine the battery present (only hide the text level view if the battery is not present) Change-Id: I8e20e107bbeeecdc846833dc80c1a2754d82a039 Signed-off-by: Jorge Ruesga <jorge@ruesga.com> systemui: restore space between clock & battery Initialize dock battery to GONE visibility because isn't update on device not supporting dock battery. Change-Id: I23aeafc27db0fc499050a7306e8549293accb507 Signed-off-by: Jorge Ruesga <jorge@ruesga.com> SystemUI: fix battery icon jump on qs expand The layouts are slightly different for the header and icon layouts. Change-Id: I85d3fc007eb9b2c3e2ba09bb761a91b521b89700 Signed-off-by: Roman Birg <roman@cyngn.com> systemui: move dock battery level views outside systemicons layout At not the ideal, this at least will match normal battery level view, puttings battery levels in the correct order. In addition fix two small dock battery bugs: - BatteryLevelTextView not displayed if mode is TEXT - Properly hide DockBatteryMetterView for modes NONE and TEXT - Underline the dock BatteryLevelTextView to differentiate normal from dock text view Screenshot: https://cloud.ruesga.com/f/74fe240c66/ Change-Id: Idfd3a4bb2f19bd29f9f4dd2b0ea7f645bb531986 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* SystemUI: Improve string in data capable, not selected scenario.Adnan Begovic2016-03-091-0/+3
| | | | | | | | | | If a user hotswaps out their SIMs on a multisim device, the default data sim can be in an "unset" state. Since this is a possible scenario, its better to show that no data sim is selected vs no sims being available. Change-Id: I1e077883472a5037f38f97e6d15afe504f787e6a TICKET: CYNGNOS-2211
* SystemUI: fix always_show_roamingShaleen Jain2016-03-071-3/+3
| | | | | | | | The roaming indicator overlaps with the signal view fix it to match the cm-12.1 layout and tint it as well RM-208 Change-Id: I3b070b867fbf070cdf20cf01eb67c8e4688ac881
* SystemUI: Fix volume panel inconsistenciesMichael Bestas2016-03-037-0/+52
| | | | | | | | * Use xml drawables everywhere * Add muted notification icon * Use AOSP naming scheme for drawables Change-Id: I14a3af9a7aecf4828f81a8e39855608e452848d6
* QS: Show # of clients connected to hotspotd34d2016-02-221-0/+6
| | | | | | | | Since we no longer post a notification showing that the wifi hotspot is on and the # of connected clients, we now show the # of clients connected in the label of the hotspot QS tile. Change-Id: I9ed37b96db9b5b4320a7260524f69733ea70d030
* Automatic translation importMichael Bestas2016-02-2221-35/+109
| | | | Change-Id: I2c344fc6bdb50744e98cfa53c89b336aabf91421
* Automatic translation importMichael Bestas2016-02-1431-56/+206
| | | | Change-Id: I6f7e9a4d7d72272d445319a26b386d7098aa26a4
* Add wakelock option for flashlightniks2552016-02-121-0/+3
| | | | | | | | On some legacy devices flashlight can't stay on when screen is off. With this change, flashlight can use wakelock. For obvious reasons, this is turned off by default and needs to be enabled through overlay. Change-Id: Ia69309cf023430c9e90634a722be97ebbf6677ca
* SystemUI: add caffeine qs tile (1/2)Keith Mok2016-02-113-0/+58
| | | | Change-Id: I5d4aa97ae63fc0bcc40f0fa7d9305efbba091029
* SystemUI: improve lockscreen tile behavior with profilesRoman Birg2016-02-081-0/+1
| | | | | | | | | | | | | Disable (grey out) the lock screen tile when a profile is already disabling it. Profiles takes precedence over the internal setting. Also simplify lockscreen disable logic - using a null'd Boolean without synchonization will lead to things falling out of place. Ref: CYNGNOS-1930 Change-Id: Ia4cb7926e418a4d72426be65e5bfb11dc44bee5e Signed-off-by: Roman Birg <roman@cyngn.com>
* String update, change wording from "Mobile" to "Cellular"razorloves2016-02-031-1/+1
| | | | | | Bring inline with AOSP's terminology Change-Id: I3322fe338a339b4f90411fb2d6fd2549391e224b
* Automatic translation importMichael Bestas2016-02-0225-5/+423
| | | | Change-Id: Ie1df95cca921e390acd820750e74dbaddfabf9c2
* SystemUI: add flashlight notification reminderRoman Birg2016-02-011-0/+4
| | | | | | | | | | | | | | CM13 port of change-id I3689ff6498b97b813ccc10dc7dca3527fc8455aa. We now only post a notification when the user initiated the flashlight via the QS tiles (or "V" gesture) since there is a common API for flashlight apps to hook into (and possibly place their own notification, which we don't want to ever double up on). Ref: CYNGNOS-1670 Change-Id: Id532e8449932fefb216c10798aab6241f6e491ea Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: add better hints when trying to delete edit tileRoman Birg2016-01-298-4/+220
| | | | | | | | | | | | Add a clearer indication that the edit tile cannot be deleted via an animation. Animations by Asher Simonds. Ref: CYNGNOS-1644 Change-Id: I829faface9268cd2900533f8194bdfe58339420c Signed-off-by: Roman Birg <roman@cyngn.com>
* Make lights out mode of navigation bar consistent to normal mode.Danny Baumann2016-01-271-28/+0
| | | | Change-Id: I0e89907e3816d500646b93307784f40a7372698f
* SystemUI: handle when brightness slider is hiddenRoman Birg2016-01-253-54/+67
| | | | | | | | | | | | | | With this patch, the quick settings area should automatically expand and make room for the tile trashcan/instruction area when the user has the brightness slider hidden. Also adds a scrollview to the QS Settings page to allow the list to grow without impacting the height of the qs panel. Ref: CYNGNOS-1644 Change-Id: I03f552ec28a978c4cad1e7e7a52648ec3d311a07 Signed-off-by: Roman Birg <roman@cyngn.com>
* Automatic translation importMichael Bestas2016-01-2548-12/+530
| | | | Change-Id: Ia54785f241d7597cc76d2531c6be53263f5949c1
* SystemUI: Move CAF stringMichael Bestas2016-01-244-4/+3
| | | | Change-Id: I94ebd47d615a5370865cefdf8155f4ba146afe67
* SystemUI: Do not turn on Wifi hotspot in APM ModeShufeng Hou2016-01-233-0/+4
| | | | | | | Do not turn on hotspot in APM Mode and show clear alert message Change-Id: I3afcc92a93707e15cd436ebc1cffb74567443483 CRs-Fixed: 926474
* Themes: Expose volume slider and thumb colors and make them work with custom ↵Randall Rushing2016-01-181-0/+3
| | | | | | | | | | images. Credit Bryan Owens for giving guidance on what was needed. Signed-off-by: Bryan Owens <djbryan3540@gmail.com> Change-Id: I862008d1b433666333a4c77904b44a05e70472a2
* SystemUI: add some tile removal hintsRoman Birg2016-01-183-5/+13
| | | | | | | Ref: CYNGNOS-1644 Change-Id: I41e921c641f53a5870fb5685e2ef67060d613989 Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: add a disabled state for Quick TilesRoman Birg2016-01-181-0/+3
| | | | | | | | | | | | | | Some tiles may want to be visible, but not allow any user interaction due to security reasons. Add a visual disabled state for tiles which are not enabled. With this patch, the Profiles tile and the Lockscreen toggle tile disable themselves on a secure lock screen. Ref: CYNGNOS-1597 Change-Id: I65ec7837661483d238d8dc3fa18419f76c8029dd Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: Add battery saver tile (1/2)Michael Bestas2016-01-173-0/+63
| | | | | | * To be displayed on devices without perf profiles Change-Id: Iff6920a0bb78e36e44590c1db880afcdcc6f78b3
* SystemUI: Add heads up tile (1/2)Michael Bestas2016-01-173-0/+61
| | | | Change-Id: I0e3cff73752c59d804dcec43b86524c2e8df4f57
* SystemUI: Removing padding on mobile signal group.Adnan Begovic2016-01-121-1/+0
| | | | Change-Id: Ia65c384637eca6ca37708e8027f1705ee16de4cc
* SystemUi: Reintroduce always_show_roaming config.Adnan Begovic2016-01-122-19/+55
| | | | | | | | | Set ro.config.always_show_roaming to true to always show both the current data RAT and roaming when in a roaming scenario. Change-Id: I59416f172f24094547b2594347e6accab0bd7fed TICKET: CYNGNOS-1578
* Automatic translation importMichael Bestas2016-01-1128-15/+634
| | | | Change-Id: Icca32de2d5cfed0c6d211a55991b31fc1c45c09d
* SystemUI: fix navbar drawing issues in landscapeRoman Birg2016-01-081-11/+16
| | | | | | | | | | | | | | | | | | | | | Originally StatusBarWindowView was responsible for laying out the scrims and making sure they are full screen (behind navbar), while the other views were respecting the navbar insets. This was broken for two reasons for us: 1) our scrims are more complex and aren't always direct subchildren of the StatusBarWindowView (mainly to display the visualizer correctly) 2) we declared fitSystemWindows=false, so the logic to add insets was never actually executing. We now split out the logic for insets into its own class and apply it to the scrims properly. Ref: CYNGNOS-1502 Change-Id: I5b8295d7a64b72dc911fce6d529936592f24e98b Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: Expose Add Tiles DetailedView Title and Icon ColorNicholas Chum2016-01-071-0/+6
| | | | | | | Completely expose all QS Add Tiles DetailedView Texts and Icon tints for the themer. Change-Id: I02793acd749dcdf66a2c7fcacc4b79b89556ca01
* SystemUI: clean up tunerRoman Birg2016-01-042-53/+62
| | | | | | | | | | - Remove preferences we handle elsewhere (battery) - Remove link to QSTuner - Separate out statusbar icon prefs into separate preferences so we can launch it externally Change-Id: Icc01b443dab945374a0df19a4f0359e3df4ea7d9 Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: add tiles detail viewRoman Birg2016-01-047-0/+197
| | | | | Change-Id: I5da6b6ac4045992faab8dee87e11398c7807b241 Signed-off-by: Roman Birg <roman@cyngn.com>
* statusbar: fix overlapping backgrounds when expandedKhasMek2016-01-021-1/+2
| | | | | | | | | | Previous to this patch time, date, and weather all had double backgrounds causing a really unpleasant animation when pressed or long pressed. This removes the overlap and fixes the aesthetics. Change-Id: If664c1892212bfaf4d53b00729f0c5613272b66c Signed-off-by: KhasMek <Boushh@gmail.com>
* Themes: Expose hard code for themes in SystemUIBryan Owens2016-01-0119-26/+50
| | | | | | Signed-off-by: Bryan Owens <djbryan3540@gmail.com> Change-Id: Ia644364c8c247694cc435ff207f7acb0095bd6d0
* Themes: Expose Hard coded colors in Quick Settings TilesBryan Owens2015-12-294-5/+11
| | | | | Change-Id: Ic65bbd0e3711721b09a0eb0d05fc47b6f037f938 Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
* Automatic translation importMichael Bestas2015-12-25109-0/+7665
| | | | Change-Id: I96f3c5a41d3c52473c161aaf2c97d821caa99bb9
* Keyguard: Support for external keyguard viewsd34d2015-12-202-0/+12
| | | | Change-Id: I3a8cdcc39f24824c2264304e9f5c7ea2c6a5f10d
* SystemUI: More stings cleanup on QS tilesMichael Bestas2015-12-191-32/+7
| | | | | | | | * Make strings & states more consistent to AOSP tiles * Remove unused/duplicate strings * Fix copyright headers Change-Id: Ib97f216c31c96e23d72ce7bf7e63b16b65f1bee0
* Port over linked volumes from 12.1Adnan Begovic2015-12-185-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement linked volumes and add upgrade path. Change-Id: Ibbeff656fcaaa4a2ff79de530b48b216df271b21 frameworks: read VOLUME_LINK_NOTIFICATION from proper table Change-Id: I15e9caa18f307a51a732c7a59013bbbb234a7477 Signed-off-by: Roman Birg <roman@cyngn.com> (cherry picked from commit 1b7cfa1716017e0d03c9693428c21d8e11c5dc0a) fix Notification volume slider linking Change-Id: I0f74485f5c8c2aa7698cf9ba1c60c2c8c967798d Signed-off-by: Roman Birg <roman@cyngn.com> Improve SeekBarVolumizer behavior with unlinked streams - Fix notification stream enabling at 0 volume - Fix the notification slider being set when moving ringer stream Change-Id: If3705cc833c07f726f8ad7b1ec79a42e86e8ff22 Signed-off-by: Roman Birg <roman@cyngn.com> base: Fix notification sounds for wifi only devices The linking of voice & notification doesn't take into account the fact that a device may not actually have voice capabilities. Whenever checking whether or not to link notification and ring volumes, also verify that the device really is voice capable. Change-Id: Iae49302d3b5934d36b182e289e4975f5dd85b834 frameworks: fix setting up linked notification stream on boot updateStreamVolumeAlias() was previously responsible for checking the linked notification variable and mapping the notification stream, but the setting to read whether the notifications were linked was read in after that method had run which was responsible for linking them. Extract the logic and re-run it again after reading the persisted settings. Change-Id: Ia62bf3ca072def54ec6ebf4f9e865d9c913e3bc4 Signed-off-by: Roman Birg <roman@cyngn.com> fixup volume stream linking - Make the SeekBarVolumizer move notification and ringer streams when linked and moving ringer. - Fix initial state causing volume stream seek bar to be set to 0 initially - Clean up AudioService initialization code Change-Id: Ia11a7a392e5eb3ef862147843e365d5f20eaf90a Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: use new visualizer from ElevenUtkarsh Gupta2015-12-161-13/+23
| | | | | | Change-Id: I4441440868cac71caa32c91a0875f00a630fe596 Signed-off-by: Utkarsh Gupta <utkarsh.eminem@gmail.com> Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI : Add location tile from 12.1Danesh M2015-12-155-3/+105
| | | | Change-Id: I93fd420550d21161e14a817c29103cbdb358f63b
* Cleanup qcom stringsMichael Bestas2015-12-142-20/+16
| | | | Change-Id: I6cda24965c168ecc92e777114e3bfc23e4e3e2dd
* SystemUI : Port LiveDisplay tile from 12.1Danesh M2015-12-147-0/+184
| | | | Change-Id: I2d37b2023dc1a5474cd47cc36709433a5b4fefe5
* SystemUI: Readd AmbientDisplayTile.Adnan Begovic2015-12-143-0/+120
| | | | Change-Id: Ie7b93ba0f87d505206b5d60f193c2234d83d7eac
* Status bar: Add HSPA+ iconsRashed Abdel-Tawab2015-12-123-0/+57
| | | | | | | Forward port H+ icon in the status bar when connected to HSPA+ Uses new vector drawables by blunden Change-Id: Ia745c524d5e2530f50f12f961ea8533a4c8f5842
* SystemUI: Revert CAF UI modificationsMichael Bestas2015-12-12591-1301/+20
| | | | | | | | | | | | | | | | Revert "SystemUI: Support display for radio tech" This reverts commit 598421095aacb599d4bc8e8fcea20734d7847d0c. Revert "SystemUI: Customize StatusBar for Chinese carrier" This reverts commit d473d0b22ac8704c39d5eedd0d7b12f60a2fa215. Revert "Statusbar: Add customized icons for Chinese carrier" This reverts commit a6324c7293bebeff4c6ccee8c2a8af38b7a150a8. Change-Id: Ib03c7455a04bd7d63a8c0a7d238040099e94e89c
* SystemUI : Ensure qs detail item isn't focusableDanesh M2015-12-111-2/+0
| | | | | | This ensures the items are clickable in the detail view Change-Id: I8efb20f317b3a1b51e5a3ade1beb306f7c4addcc
* SystemUI: Fix padding on qs_detail.Adnan Begovic2015-12-111-0/+1
| | | | Change-Id: I07542c6ed4e733e73e09c4def88a29e9951a1fd5
* SystemUi: Readd LockscreenToggleTile.Adnan Begovic2015-12-113-0/+39
| | | | Change-Id: Ib1e627bf5432ce54a9f81a5ba65da7c687c232d6
* base: dynamic tilesJorge Ruesga2015-12-106-0/+183
| | | | | | | | | | | | Add support for dynamic tiles Video: https://cloud.ruesga.com/f/71a12e4801/ Required: topic:customtiles_respkg topic:readd_customtiles JIRA: CML-22 Change-Id: Ie17ebf09ee88bc0c53561decc27430e174814543 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* SystemUI : port performance profile toggleDanesh M2015-12-103-0/+76
| | | | Change-Id: Ife1e7c62d36cddf1dcd17d5538d0e6c8ea27bee3