summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/layout
Commit message (Collapse)AuthorAgeFilesLines
* base: dock batteryJorge Ruesga2016-03-104-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: 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
* 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-252-54/+66
| | | | | | | | | | | | | | 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>
* SystemUI: add some tile removal hintsRoman Birg2016-01-181-5/+3
| | | | | | | Ref: CYNGNOS-1644 Change-Id: I41e921c641f53a5870fb5685e2ef67060d613989 Signed-off-by: Roman Birg <roman@cyngn.com>
* 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-121-19/+33
| | | | | | | | | 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
* 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: add tiles detail viewRoman Birg2016-01-042-0/+97
| | | | | 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-0118-25/+25
| | | | | | Signed-off-by: Bryan Owens <djbryan3540@gmail.com> Change-Id: Ia644364c8c247694cc435ff207f7acb0095bd6d0
* Themes: Expose Hard coded colors in Quick Settings TilesBryan Owens2015-12-293-5/+5
| | | | | Change-Id: Ic65bbd0e3711721b09a0eb0d05fc47b6f037f938 Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
* Keyguard: Support for external keyguard viewsd34d2015-12-201-0/+8
| | | | Change-Id: I3a8cdcc39f24824c2264304e9f5c7ea2c6a5f10d
* 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-152-3/+11
| | | | Change-Id: I93fd420550d21161e14a817c29103cbdb358f63b
* SystemUI: Revert CAF UI modificationsMichael Bestas2015-12-123-86/+18
| | | | | | | | | | | | | | | | 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: add Profiles tileRoman Birg2015-12-101-0/+31
| | | | Change-Id: I1fe49d44d17060c47fb7d6cf3356ec06c8d9d690
* QSBooleanSettingsRow : Add default value attributeDanesh M2015-12-091-0/+2
| | | | | | | Without this, settings might throw NotFoundException and set incorrect defaults Change-Id: Ia7e193d7c8f935cd5e371e3377af7b64ddcb37cc
* systemui: Support remote expanded style.Adnan Begovic2015-12-075-9/+36
| | | | Change-Id: Ia324db41310c61cd0acd83633a9728b7562fd300
* SystemUi: Support expanded styles for custom tiles.Adnan Begovic2015-12-071-0/+27
| | | | Change-Id: Ibbbe9189c220d1172ee4bd045e810f10fad1c307
* SystemUI : Add QSDetailItemsDanesh M2015-12-071-0/+53
| | | | Change-Id: I5aca2cfb925d1dd94636e79781ed7f6d8555cc8e
* SystemUi: Reintroduce custom qs tiles management.Adnan Begovic2015-12-072-0/+67
| | | | Change-Id: I88dbf3911d4783de7c3f231aa57c51ce43bc8ae6
* SystemUI: add first row large setting & logic for tilesRoman Birg2015-12-071-5/+3
| | | | | Change-Id: I8b7516154f878b3832b72d27cd1d7365a9382595 Signed-off-by: Roman Birg <roman@cyngn.com>
* Quick settings: add statusbar setting page while editingRoman Birg2015-12-074-9/+134
| | | | | | | | | | | Adds a Settings page accessible while editing tiles at the very first slot of the tile viewpager. Long pressing the edit tile will put the qs panel into edit mode and swing over to the Settings page. Change-Id: Ie8416ac5446794a03e33ae260538ffcd9a253d57 Signed-off-by: Roman Birg <roman@cyngn.com>
* Add CM PlatLogo (1/2)Michael Bestas2015-12-051-0/+104
| | | | | | * Icons by: Björn Lundén & Asher Simonds Change-Id: Ie2b092bafd3588270177648003dafed8226cf298
* Revert "Themes: Expose "ALL" layouts hard code in frameworks base for themes"Steve Kondik2015-12-0520-42/+42
| | | | | | | | | * Many apps which display listviews crash with this change. Reverting for now. This reverts commit e6458a3380b36ab0e3538159e854b7f815a838f3. Change-Id: Icc4d0ee18c708a5692db0b20f7b6b2084d8dd43b
* systemui: Unbreak the buildSteve Kondik2015-12-042-2/+2
| | | | | | * Fix trivial issues with themes patch Change-Id: If603cee702a95b123c2ba0f1b7ce5f945d81d3c7
* Allow screen unpinning on devices without navbarUtkarsh Gupta2015-12-042-9/+3
| | | | Change-Id: Iedfc08f4d95bbee3c8578c0d2450b90739e63603
* Themes: Expose "ALL" layouts hard code in frameworks base for themesBryan Owens2015-12-0420-42/+42
| | | | | | | Exposing all the hard coded layout colors in the enitre base so themes can have access. Change-Id: I4bc88573d0d7e41fc80d1580ab4e012f48c442d3 Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
* SystemUI: various qs tile detail improvementsRoman Birg2015-12-021-2/+1
| | | | | | | | | | | | | | | - Handle top padding inside QSDragPanel, so the detail clipping animation doesn't get cut off by the top padding. - Increase bottom padding of the QSContainer to give some more breathing room for the circle page indicator. - Disable pager overscrolling - Add dual tile carrot indicators to cast, dnd, and mobile data tiles Change-Id: I81f56760140a2d7dd31e25b23f477eb1be0af305 Signed-off-by: Roman Birg <roman@cyngn.com>
* Themes: Allow SystemUI Tuner Icon to be TintedNicholas Chum2015-11-301-1/+1
| | | | | | | This removes the hardcoded #4dffffff icon tint on the small wrench icon next to the Settings shortcut in QS. Change-Id: If087fa2e1a6bf6945ec30f49c620c7e78a0df989
* Keyguard: Squash undo UI changes after merge of branch 'LA.BF64.1.2.2_rb4.7'myzb2015-11-241-9/+0
| | | | | | | | | | | | | | | | | | | | | | | Revert "Hide emergency button when OOS" This reverts commit 5ccaaff4818af8d48e072cbd2b8b784e5cd0c593. * Buggy on MSIM, making the button perma enable. Revert "EmergencyCall Button on Swipe Lock Screen" This reverts commit 5f712cc90ebb11a04e72ab6b04a1229eeddef9fc. * Introduces some ugly padding to make room for a button we have disabled by default since forever. Revert "Emergency call button on Swipe lock Screen." This reverts commit f17cb289ae5f760a51b8463fe270b336d1e3b408. * See above, adds the option to enable the button itself. Conflicts: packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java Change-Id: Ie95f0b075e25b625298eac3c06d278e6cb1e7b17
* WIP: draggable quick settings tilesRoman Birg2015-11-232-1/+86
| | | | | Change-Id: I78105655b6811f13ef3c3e80980285387f43e52c Signed-off-by: Roman Birg <roman@cyngn.com>
* Merge branch 'LA.BF64.1.2.2_rb4.7' of ↵Steve Kondik2015-11-164-18/+95
|\ | | | | | | | | | | git://codeaurora.org/platform/frameworks/base into cm-13.0 Change-Id: I008f052e4e27b44457c8343d20f6e1ba943c8e1f
| * Merge "SystemUI: Support display for radio tech"Linux Build Service Account2015-11-043-18/+86
| |\
| | * SystemUI: Customize StatusBar for Chinese carrierShufeng Hou2015-11-023-18/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Show carrier label in notification panel. 2. Add values-w320dp to adapt lower resolution device. 3. Update Chinese roaming string. 4. Show wifi activity in status bar. 5. Show indicator for Wifi on but not connected. 6. Show rsrp level for LTE. 7. Redesign the scheme of selecting icons on signal cluster. Customized SigalClusterView and MobileSignalController to adapt requirement from Chinese carriers. The customization is controller by config values defined in overlayed config.xml. CRs-Fixed: 653747 Change-Id: I4b228cc4afa552b348a96302a4858a0ab0c7e7f0
| * | EmergencyCall Button on Swipe Lock ScreenRuthwar Kumar Ambeer2015-10-301-0/+9
| |/ | | | | | | | | | | | | Keygaurd indication margin has been increased to display EmergencyButton. Change-Id: I5f42454e53feafe8e314b99ea23b2d904ac555ca
* | LEDs Brightness: Update the slider for MAdrianDC2015-11-161-5/+5
| | | | | | | | | | | | | | | | | | * Add notification details needed for M * Sync with some changes made in the Display Brightness dialog * Clean ic_settings indents with Settings ic_settings_24dp.xml Change-Id: I8b6ac1920704f43f4776cbd3bdfb3d0ed8d223dc Signed-off-by: AdrianDC <radian.dc@gmail.com>
* | SystemUI: Restore ripple effect for upcoming alarmLuK13372015-11-111-1/+1
| | | | | | | | Change-Id: I29f463c7e8b49aadf8bb38ad6c263a6b2d5c4b76
* | SystemUI : Fix left/center clock visibilityDanesh M2015-11-061-0/+1
| | | | | | | | Change-Id: I5bee0927ceaf93ea4cc0751bcb866aaaed64356b
* | SystemUI: fix incorrectly sized nav bar iconsRoman Birg2015-11-052-6/+16
| | | | | | | | | | Change-Id: Ief45ac0ed54f5a22477d54f685ec423350fc467c Signed-off-by: Roman Birg <roman@cyngn.com>
* | SystemUI: add left and right virtual buttons while typingRoman Birg2015-11-052-12/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adapt for cm-12.0. Squashes the following commits: Fix side button visibility tracking. Previously one could e.g. get legacy menu button being visible in certain scenarios, like this one: - Open legacy app, e.g. CatLog - Invoke IME - Lock screen - Unlock screen - Result: Menu button visible in keyguard Change-Id: Ia796f73ec995ea1cc34d38f8aefdbccda7be7565 SystemUI: fix up navigation cursor keyevent flags Volume cursor controls use slightly different flags to keep the cursor within the field. Match them in the SystemUI for consistent (and better) behavior. Change-Id: I56d597f111ec611b0ca24a10f30575401fa76d18 Signed-off-by: Roman Birg <roman@cyngn.com> SystemUI: fix up initial cursor down flags on nav bar We were using the regular flags for the initial ACTION_DOWN event so the FLAG_KEEP_TOUCH_MODE was not being passed and allowed the cursor to jump out of bounds slightly. Change-Id: I5b4d2a5e5e0ce562985fcc3b7b6fac8b4abc49da Signed-off-by: Roman Birg <roman@cyngn.com> Change-Id: Iea446443d33ff305765e47c86523b619676116ac
* | SystemUI : NavigationBar CustomizationDanesh M2015-11-054-169/+298
| | | | | | | | Change-Id: I40dd267d42817f4fec092ffe373c1cd380d75f09
* | SystemUI: Lockscreen shortcut customizationDanesh M2015-11-052-2/+65
| | | | | | | | Change-Id: I4abf1deed0a342e111453516fa7820191a55ffc4
* | Merge tag 'android-6.0.0_r26' into HEADRicardo Cerqueira2015-11-052-5/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 6.0.0 release 26 Conflicts: cmds/bootanimation/BootAnimation.cpp core/java/android/accounts/AccountManager.java core/java/android/app/AppOpsManager.java core/java/android/os/PowerManagerInternal.java core/java/android/os/storage/IMountService.java core/java/android/provider/Settings.java core/java/com/android/internal/widget/ILockSettings.aidl core/res/res/values-mcc204-mnc12/config.xml core/res/res/values-mcc219-mnc02/config.xml core/res/res/values-mcc730-mnc07/config.xml core/res/res/values/config.xml core/res/res/values/symbols.xml packages/SystemUI/res/values/config.xml packages/SystemUI/src/com/android/systemui/doze/DozeService.java packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java packages/SystemUI/src/com/android/systemui/statusbar/ExpandableOutlineView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeScrimController.java packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java services/core/java/com/android/server/LocationManagerService.java services/core/java/com/android/server/am/ActivityManagerService.java services/core/java/com/android/server/pm/PackageManagerService.java services/core/java/com/android/server/power/PowerManagerService.java telecomm/java/android/telecom/Phone.java telephony/java/android/telephony/CarrierConfigManager.java telephony/java/android/telephony/RadioAccessFamily.java telephony/java/android/telephony/ServiceState.java telephony/java/android/telephony/SignalStrength.java telephony/java/android/telephony/TelephonyManager.java telephony/java/com/android/ims/ImsCallProfile.java telephony/java/com/android/ims/ImsReasonInfo.java telephony/java/com/android/ims/ImsSuppServiceNotification.aidl telephony/java/com/android/ims/ImsSuppServiceNotification.java telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl telephony/java/com/android/internal/telephony/RILConstants.java Change-Id: I99c6edb8e25a77145b5adef97d0d55bfbe676959
| * | Make the vertical navbar 48dp like the horizontal one.Dan Sandler2015-09-031-4/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the navigation bar was originally introduced to phones (in change Ic613a335) we wanted it to stick to the same spot on the display so that it felt as much as possible like a physical button array; pressing the same fingertip-sized spot on the glass should always invoke BACK, etc. This meant flipping the nav bar to a vertical orientation when the phone was in landscape, and then juggling around the window insets and other system windows to make room for it. For reasons that are now lost to time, in that original implementation we made the vertical navigation bar narrower: 42dp (versus 48dp for the horizontal navigation bar, which incidentally is always horizontal on tablet-type devices). Nobody really noticed (except app developers looking to hardcode this value instead of just using fitSystemWindows or the new WindowInsets). Here we finally make the navigation bars match perfectly in portrait and landscape. Bug: 23724209 Change-Id: I861be84b41c6a227d269469686c8c66a32029f1d
* | SystemUI: Fix padding for text & hidden battery styleLuK13372015-11-012-2/+2
| | | | | | | | | | | | | | before: http://imgur.com/a/oUtTA after: http://imgur.com/a/c5ii1 Change-Id: I02be624cdeea9ac0d9a4b79e851449facbec1901
* | Forward port battery icon optionsDanesh M2015-10-283-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squash of following patches from cm-12.1 : Battery text mode (1/2) PS2: Make battery level more fit current solution PS3: Fix displaing battery level inside the icon PS6: Show battery level in status bar header when charging and percentage mode set to inside icon (it's replaced by charging icon) Change-Id: I537c99827e78c796b4980ec7751e5f9b58a88251 Signed-off-by: kecinzer <kecinzer@gmail.com> Forward port battery icon options [1/2] Bring forward the various battery icon options. Portrait, Landscape, Circle, Text. Still retains new options for where to display battery percentage text. Change-Id: Icfc14d989eebde9014538291c24aa76d328df234 Cleanup battery style code * Cleanup commented out code * Fix landscape battery icon padding * Fix landscape battery icon charging indicator * Fix landscape battery icon percentage indicator * Fix circle battery frame color on some black backgrounds * Fix circle battery artifact on low percentage * Fix percentage not shown while charging * Fix percentage always showing on expanded status bar * Fix battery icon showing after reboot on text/hidden modes Change-Id: Ic56878c26e9a3416149eaaa8a9325d56d664e22e SystemUI : Make BatteryMeterView multi-user compatible Change-Id: Ib9a266dc74732b7ad328a6503898a8fbc46af58e Clean up battery handling. Use a single observer for all battery meter and level views, and remove no-longer used callback registrations. Change-Id: I8f9db5e484628d7fbc74fe892d64bef5f08cea24 SystemUI: Fix blinking when reported battery level is 0 Canvas::drawArc has a bug where, if the sweepAngle is 0, depending on the startAngle it will draw an empty or full circle. In the rare cases where the battery reports 0% this would cause the circular meter to blink furiously as it animates through several values of startAngle. As a workaround, let's avoid drawing the percentage bar if the reported battery level is zero. Change-Id: I4c1c767f3616c9d2f8a60df63d64ec1f4e266583 SystemUI: improve circle battery While plugged in, the circle animation would cause the statusbar to keep redrawing itself repeatedly, using up unnecessary cpu cycles, even when idle. - Removed circle animation in status bar - Left animations on keyguard/notificaiton header - Set layer type to hardware when animating for optimized quick drawing - Cleaned up some logic and unnecessary locking - Removed extra work done in each draw - override onDraw instead of draw to let the View system decide when we should draw Change-Id: If0624ab6e3723f4522ebbd9ce583b142c1cb4606 Signed-off-by: Roman Birg <roman@cyngn.com>