Commit Graph

400914 Commits

Author SHA1 Message Date
Joshua Tsuji
b1a796b155 Adds DynamicAnimation-based movement to the bubbles.
See go/bubble-stack-design for a high level overview of these changes. This is a large CL, but required in order to allow continued development and team testing without breaking functionality over the course of multiple CL submissions.

To integrate the new animations, the following changes have been made to existing code:
* (BubbleStackView) The bubble container (and thus, the stack view) are MATCH_PARENT to allow the bubbles to independently translate anywhere on the screen.
* (BubbleStackView) Start position is set by the stack controller, not BubbleStackView.
* (BubbleStackView) Expand positon is set by the expansion controller, not BubbleStackView.
* (BubbleStackView/BubbleTouchHandler) Added the methods onDragStart/onDragged/onDragFinish, and onBubbleDragStart/onBubbleDragged/onBubbleDragFinish, for cleaner dispatch of touch events to the appropriate animation controller.
* (BubbleStackView/BubbleController) The stack view's getBoundsOnScreen returns the first bubble's bounds, if the stack is not expanded.
* (BubbleStackView) applyCurrentState no longer manages translation of bubbles, or the expanded view, these are controlled by animation.
* (BubbleMovementHelper) Deleted, no longer needed.
* (Everywhere) Changed uses of Point to PointF, since translation values are floats anyway.

Known issues to be fixed in subsequent, far smaller CLs:
* (b/123022862) Bubble dragging out/dismissing is not animated, and the bubbles can be deposited anywhere. Tap outside the stack to collapse them back to normal.
* (b/123023502) New bubbles added while the stack is expanded are not positioned properly.
* (b/123022982) Expanded view arrow is sometimes in the wrong position.
* (b/123023410) If the stack is expanded while animating, it collapses to its original position even if not along the edge of the screen.
* (b/123023904) The expanded view doesn't animate out, it disappears instantly.
* (b/123026584) Bounds in landscape are a bit wonky.

Bug: 111236845
Test: atest SystemUITests
Test: physics-animation-testing.md
Change-Id: Icaca09e5db89c635c9bb7ca82d7d2714362e344e
2019-01-24 19:23:17 -05:00
TreeHugger Robot
84f1cc60fd Merge "Load direct share targets using both APIs in ShareSheet" 2019-01-23 21:23:34 +00:00
TreeHugger Robot
a68b803912 Merge "New APIs for Augmented Autofill whitelisting, plus some spring cleaning..." 2019-01-23 21:22:12 +00:00
Colin Cross
5d4bd49013 Merge "Replace annotation_processors with plugins" am: bc40469e19 am: f30fba0a60
am: 4262bd19ad

Change-Id: I0b417cccddebdccc8613d82d93ff9f0658be8217
2019-01-23 13:03:29 -08:00
Colin Cross
4262bd19ad Merge "Replace annotation_processors with plugins" am: bc40469e19
am: f30fba0a60

Change-Id: I4527a2c7dfca71f3a2c19539450a414874b190f6
2019-01-23 12:50:36 -08:00
Colin Cross
f30fba0a60 Merge "Replace annotation_processors with plugins"
am: bc40469e19

Change-Id: I0f91aa05eca9635ce0bc59e40714adff908af682
2019-01-23 12:37:11 -08:00
TreeHugger Robot
5f80ac0c9b Merge "Add NotificationVisibility.NotificationLocation." 2019-01-23 20:24:42 +00:00
Colin Cross
bc40469e19 Merge "Replace annotation_processors with plugins" 2019-01-23 20:18:02 +00:00
TreeHugger Robot
cd8b861529 Merge "Fix some tests in SelectTestTests" 2019-01-23 20:10:39 +00:00
TreeHugger Robot
e0b050e1c3 Merge "Changed the virtual ids on ContentCapture to be long." 2019-01-23 20:04:51 +00:00
Nicholas Sauer
9d67bb2c2d Merge "specialCrossUserGrant should not be false by default for secondary users." 2019-01-23 19:38:17 +00:00
Haoyu Zhang
d2bea320bc Merge "Rename isHorizontallyScrolling to isHorizontallyScrollable" 2019-01-23 19:37:18 +00:00
Sungsoo Lim
070aba8e54 Merge "Handle remaining hidden API usages" 2019-01-23 19:22:20 +00:00
Fabian Kozynski
38ab96e07a Merge "CellularTile shows Name of data carrier" 2019-01-23 19:21:01 +00:00
Alex Salo
d50e499777 Merge "Add ADAPTIVE_SLEEP into settings_enums.proto" 2019-01-23 19:09:29 +00:00
Christian Wailes
b16a1d13bb Merge "Added Java Language methods for blastula management." 2019-01-23 19:06:25 +00:00
Christian Wailes
73b3000066 Merge "Refactored ZygoteConnection.Arguments to ZygoteArguments." 2019-01-23 19:05:51 +00:00
Christian Wailes
b825c350a6 Merge "Code cleanup in ZygoteInit." 2019-01-23 19:05:11 +00:00
TreeHugger Robot
17e2907285 Merge "Code cleanup to conform to style guide / linter." 2019-01-23 19:04:15 +00:00
Jeff Tinker
2150acb817 Merge "Add securityLevel to MediaDrm isCryptoSchemeSupported API" 2019-01-23 19:01:52 +00:00
Ruslan Tkhakokhov
cda504b718 Merge "[Multi-user] Verfiy full backup/restore flow" 2019-01-23 18:53:58 +00:00
Tomasz Wasilczyk
203445c853 Merge "Add configuration for multi wifi mode devices" 2019-01-23 18:48:39 +00:00
Android Build Merger (Role)
b453080f12 Merge "Merge "jarjar hidl core libs." am: 436e2ad4c7 am: 977fc9bf8e am: 00217ac44b" 2019-01-23 18:45:39 +00:00
Steven Moreland
12f1e0c4ea Merge "jarjar hidl core libs." am: 436e2ad4c7 am: 977fc9bf8e
am: 00217ac44b

Change-Id: I1003a85471c793946bae7176b95ca57c60ff8151
2019-01-23 10:44:44 -08:00
Fabian Kozynski
704fdc0609 Merge "Increase char limit for translation" 2019-01-23 18:42:57 +00:00
Steven Moreland
00217ac44b Merge "jarjar hidl core libs." am: 436e2ad4c7
am: 977fc9bf8e

Change-Id: I13006d1ab820171739fa680aabdd661e58cf7c34
2019-01-23 10:33:27 -08:00
Android Build Merger (Role)
3f7e640844 Merge "Merge "Deprecate Duplicate SignalStrength Methods" am: a3ab270ce1 am: e880dcb9ea am: 20cbf841d9" 2019-01-23 18:21:13 +00:00
Nathan Harold
16174eeb2a Merge "Deprecate Duplicate SignalStrength Methods" am: a3ab270ce1 am: e880dcb9ea
am: 20cbf841d9

Change-Id: I80cf1ea3bc62aa3e7a5428a3b6b501519148f746
2019-01-23 10:20:45 -08:00
Steven Moreland
977fc9bf8e Merge "jarjar hidl core libs."
am: 436e2ad4c7

Change-Id: I05314143d12bab29062d1309074c7d710a38b1f4
2019-01-23 10:20:23 -08:00
Chen Xu
7d17bf7d9b Merge "new SystemAPI to getSimLocale" 2019-01-23 18:19:41 +00:00
Android Build Merger (Role)
3f64d9ff80 Merge "[automerger skipped] Merge "[view compilation] Add --compile-layouts flag to pm compile" am: 52cf4adf70 am: 581c43404a am: 43986e38b3 -s ours am skip reason: change_id If6455e1b9b0542a36882af9f3e29d0185a53393c with SHA1 a1485f61e9 is in history" 2019-01-23 18:09:19 +00:00
Nathan Harold
20cbf841d9 Merge "Deprecate Duplicate SignalStrength Methods" am: a3ab270ce1
am: e880dcb9ea

Change-Id: Ic7b763122addc84a5fad86cf8a8dceb69896800e
2019-01-23 10:08:56 -08:00
Mathieu Chartier
adc14296fc [automerger skipped] Merge "[view compilation] Add --compile-layouts flag to pm compile" am: 52cf4adf70 am: 581c43404a
am: 43986e38b3 -s ours
am skip reason: change_id If6455e1b9b0542a36882af9f3e29d0185a53393c with SHA1 a1485f61e9 is in history

Change-Id: I46cd9e14f93905f95bd03cf11023c735427da48b
2019-01-23 10:07:16 -08:00
Steven Moreland
436e2ad4c7 Merge "jarjar hidl core libs." 2019-01-23 18:05:25 +00:00
Peiyong Lin
ea5b721943 Merge "[Game Driver] Add blacklist mechanism." 2019-01-23 18:04:03 +00:00
Michael Wachenschwanz
b9877a0137 Merge "Add Task Root package info to UsageEvent" 2019-01-23 18:03:40 +00:00
John Reck
99f46cae08 Merge "Add continuous SKP capture test api" 2019-01-23 17:57:42 +00:00
Nathan Harold
e880dcb9ea Merge "Deprecate Duplicate SignalStrength Methods"
am: a3ab270ce1

Change-Id: Ifacba0cbb949fa0b35e1f22bf3225f5c608f36a6
2019-01-23 09:55:26 -08:00
Nandana Dutt
9de4d6a3f5 Merge "Improvements to Bugreporting API." am: 212353c896 am: 42df2e1602
am: 73226aa0f8

Change-Id: I947ffa533288c91b169863a045d71e735486773e
2019-01-23 09:47:56 -08:00
Mathieu Chartier
43986e38b3 Merge "[view compilation] Add --compile-layouts flag to pm compile" am: 52cf4adf70
am: 581c43404a

Change-Id: Ie02b1129ee81a1346a775d1873531e3f714b5fea
2019-01-23 09:46:34 -08:00
Nathan Harold
a3ab270ce1 Merge "Deprecate Duplicate SignalStrength Methods" 2019-01-23 17:37:03 +00:00
Nandana Dutt
73226aa0f8 Merge "Improvements to Bugreporting API." am: 212353c896
am: 42df2e1602

Change-Id: I7ea14750afc2c8b6f2b387ad23a054acf1ec6384
2019-01-23 09:36:20 -08:00
Mathieu Chartier
581c43404a Merge "[view compilation] Add --compile-layouts flag to pm compile"
am: 52cf4adf70

Change-Id: I0ad866ef309f31b9dbbc62887f14adf3fcfd7ae4
2019-01-23 09:26:26 -08:00
Nandana Dutt
42df2e1602 Merge "Improvements to Bugreporting API."
am: 212353c896

Change-Id: I1afa04707bcf84aed87bc99695c33b8fdfb08ac4
2019-01-23 09:17:50 -08:00
TreeHugger Robot
161833f209 Merge "Revert "Add support for enabling backup in work profile in"" 2019-01-23 17:12:43 +00:00
Zhi An Ng
6c14b389ef Merge "Change default mode for system alert window" 2019-01-23 17:08:07 +00:00
Mathieu Chartier
52cf4adf70 Merge "[view compilation] Add --compile-layouts flag to pm compile" 2019-01-23 17:02:31 +00:00
TreeHugger Robot
eefe7df339 Merge "Client-side reimplementation of IMM#setCurrentInputMethodSubtype()" 2019-01-23 17:02:18 +00:00
Remi NGUYEN VAN
6ca2d0f4c1 Merge changes I1250730c,I7d00848c am: e693d49c0a am: 9026fb46cc
am: 9a13aa9ffd

Change-Id: Icc938491a9c4474cc27a4376ef03c954aac461b3
2019-01-23 09:01:09 -08:00
Treehugger Robot
212353c896 Merge "Improvements to Bugreporting API." 2019-01-23 17:00:48 +00:00