Commit Graph

11524 Commits

Author SHA1 Message Date
Robin Lee
1437a142dc Merge changes from topic "revert-1510032-atv-rro-ZVBUWAKVPO" am: 3d6736d0fd am: 8966a5dd89
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1559778

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibfab465cbb08d4f34d6b174e1efd0606505c4154
2021-01-26 23:02:03 +00:00
Robin Lee
ebabaab09c Merge changes from topic "atv-rro" am: 821b08ecf6 am: afc49085d2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1510032

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic7ebf0f366a817434e7bc2d51497c7e33ffa459b
2021-01-26 00:02:48 +00:00
Robin Lee
6ff70decb1 Move device/google/atv overlays into SystemUI am: dfb7ca6157 am: 8acad8a2b5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1510031

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I702d115ab57662acab3408ec0f77460c7b621e67
2021-01-26 00:02:46 +00:00
Robin Lee
3d6736d0fd Merge changes from topic "revert-1510032-atv-rro-ZVBUWAKVPO"
* changes:
  Revert "Move device/google/atv overlays into SystemUI"
  Revert "Move keyguard enabled to Component Override"
2021-01-25 19:34:14 +00:00
Robin Lee
1704e95027 Revert "Move device/google/atv overlays into SystemUI"
Revert "Remove device/google/atv/overlay"

Revert "Remove device/google/atv overlay from RRO exclusion"

Revert submission 1510032-atv-rro

Reason for revert: b/178396156
Reverted Changes:
If9a99f850:Move keyguard enabled to Component Override
I1b0056b50:Make device/google/atv compatible with RRO
If766a0152:Remove device/google/atv overlay from RRO exclusio...
I9df2747d9:Remove device/google/atv/overlay
If689c72c2:Move device/google/atv overlays into SystemUI

Change-Id: I13d9670e41d408e7d4d3bf7a1e1408c083642721
2021-01-25 19:23:54 +00:00
Robin Lee
d3b506c464 Revert "Move keyguard enabled to Component Override"
Revert "Remove device/google/atv/overlay"

Revert "Remove device/google/atv overlay from RRO exclusion"

Revert submission 1510032-atv-rro

Reason for revert: b/178396156
Reverted Changes:
If9a99f850:Move keyguard enabled to Component Override
I1b0056b50:Make device/google/atv compatible with RRO
If766a0152:Remove device/google/atv overlay from RRO exclusio...
I9df2747d9:Remove device/google/atv/overlay
If689c72c2:Move device/google/atv overlays into SystemUI

Change-Id: I05f42caf8614c2c19ba5a33ec965843cc37cde98
2021-01-25 19:23:54 +00:00
Robin Lee
8acad8a2b5 Move device/google/atv overlays into SystemUI am: dfb7ca6157
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1510031

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I50e0f826901ddd96cd9adf928f16026b457972b0
2021-01-25 18:19:51 +00:00
Robin Lee
821b08ecf6 Merge changes from topic "atv-rro"
* changes:
  Move keyguard enabled to Component Override
  Move device/google/atv overlays into SystemUI
2021-01-25 17:45:49 +00:00
Jeff DeCew
7cdabf732e Merge "Apply scrollable to app pinning text area" am: 7f3a7daaf5 am: b3deb44a56
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1537210

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I150aa1b7a8b19efd1153530684b0e0ad4ece4312
2021-01-13 15:14:50 +00:00
Jeff DeCew
7f3a7daaf5 Merge "Apply scrollable to app pinning text area" 2021-01-13 14:38:23 +00:00
Evan Laird
4134ac8ade Merge "Listen for EXTRA_PRESENT changes" into rvc-qpr-dev am: 623049adac
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13083016

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iad025254e0c1d8e3400ee9554594bc28d5b20b84
2021-01-12 20:12:54 +00:00
Evan Laird
623049adac Merge "Listen for EXTRA_PRESENT changes" into rvc-qpr-dev 2021-01-12 18:57:58 +00:00
Bill Yi
9baab17dd3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5e3813caa85f8b5082344fb4e70e63b3fa8534a8
2021-01-02 05:25:40 +00:00
Bill Yi
80234e7e8d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9d538ba89679be7c0243c9f63a6cddf2930851c2
2020-12-30 02:58:12 -08:00
Yukako Murakami
602013be6b Apply scrollable to app pinning text area
Symptom:
When pinning an application, the instruction screen is not completely
displayed in landscape mode when display settings are largest.

Solution:
by applying scrollable to the layout of app pinning text area

Bug: 176455738
Change-Id: Idbd91f3103bf259168c35179f841b5490a5910a3
2020-12-29 17:49:09 +09:00
Bill Yi
ed79296aca Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I417b6db7be083701751bd67c0f3c39a1d64775f5
2020-12-20 23:28:06 +00:00
Bill Yi
db5d9e2644 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3c23c1b588fd494ea728ed85e8a23828f17bcae8
2020-12-17 20:22:12 +00:00
Bill Yi
e642bf0d60 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I315dbf7277dcc5aa2c45186500c39c930ee7e1fa
2020-12-15 03:47:16 -08:00
Evan Laird
638ebb3254 Listen for EXTRA_PRESENT changes
ACTION_BATTERY_CHANGED can pass a boolean EXTRA_PRESENT which would
alert listeners that a battery may or may not be present. SystemUI now
wants to show an error battery state instead of a potentially misleading
status in this situation.

Bug: 169935148
Test: adb shell cmd battery set present 1
Change-Id: I7d576248bb9931059100facb67ca6b46e81e554e
Merged-In: I7d576248bb9931059100facb67ca6b46e81e554e
2020-12-11 16:05:37 -05:00
Bill Yi
7359977be7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I675c51614b7caad1ac49d1444d32d6f610035839
2020-12-09 08:52:02 -08:00
tim peng
818908122c Merge changes from topic "media_output_dialog" into rvc-qpr-dev am: 7de579f1ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13104443

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic7e7d3fa26ec863da2cd05800062871685b83c55
2020-12-08 06:31:18 +00:00
timhypeng
cda6f5f37a Enhancement for group operation in output switcher am: 3de24ae2c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109614

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0acd4e4b65253fe376103ec11b736099c93ab4e6
2020-12-08 06:30:42 +00:00
timhypeng
66fed6fcc9 Add animation when switching output device am: 411e7a5b7c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109610

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I700cb5a98db53b4028c3c5a930dfdc1f1298a399
2020-12-08 06:30:18 +00:00
timhypeng
b46ff37d8a Add "Stop" button for remote device am: 5fc4c2883d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109608

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I139a01e203546ec1bfcbc6077445a24779ae4fb1
2020-12-08 06:30:05 +00:00
timhypeng
04645b9997 Add Media Output Dialog for Output Switcher am: 3e5de04302
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109603

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iec4be1ac2a277b556c26548e152f4a9b705e14a7
2020-12-08 06:29:28 +00:00
timhypeng
637e1d2513 Add controller for Media operation am: c23f9171ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109602

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4e059153b87530412d1143a58a4a6791d3356944
2020-12-08 06:29:22 +00:00
timhypeng
df822dab5c Add MediaOutputAdapter for Media device list am: d04087aff3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109601

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8714d906a5bc77fe55731ad61aeed7ceeb79f13a
2020-12-08 06:29:15 +00:00
tim peng
7de579f1ce Merge changes from topic "media_output_dialog" into rvc-qpr-dev
* changes:
  Apply animation for Media Ouput Switcher dialog
  Add dynamic item in output switcher if it is available
  Fix NPE when notification icon is empty
  Fix output switcher didn't show album art
  Add dynamic group operation in output switcher
  Enhancement for group operation in output switcher
  Add dismiss timing for Media Output Dialog
  Update OutputSwitcher from SettingsPanel to MediaOutputDialog in SystemUI
  Add constant for dismiss Settings panel
  Add animation when switching output device
  Add dismiss intent and method for MediaOutputDialog
  Add "Stop" button for remote device
  Add constant for dialog dismiss
  Rename MediaOutDialogReceiver to MediaOutputDialogReceiver
  Add getFeatures() for get device supporting features
  Add a receiver to launch Output Switcher dialog
  Add MediaOutputDialogFactory to create MediaOutputDialog
  Add Media Output Dialog for Output Switcher
  Add controller for Media operation
  Add MediaOutputAdapter for Media device list
  Define strings for output switcher dialog in SystemUI
  Add image utility methods
2020-12-08 05:46:13 +00:00
TreeHugger Robot
c6a6e01484 Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master 2020-12-05 10:19:58 +00:00
TreeHugger Robot
4dea6ad968 Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master 2020-12-05 08:13:01 +00:00
Bill Yi
f3817b163b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I23b88c296c509967ddcb30371fa436803e5c5ac4
2020-12-04 17:51:15 -08:00
Bill Yi
120a3441b8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7869492af986dfc45138bee058954d5109c53087
2020-12-04 17:23:23 -08:00
Bill Yi
554ccb3636 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I86b85599d017d8888e73e8d2f9e7183dd7549e29
2020-12-04 16:27:40 -08:00
Bill Yi
1c57a4a6b6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I77a264477d0c018d70d1e39e34ecaf68ab6c3f40
2020-12-02 23:05:22 +00:00
Xin Li
d31ee38811 Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855
Bug: 172690556
Merged-In: I78222391b83a4add8e964340ec08bb8a1306e1c6
Change-Id: I28bbf40820674675ccf765c912aa8140d3f74ab2
2020-12-02 00:38:58 -08:00
timhypeng
b71aeae0cb Apply animation for Media Ouput Switcher dialog
-Inherit InputMethod animation and create MediaOutputDialog animation

Bug: 155822415
Test: manual test
Merged-In: I42506f065da687c4ba6ddadca0f3b7a1c55f1be7
Change-Id: I42506f065da687c4ba6ddadca0f3b7a1c55f1be7
2020-12-02 03:30:44 +00:00
timhypeng
3de24ae2c5 Enhancement for group operation in output switcher
-Add new group components in xml layout and assets
-Adjust view objects in adapter for new layout
-Add aboveStatusbar in MediaOutputControllter to keep the dialog style
when switching
-Add getGroupMediaDevices() in MediaOutputController to provide available
device list for group operation
-Update test cases

Bug: 155822415
Test: atest MediaOutputAdapterTest MediaOutputControllerTest MediaOutputBaseDialogTest MediaOutputDialogTest
Merged-In: If74bf2efb89a8ece61f4e0cf13e4dcfa30cb0a8a
Change-Id: If74bf2efb89a8ece61f4e0cf13e4dcfa30cb0a8a
2020-12-02 03:29:52 +00:00
timhypeng
411e7a5b7c Add animation when switching output device
Bug: 155822415
Test: manual test
Merged-In: Ia3370222427b77099d987d59d5d5fd08c11557d7
Change-Id: Ia3370222427b77099d987d59d5d5fd08c11557d7
2020-12-02 03:29:22 +00:00
timhypeng
5fc4c2883d Add "Stop" button for remote device
-Add "Stop" to stop remote media session
-Refine UI layout
1. Adjust size of head icon and apply defined dimen value
2. Move list padding inside the list to prevent truncating the list
3. Remove group-related view(I will add it in recycle view when the group feature is ready.)
-Add MediaOutputDialogTest
-Rename PAIR_NEW to CUSTOMIZED_ITEM_PAIR_NEW
-Integrate more UI view in setTwoLineLayout()

Bug: 155822415
Test: atest MediaOutputAdapterTest MediaOutputBaseDialogTest MediaOutputControllerTest MediaOutputDialogTest
Merged-In: Ie6a917c56a0ef97f772a8f43742afd2ee61e407f
Change-Id: Ie6a917c56a0ef97f772a8f43742afd2ee61e407f
2020-12-02 03:29:07 +00:00
timhypeng
3e5de04302 Add Media Output Dialog for Output Switcher
-Add MediaOutputBaseDialog to provide common method for different media operations UI
-Add MediaOutputDialog for showing Bluetooth device
-Add resources for background image, style and layout
-Add MediaOutputBaseDialogTest for unit test

Bug: 155822415
Test: atest MediaOutputBaseDialogTest
Merged-In: I3086a4049f240870ca1ad870946d6848e500b561
Change-Id: I3086a4049f240870ca1ad870946d6848e500b561
2020-12-02 03:23:47 +00:00
timhypeng
c23f9171ce Add controller for Media operation
-Access LocalMediaManger to display avilable output devices information
-Access LocalMediaManger to do media operation, such as volume adjustment,
switching output device, grouping
-Access MediaController to show media content information
-Add MediaOutputControllerTest for unit test

Bug: 155822415
Test: atest MediaOutputControllerTest
Merged-In: I9eb6e3b0a6e584637aecb4132dbc2b138c6d1530
Change-Id: I9eb6e3b0a6e584637aecb4132dbc2b138c6d1530
2020-12-02 03:21:14 +00:00
timhypeng
d04087aff3 Add MediaOutputAdapter for Media device list
-Build device item layout by different cases
-Provide UI component for different operations
-Add MediaOutputBaseAdapter for common method
-Add MediaOutputAdapterTest for unit test

Bug: 155822415
Test: atest MediaOutputAdapterTest
Merged-In: Ida509ed401320b3665d7a5f29f4df5db096ff29c
Change-Id: Ida509ed401320b3665d7a5f29f4df5db096ff29c
2020-12-02 03:20:51 +00:00
Bill Yi
4c601b22af Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4048c69caa090fd5849c63289ab17da2fc09be34
2020-11-30 21:34:21 -08:00
Robin Lee
03ec0d0492 Move keyguard enabled to Component Override
When using RROs, android:enabled="@bool/form_factor_flag" won't work any
more. So we need to use a component override flag per b/135048762.

Test: Flash an adt3 with RRO enabled. see that systemui is coming up.
Bug: 173138807
Change-Id: If9a99f850ebb34755b4146b786c189f9fb590c3d
Merged-In: If9a99f850ebb34755b4146b786c189f9fb590c3d
2020-11-24 18:09:49 +01:00
Robin Lee
dfb7ca6157 Move device/google/atv overlays into SystemUI
There was no need for a separate RRO for this. Television UI mode covers
everything needed for a default TV overlay.

Test: make dist
Bug: 173138807
Merged-In: If689c72c22e140a142d86861b3273b40de3a6496
Change-Id: If689c72c22e140a142d86861b3273b40de3a6496
2020-11-24 18:09:02 +01:00
TreeHugger Robot
252341aae6 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2020-11-23 15:48:05 +00:00
Bill Yi
ddce51b69e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I07907f45c57b54dfddce3e554342307ff6e5176a
2020-11-23 13:49:01 +00:00
Bill Yi
82c11c6d97 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3d042075cb6241d5361cc9117e2c18a6ca55f657
2020-11-23 13:04:15 +00:00
TreeHugger Robot
fa437818e4 Merge "Controls UI - RTL for input pin/password" into rvc-qpr-dev am: 0c54275482
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13079323

Change-Id: I3106716b41918e0883183648665a8d4ce9e4e429
2020-11-19 02:09:02 +00:00
Matt Pietal
1b5d2f6ff4 Controls UI - RTL for input pin/password
Make sure the EditText input and hint are properly aligned for the
locale

Fixes: 158202169
Test: manual, force RTL
Change-Id: I3bce141d1a6767e4ccb73cbe533bcbd1ab253a73
2020-11-18 14:17:23 +00:00