Commit Graph

10996 Commits

Author SHA1 Message Date
Bill Yi
92a33f7cf3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iecaeae309c10c47e779a0077a800eb1120cf52e0
2021-05-20 13:29:13 +00:00
Bill Yi
f936c567b3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I90bfb8b2b0687bbc08a70992deb5c5cd90737cbd
2021-05-17 04:15:46 +00:00
Bill Yi
2912acc8e7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5fb0216d33dca2249845b2da974c9743a1479f0b
2021-05-09 04:29:36 -07:00
Bill Yi
f3f67a2243 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8b6762e046528ad6b15f37a327245887d575c263
2021-05-07 06:21:09 +00:00
Bill Yi
7ec2a29f78 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I31f2b4512164bb043d78d503f4f38accedc49f8d
2021-05-02 09:28:41 +00:00
Bill Yi
ba94d565cd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I873d14583db283b2cbbe45347bf4949d4c0f2001
2021-04-29 15:45:07 +00:00
Bill Yi
72af571a93 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie06627e5c7a0a0edb63047e8c08887f3b33dbc92
2021-04-27 04:38:16 +00:00
Bill Yi
fb22e49b69 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4d8f513521f196a5f9255e4e4964eb95d2d302e3
2021-04-23 02:39:15 +00:00
Bill Yi
ca07deca93 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia31871c2e3cd2061c26328ea2892f6d74ab22930
2021-04-21 19:00:39 +00:00
TreeHugger Robot
e2ebb4a3c9 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-04-19 18:34:09 +00:00
Bill Yi
70a33f047c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5976317db63a764d02e22b32df87e8649757160b
2021-04-19 15:17:01 +00:00
Bill Yi
13d52b8e02 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I38491ea70f1e01a398e8f50c729e112c745b5c53
2021-04-19 15:14:16 +00:00
Bill Yi
a2927ef378 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1f6ec6ab6ce85a3a54c06968988a1b468f087e88
2021-04-18 07:40:12 +00:00
TreeHugger Robot
168e02b329 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-03-31 16:23:28 +00:00
Bill Yi
9d1b0a1932 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0765f2b7325766625a8d07dfc3e092530f961273
2021-03-30 23:31:42 -07:00
Bill Yi
63bedd2542 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I15017f0dbebf0572b34451a271993f5be7808172
2021-03-30 21:52:43 -07:00
TreeHugger Robot
4d7d9c5fce Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-03-29 06:00:13 +00:00
Bill Yi
df4dcbdef0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4385898e8f31a1d053b77695962e2dbedabc9dd3
2021-03-27 23:13:02 -07:00
Bill Yi
60f6eb1f2a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I993d5d541f2e86e4b17cdeeadf96a3b81da9c09d
2021-03-27 09:56:42 +00:00
Bill Yi
b51058da22 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic8b967ecb544aa886302eb4a13f0542464ee1608
2021-03-12 00:38:07 -08:00
Bill Yi
8fc8c017f3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1e4528f615372f2cfbbcfd068a9c31fd5bdd7157
2021-03-08 08:33:51 +00:00
Bill Yi
be333346b3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I45f5d57fe0b27b6b103c6af8f6941d6a0f36005e
2021-03-01 08:25:12 +00:00
Bill Yi
a6d7c030de Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5dbcafcca06381b60c05cfdb2ee0b745c88a8b57
2021-02-13 03:48:46 -08:00
Bill Yi
44aeb32d9d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic3d09832985aa99be71c3ba982650405574cbda1
2021-02-03 17:01:21 +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
80234e7e8d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9d538ba89679be7c0243c9f63a6cddf2930851c2
2020-12-30 02:58:12 -08: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
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
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
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
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
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
Xin Li
7205d79832 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7e24e378d3c8c0c554f7af641925bcbf11df2ff6
2020-11-17 22:52:08 +00:00
Bill Yi
1b5a04ed73 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I245aea3b5e13a3bd3ceb133ea2efe8dc96bd27c0
2020-11-13 01:25:22 -08:00
Bill Yi
9fb898e15b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I19ec607aea18666102620348ac4919dd3b6ae0be
2020-10-30 03:43:40 -07:00
Bill Yi
ef2b59b1df Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id20257275834977c63dfae80c7adabc97d86014b
2020-10-25 11:50:10 -07:00
Bill Yi
7d8efd3e22 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I36af2f3da525e2df15d37dd316b222381e40dfe4
2020-10-21 13:42:55 -07:00
Jeff DeCew
d4659de45d Merge changes from topic "media_delete_intent_rvc_qpr2" into rvc-qpr-dev
* changes:
  Notifications starting paused shall still be subject to timeout.
  Disable player's "Dismiss" button when notification is not dismissible.
  Media player attempts to dismiss notifications when players removed.
2020-10-19 20:58:00 +00:00