Bill Yi
575886adff
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I02b4ba5d59e656eeaad58df19e22df03bae22de3
2021-06-15 02:36:33 +00:00
Bill Yi
20ac43d4e8
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I6ae305e3be95b968ceb46fdc371ca5fcd228df60
2021-06-11 09:51:07 +00:00
Hongwei Wang
99069b701c
Merge "Polish PiP round corner" into sc-dev am: 7b8b7b5cba am: 4e846b73eb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14886585
Change-Id: I382141d6dcb43f876b247bc19bdb42a2e144be1c
2021-06-08 17:02:44 +00:00
Hongwei Wang
4e846b73eb
Merge "Polish PiP round corner" into sc-dev am: 7b8b7b5cba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14886585
Change-Id: I3885952da56c06e6e270353a7769f8c6d64377c2
2021-06-08 16:55:25 +00:00
Hongwei Wang
7b8b7b5cba
Merge "Polish PiP round corner" into sc-dev
2021-06-08 16:48:28 +00:00
Hongwei Wang
d5b088b418
Polish PiP round corner
...
Included in this CL
- Increase the corner radius from 8dp to 16dp
- Scale the round corner radius in transition
Tested with the following scenarios
- Enter PiP in button navigation mode
- Double-tap to resize PiP
- Pinch to resize PiP
TODO
- Round corner when enter PiP with auto-enter being enabled
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/gA2dQNBNTA8xFExWqmOkRY
Bug: 187441996
Test: manual, see video
Change-Id: I43db31f966007795351a8e2ca7dd08417f6f0df7
2021-06-07 16:20:50 -07:00
Bill Yi
7c0e324e95
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I908fc392a60c3ab9d7a6fa1b3effbdb2bd8edf08
2021-06-07 12:10:29 +00:00
Bill Yi
b2cfa6daa1
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I4fba735c6a5a7edc040fe34b907830a99ec1eca6
2021-06-07 12:09:05 +00:00
Mady Mellor
f4575967ca
Merge changes I5c096c2b,If0d0d86b into sc-dev am: 73eb2771f8 am: 98c386a401 am: 9d599f0f0f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14751471
Change-Id: I941dd165c06d389b98c98a653212829617ca4dc7
2021-06-04 20:19:31 +00:00
Mady Mellor
9d599f0f0f
Merge changes I5c096c2b,If0d0d86b into sc-dev am: 73eb2771f8 am: 98c386a401
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14751471
Change-Id: Ia8d9eb3e8d23a94495a66f4698237a00e5d6e7a7
2021-06-04 20:03:41 +00:00
Mady Mellor
2c864a2275
Merge changes I5c096c2b,If0d0d86b into sc-dev am: 73eb2771f8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14751471
Change-Id: I813191f3caa54ccb08212524ccab49e2a7317a77
2021-06-04 19:48:28 +00:00
Mady Mellor
9254393aa5
Bubble dismiss updates
...
- large colored circle, uses same accent color that launcher
has for remove / uninstall
- added a shrink animation for the target when the bubble is
stuck via the magnet
- no longer desaturate the bubble being dismissed but rather add
a bit of an alpha
Bug: 183657564
Test: manual - get a bubble, drag it around & dismiss it, notice
the animation
Change-Id: If0d0d86b7389f0fa3314598266cd83ecabdc6a9b
2021-06-03 10:16:36 -07:00
Wei Sheng Shih
d9de3723f2
Merge "Consolidate the starting surface icon size to framework" into sc-dev am: a7fb25ba8a am: c59c9c6664 am: f3c2beadd3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14609920
Change-Id: Ia1abfdf0991f1923586b546b45c17c606dda98af
2021-06-02 10:40:38 +00:00
Wei Sheng Shih
c59c9c6664
Merge "Consolidate the starting surface icon size to framework" into sc-dev am: a7fb25ba8a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14609920
Change-Id: I2a553ec07c58fb2bbcb494aedfa9d2ae947944f6
2021-06-02 10:08:06 +00:00
Wei Sheng Shih
46ebf0b300
Merge "Consolidate the starting surface icon size to framework" into sc-dev am: a7fb25ba8a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14609920
Change-Id: Id09e82e22b949fc21b421791e9a22e276ddc09b1
2021-06-02 10:07:22 +00:00
Wei Sheng Shih
a7fb25ba8a
Merge "Consolidate the starting surface icon size to framework" into sc-dev
2021-06-02 10:00:20 +00:00
Mady Mellor
0e288794c7
Merge changes I4794ed89,I0c273f4d,Ibd8609a8 into sc-dev am: 2430a0b314
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14707598
Change-Id: Ic43f78021c3d15128f8ff0ad7533b7e388d539e0
2021-05-28 16:24:21 +00:00
Mady Mellor
baae5baaed
Merge changes I4794ed89,I0c273f4d,Ibd8609a8 into sc-dev am: 2430a0b314 am: b1ad3da49d am: 3ca7a4aae0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14707598
Change-Id: I22bcd9e961541d8b3577b29cf32e0796c46e36ef
2021-05-28 03:26:52 +00:00
Mady Mellor
b1ad3da49d
Merge changes I4794ed89,I0c273f4d,Ibd8609a8 into sc-dev am: 2430a0b314
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14707598
Change-Id: I709265f9c33d01aeb7d61e47680aab9bf8ae3b7b
2021-05-28 03:01:35 +00:00
Mady Mellor
2430a0b314
Merge changes I4794ed89,I0c273f4d,Ibd8609a8 into sc-dev
...
* changes:
Flexible maximum number of bubbles to show
Add shadows back to bubble avatar
Update sizes for the bubble avatar
2021-05-27 22:51:57 +00:00
Mady Mellor
238f122f47
Flexible maximum number of bubbles to show
...
* adjust the default spacing so that its small enough that 5 bubbles
can show on crosshatch (5 is the default)
* Add max bubbles to BubblePositioner, replace the other usages
Test: atest BubbleDataTest
Test: manual - have 5 bubbles
- adjust screen size to largest
- open the stack
=> notice that the number of bubbles have changed and
they all fit on the screen without overlap
- repeat & check the different densities
Bug: 187715444
Change-Id: I4794ed89541eeb573c367748f980cf7ffe45d3f3
2021-05-27 13:41:22 -07:00
Mady Mellor
bb53cce0db
Update sizes for the bubble avatar
...
* Update sizes of badge & bubble; also simplify some of the sizing
code, we can do it with just the overall size
* Simplified things, instead of the inner / outer sizes just use
the overall size
Test: visual - create a bubble and look at the size of the bubble and
badge
visual - have some bubbles, change display size, create a new
bubble & verify that all of the sizes are the same
Bug: 183657577
Change-Id: Ibd8609a8737bb0a57519fa70fba17138bb69b379
2021-05-27 10:32:02 -07:00
Bill Yi
0ba64a4d0c
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I22ee13f97f7a193c756c49757564dc919e0e1d89
2021-05-27 13:00:57 +00:00
Bill Yi
5a20d4ff08
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ic89d1c68f73f211c351ecd85d691bb64ec06f98d
2021-05-27 12:59:35 +00:00
Bill Yi
7974c35e5d
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I4e76272c308193ffdcbca7aa00fb4aa0b15e66b9
2021-05-25 16:17:34 +00:00
Bill Yi
b5dc7a6787
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I9dead0949d59204c8d1a12ff217aff754faaebb2
2021-05-25 16:15:56 +00:00
TreeHugger Robot
cb993ce24a
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-05-22 06:22:44 +00:00
Mady Mellor
b8909bbc9f
Merge "Update the sizes for bubble expanded view" into sc-dev am: 268e44c5f5 am: 46ffa8098c am: d4601d02a1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14626187
Change-Id: I1d8c48084cbc4a8047eff3150592d0dbda559344
2021-05-22 00:48:31 +00:00
Mady Mellor
eca2e9c8d6
Merge changes Ib640add6,I168a14e1 into sc-dev am: db99d2664e am: 5f204c1b3b am: 66fda136d5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14626186
Change-Id: Ic430d1cb1aa335b67bf29f2025069e98d755c057
2021-05-22 00:46:57 +00:00
Mady Mellor
46ffa8098c
Merge "Update the sizes for bubble expanded view" into sc-dev am: 268e44c5f5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14626187
Change-Id: Ieb27286628ed0d61600d99c27507554988585f74
2021-05-22 00:30:19 +00:00
Mady Mellor
7bee3c1168
Merge "Update the sizes for bubble expanded view" into sc-dev am: 268e44c5f5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14626187
Change-Id: I20670591b5fba6263e541c3ac044ee5fc63e64cb
2021-05-22 00:22:49 +00:00
Mady Mellor
ec5f11ba2c
Merge changes Ib640add6,I168a14e1 into sc-dev am: db99d2664e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14626186
Change-Id: I49561cbca6897c0cf51a7cce89b2d963618d0cc3
2021-05-22 00:15:45 +00:00
Mady Mellor
5f204c1b3b
Merge changes Ib640add6,I168a14e1 into sc-dev am: db99d2664e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14626186
Change-Id: I72383d2c5a2d04a5ed2c33a8e10245236906fc19
2021-05-22 00:15:32 +00:00
Bill Yi
da919949fe
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Idb36b573577f1277b6f81fb9329a3f0d273a9d21
2021-05-21 23:21:39 +00:00
Mady Mellor
50bcd6ca2b
Update the sizes for bubble expanded view
...
* 16dp on either side / from edge of screen for the bubble view
* 16dp between bubble row & expanded bubble rect (works out to 5dp
in code: 16dp - 2dp (badge overhang) - 9dp (pointer height)
* max 8dp between the bubbles in the top row
* manage button has some adjustments - 8dp above & below and is total
32dp from edge of screen; ensure manage button is centered between
bottom inset & bottom of expanded view
* fixes a bug where there was extra padding being at top of expanded
view in landscape mode
* removed an unused layout file & unused dimens
Test: visual - expand a bubble, look at spacing of everything on
screen; do the same in landscape from left and right
edges of the screen.
Bug: 187715439
Bug: 183658029
Change-Id: I29e699aaf9b6e7bf75447dac6aa6b00a7b272b8b
2021-05-21 14:00:53 -07:00
Mady Mellor
cdbe799cf2
Bubbles don't hang off screen
...
Bug: 183657577
Test: visual - make a bubble, see it doesn't hang off the edge
Change-Id: Ib640add665bf5050f94573987072a93855f29fab
2021-05-21 14:00:53 -07:00
Mady Mellor
983eb96e78
Merge "Make sure Manage button updates for display size changes" into sc-dev am: ea1518faf1 am: fba001d997 am: 7ba311283e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14626184
Change-Id: Ie8e11b421df279de3ecd91dbf3bf31742c3d661a
2021-05-21 19:22:06 +00:00
Mady Mellor
7ba311283e
Merge "Make sure Manage button updates for display size changes" into sc-dev am: ea1518faf1 am: fba001d997
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14626184
Change-Id: Ic4ea9d5f5a976714aeacb82e620e510983824f40
2021-05-21 18:32:49 +00:00
Mady Mellor
c71f3b1afe
Merge "Make sure Manage button updates for display size changes" into sc-dev am: ea1518faf1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14626184
Change-Id: Ibe6a8ffeaeb17c0f7c80f3891c79a4b3e79aedf7
2021-05-21 18:27:43 +00:00
Mady Mellor
aeb963ee90
Merge "Make sure Manage button updates for display size changes" into sc-dev am: ea1518faf1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14626184
Change-Id: Icfa0b2976d3257e51cc95e4e36792546c9bfd5dd
2021-05-21 18:26:24 +00:00
Mady Mellor
d3bd6bfbf3
Make sure Manage button updates for display size changes
...
Bug: 160284881
Test: visual - have a bubble, expand / collapse it, update display
size, expand the bubble & check that the sizes have increased
& look correct
Change-Id: If6db9ae1b720f7f37fab31cbb6a67a48bee2e0f8
2021-05-20 17:55:57 -07:00
Mady Mellor
e60e8b113b
Merge changes I65f46028,Ie3f67ccd into sc-dev am: 0abd3000eb am: fb60557280 am: 4084192216
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14626183
Change-Id: Ibed0767fb219f0d1b73c98f3cd57cbf561a5b395
2021-05-20 20:39:43 +00:00
Mady Mellor
fb60557280
Merge changes I65f46028,Ie3f67ccd into sc-dev am: 0abd3000eb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14626183
Change-Id: I61c58c6a49be8bc51c8404fe024dff55181241c4
2021-05-20 20:06:51 +00:00
Mady Mellor
be3b06cf08
Merge changes I65f46028,Ie3f67ccd into sc-dev am: 0abd3000eb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14626183
Change-Id: Ife4a4d0c61928fd9129ef4d54bed339f33fba7ae
2021-05-20 19:59:28 +00:00
Mady Mellor
0abd3000eb
Merge changes I65f46028,Ie3f67ccd into sc-dev
...
* changes:
Make the pointer for bubbles expanded view rounded
Update the manage button to the new style
2021-05-20 19:54:53 +00:00
Mady Mellor
b619c785b6
Merge "Bubbles styling: Update colors to use new theme things" into sc-dev am: 9ac4fb0e34 am: f8236cc54c am: f781960d08
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14508390
Change-Id: Ie63736dc225addbdf90e861047b27ee40f16f4d0
2021-05-20 17:23:41 +00:00
Mady Mellor
f781960d08
Merge "Bubbles styling: Update colors to use new theme things" into sc-dev am: 9ac4fb0e34 am: f8236cc54c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14508390
Change-Id: I1d11d0b71b763f918d35b7331b302e25034da907
2021-05-20 17:08:05 +00:00
Mady Mellor
529e1cb06b
Merge "Bubbles styling: Update colors to use new theme things" into sc-dev am: 9ac4fb0e34
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14508390
Change-Id: I897eafdccb9744d02b80916fe51adf060af0ea63
2021-05-20 16:45:11 +00:00
Mady Mellor
3876479c01
Merge "Bubbles styling: Update colors to use new theme things" into sc-dev am: 9ac4fb0e34
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14508390
Change-Id: I4b2ff30fa56f3c88cde5aca2c7e5b665feaf4786
2021-05-20 16:45:10 +00:00
Mady Mellor
9ac4fb0e34
Merge "Bubbles styling: Update colors to use new theme things" into sc-dev
2021-05-20 16:32:14 +00:00