Commit Graph

1301 Commits

Author SHA1 Message Date
Android Build Merger (Role)
93e8feb3d0 [automerger] Update interpolators and durations for state animations am: b2ddf10041
Change-Id: I239cb38770cb0b04c9cb26b6ea03396763c957f3
2018-05-16 23:04:16 +00:00
Tony Wickham
b2ddf10041 Update interpolators and durations for state animations
When we enter overview (overview appears, workspace disappears):
- Workspace scales down from 1f to .8f with OvershootInterpolator(1.2f) at 200 ms
- Workspace fades from 1f to 0 with OvershootInterpolator(1.2f) at 200 ms
- Overview scales down from 1.33f to 1f with OvershootInterpolator(1.2f) at 200 ms
- Overview fades from 0 to 1f with OvershootInterpolator(1.2f) at 200 ms

When we exit overview (overview disappears, workspace appears):
- Workspace scales up from .92f to .1f with DecelerateInterpolator() at 200 ms
- Workspace fades from 0 to 1f with AccelerateInterpolator() at 200 ms
- Overview scales up from 1f to 1.1f with AccelerateInterpolator() at 180ms
- Overview fades from 1f to 0 with DecelerateInterpolator(1.7f) at 200 ms

Parallax while the finger moves: Workspace translates half the distance as the shelf

Bug: 79776746
Change-Id: I319d982cf202bcd6dbbcd68ffc5c0c7853629c7e
2018-05-16 15:59:31 -07:00
Android Build Merger (Role)
d10ec34430 [automerger] Fixing taskView not centered properly in available width am: d62e14e539
Change-Id: I24fe5c927bf6990ac8b7ec53065d1938350c605c
2018-05-16 22:46:28 +00:00
Sunny Goyal
d62e14e539 Fixing taskView not centered properly in available width
Bug: 79756414
Change-Id: Iec6b22f96f883d61f430599e34ff9ebe91d91924
2018-05-16 15:46:13 -07:00
Android Build Merger (Role)
407b4b1c4e [automerger] Use overlay settings for Swipe Up gesture default am: 25a8e6f063
Change-Id: I25c9b139bd8fe392ba762fd4793339f9633ec692
2018-05-16 22:36:42 +00:00
Mehdi Alizadeh
25a8e6f063 Use overlay settings for Swipe Up gesture default
Implements the following logic:

if config_swipe_up_gesture_setting_available is false, always use the
default value in config_swipe_up_gesture_default and ignore
Settings.Secure

if config_swipe_up_gesture_setting_available is true, use
config_swipe_up_gesture_default as the default value for
Settings.Secure, and respect Settings.Secure if user makes any changes.

Bug: 78641268
Test: Manual test
Change-Id: I586083b6655ccb3c94f08a911ed0de80f4738d62
2018-05-16 15:36:00 -07:00
Android Build Merger (Role)
8a304828e2 [automerger] Fixing Recents sometimes restoring in Clear-all-reveal position. am: e628c474ea
Change-Id: I265109f6205ce84959d0153c3117a889bcc49b47
2018-05-16 22:01:53 +00:00
Vadim Tryshev
e628c474ea Fixing Recents sometimes restoring in Clear-all-reveal position.
This happened if a task was added between openings of Recents.

Bug: 72222505
Test: Manual
Change-Id: Id4cc8e7cbdb493973d329466369b62e4ac8ee0b3
2018-05-16 15:00:52 -07:00
Tony Wickham
3744e99741 Merge changes from topic "am-49ab0b6a-0408-47fb-8ced-f83558d65fe3" into ub-launcher3-master
* changes:
  [automerger] Make fling thresholds consistent am: 0f640b6c1b
  Make fling thresholds consistent
2018-05-16 21:55:41 +00:00
Tony Wickham
77bf622c01 Merge "Make fling thresholds consistent" into ub-launcher3-edmonton 2018-05-16 21:55:41 +00:00
TreeHugger Robot
aea9b6270b Merge changes from topic "am-7808ebee-ec85-4b94-9f45-417ab0aaca01" into ub-launcher3-master
* changes:
  [automerger] Logging Square button presses opening Recents am: d0788021f9
  Logging Square button presses opening Recents
2018-05-16 21:40:11 +00:00
TreeHugger Robot
3c25046da8 Merge "Logging Square button presses opening Recents" into ub-launcher3-edmonton 2018-05-16 21:40:11 +00:00
Android Build Merger (Role)
d4ed0858bd [automerger] First task should launch when tapped. Broken from previous CL. Bug: 79539824 am: 27289bbe40
Change-Id: I0a4c91347c631c2556b44474e4beaed80106d393
2018-05-16 21:03:41 +00:00
Hyunyoung Song
27289bbe40 First task should launch when tapped.
Broken from previous CL.
Bug: 79539824

Change-Id: I9c4b00731afeeb815d2c7f3dcaf4ae4f029dec30
2018-05-16 14:03:20 -07:00
Android Build Merger (Role)
3c223104dd [automerger] Make fling thresholds consistent am: 0f640b6c1b
Change-Id: Ib7be6237515357d77d14cdbdf0d36f6456ee2ab8
2018-05-16 20:47:36 +00:00
Tony Wickham
0f640b6c1b Make fling thresholds consistent
There are 3 places we can block a fling:
- Swiping from home to all apps (through overview)
- Swiping from an app to all apps (through overview)
- Dismissing a task (in the same gesture that started by swiping down)

In all of these cases, we block the fling when crossing the threshold
to a new state (e.g. OVERVIEW), but unblock if the user pauses their
drag. With this change, the logic is consistent:
- Unblock the fling after pausing a short amount of time
- If a fling was blocked, increase the settling duration based on
  velocity

Bug: 78089840
Bug: 78658678
Change-Id: I5ef52b74229418b867b26c3c6d3db2cf6e48914b
2018-05-16 13:47:20 -07:00
TreeHugger Robot
c212649c13 Merge "Fixing task location calculation in seascape" into ub-launcher3-edmonton 2018-05-16 20:22:37 +00:00
TreeHugger Robot
eb576f2518 Merge changes from topic "am-ddcee773-fe0b-4016-a107-9527fb3e33ad" into ub-launcher3-master
* changes:
  [automerger] Fixing task location calculation in seascape am: 55631dd8af
  Fixing task location calculation in seascape
2018-05-16 20:22:37 +00:00
TreeHugger Robot
6ae02c6a61 Merge "Fix app open animation when in overview mode." into ub-launcher3-edmonton 2018-05-16 20:05:01 +00:00
TreeHugger Robot
0d4d0d265b Merge changes from topic "am-735744fd-035e-48b2-87b3-65e06c826d82" into ub-launcher3-master
* changes:
  [automerger] Fix app open animation when in overview mode. am: bbe666631f
  Fix app open animation when in overview mode.
2018-05-16 20:05:01 +00:00
Sunny Goyal
9638caf6e4 Merge "Dumping the excoded view hierarchy instead of the default activity dump" into ub-launcher3-edmonton 2018-05-16 19:57:05 +00:00
Sunny Goyal
cbfff7e4d8 Merge changes from topic "am-16d642de-bdbc-4620-a1c0-f438265a60e1" into ub-launcher3-master
* changes:
  [automerger] Dumping the excoded view hierarchy instead of the default activity dump am: 55eb556a4b
  Dumping the excoded view hierarchy instead of the default activity dump
2018-05-16 19:57:05 +00:00
Android Build Merger (Role)
e9d9527b52 [automerger] Fix app open animation when in overview mode. am: bbe666631f
Change-Id: I8cf6571148baae2090eb6be3b9d9324f5c1362d2
2018-05-16 19:53:00 +00:00
Jon Miranda
bbe666631f Fix app open animation when in overview mode.
* Avoids scrim hard line by animating the RecentsViewContainer and
  AllAppsTransitionController progress.

Bug: 79689563
Change-Id: If467e07667ae4d6eeac663608f77bec0eb7ef82f
2018-05-16 12:51:23 -07:00
TreeHugger Robot
0b1174ddbe Merge "Adding Clear All to accessibility chevron on Recents" into ub-launcher3-edmonton 2018-05-16 19:12:00 +00:00
Android Build Merger (Role)
7fb181e1c1 [automerger] Adding Clear All to accessibility chevron on Recents am: 3f51631b80
Change-Id: I189940125220121306ff63fe15d1f7dae7d3568d
2018-05-16 19:00:57 +00:00
Vadim Tryshev
3f51631b80 Adding Clear All to accessibility chevron on Recents
For motivation, see email thread "Tweaks to for the reverted order of
accessibility swiping"

This doesn't add the action to the fallback Recents, so it will require
more work.

Bug: 79165501
Test: Manual
Change-Id: I99d608ccc13cc1742dc4d427e763125788e8edd2
2018-05-16 12:00:33 -07:00
Android Build Merger (Role)
8f1fd923c3 [automerger] Improve Task user event logging Bug: 79539824 Bug: 79541772 am: 1241e61a45
Change-Id: Idccbbb09c060485250495ebed24fc68b81f0b1aa
2018-05-16 18:26:53 +00:00
Hyunyoung Song
1241e61a45 Improve Task user event logging
Bug: 79539824
Bug: 79541772

(1) Added page index of the TASK that is being launched
(2) Covers all three cases of task launch (tap, swipe down, quick scrub)
UserEvent: action:FLING direction=DOWN
UserEvent:  Source child:TASK, packageHash=-1598699687, componentHash=1952702153, pageIdx=0

UserEvent: action:DRAGDROP
UserEvent:  Source child:TASK, packageHash=-744307622, componentHash=-515832044, pageIdx=4

(3) Avoid double logging (When onStop is called, it is not logged if
the cause of onStop is APP or TASK launch)

Change-Id: Ic5db7d6a640d43bfb5cd667b49e37dd0ed127d5c
2018-05-16 11:26:35 -07:00
Android Build Merger (Role)
44eb2fd583 [automerger] Dumping the excoded view hierarchy instead of the default activity dump am: 55eb556a4b
Change-Id: If5437083dc0990b9d4e26348294974a60e5e8e79
2018-05-16 17:55:27 +00:00
Sunny Goyal
55eb556a4b Dumping the excoded view hierarchy instead of the default activity dump
> Encoded hierarchy is smaller is size and has a lot more information about the views

Bug: 79861035
Change-Id: I84316b1b0031282b0579f3aaac22d8d8f00d8bcb
2018-05-16 10:55:21 -07:00
Android Build Merger (Role)
769b4742eb [automerger] Fixing reverted order of accessibility scrolling in Recents am: 0fc0713253
Change-Id: I1b0c34d71a565d195bc2250ff8b24aa16a639523
2018-05-16 01:42:03 +00:00
Android Build Merger (Role)
57a2fdc695 [automerger] Loading task tiles on accessibility scrolling am: d9a1337b40
Change-Id: Ifab81ca4d35d139dd594b5eaa6dbf3f4420e5ee5
2018-05-16 00:18:20 +00:00
Vadim Tryshev
d9a1337b40 Loading task tiles on accessibility scrolling
Bug: 79749339
Change-Id: I5bd2652c0fca08ddd5e366415411b9b99caa71fb
Testing: Manual
2018-05-15 17:17:48 -07:00
Android Build Merger (Role)
0b6c27a15e [automerger] Logging Square button presses opening Recents am: d0788021f9
Change-Id: Id65a68db2e2fa600c76c5ed12f2ffb494ba930da
2018-05-15 21:59:03 +00:00
Vadim Tryshev
d0788021f9 Logging Square button presses opening Recents
Examples of traces are in notes.
Using the button for closing Recents is not logged.
Dooble-tap logs only one entry.

Bug: 79437767
Test: logcat
Change-Id: Ic2c50ecc937dd2e9cb4b3a7c7439d77bba9b372c
2018-05-15 14:58:27 -07:00
Hyunyoung Song
61745e17c7 Merge "Add logging for Onboarding Bug: 73784423" into ub-launcher3-edmonton 2018-05-15 21:48:06 +00:00
Hyunyoung Song
0b40d55909 Merge changes from topic "onboarding_logging" into ub-launcher3-master
* changes:
  [automerger] Add logging for Onboarding Bug: 73784423 am: 018eec6899
  Add logging for Onboarding Bug: 73784423
2018-05-15 21:48:06 +00:00
Tony Wickham
46afdf5194 Merge "Tune quick scrub" into ub-launcher3-edmonton 2018-05-15 21:34:34 +00:00
Android Build Merger (Role)
1883624373 [automerger] Add logging for Onboarding Bug: 73784423 am: 018eec6899
Change-Id: Id1bfebe60fb62190edee8b8838b076a2d5d47e97
2018-05-15 21:32:55 +00:00
Hyunyoung Song
018eec6899 Add logging for Onboarding
Bug: 73784423

* Discovery bounce, homescreen, hotseat
UserEvent: action:TIP
UserEvent:  Source child:HOTSEAT id=0 BOUNCE

* Discovery bounce, overview, prediction
UserEvent: action:TIP
UserEvent:  Source child:PREDICTION BOUNCE

* Swipe up from navbar text (visibility, cancel target)
UserEvent: action:TIP
UserEvent:  Source child:TIP SWIPE_UP_TEXT

UserEvent: action:TAP
UserEvent:  Source child:CANCEL_TARGET SWIPE_UP_TEXT

* Quickscrub text (visibility, cancel target)
UserEvent: action:TIP
UserEvent:  Source child:TIP QUICK_SCRUB_TEXT

UserEvent: action:TAP
UserEvent:  Source child:CANCEL_TARGET QUICK_SCRUB_TEXT

* Prediction apps text (visibility, cancel target)
UserEvent: action:TAP
UserEvent:  Source child:TIP PREDICTION_TEXT

UserEvent: action:TAP
UserEvent:  Source child:CANCEL_TARGET PREDICTION_TEXT

Change-Id: I94710b5ed3d00e3599985b154eb660af4a958288
2018-05-15 14:31:07 -07:00
Android Build Merger (Role)
adb17c5062 [automerger] Tune quick scrub am: d58c2d5a48
Change-Id: I79f80a1098be6dce9a74c24335a53008e25e842f
2018-05-15 18:49:30 +00:00
Tony Wickham
d58c2d5a48 Tune quick scrub
- Change durations/interpolators when starting from home vs an app
- Increase dim animation duration after quick scrub from an app
  - Also fixed contention between setting dim alpha for the animation
    and setting dim alpha for scrolling
Change-Id: I2c9ea52d4eafaad8954f3ff9d3c0c459a07953bc
2018-05-15 11:49:09 -07:00
Android Build Merger (Role)
3b1558c51e [automerger] Keep clear-all button revealed after dismiss am: 3154cd16b0
Change-Id: I8888e7311a9a8bb284d69d0408af2f5f4de948ea
2018-05-15 18:28:59 +00:00
Vadim Tryshev
3154cd16b0 Keep clear-all button revealed after dismiss
If it was visible before the dismiss, it will be visible after that.
As a nice side effect, it will preserve visibility on any layout, say,
after a rotation.

Bug: 79117932
Test: Manual
Change-Id: Ia8a544af1326458d4e2d7a07ae2b668f604bc0b3
2018-05-15 11:28:24 -07:00
TreeHugger Robot
c14adabe99 Merge "Scrolling on the most recent task upon Overview start" into ub-launcher3-edmonton 2018-05-15 17:47:50 +00:00
Android Build Merger (Role)
7710a427bf [automerger] Scrolling on the most recent task upon Overview start am: eb701c6360
Change-Id: I6b167b7729161552e61503580a44a511979f97a2
2018-05-15 00:25:44 +00:00
Vadim Tryshev
eb701c6360 Scrolling on the most recent task upon Overview start
Fixes this problem:
1. Open a single task in Recents
2. Dismiss via Clear-all
3. Start a task
4. Press Home
5. Press square button
get Recents revealing Clear All button

Bug: 79117932
Test: Manual
Change-Id: I47bcc50cb72f1757025d2abac0196460e0bb3f36
2018-05-14 17:24:00 -07:00
TreeHugger Robot
b299f3f172 Merge "Ensure that animaiton.end() is properly dispatched" into ub-launcher3-edmonton 2018-05-14 21:42:34 +00:00
TreeHugger Robot
4767f66cb8 Merge changes from topic "am-99fcacb9-83c9-4450-9a4c-50857df20a29" into ub-launcher3-master
* changes:
  [automerger] Ensure that animaiton.end() is properly dispatched am: 73954df645
  Ensure that animaiton.end() is properly dispatched
2018-05-14 21:42:34 +00:00