Commit Graph

16456 Commits

Author SHA1 Message Date
Tony Wickham 977905f680 Merge changes from topic "am-bff10332-1442-4951-99d1-cf3964693329" into ub-launcher3-master
* changes:
  [automerger] Add padding between hotseat and insets in multiwindow landscape am: 1eeffbee01
  Add padding between hotseat and insets in multiwindow landscape
2018-06-14 16:27:18 +00:00
TreeHugger Robot 9d2a75f741 Merge "Prerequisites for TAPL" into ub-launcher3-edmonton-polish 2018-06-13 21:21:45 +00:00
TreeHugger Robot c55696761b Merge changes from topic "am-cfb119a9-e136-408a-8dd7-0b690e3a6793" into ub-launcher3-master
* changes:
  [automerger] Prerequisites for TAPL am: 74c261c89f
  Prerequisites for TAPL
2018-06-13 21:21:45 +00:00
Android Build Merger (Role) 8a019434f2 [automerger] Add padding between hotseat and insets in multiwindow landscape am: 1eeffbee01
Change-Id: Id450b1c1d1b1da4ec3f22d07f0de6883097fc7e9
2018-06-13 19:43:21 +00:00
Tony Wickham 1eeffbee01 Add padding between hotseat and insets in multiwindow landscape
Right now there's almost no room between the hotseat icons and the
nav  bar in this mode, and it looks kind of bad. It also causes
b/109946631 which is fixed by this change.

Also fix placement of popup in RTL landscape (was incorrectly inset)

Bug: 109946631
Change-Id: I324485da0048b907776b16b719b631c5314e5696
2018-06-13 12:37:47 -07:00
Android Build Merger (Role) 8499e1afcd [automerger] Fixing atomic animation not getting completed properly am: 2b03b713f7
Change-Id: I781f244fd4bbccd3d582f8857d6e1d24c215bf93
2018-06-13 00:09:03 +00:00
Sunny Goyal 2b03b713f7 Fixing atomic animation not getting completed properly
> Finishing the atomic animation to that proper states are applied
> Offsetting the duration of atomic animation so that it completes along with
  the swipe animation

Bug: 80432882
Bug: 86308723
Bug: 80549582
Change-Id: I8a3b44c2c7017e241b2fbdbb96c5d67edbb359d1
2018-06-12 17:08:55 -07:00
Android Build Merger (Role) 8b64ab46c9 [automerger] Fix bug where add to folder fails even when folder creation animation runs. am: 36f6359c21
Change-Id: I2bfde2d4c4ef6030a9545d50afa379734b1346d9
2018-06-12 22:27:03 +00:00
Jon Miranda 36f6359c21 Fix bug where add to folder fails even when folder creation animation runs.
If the distance > max distance for folder creation, we clear the drag mode
if it was previously set.

Bug: 78919972
Change-Id: Ibd456c0981ebb20958c54d21ba3996172d2dd554
2018-06-12 15:26:52 -07:00
Android Build Merger (Role) 0c68860add [automerger] Prerequisites for TAPL am: 74c261c89f
Change-Id: I1fcaa26619291828c7fcc92aedd36faaba1e788b
2018-06-12 21:54:50 +00:00
Vadim Tryshev 74c261c89f Prerequisites for TAPL
Adding things that will be used by TAPL.

1. Adding Ctrl+W to open widgets
2. Marking a UI element with shortcuts_and_widgets
id. Example of usage: we want to be sure we are in all apps.
A somewhat paranoid way to check this is to check that
apps_view is on, and workspace and overview_panel are off.
However, workspace is always in the hierarchy. We use
shortcuts_and_widgets instead.

Bug: 110103162
Test: Manual
Change-Id: I2a851e16c477f7ee895b459530bc5a1ff19e32f8
2018-06-12 14:54:23 -07:00
Sunny Goyal 3f7cee1736 Merge changes from topic "am-0b6a5c04-a2d6-4b04-9f21-7a735e052036" into ub-launcher3-master
* changes:
  [automerger] Adding overscroll effect in recents list am: 4d6b1a95a1
  Adding overscroll effect in recents list
2018-06-12 16:56:02 +00:00
Sunny Goyal 267d04f79b Merge "Adding overscroll effect in recents list" into ub-launcher3-edmonton-polish 2018-06-12 16:56:02 +00:00
Tony Wickham fe1402d8a4 Merge "Fix some issues with haptic" into ub-launcher3-edmonton-polish 2018-06-12 15:55:30 +00:00
Android Build Merger (Role) ce2c4a83c8 [automerger] Adding overscroll effect in recents list am: 4d6b1a95a1
Change-Id: Ic38c8c91a0848714d21a99e48a4f7d5d0c41594a
2018-06-11 23:42:43 +00:00
Sunny Goyal 4d6b1a95a1 Adding overscroll effect in recents list
Bug: 109828536
Change-Id: If2b65cfc2b7f14deb721436f7aa378c4a2c5c468
2018-06-11 16:42:37 -07:00
Android Build Merger (Role) f8f430d37f [automerger] Fix some issues with haptic am: 29aef52be3
Change-Id: Icb16c1ee3828820187f023bd351e2a2720e9d300
2018-06-11 23:23:52 +00:00
Tony Wickham 29aef52be3 Fix some issues with haptic
- Don't have double haptic on quick scrub
- Correctly check interpolated progress to determine final state,
  so that it always aligns with the haptic (i.e. passing the haptic
  means letting go will go to the new state)

Bug: 109709720
Change-Id: I702bb76a4c15f932f923e81a14cc49f6a9126cb8
2018-06-11 23:23:49 +00:00
Android Build Merger (Role) 54c1af806f [automerger] Moving clear all button inside the recents view am: c82c6396e9
Change-Id: I1109b5ae959cab870fbf81e60ca143534b22cc20
2018-06-11 20:51:12 +00:00
Sunny Goyal c82c6396e9 Moving clear all button inside the recents view
Bug: 72222505
Bug: 109828536

Change-Id: I843b79db3e47abc2c41ed78f186b9c941941ddef
2018-06-11 13:51:03 -07:00
TreeHugger Robot 367a53ec13 Merge "Added haptic feedback when swipe/fling up from an app in fullscreen" into ub-launcher3-edmonton-polish 2018-06-11 17:57:38 +00:00
Android Build Merger (Role) b5703f997a [automerger] Added haptic feedback when swipe/fling up from an app in fullscreen am: c4b75abf3b
Change-Id: Ie9f2589f58b8d0a43a0829127b1977f26c91456e
2018-06-11 17:47:12 +00:00
Matthew Ng c4b75abf3b Added haptic feedback when swipe/fling up from an app in fullscreen
This includes swiping/fling up from a fullscreen app and swiping/fling
down a task to a fullscreen app.

Test: swipe up when app is fullscreen
Fixes: 80543530
Change-Id: Iee259284cc6d4fe1e784532f0822ffd38cdee280
2018-06-11 10:45:47 -07:00
Android Build Merger (Role) d822a85aa5 [automerger] Making the self always follow the vertical progress without any min height limit. After a certain height, the self fades out, but keeps following the vertical progress. am: 0f3af75eb0
Change-Id: Id6a0999f2ee3bf140df7e407011648a096fe1b8b
2018-06-11 16:51:49 +00:00
Sunny Goyal 0f3af75eb0 Making the self always follow the vertical progress without any min height limit.
After a certain height, the self fades out, but keeps following the vertical progress.

Eventually the fade-out can be decoupled from vertical progress and tied to the state

Bug: 109829614
Change-Id: I9808ed3fa1730b938196bc6d3518a6d096a13f4c
2018-06-11 09:51:42 -07:00
Sunny Goyal 5ac259c46e Merge "Exposing some private methods in FastBitmapDrawable" into ub-launcher3-edmonton-polish 2018-06-08 18:51:41 +00:00
Android Build Merger (Role) becbc4ad88 [automerger] Exposing some private methods in FastBitmapDrawable am: 0ffab44153
Change-Id: Iefeb2b367cb08366598c115f09fd852002430cd3
2018-06-08 18:50:57 +00:00
Android Build Merger (Role) 7f46327c04 [automerger] Defining a base theme, which can be overriden by derivative projects without affecting launcher theme am: bd88f396dc
Change-Id: I495b62832a9effdef6dc9ff779d92158f8be0aad
2018-06-08 18:20:26 +00:00
Sunny Goyal bd88f396dc Defining a base theme, which can be overriden by derivative projects without
affecting launcher theme

Bug: 70220582
Change-Id: Ie3069686be5e6a42910e90541db2d6b5b79e25c1
2018-06-08 11:20:01 -07:00
Android Build Merger (Role) 9d3055dc47 [automerger] Don't intercept above shelf progress if still animating am: 89126653cd
Change-Id: Ida5b5548edb8495e2b4cb15291dc6778cf80b746
2018-06-08 03:50:01 +00:00
Tony 89126653cd Don't intercept above shelf progress if still animating
When you swipe up to overview from home, we should allow touches on
recents even if the overshoot animation isn't finished. If the
touch is below the all apps progress, we continue to intercept to
allow for double swipe up.

Bug: 80093992
Change-Id: Ifdca61e7cfc1f7a713c067596cc0c1bd3154b44e
2018-06-07 20:48:04 -07:00
Sunny Goyal 0ffab44153 Exposing some private methods in FastBitmapDrawable
Bug: 109858110
Change-Id: Ica07426cb413876d90a1b8ff49645c4711e15fc9
2018-06-07 17:32:23 -07:00
Android Build Merger (Role) ea15d92bad [automerger] Overshoot when flinging up from an app am: b45444b250 am: 34838cf551
Change-Id: Ib6cd939131e5df32f713d39bb180f5e2759ddb1f
2018-06-06 23:21:01 +00:00
Android Build Merger (Role) 34838cf551 [automerger] Overshoot when flinging up from an app am: b45444b250
Change-Id: I25d7621d3b60b307d4eb7c466eafc893e78b7ea0
2018-06-06 23:20:59 +00:00
Tony Wickham b45444b250 Overshoot when flinging up from an app
- Use OvershootInterpolator based on velocity (consistent with swiping up
  from home)
- Scale down recents as well, to be consistent with adjacent pages scaling
  up when you launch a task

Bug: 109709720
Change-Id: Ie47309058ccf673a4b86c40c843c415beb2d8dc7
2018-06-06 23:20:58 +00:00
TreeHugger Robot 108801840b Merge "Revert "Set mState = mCurrentStableState in onAnimationCancel"" into ub-launcher3-edmonton 2018-06-06 18:51:46 +00:00
Android Build Merger (Role) be60722190 [automerger] Revert "Set mState = mCurrentStableState in onAnimationCancel" am: d6692cedff am: 69652337ef
Change-Id: I7c546b292b952ebb7a20696859a7dfc3ec084aa5
2018-06-06 18:48:01 +00:00
Android Build Merger (Role) 69652337ef [automerger] Revert "Set mState = mCurrentStableState in onAnimationCancel" am: d6692cedff
Change-Id: Ic38e6db9bb62e04d017db93e906be2be02a33294
2018-06-06 18:48:00 +00:00
Sunny Goyal d6692cedff Revert "Set mState = mCurrentStableState in onAnimationCancel"
This reverts commit 8935d9515c.

Reason for revert:
Bug: 109814458
Bug: 79935289

Change-Id: I33e4933a68060b6055ad7af8e45cffceec14880d
2018-06-06 18:47:59 +00:00
Winson Chung d455b9b2ec Merge changes from topic "am-5d68cedc-e069-4434-917c-921eeb6efcf3" into ub-launcher3-master
* changes:
  [automerger] Hides the keyboard when qsb loses focus in All apps am: 25b4dfee29
  Hides the keyboard when qsb loses focus in All apps
2018-06-06 00:17:41 +00:00
Winson Chung 0abc19ae0d Merge "Hides the keyboard when qsb loses focus in All apps" into ub-launcher3-edmonton-polish 2018-06-06 00:17:41 +00:00
TreeHugger Robot af19ffff62 Merge "Adding a pending invisibility flag, which is used to indicate that the launcher is not really invisible, but consider it invisible for window transitions" into ub-launcher3-edmonton 2018-06-05 23:57:08 +00:00
TreeHugger Robot 8e84f42f64 Merge changes from topic "am-6756c3c9-4e27-48e1-8ae4-b6d5cdd77952" into ub-launcher3-master
* changes:
  [automerger] Adding a pending invisibility flag, which is used to indicate that the launcher is not really invisible, but consider it invisible for window transitions am: 1c63c72c1a am: 7ef92daaf5
  [automerger] Adding a pending invisibility flag, which is used to indicate that the launcher is not really invisible, but consider it invisible for window transitions am: 1c63c72c1a
  Adding a pending invisibility flag, which is used to indicate that the launcher is not really invisible, but consider it invisible for window transitions
2018-06-05 23:57:08 +00:00
TreeHugger Robot eb424209ff Merge changes from topic "am-6756c3c9-4e27-48e1-8ae4-b6d5cdd77952" into ub-launcher3-edmonton-polish
* changes:
  [automerger] Adding a pending invisibility flag, which is used to indicate that the launcher is not really invisible, but consider it invisible for window transitions am: 1c63c72c1a
  Adding a pending invisibility flag, which is used to indicate that the launcher is not really invisible, but consider it invisible for window transitions
2018-06-05 23:57:08 +00:00
TreeHugger Robot 25c7e81ee5 Merge "Fix wrong labeling of app launch session type (HOME vs OVERVIEW)" into ub-launcher3-edmonton-polish 2018-06-05 23:55:46 +00:00
Android Build Merger (Role) fd662397b3 [automerger] Adding a pending invisibility flag, which is used to indicate that the launcher is not really invisible, but consider it invisible for window transitions am: 1c63c72c1a am: 7ef92daaf5
Change-Id: Ia98e9e536debd114efe95d545639b48c081e558c
2018-06-05 23:48:02 +00:00
Android Build Merger (Role) 7ef92daaf5 [automerger] Adding a pending invisibility flag, which is used to indicate that the launcher is not really invisible, but consider it invisible for window transitions am: 1c63c72c1a
Change-Id: Ic88f7803c9a938f20f002f7d8eaf8df33e0f578f
2018-06-05 23:48:01 +00:00
Sunny Goyal 1c63c72c1a Adding a pending invisibility flag, which is used to indicate that the launcher
is not really invisible, but consider it invisible for window transitions

When a recents animation is cancelled, the callback can be received before or after the
wallpaper animation. To ensure that wallpaper animaiton runs properly, we keep the launcher
forceInvisible=true, only for that particular animaiton and false everywhere

Bug: 109735443
Change-Id: I5b22cc3327c8cd53a836d10e09fc88ae103becfc
2018-06-05 16:47:54 -07:00
Android Build Merger (Role) 16cd2a8456 [automerger] Fix wrong labeling of app launch session type (HOME vs OVERVIEW) am: 4bd472550c
Change-Id: I6afc740fca72d6aa261759765bdcf75997171fc9
2018-06-05 23:46:34 +00:00
Hyunyoung Song 4bd472550c Fix wrong labeling of app launch session type (HOME vs OVERVIEW)
Context: onResetOverview callback should be called the moment launcher state
exits from OVERVIEW.
More context: When user drag and drop from overview, and happens to launch
an app immediately after dropping the icon before animation finishes,
that app launch is labeled as OVERVIEW and not HOME.

Bug: 109747805
Change-Id: I24dc8681d6c51dfd2043fe71a1a81d6e96027ef4
2018-06-05 16:45:27 -07:00