| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
The content can be read when the full cards are visible
Test: StatusBarIconViewTest
Test: enable talkback, highlight icons
Flag: EXEMPT bug fix
Bug: 338024220
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:db50605af64b59794c107dee08b126a360506106)
Merged-In: Ic607ab91e77bc660e3fccbc2390dd60151798ad7
Change-Id: Ic607ab91e77bc660e3fccbc2390dd60151798ad7
|
| |\
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/frameworks/base into t13.0
Android 13.0.0 Release 52 (TQ3A.230605.012)
Change-Id: Ic80f318636f1f70bbd009504352ddde511d0dead
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 267236367
Test: `adb shell dumpsys activity service
com.android.systemui/.SystemUIService StatusBarIconControllerImpl` ->
shows new logging changes
Change-Id: Ifd28e9202cd0469d76502ecdc004e1fc6e99551e
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Android 13.0.0 Release 16 (TQ1A.221205.011)
Also included the following reverts:
1. Revert "fw/b: Import Wi-Fi standard icon [1/2]"
2. Revert "Add preference for toggling the wallpaper zooming animation"
Co-authored-by: Semavi Ulusoy <doc.divxm@gmail.com>
Change-Id: I9a6b51e452c28d10411712c59778bb54da5783e9
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
tm-qpr-dev
* changes:
[SB Refactor] Only show wifi icon if (1) the network is active and validated; or (2) we're configured to always show it when enabled.
[SB Refactor] Listen to the WIFI_STATE_CHANGED_ACTION broadcasts and re-fetch `isWifiEnabled` whenever it happens.
[SB Refactor] Connect the old pipeline and new pipeline visibility calculations together for wifi.
[SB Refactor] Add an annotation for the visibility states.
[SB Refactor] Add tracking for wifi enabled state and pipe it through to the UI.
[SB Refactor] Turn the wifi ViewModel into an @SysUISingleton and instead create separate view models per location.
[SB Refactor] Display the activity in and out icons using the new pipeline.
[SB Refactor] Expose the wifi repository flows as StateFlows.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also updates the starting visibility state values to HIDDEN for mobile
and wifi.
Bug: 238425913
Test: manual: Verified icons still work
Test: StatusBarIconViewTest
Change-Id: Icd9c2b14f46a148acc2113ac1e20f85924f19e75
|
| | |/
| |
| |
| |
| |
| |
| | |
Bug: 244695510
Test: check the dumps from a bugreport manually
Change-Id: If0f71a778358a207cb2ed87eb23cb8b05b2bebdf
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* Remove painful systemui checks everywhere in StatusBariconView
* Apply NO_COLOR when colored icons are enabled.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: Iff53377b1fa51f4dba048d6fcbf9a837732bd227
|
| | |
| |
| |
| |
| | |
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: Ida5131483b49ed5fc468101746b0d5f0ed539430
|
| |/
|
|
|
| |
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I9e133281cd1e535eecbc581b1d8792c1973b062c
|
| |
|
|
|
|
| |
Test: SystemUITests, CtsAppTestCases
Fixes: 198825327
Change-Id: I7a4868a56bc2c9a69d2fb1eae5d53faa3c9dede0
|
| |
|
|
|
|
|
|
|
| |
The code to downscale the Icon drawables does not account for
potentially `null` Icons returned from `Icon#loadDrawableAsUser`.
Fixes: 218331554
Test: manual + atest
Change-Id: Iad1ef2975a0526a1fe129aa9693b6e9fe3d046b5
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Those places have been identified as the main culprit of unfold latency in sysui doing some method tracing. By adding traces, we can monitor them better in perfetto recordings.
Bug: 197515205
Test: recorded a trace and checked if they were there.
Change-Id: I6f1d111b7fb33fabeba604e62d4208f5ca1f03d1
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
- With ag/16678942 the system will now compute multiple appearance
regions for all windows under the status bar, so we need to handle
scenarios where multiple apps can create multiple dark tint areas
Bug: 208717544
Test: atest SystemUITests:LightBarControllerTest
Test: Install MultiAppeareanceRegionTest apk from b/208717544 and
verify that that the multiple dark areas work in multiwindow
Change-Id: I0d8696f6b2fb7793ccbdcbfe7e2520fceb24e5ec
|
| |
|
|
|
|
|
|
|
|
|
| |
This makes StatusBarIconView downscale notification icons if they exceed notification_small_icon_size. This avoids possibility of large memory usage if the app passes a huge drawable asset as the small notification icon.
This restriction currenctly doesn't apply for animated or stateful drawables.
Bug: 209044537
Bug: 193720474
Test: Manually
Change-Id: I1bf19e9d2b1d9fef67e1653e601b11fd74f72e73
|
| |
|
|
|
|
|
|
| |
Test: atest; manually ensure that icons still work when
using SystemUI's context
Fixes: 192575971
Change-Id: I3c93d4898a6995148606b15fc8bd98d465741c0a
|
| |
|
|
|
|
| |
Bug: 184121838
Test: Manual
Change-Id: Ib979fed2f59d9dbf5f0696edb5fcb4956600e6e0
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The previous size was causing some apps to crash which otherwise worked
fine. This more closely matches the hard limit in RecordingCanvas
(which we need to stay below to prevent SystemUI from crashing).
Fixes: 182891864
Fixes: 182232777
Test: atest StatusBarIconViewTest
Test: manual - posting notifications with different drawable sizes
Change-Id: I8deacc651e05a202ec980eeb8bcdf4f92daea8eb
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
542be62b05 am: 35e7a1408e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13430466
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icf74ac1746e7af32692792ff0ec6d29ba87463e9
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Bug: 169255797
Test: atest StatusBarIconViewTest
Test: verified that app crashes instead of SysUI following repro steps
Change-Id: I66e3bb873841b5babfd522c82cea7bed361fc14c
(cherry picked from commit 4394595debfd3f625b45a8b2280cdbec61f8dc71)
|
| |\ \
| |/
|/|
| |
| |
| | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1372978
Change-Id: Ia447331ad63737e19d4a9cec3d22deb36fbd72c5
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Apply theme by using notification context instead of
SystemUI context when loading notification icon drawable.
When loading notification icon for StatusBarIconView, use
notification's context as parameter, then applyTheme will
find theme resource in notification package and avoid
finding wrong theme resource in SystemUI for other apply's
drawable resources.
Bug: 158126029
Change-Id: Iaf8d8c6ff4af988233a1a331b255f6a4b44ca6cb
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of always using the small icon, important conversations
now transform from the conversationIcon
Bug: 150905003
Test: add a few notification, observe nice transitions
Change-Id: Ia8c5121a6bd415ccca9d959d291665b8ac43b000
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously the algorithm would only work with a header
and the icon wouldn't transform into the shelf.
This is now fixed.
Bug: 150905003
Test: add conversation notification, observe normal transition
Change-Id: I533b8f06bee29ee93888d748808b4313fef338e8
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Icons will show up on aod, status bar and expanded view. Icons are
currently updated on notification redaction.
We attempt to retreive people icons across a number of sources (in order
of priority):
1. ShortcutManager
2. Notification.getLargeIcon
3. Person.getIcon() from MESSAGE_EXTRAS
4. Notification.getSmallIcon (fallback if everythign fails fails)
Icons are cached when they the notification is an important conversation
and is sensitive
Bug: 144874876
Test: manually on device
Change-Id: I3292d2fbd90e39c4d2fe9eaa5b2855b7b65d89f9
|
| | |
| |
| |
| |
| |
| | |
Bug: 142831407
Test: atest RemoteViewsTest StatusBarIconViewTest
Change-Id: If55935a194d1e4fb22c5afe1ee102e5b167b0d1d
|
| |/
|
|
|
| |
Test: mp sysuig
Change-Id: Ia410a5959c8e38ec42e0a475d4da479de4c6b7c2
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Instead it is rendered by a dedicated container.
This will help with a lot of the transitions that
are necessary for the bypass and also fixes the
coloring of the notification icons on the lockscreen.
Fixes: 133869048
Bug: 130327302
Bug: 133182504
Test: atest SystemUITests
Change-Id: I422b3da488fdac6577173d41b26c67f81c7826c5
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Now the expected size and desired size of System Icons can be overlaid.
Resources as part of core, so they can be overlaid by Car.
Also, makes sure that maybeUpdateIconScaleDimens is the one called to
sort out what updateIconScaleXXXX should be called.
Test: visual, using icons that are not 17dp
Fixes: 132354163
Change-Id: I902050d4b3c44587a023614f738ebad1d857b8bf
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
StatusBarIconView will scale status icons to 17dp regardless of the
intrinsic size of the drawable. It uses the intrinisc height of the
icon as that's the most visible when the icons are not the same heihgt.
Also change permission icons in PhoneStatusBarPolicy to use the same as
PrivacyType and guarantee consistency.
Test: observe existing icons, they are same size as before
Test: open camera and maps and observe permission icons, they are same
height as other icons
Test: change themes and check that icons change and are the right size
Fixes: 131851643
Change-Id: Ied8a2f1d96e6a0e5ee456f2babb2b68b803445c9
|
| |
|
|
|
|
|
|
|
| |
A few Drawables are not handling an update to a color matrix properly
when its set as a color filter. As a result we now unset and reset the
filter when changed.
Change-Id: I905c516ba365d89bfc552f6b30cfcbc51a0965e8
Fixes: 111853077
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Whenever there's a custom clock, notification icons should be on the top
left. The default clock will just show the dark shelf.
Test: atest NotificationStackScrollLayoutTest
Test: atest CollapsedStatusBarFragmentTest
Test: visual - with and w/o clock plugin
Test: visual - with and w/o RTL layout
Bug: 122301289
Bug: 111405682
Fixes: 120563185
Change-Id: I4c513d347f656262ee6f91bd208ab9f219e4419c
|
| |
|
|
|
|
| |
Test: manual
Bug: 115322193
Change-Id: I6204d771e476c504e9070ebc88dd8fd44b268635
|
| |
|
|
|
|
|
|
| |
Bug: 111405682
Fixes: 118421265
Fixes: 113352017
Test: visual
Change-Id: I439d9533b2b0e28ecb696c5a2eda92e9312b027a
|
| |
|
|
|
|
| |
Change-Id: I4baa9f5f0abc6fdba2cdb5fadb9d75db929ce6b8
Fixes: 118309780
Test: visual
|
| |
|
|
|
|
|
| |
Test: adb shell service call uimode 4 i32 1 # day
Test: adb shell service call uimode 4 i32 2 # night
Bug: 110758454
Change-Id: Ib6fce91d1aeff7e1fbfe8a7a528095487fbdb3f8
|
| |\
| |
| |
| |
| |
| |
| |
| | |
pi-dev am: 40e41a6299
am: 62a098c7e3
Change-Id: I4e192cd13aa43f59e75d8d29011cd1a5cb92b753
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
We can adjust the Pivot such that the scaling doesn't happen
irregularly and that the animation is smooth.
Change-Id: Ib2e42a20430e1c10950a197a4c04e7c64c7dec67
Test: add notification, no flicker
Fixes: 80270979
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Refactored WallpaperColors to use constrast ratio instead of luminance
for detecting dark pixels. Also using a contrast more conservative than
what GAR requires while decreasing the dark area threshold.
Change-Id: I67b799be4b7ccd50bb3e63c6179d513b9b76446b
Fixes: 76435920
Test: manually set various wallpapers
Test: use new debug flag to verify which pixel is actually dark
|
| |\ \ \
| | |/
| |/|
| | |
| | |
| | | |
am: 9d55905221
Change-Id: Ib805a1ebb26c495dbf4704b992bf5fe6bdf67b2a
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| | |
Increased the radius of status bar dots to 2dp (4dp diameter, math). And
fix the alpha so that they aren't black when the icons are gray
Change-Id: I794c1f251b832e156c5f91dfc3c076d4d772d9a9
Test: visual
Fixes: 80303378
|
| |\|
| |
| |
| |
| |
| | |
am: 4811db16a5
Change-Id: I75f145a1cd7445674964e0e7b1127290df3bad87
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Shrink all status bar icons by 2dp. This means setting a scale factor on
anything that is a StatusBarIconView, and manually scaling down wifi and
mobile data groups.
Also fix the padding between the mobile data view and the battery
Also snuck in a fix for the battery saver icon clipping on QS
Change-Id: I5f5430d9e9c66f5c2794dcf4974cf18aa3bff061
Test: visual
Fixes: 74985733
Fixes: 79967193
Bug: 77822905
|
| |\| |
| | |
| | |
| | |
| | |
| | | |
am: 991c9f1af0
Change-Id: I0147e3b675408aded6b30275d873b2e6348ce2e2
|
| | |/
| |
| |
| |
| |
| | |
Test: code inspection
Change-Id: Ib2d2e5f5a638bd86fcd17e8c3dfe28501de75bad
Fixes: 77024183
|
| |/
|
|
|
|
| |
Test: make SystemUI SettingsLib
Bug:76692459
Change-Id: I248fdf4042a0a97bc6349091da21c936c2d37c95
|
| |
|
|
|
|
|
|
|
|
|
| |
When <= 5 status icons exist, try to show them all (space permitting).
If > 5 exist, show 4 and etc dots.
Test: visual
Change-Id: I4c09344bee75b3cab6256dd69f11337b9b667b0f
Fixes: 73778753
Fixes: 77660387
Bug: 77822905
|