| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/frameworks/base into t13.0
Android 13.0.0 Release 52 (TQ3A.230605.012)
Change-Id: Ic80f318636f1f70bbd009504352ddde511d0dead
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This CL sets everything up for removal of the flag. In particular:
* Shortcircuits any conditional the flag was in to true.
* Removes all the header views and code from QuickStatusBarHeader and
controller. This still exists because it contains QuickQSPanel and
refactoring is outside of the scope of this CL.
* Renames LargeScreenShadeHeaderController to ShadeHeaderController
* Replaces the view with a MotionLayout unconditionally
* Removes dimens that were explicitly for combined headers and applies
them to the default dimen.
* Combines LargeScreenShadeHeaderControllerTest and
LargeShadeHeaderControllerCombinedTest into ShadeHeaderControllerTest
* Adds the views to the NotificationPanelUnfoldAnimationController
Bug: 254512321
Test: SystemUITests
Test: QS PlatformScenarioTests
Change-Id: I578b82571dc91a9e31c196f3affe60d84c64a1fe
|
| | |
| |
| |
| |
| |
| |
| |
| | |
center cutout.
Fixes: 266846431
Test: manual + added autotests
Change-Id: I03a5618baeaa6aa558b9b6c280f6a41ec688d8f4
|
| | |
| |
| |
| |
| | |
Change-Id: Ib1d467cd93672dfe9c7c40036a3af4f4b5c396ca
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
|
| | |
| |
| |
| |
| | |
Change-Id: I25aa3ee1d84728da218ee29266a201beafcec6f1
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* Design based on "PA Battery" entirely rewritten in Kotlin with design adjustments
Co-authored-by: TheStrix <parthbhatia98@gmail.com>
Change-Id: I525fcdaa12cee8abf75a8e39a8aa2caa23b9b459
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
|
| | |
| |
| |
| |
| | |
Change-Id: If3af86e365c137989cb840aa151c991522e90333
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
|
| | |
| |
| |
| |
| |
| | |
This reverts commit 0b34a54d6328d33e478a67af0df9cb4e5feb0ab4.
Change-Id: I4e075410d05410a8d93d33d815bea705b045515a
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/frameworks/base into t13.0
Android 13.0.0 release 35
Change-Id: I709958b2f015d1774b2ece25894467c3a279f93c
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For the new headers, we shouldn't be looking at quick_qs_offset_header.
Instead, use 48dp for QQS offset.
This is needed because with combined headers, the height of the header is always the same. Without this CL, in some devices, there's a lot of blank space under the header, because the system expects them to be larger.
Test: manual, multiple devices and screen sizes
Bug: 215584502
Change-Id: Ic6f4c45eb4e21891a073f11bb328497a7807edac
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With the new headers, when in QQS the privacy indicators were not
clickable. This was due to two things:
* We were not indicating to the controller that the parent was visible,
which is what attaches the click listener. This was only happening
after the first time the device went to a large screen config. This CL
makes sure that with combined headers, it's always marked as visible.
* With combined, we touches in the header were being intercepted by
QSBH, but there's nothing there (margin for QQS). That's because
QSFragment is preferred to other NPV views. Instead, do not handle the
touch if the combined headers flag is on enabled and the touch is not
in QQS.
Test: atest LargeScreenShadeHeaderControllerCombinedTest
Test: Cts tests that check for privacy indicators and dialog
Test: manual
Fixes: 252791648
Change-Id: I836bdfb01284ca38ca6963996d36589005a4d416
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Instead of translating, just animate the alpha to appear.
Test: manual in portrait handheld
Bug: 244574445
Change-Id: Ia2576ef6fc7573ac902dd2568a492bcbcbd994dc
|
| | |
| |
| |
| |
| |
| |
| | |
Conflicts with QPR2 changes
Signed-off-by: Semavi Ulusoy <doc.divxm@gmail.com>
Change-Id: I0c0e5cfac6c356266cf91219a5a71ce8b2b3172e
|
| | |
| |
| |
| |
| |
| |
| | |
* Squashed and forwarded ported from A11.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: Id4a93727f963de8d46313527a47cb4503db8015a
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* Design based on "PA Battery" entirely rewritten in Kotlin with design adjustments
Change-Id: Ic1b74a07d645c0ccedf7015303755f6fe7a3a923
Co-authored-by: TheStrix <parthbhatia98@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
|
| | |
| |
| |
| |
| | |
Change-Id: Ia5dce5c51821b87f78767949581effc191512b2f
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Author: Luca Stefani <luca.stefani.ge1@gmail.com>
Date: 2019-11-30 13:41:05 +0100
SystemUI: Bring back good ol' circle battery style
* This code is based on the old Java implementation and converted to Kotlin
* Instead of creating different style within the same drawable
create one on its own, this makes the code more readable and future proof
Change-Id: I23798426e603b277408fb63f4898b385027e7eeb
Author: Bruno Martins <bgcngm@gmail.com>
Date: 2021-04-08 21:41:24 +0100
SystemUI: Fix status bar battery icon title
The wrong string was being picked up which is not capitalized
and not even localized. Use the already localized string
from SystemUI package.
Change-Id: I4be427c95a0fb98c77d450e0791bb8e3442ed3a1
Author: althafvly <althafvly@gmail.com>
Date: Mon Jul 11 15:13:40 2022 +0530
SystemUI: Redo circle battery style
- Now shows up on QuickSettings panel.
- Fixes issues with battery circle style on theme and
ui mode change and statusbar icon toggle.
- Fixes wrong tint color with circle battery icon.
- Re-evaluating system theme to avoid delay in circle
battery tint color change.
Change-Id: Id90f85e47ce4b9811e9bb67b91169997020300d8
Change-Id: If9c55253c8e8786b4998632241a872104b7e7e8e
|
| | |
| |
| |
| |
| |
| |
| | |
* Use same padding & height logic from status bar for QS header.
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Change-Id: I9fb922960519568f2388e8d4ee24ed47857234ed
|
| | |
| |
| |
| |
| | |
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I075a5089721c68363fe784c2b3991d61de8876d5
|
| | |
| |
| |
| |
| |
| |
| | |
* Make battery icon unclickable in QQS only if privacy indicator is visible.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: Ib88f05b23cf2109335707c7cfeaf128974f340d3
|
| | |
| |
| |
| |
| | |
Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I803cb8c6833f48a29a29e07ffcc5460012bcb123
|
| | |
| |
| |
| | |
Change-Id: I944b1122739754cc704f65039319fb260fcdbf1d
|
| | |
| |
| |
| |
| | |
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: Ib85a1c37b31fff8fc5bcc74f9b491840448b527f
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* Add separate switch to disable QS clock.
* Add mQsHeader boolean to identify QS clock. Credits: ezio84.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I7d34419122d3718b2455bd898ae41e6e64e059a9
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Author: Hendrik Hagendorn <git@finnq.de>
Date: Sun Jan 15 10:00:12 2017 +0100
Tuner: Move clock seconds option to status bar settings
Change-Id: I532c179f06b934009d48433e50b69660247ee295
Author: Luca Stefani <luca.stefani.ge1@gmail.com>
Date: Sun Jul 29 14:19:08 2018 +0200
SystemUI: Fix default clock blacklist value
Change-Id: Ibdc4f6a707569ddb417854760cf579daca989ebb
Author: LuK1337 <priv.luk@gmail.com>
Date: Wed Aug 1 18:10:39 2018 +0200
SystemUI: Initialize mClockVisibleByUser to android:visibility
* Fixes ~ triple clock ~ after leaving from Google SUW.
Change-Id: I3ceea4400b3057e2b6b1f221f9074b1d451133ea
Author: LuK1337 <priv.luk@gmail.com>
Date: Thu Sep 27 12:24:19 2018 +0200
SystemUI: Fix clock icon blacklist handling
* This makes sure clock isn't on blacklist before
calling showClock(animate);
Change-Id: I7f77a83aa6c109e1682d764fb22701375ae5ba1e
Author: LuK1337 <priv.luk@gmail.com>
Date: Tue Apr 2 20:56:25 2019 +0200
SystemUI: Don't hide right clock when heads up is visible
* https://gitlab.com/LineageOS/issues/android/issues/436
Change-Id: I85a6cd2dff79e6b97d8a7db552c22d611bf25dbd
Author: LuK1337 <priv.luk@gmail.com>
Date: Wed Oct 30 15:48:38 2019 +0100
SystemUI: Fix up right clock handling when showing heads up
* Oops, we somehow forgot to import this code from 16.0 ;-;
Change-Id: Ic4195a30da2870f569f07fc323e4b939320ab6c8
Author: Michael W <baddaemon87@gmail.com>
Date: Mon Jun 1 14:43:31 2020 +0200
SystemUI: Make clock truly invisible
* When the clock is set to left and then hidden, the notification
icons, which would appear on the left first transition to the
right to make place for the clock then finally snap into place
* The same happens when the clock was set to show right and then
is hidden: The battery, wifi, etc. icons do leave space for the
(not displayed) clock and then snap to the right
* This patch fixes the behavior
Change-Id: Ic68b1001becb91da6f1aeaca95a7312b36e1d2a1
Author: LuK1337 <priv.luk@gmail.com>
Date: Sat Apr 10 22:52:25 2021 +0200
SystemUI: Make center clock layout safe insets aware
This effectively fixes wrongly centered clock layout on
devices with side notch / hole punch.
Change-Id: I7cb8cbbe628397c50d37e23ba1853368e61a1fc9
Author: LuK1337 <priv.luk@gmail.com>
Date: Sun Apr 11 09:47:17 2021 +0200
SystemUI: Move network traffic monitor under same layout as clock
This effectively fixes wrongly network monitor layout on
devices with side notch / hole punch.
Change-Id: I217b886d8da75eab7636066f4822f5fd6dbc9aff
Author: Volodymyr Zhdanov <wight554@gmail.com>
Date: Tue Nov 9 20:53:56 2021 +0200
SystemUI: fix clock dark/light mode switching
* move ClockController init to PhoneStatusBarView
* move add/remove dark receiver logic to ClockController
Change-Id: I6464af6e8aa130ea54fe7bfa19858c8930a29b1e
** AICP edit: switch STATUS_BAR_CLOCK -> STATUS_BAR_CLOCK_POSITION to
avoid ambiguos situations in our own code
Change-Id: Icdc039d13fd2676c1eb979a81fb77f9a6ec59b4a
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Signed-off-by: Semavi Ulusoy <doc.divxm@gmail.com>
|
| | |
| |
| |
| |
| |
| | |
* it used to go to the else block before we started controlling on/off ourselves
Change-Id: Ic30ef3a26e27dbe15ec55c09b77c600c912761e6
|
| | |
| |
| |
| | |
Change-Id: I9560d3905b39e6c6e3e2bba81e6cdd7d98c398ac
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Views are always there, they just animate alpha.
Let's include netwrok traffic so it'll only be visible when expanded
Correctly handle text tint while at it
P.S.: Ignore gradle generated files
Change-Id: I78b65db1aaf5302c38ea5fb598be9c5a33b3d1f1
|
| |/
|
|
|
|
|
|
|
| |
Calling updateAnimators() in a separate runnable seems to
cause QSB header elements to overlap each other when switching
between dark and light mode. This change was introduced in
https://github.com/LineageOS/android_frameworks_base/commit/0558e1211604b3b6f465a394832bbf8fa06d1dfe and seems unnecessary so lets revert it.
Change-Id: I14e60b608f2aac373e71fec0a6ab7d8e787d2457
|
| |
|
|
|
|
|
| |
Test: atest SystemUITests
Test: manual
Fixes: 220344583
Change-Id: I0b188bba6846a4dd935747893232bafa41be3a7d
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Note: Because this change is already huge, I’ll do proper renaming of split shade header to large screen header in the follow-up CL.
- introducing new config flag: config_use_large_screen_shade_header and using it to determine which header should be visible
- Several adjustments to paddings and margins and how they are calculated on the fly, mostly from notification scrim and motion perspective. Recalculating scrim bounds relative to view bounds
- cleaning Utils.java which got very wide-reaching over time. Some things were not used at all and some could be moved. I extracted some functions to two separate utils classes (also open to better ideas): QSUtils and LargeScreenUtils. Not ideal but at least better than one big Util.
Fixes: 222472794
Test: expand shade on large screen device in portrait and see one row QS header taking full width of the screen
Test: NotificationPanelViewControllerTest + NotificationQSContainerControllerTest
Change-Id: I4988c09c367c721ea9a957df8d1442fc65a336de
|
| |
|
|
|
|
|
|
| |
Sets the list to always be non-null (start with a non empty list)
Test: manual (no NPE)
Fixes: 222722721
Change-Id: I1ef5241cca189a857f39a737ba73638b44ef9a60
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Also remove related classes, calls, and resources that were used by QSDetail
and are no longer needed.
Test: atest SystemUITests
Test: TileService cts tests
Test: adb shell cmd statusbar expand-settings
Fixes: 198796184
Change-Id: Ib5c54f197d03794aca35d0305e3e62c7daedb23a
|
| |\
| |
| |
| |
| |
| | |
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16615507
Change-Id: I4a7df566ca3412f10539da0547fe18cfd1e04c3c
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Visibility of status bar icons should respect disable flag.
Test: manual with CtsVerifier app
Fixes: 208165732
Change-Id: I63ee029086e33e6dbe1cea030e3d0383fd417ead
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change extracts privacy indicators logic from QuickStatusBarHeaderController to a separate class - HeaderPrivacyIconsController - and then uses that controller in SplitShadeHeaderController.
Analogically, privacy-related tests are moved to HeaderPrivacyIconsControllerTest.
Fixes: 195271863
Test: All tests in com.android.systemui.qs
Merged-In: I80e1e808d54c4da1b91a38e8140430edf5a57504
Change-Id: I80e1e808d54c4da1b91a38e8140430edf5a57504
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QuickStatusBarHeader, KeyguardStatusBarView, and PhoneStatusBarView all
had a few calls to some methods in StatusBarWindowView that would try to
calculate the insets necessary draw content in the status bar area that
avoids cutouts. This CL removes those methods and moves that
functionality into StatusBarContentInsetsProvider so that everything can
benefit from the caching it provides and hopefully this simplifies
things.
Test: atest SystemUITests; manual
Bug: 203223072
Change-Id: I6235394a3c71a360b5cc1fb9f511a52aef8c8f17
Merged-In: I6235394a3c71a360b5cc1fb9f511a52aef8c8f17
|
| | |
| |
| |
| |
| |
| | |
Bug: 209459024
Test: m SystemUI-core
Change-Id: I48ba7039ca826c8304f425f34a8c84981710dc77
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This change extracts privacy indicators logic from QuickStatusBarHeaderController to a separate class - HeaderPrivacyIconsController - and then uses that controller in SplitShadeHeaderController.
Analogically, privacy-related tests are moved to HeaderPrivacyIconsControllerTest.
Fixes: 195271863
Test: All tests in com.android.systemui.qs
Change-Id: I80e1e808d54c4da1b91a38e8140430edf5a57504
|
| |\|
| |
| |
| |
| |
| | |
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16191445
Change-Id: I78f4846a08cc9da170b7e9c61df1297d69955f4b
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add expansion animation to the header. Only put layout params that
change in the ConstraintSet so they are as small as possible. Layout
params that don't change are set in the layout file.
Test: manual
Bug: 202847414
Change-Id: Ibd61bd02a0266da87eabe3be3d307af74df2c3dd
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
having the controller construct it." into sc-v2-dev am: b05878a190 am: ad1ad0d52c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16174902
Change-Id: Id6c34b3e269db48bd8a161c88733dc7ca1461ab2
|
| | |\ \
| | |/
| |/|
| | | |
having the controller construct it." into sc-v2-dev
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
controller construct it.
This will allow us to pass in a fake view for testing the controller.
This CL also moves the window view and controller into its own package
for slightly better organization.
Fixes: 204583449
Test: atest SystemUITests
Test: manual once-over of key user journeys
Change-Id: I4c2cc3f0c3a18466b2d1a1012c999f530329d3f7
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a POC and is missing several features:
* Tight integration with the other surfaces to set margins
* Expansion animation from QQS into QS
* Privacy indicators
To enable:
adb shell am broadcast -a com.android.systemui.action.SET_FLAG --ei id
501 --ez 1
Test: manual
Bug: 204204226
Change-Id: I5b2d5f5880ceff1adb1e4365cde15171c5c15d38
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a POC and is missing several features:
* Tight integration with the other surfaces to set margins
* Expansion animation from QQS into QS
* Privacy indicators
To enable:
adb shell am broadcast -a com.android.systemui.action.SET_FLAG --ei id
501 --ez 1
Test: manual
Bug: 204204226
Change-Id: I5b2d5f5880ceff1adb1e4365cde15171c5c15d38
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
| |
QuickStatusBarHeader, KeyguardStatusBarView, and PhoneStatusBarView all
had a few calls to some methods in StatusBarWindowView that would try to
calculate the insets necessary draw content in the status bar area that
avoids cutouts. This CL removes those methods and moves that
functionality into StatusBarContentInsetsProvider so that everything can
benefit from the caching it provides and hopefully this simplifies
things.
Test: atest SystemUITests; manual
Bug: 203223072
Change-Id: I6235394a3c71a360b5cc1fb9f511a52aef8c8f17
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In multi-display devices, there might be differnt cutout on each display
which also causes different status bar height.
Now we no longer overlay the status_bar_height dimen and keep it as
default value and add APIs to calculate the status bar size.
- Add APIs for getting status_bar_height & quick_qs_offset_height in
system.
- Add APIs for getting split_shade_header_height and
qs_header_system_icons_area_height in SystemUI.
- Remove all resource overlay for status_bar_height &
quick_qs_offset_height.
Bug: 186604541
Test: atest SmallClockPositionTest DisplayLayoutTest
HideDisplayCutoutOrganizerTest SizeCompatTests
NotificationPanelViewControllerTest
Change-Id: I5a6dfcc6ff06da8ea0fe119fc9d4c089f13b0dff
|
| |\ |
|