Commit Graph

32 Commits

Author SHA1 Message Date
kwaky
6073f3c58b DO NOT MERGE Adjust NotificationView bottom margin based on whether Keyboard is shown.
If the Keyboard is shown, then margin bottom is 0.
Otherwise, the margin is the height of the NavBar.

Bug: 149022190
Test: Manual. Verify that NotificationView's margin adjusts based on
whether keyboard or IME is shown.

Change-Id: I96c50a4d773dfac9b57ab1c15cfc59d315da4605
2020-02-12 16:29:11 -08:00
Eric Berglund
d2b869256a DO NOT MERGE Revert "Adding scrim bubble to car's super_status_bar.xml"
This reverts commit a090fe062a.

Bug: 141383888
Test: Manual, m -j RunCarSettingsRoboTests
Change-Id: I4339d59b77ddad57fed77934cfc1b2d63de59d39
2019-11-06 10:33:57 -08:00
Heemin Seog
1a13af51ba DO NOT MERGE Add support for unprovisioned top nav bar
Also listen for changes to user setup rather than device provisioned

Bug: 140748928
Test: manual with custom SUW apk
Change-Id: Iabab489269d3dbfafd150a919020ac7921e45768
2019-10-09 19:27:51 +00:00
jovanak
a090fe062a Adding scrim bubble to car's super_status_bar.xml
Bug: 140308332
Test: sys ui boots on hawk
Change-Id: I111a5eef67ebe599d65b96687643cf1949d6bfbe
(cherry picked from commit 481a104025)
2019-09-17 18:31:37 +00:00
Erin Yan
5eb60a2c0d Make unlock dialog exit if the person taps outside of the dialog
Bug: 136049501
Test: Manually on IHU
Change-Id: Iabbca72bf65b5e93aafd53296d77a88ccaaf5dfd
Merged-in: Iabbca72bf65b5e93aafd53296d77a88ccaaf5dfd
(cherry picked from commit fe3efb667f)
2019-09-06 01:52:12 +00:00
Erin Yan
8182bfd415 Create dialog to show detecting Batmobile device & unlocking
Bug: 136049501
Test: Manually on IHU
Change-Id: I47b55e3032c814623aa5bf5c5c3ec1899c03e98e
Merged-in: I47b55e3032c814623aa5bf5c5c3ec1899c03e98e
(cherry picked from commit 16258e3e98)
2019-09-05 23:24:53 +00:00
Heemin Seog
ea8b7fef7f Small fixes to CarSysUI Volume Dialog
Make background transparent and makes the volume items black background.
This is to deal with some UI jank where the background appears before
the item appears.

Separated the left and right padding so that they can be overlayed
separately.

Bug: 129402464
Test: manual
Change-Id: Icff89e0858e9b6b73696082ac2fe37fd5cbcaf1c
2019-05-31 10:45:18 -07:00
TreeHugger Robot
5a0b7e59c4 Merge "DO NOT MERGE Revert "Adding the privacy chip to the CarStatusBar"" into qt-dev 2019-05-30 19:20:20 +00:00
Priyank Singh
a6c1e6ab65 DO NOT MERGE Revert "Adding the privacy chip to the CarStatusBar"
This reverts commit 5bd5767768.

Reason for revert: We want to delete all the code related to privacy chip/indicator from Q as of now. b/132292477

Bug: 133898491
Change-Id: Ieddae7509d918ab63a5b3111e0efc623fae644b3
2019-05-30 19:19:34 +00:00
Priyank Singh
a47b6f7c4d Make the Handle bar grabbable.
Bug: 133514822
Test: Manual
Change-Id: I4bd9ab183ac5953d1e581031832512e7a9cc17aa
2019-05-29 18:57:13 -07:00
TreeHugger Robot
09c5edd7a0 Merge "Adding the privacy chip to the CarStatusBar" into qt-dev 2019-05-21 23:00:41 +00:00
Priyank Singh
647f9e61ee Changes to notification shade.
1. Clip the shade with the glass pane
2. Add handle bar to bottom
3. Change the background color to #DD0000

Bug: 132908271
Test: Manual
Change-Id: I577ec7132d9ad37e951e07c6f1ce3c5a2a814d90
2019-05-20 13:05:02 -07:00
John Choi
d41d7735c3 Making wifi icon point to the new status_bar_system_icon_size
This matches what core SystemUI does.

Bug: 132354163
Test: manual
Change-Id: I39b1d80077581472d884b1a159b775522516226f
2019-05-17 12:52:59 -07:00
Priyank Singh
5bd5767768 Adding the privacy chip to the CarStatusBar
All the files are copied from P.car. It cannot be cherrypicked as P.car contains more code in th ecl that is not needed in Q.

Bug: 123355120
Test: Manual
Change-Id: I9529c0c9ffd5b317870ee85ff8f81ee126bb6e5c
2019-05-15 14:30:45 -07:00
Brad Stenning
44d3907b37 Change CarSystemUI notification button from launching Car Notification Center to opening the panel instead.
Bug: 130664005
Test: Manual
Change-Id: Ia32142c588d9afd42964182d2488f9b1133a5eb9
(cherry picked from commit 5b3dbcef9480ee6bedb554b48f433b18b63d6493)
2019-04-24 04:57:52 +00:00
Brad Stenning
2ccc2a4415 Move HUN car notifications into SystemUI
Bug:130664005
Test: Manual via KitchenSink

Change-Id: I4da0ce924962f82c8f4ba1168ba956833c07056a
(cherry picked from commit 93d098db9a57c47b41088f75f0eef46348f0d928)
2019-04-23 17:15:56 -07:00
Brad Stenning
3b0d7645c1 Moving Notifications into the status bar panel such that the Z layering works as expected
Bug: 129408503
Test: manual

Change-Id: I321bfe7a56cb027079a7098c99c77aa0649fd9cc
2019-03-28 21:39:34 -07:00
Arnaud Berry
bf9965f22f Merge "Remove androidx.car_car resources from SysUI" 2019-03-21 18:50:11 +00:00
Heemin Seog
50b43b7b72 Remove androidx.car_car resources from SysUI
Test: Manual
Change-Id: I7632bad7563d6639a3da9cf2a4e3456244b2d5e4
2019-03-19 12:00:17 -07:00
Heemin Seog
0d5e018ab5 Theme fixit for Car Sys UI
Notifications to use recyclerview in CarSysUI
SysUI UserSwitcher changes for PLV -> RecyclerView
Car SysUI Volume PLV -> RecyclerView

Bug: 128545260
Test: manual
Change-Id: Ic618b85d6836cfc9e4bb9b40c9ba3c0e0a96af76
2019-03-18 11:44:15 -07:00
Cassie Wang
7910fd3475 Use an implicit intent to launch Dialer
Change the explicit intent to an implicit intent to call
TelecomActivity.

Bug: 124049871
Test: Manually Tested
Change-Id: Ib513e642b99eaaab9935f2152abaf45bde486b04
2019-02-22 19:42:32 +00:00
Brad Stenning
c622f1d6b1 Add all the needed touch listeners and gesture detectors to allow for car
Test: on car product build

Change-Id: Icc44cae87033383535d6a0ab13203afb14cf83e0
(cherry picked from commit 3f55c3502e120bacea38162ccbff94e462b009ed)
2019-01-29 11:31:56 -08:00
TreeHugger Robot
9580229981 Merge "Add the APP_MUSIC category to the media center facet button" 2019-01-24 17:58:11 +00:00
Arnaud Berry
10e7cec1e2 Add the APP_MUSIC category to the media center facet button
So that the button highlights when the radio app is active.

Test: manual
Change-Id: Ia89b8b291bda9b902cb5bb74ed214edc894763c1
(cherry picked from commit 881cf7d9e40b473ae5b381661f1f739ea7b12322)
2019-01-23 22:53:10 +00:00
Arnaud Berry
488762974f Use an implicit intent to launch the Media Center
Benefit: the launched activity isn't hard coded to MediaActivity.

Test: manual
Change-Id: I6a6a641fdb4c27a6818929cfc4138b71749999fc
(cherry picked from commit d30efbc1dbb121b8c3862e5e125cf9c5eb2a31fd)
2019-01-23 22:52:02 +00:00
Priyank Singh
523837cba9 Fixing the flickering issue when clock is clicked in status bar to open Quick Settings.
Adding the flag "Intent.FLAG_ACTIVITY_SINGLE_TOP" which will stop the activity to relaunch if its already there.

Bug: 121345477
Test: Manual
Change-Id: I83f985c83d4954a722591b59fc7f6db24a923923
(cherry picked from commit a9971e07144bfa7fde5f4ae2cd602efb8ff02fec)
2018-12-26 23:24:45 +00:00
Brad Stenning
fbc8a0f2d3 Clean up some CarSystemUI theme elements
Also fixed the left and right nav notifications id in case someone one demos them later

Test: Manual
Bug: 119311195
Change-Id: I9a6c31d25a8eb6f6e895180c4946c14629bd668e
(cherry picked from commit 5a4a0f4bfa2ae6aabf9c86da1d59c4d72b2baecd)
2018-12-17 18:37:08 +00:00
Brad Stenning
8d1a51c4da Move car related code from SystemUI to CarSystemUI
Test: Emulator phone and Car
Change-Id: Ia64a23c1d3643899118e578b82c665c034af1c8e
2018-12-04 09:19:36 -08:00
Priyank
e757aa9c40 Moving over volume dialog parts to the DeviceDefault Theme.
Test: Manual
Bug: 119275316
Change-Id: I197d814a86af425caeb913d393c738eb8f16fcd8
2018-11-15 15:30:23 -08:00
davidln
b453cded68 Update area IDs for temperature views in status bar.
Left should include left rows 1, 2, and row 2 center, and right should include rows 1, 2.

Bug: 111067116
Bug: 111353443

Test: verified crash in logs. Build, deploy, verify temperature shows / no exception in logs.
Change-Id: I5dfc79643c6e5ea12ec65905f5401a07bfe6ab9e
2018-07-16 20:06:27 +00:00
Brad Stenning
452dfb7260 Add an assist mic to the navigation bar
I also updated the notification hook to use the new NotifcationCenter

Bug:110275838
Test: on dev device and in car
Change-Id: I28d42f6d37226028602fea4ac4d8901ba587a1ce
(cherry picked from commit 4691a983e2c4aaea68c4b642cca788c0933a5e12)
2018-07-13 14:45:52 +00:00
Brad Stenning
754f8c9405 Move values out of car_product to the new CarSystemUI
Bug: 110275838

Change-Id: Ica7a3bd2e1661954398010e5eff150dea20a3bd5
Test: on 2 emulators and 2 hardware versions
(cherry picked from commit d879e7e0f5c13409f13c58ec88376ec807a691cc)
2018-07-12 22:26:47 +00:00