summaryrefslogtreecommitdiff
path: root/packages/CarSystemUI/src
AgeCommit message (Collapse)Author
2020-11-10Migrate CarSystemUI out of framework/base.kwaky
Bug: 170742445 Test: Manual (build and boot succeeds) Change-Id: I88e0e2ff4d44b160f89297e03e4bb8111c3adaf6
2020-11-10Change SystemUI implementation for prioritized HUNs.Abhijoy Saha
This change involves: > Migrating CarHeadsUpNotificationSystemContainer to extend instead of implement the new implementation of CarHeadsUpNotificationContainer to accomodate for prioritized HUNs. > Migrating bottom HUNs resources to Notifications package. Bug: 112155307 Test: Manual Change-Id: I8fd2d8380d69174564b9899986e81c702b7018d1
2020-11-04Migrate Bubbles to wm-shell (5/n)Tony Huang
Move bubbles package and related resources to shell package, also copied some used codes and resources. Bug: 161980186 Test: atest SystemUITests Test: atest WMShellUnitTests Change-Id: Ia108bd4149b3c3bf86631ba1a7a6bce0e76af78f
2020-10-23Enable defining system bar side to fit by the side.kwaky
Test: Manual + Unit Tests Bug: 171414476 Bug: 171054589 Bug: 162599873 Change-Id: I948a0907fa76ea16acc91f843f8b5cdbf7126df1
2020-10-21Merge "Add ReadViewCameraViewController/Mediator."Yuncheol Heo
2020-10-19Isolate shell dependenciesWinson Chung
- Add initializer path for required shell dependencies - Move shell dependencies into WMComponent scope, and expose shell features to SysUIComponent explicitly - Moved temporary Bubble's specific dependencies to global scope until the migration finishes Bug: 162923491 Test: atest WMShellUnitTestsWMShellUnitTests Test: make SystemUIGoogle CarSystemUI ArcSystemUI AAECarSystemUI Test: Verify pip/split/onehanded/bubbles still works Change-Id: Ibaa8b5a718f32a1fff49d1756a18a009d6ad164f Signed-off-by: Winson Chung <winsonc@google.com>
2020-10-15Add ReadViewCameraViewController/Mediator.Yuncheol Heo
- Launch config_rearViewCameraActivity in the overlay Window when gear is reversed. - Add/Remove ActivityView dynamically to save the system resource while it is hidden. Bug: 157481389 Test: atest com.android.systemui.car.rvc Test: Check if RearViewCamera is launched when the gear is reversed and if it will be closed when the gear is changed to the other one. Change-Id: I768fe9090eed9cb82c4108ab8f6335802d36fa64
2020-10-14Respect feature flag when providing Pip controllerJerry Chang
Makes sysui dagger provides optional PIP controller with PIP feature flag. Adds test in PipControllerTest to make sure it won't instantiate controller if the feature is not supported. Bug: 170188471 Test: atest SystemUITests Test: atest WMShellUnitTests Change-Id: I681bb5ac2972d6426c270099605d44fc82dc9f78
2020-10-12Merge "Fix guest icon is not clickable after adding user" am: a35917822d am: ↵Treehugger Robot
f9fb9f6983 am: db5bc807a0 am: fd9473a037 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1452495 Change-Id: I51c5114750ee1a64ec564204667c72e13ae98d4e
2020-10-12Merge "Fix guest icon is not clickable after adding user" am: a35917822d am: ↵Treehugger Robot
f9fb9f6983 am: db5bc807a0 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1452495 Change-Id: Ib96d7493bdbcd35c9c30ac8df8c7df7cd2ff7ff0
2020-10-12Merge "Fix guest icon is not clickable after adding user" am: a35917822d am: ↵Treehugger Robot
f9fb9f6983 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1452495 Change-Id: I0b9f0c874b4a58723bc455755b866e3ce8af6e5b
2020-10-09Fix guest icon is not clickable after adding userArtem Radchenko
When addUser icon is clicked, it becomes disabled to prevent double clicking. And this icon is newer enabled again in case of successfull user creation. When user is added, icon for New user is added to recycler view before guest icon. So, when user selection is opened again guest icon is not clickable, because it is disabled. Enabling addUser button after successfull user creation fixes this issue. Test: - Set pin: adb shell locksettings set-pin 0000 - Lock board: adb shell input keyevent KEYCODE_POWER - Wake up: adb shell input keyevent KEYCODE_POWER - Click cancel button - Click "Add User" -> Click Ok - Set pin - Lock board - Wake up - Click cancel button - Click guest button Bug: 170382676 Signed-off-by: Artem Radchenko <artem.radchenko@globallogic.com> Change-Id: Ie9f3e9b765123207d1217ae2434608c3316923f4
2020-10-08Handle System Bar Inset properly for immersive mode.kwaky
If we enter immersive mode (that is, SystemBar is hidden due to transient mode), inset from that system bar is not applied even when it becomes visible. To fix this, we are applying window inset to fit ignoring the visibility of the system bar. Each overlay view can opt-in to use this functionality by overriding shouldUseStableInsets's return value to true. It can also use conditionals to change its return value dynamically (e.g. depending on whether the IME is visible. See NotificationPanelViewController.) Bug: 169612767 Test: Manual (see screen shots) Change-Id: I9d0c460bd3b521f9e334c3f7c9d304e68593b6da
2020-09-28Merge changes Ia40a682c,I3118310aAdrian Roos
* changes: DisplayImeController: reapply visibility when leash changes DisplayImeController: Refactor for testability
2020-09-28DisplayImeController: Refactor for testabilityAdrian Roos
Bug: 162875596 Test: atest WMShellUnitTests Change-Id: I3118310a391592fcc72ea6ef8b4b8adccce2f14f
2020-09-24DO NOT MERGE Update current user for passwordEntry and restart input on user ↵kwaky
switch. This prevents IME not working due to the passwordEntry input field drawn for a wrong user or due to having an invalid token. Test: Manual Bug: 168825956 Change-Id: I28e38a523e67011df680c9dfb21907047c0e3278
2020-09-24Merge "Fix system bar UI"Julia Kawano
2020-09-24Merge "Map bar type to new ITYPE_{SIDE}_MANDATORY_GESTURES_INSETs" into ↵Youngjun Kwak
rvc-qpr-dev am: 4d714cb8e9 am: dcfa722f4c Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12641033 Change-Id: I23a25bddc218d0ceff66cb891d61de68abc289fc
2020-09-24Merge "Map bar type to new ITYPE_{SIDE}_MANDATORY_GESTURES_INSETs" into ↵Youngjun Kwak
rvc-qpr-dev
2020-09-24Merge "Ensure the notif panel is inflated" into rvc-qpr-dev am: 434a416769 ↵Heemin Seog
am: b57fab0a5e Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12673552 Change-Id: Ic0c73b6be7d1ff10ac7c4d7519dc8228cb52b452
2020-09-23Ensure the notif panel is inflatedHeemin Seog
Bug: 168823233 Test: manual Change-Id: I1ed35a0c240acb2fa06241f34aa9c7a549dc360b
2020-09-23Fix system bar UIJulia Kawano
Following the updated system bar mocks including status bar changes from the settings team. Changes include: - Make the status icons in the status bar tappable (open quick settings) - Add grey pill behind status icons and username - Nav button in system bar white when selected (grey when not) Bug: 168939484 Test: built on flame_car Change-Id: Ica1bce9fa63f5ee7a29cde79b8947b058907cb94
2020-09-23Merge "Ensure notif panel behavior in immersive mode" into rvc-qpr-dev am: ↵Heemin Seog
7c6a4eee44 am: bda41b51b5 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12642386 Change-Id: I35d582afd9c69445d9c6f620f8a75b6cddb0b8d6
2020-09-22Map bar type to new ITYPE_{SIDE}_MANDATORY_GESTURES_INSETskwaky
Bug: 167565741 Bug: 167288724 Test: atest WindowInsetsPolicy and atest SystemBarConfigs all passing Change-Id: I767a423bc2437021af02c01a84fa3e1834413c1e
2020-09-21Fix NAN temp on system bar HVAC controlsJulia Kawano
Fixing bug where the AdjustableTemperatureView displayed "NaN" when no temperature was available (namely when booting) to instead display "--" (which was the previous behavior). Also matched previous temperature view behavior to display a string when the min or max temperature has been set. Bug: 168744829 Test: manual - built on flame_car Test: atest AdjustableTemperatureViewTest Change-Id: I048cf09fb31b61905c922b7e531f497bee2586d9
2020-09-18Ensure notif panel behavior in immersive modeHeemin Seog
Bug: 168823233 Test: manual, atest :carsysui-presubmit Change-Id: I38241142a05c25cef5a5f3955ca7de49feb5c393
2020-09-18Merge "Adjust window focusable by view controller"Heemin Seog
2020-09-16Merge "DO NOT MERGE Enable hiding system bars by side when IME appears." ↵Youngjun Kwak
into rvc-qpr-dev
2020-09-15DO NOT MERGE Fix subclass/superclass check for NotificationPanelViewMediator.kwaky
Bug: 165806308 Test: Manual + Unit Tests Passing Change-Id: I8f443762f1b487ab9d3fe4f6f84b0aa86e3d0c8a
2020-09-15DO NOT MERGE Enable hiding system bars by side when IME appears.kwaky
Bug: 167593045 Test: Manual + Unit Tests Change-Id: Ib0c2c70e2df361f5cce156315c7fd4ae489ae279
2020-09-11Merge "Fix subclass/superclass check for NotificationPanelViewMediator."Youngjun Kwak
2020-09-11Fix subclass/superclass check for NotificationPanelViewMediator.kwaky
Bug: 165806308 Test: Manual + Unit Tests Passing Change-Id: I8f443762f1b487ab9d3fe4f6f84b0aa86e3d0c8a
2020-09-11Merge "Fix crash from UserNameViewController.removeAll()"Julia Kawano
2020-09-11Fix crash from UserNameViewController.removeAll()Julia Kawano
The UserNamveViewController was calling removeListener() before the listener had been registered. Added a boolean mRegistered to check if the listener has been registered before removing it and added a test that calls removeAll() before a listener is registered. Bug: 168065924 Test: atest UserNameViewControllerTest Change-Id: If24374e51a61c943142ba3a8794aca548dd241cc
2020-09-11Merge "Enable hiding system bars by side when IME appears."Youngjun Kwak
2020-09-10Enable hiding system bars by side when IME appears.kwaky
Bug: 167593045 Test: Manual + Unit Tests Change-Id: Ib0c2c70e2df361f5cce156315c7fd4ae489ae279
2020-09-10Adjust window focusable by view controllerHeemin Seog
Some adjustments to note: 1. remove previous focusability changes per view controller 2. disallow calling insetsController.show/hide without window focus 3. update tests to depend on window focus 4. update DisplaySystemBarsController to refer to parent class for ime insets Bug: 163135884 Test: manual, atest :carsysui-presubmit Change-Id: If5adf599bc2c676ad296f89566534c1fdc9f2492
2020-09-10Merge changes from topic "b166448040-keyguard-message-area"Dave Mankoff
* changes: 3/N Use KeyguardSecurityContainerController in KHVC. 2/N Use KeyguardHostViewController in KeyguardBouncer. 1/N Add Controllers for most KeyguardBouncer related views.
2020-09-10Merge "Replace StackInfo with TaskInfo"Louis Chang
2020-09-08DO NOT MERGE Adjust window focusable by view controllerHeemin Seog
Some adjustments to note: 1. remove previous focusability changes per view controller 2. disallow calling insetsController.show/hide without window focus 3. update tests to depend on window focus 4. update DisplaySystemBarsController to refer to parent class for ime insets Bug: 163135884 Test: manual, atest :carsysui-presubmit Change-Id: If5adf599bc2c676ad296f89566534c1fdc9f2492
2020-09-081/N Add Controllers for most KeyguardBouncer related views.Dave Mankoff
This adds Controllers to most of the KeyguardBouncer related views, though it does not move much (or any) functionality into them. This is the first step of a few to get View Injection out of the KeyguardMessageArea. The CL was growing large, and I wanted to find a good check-in point before continuing. I also added a "ViewController" utility class in this CL that simplifies some of the repetetive work I've been finding myself writing when implementing other Controllers. It is intentionally left simple, existing only to hook into view lifecycle events. More work to follow. Bug: 166448040 Test: manual && atest SystemUITests Change-Id: Ie59f62e97d979fb753e4a103d37ceca02e327238
2020-09-03Merge "Set HVAC temp asynchronously"Julia Kawano
2020-09-03Replace StackInfo with TaskInfoLouis Chang
Bug: 148895075 Test: existing test pass Change-Id: I97a12397b61f4ee67810dc4ae0423de07d4befa8
2020-09-02Set HVAC temp asynchronouslyJulia Kawano
The submitted patch of ag/162598687 (patch 6) did not include the final changes made the to HVAC controller and the XML fixes (patch 5). Adding those changes that should have been included, namely async setting the hvac temperature and making the adjustable temperature button values overlayable. Bug: 162598687 Test: atest AdjustableTemperatureViewTest Test: atest HvacControllerTest Test: atest TemperatureTextViewTest Change-Id: Ieaaf4b1e8ea892ac2c16f4aec028c357277e8ae7
2020-09-02Migrate OneHanded to WM shell (3/n)Tony Huang
Remove OneHnadedUI and use OneHandedController through WMShell. Bug: 161980408 Test: m Test: atest com.android.systemui.onehanded Test: manual check OneHanded funcation Change-Id: I5148a9a74799ecd911f23403ca2d5df487717fc9
2020-09-01Merge "Make SystemUI crash with warning if SystemBarConfigs is incompatible ↵Youngjun Kwak
with NotificationPanelViewMediator." into rvc-qpr-dev
2020-09-01Decouple DividerView from SystemUIJerry Chang
Moves FlingAnimationUtils to wm shell library as a common utils for both wm shell and SystemUI. There are some basic interpolators needed for wm shell library. Since they are relative basic and already been put into different packages, duplicates them directly to wm shell library. Bug: 161116823 Test: atest SystemUITests Test: manual check divider animation Change-Id: Iffabb7eff829cad69ef3d273b803f8fbd3ab6685
2020-09-01Merge "Integrate PipUI PipManager to PipController (7/N)"TreeHugger Robot
2020-08-31Make SystemUI crash with warning if SystemBarConfigs is incompatible with ↵kwaky
NotificationPanelViewMediator. Bug: 162599873 Bug: 165806308 Test: Manual Change-Id: I855c03d11e31cf722609f2bb0b0cb6c01624b0c0 Merged-In: I855c03d11e31cf722609f2bb0b0cb6c01624b0c0
2020-08-31Merge changes from topic "aaos_systembar_styling_userNameViewController"Julia Kawano
* changes: Add HVAC temp with buttons to nav bar Add username to status bar and update layout