Commit Graph

1447 Commits

Author SHA1 Message Date
Bill Yi
80f5c19fd2 Import translations. DO NOT MERGE
Change-Id: I1539df9cc5f5633585a5714fc8069163d7edb951
Auto-generated-cl: translation import
2018-12-11 10:47:07 -08:00
Lucas Dupin
b93e419e8b Speed up corner animation
The size of the window changes during the animation progress, making the
window look rounded for longer. What we want is to animate it from the
shape of the icon to the shape of the display.

Change-Id: Ib4889b697bf78cdc37c160130fde961650080fb7
Fixes: 120553563
Test: visual
2018-12-11 00:03:54 +00:00
TreeHugger Robot
ee6e6ea4b6 Merge "Moving TaplTests to AOSP" into ub-launcher3-master 2018-12-10 18:33:57 +00:00
Vadim Tryshev
ed01e28408 Moving TaplTests to AOSP
And fixing TAPL for AOSP.

Bug: 110103162
Test: TaplTests
Change-Id: Ib9fef02b789a9c7444643550d56b9dda4e085b03
2018-12-07 12:00:41 -08:00
Winson Chung
affe2bc261 Merge "Revert "Revert "Specify display ID while calling getNavBarPosition()""" into ub-launcher3-master 2018-12-06 19:58:25 +00:00
Winson Chung
5466f284f3 Merge changes from topic "rounded_corners_ub_launcher" into ub-launcher3-master
* changes:
  Revert "Revert "Correct 🕳️ 👊👊👊👊👊👊""
  Revert "Revert "Rounded corners on app transitions""
2018-12-06 19:58:25 +00:00
Winson Chung
54228d70b4 Merge "Revert "Revert "Updating shared lib for rounded corners.""" into ub-launcher3-master 2018-12-06 19:58:25 +00:00
Winson Chung
995478aee3 Revert "Revert "Correct 🕳️ 👊👊👊👊👊👊""
This reverts commit 33226ec0e1.

Reason for revert: Most test devices have the platform changes

Change-Id: Ic3f1c144537d127c690c7949f7144dedf0611c49
2018-12-06 19:37:16 +00:00
Winson Chung
506565aaa0 Revert "Revert "Specify display ID while calling getNavBarPosition()""
This reverts commit 5859f7d62c.

Reason for revert: Most test devices have the platform changes

Change-Id: I86b61f07f873e0d231aaac322001065730436233
2018-12-06 19:37:01 +00:00
Winson Chung
5f593c382f Revert "Revert "Updating shared lib for rounded corners.""
This reverts commit de72d339e5.

Reason for revert: Most test devices have the platform changes

Change-Id: Ibe7e22c5073f2405483945ac726e528bef88fbc9
2018-12-06 19:36:52 +00:00
Winson Chung
c7565862e2 Revert "Revert "Rounded corners on app transitions""
This reverts commit 2c9b1043a6.

Reason for revert: Most test devices have the platform changes

Change-Id: I1e608395b186df3148562afa7c1d791e3c9e2eb5
2018-12-06 19:36:10 +00:00
TreeHugger Robot
0cbe34b297 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2018-12-06 17:11:12 +00:00
Bill Yi
c4e957cb9b Import translations. DO NOT MERGE
Change-Id: Ica50c5055efc0de3a9783184977b7d8f78441bf1
Auto-generated-cl: translation import
2018-12-06 07:47:42 -08:00
Vadim Tryshev
2e8205d3f9 Desaturating thumbnails for tasks over their usage limit
Bug: 118319143
Test: Manual
Change-Id: Iae78c42fb392a49d734d35a80f6331438149d458
2018-12-05 17:08:24 -08:00
Winson Chung
de78d7ca78 Merge "Revert "Updating shared lib for rounded corners."" into ub-launcher3-master 2018-12-04 18:44:18 +00:00
Winson Chung
441fc5353e Merge changes from topic "rounded_corners_ub_launcher" into ub-launcher3-master
* changes:
  Revert "Rounded corners on app transitions"
  Revert "Correct 🕳️ 👊👊👊👊👊👊"
2018-12-04 18:44:18 +00:00
Winson Chung
2c9b1043a6 Revert "Rounded corners on app transitions"
This reverts commit d0ab1d0578.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Id37615986fc859f3f2d9344402b737926fb7b9a5
2018-12-04 18:42:47 +00:00
Winson Chung
5859f7d62c Revert "Specify display ID while calling getNavBarPosition()"
This reverts commit 6f43bc63f4.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Ia5c728abd4690acad721b1edcab3f42b7b073cd7
2018-12-04 18:40:59 +00:00
Winson Chung
de72d339e5 Revert "Updating shared lib for rounded corners."
This reverts commit 8bcc8d627a.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I310c428980640f54a5590763f57f01cac2ef061b
2018-12-04 18:40:56 +00:00
Winson Chung
33226ec0e1 Revert "Correct 🕳️ 👊👊👊👊👊👊"
This reverts commit aaf859f238.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Iedd45033adb29664107471f7af6b0249e5370470
2018-12-04 18:40:54 +00:00
Tiger Huang
6f43bc63f4 Specify display ID while calling getNavBarPosition()
Navigation bar can show on non-default display now. So the caller
should specify which display the desired navigation bar is on.

Bug: 117474929
Test: atest Launcher3Tests
Change-Id: Ibb22e51730ab145a42a129b4d964299acd4efd56
(cherry picked from commit f1bb3a4d4c)
2018-12-04 10:14:44 -08:00
Winson Chung
8bcc8d627a Updating shared lib for rounded corners.
Change-Id: I75acb5b0edbda214ff88698b2ca93716d3b69fe0
2018-12-04 10:13:21 -08:00
Lucas Dupin
aaf859f238 Correct 🕳️ 👊👊👊👊👊👊
🕳️ 👊👊👊👊

Bug: 111514493
Change-Id: Ie770de06dabe42e5e620ac9c7ec9da256f3d58f5
Fixes: 116745318
2018-12-03 20:50:52 -08:00
Lucas Dupin
d0ab1d0578 Rounded corners on app transitions
Test: Manualy launch an app
Test: Press home when activity is on top of the stack
Test: Quick scrub
Test: Swipe up on the home button, swipe down
Bug: 111514493
Fixes: 116745318
Change-Id: I66d25bc433061ede46107ea9651c198614306692
(cherry picked from commit faa443308e)
2018-12-03 20:50:43 -08:00
TreeHugger Robot
d5edac3d31 Merge "Moving composing task content description to resources" into ub-launcher3-master 2018-11-30 19:32:02 +00:00
Vadim Tryshev
49db73a7c1 Moving composing task content description to resources
Bug:118319143
Test: Manual
Change-Id: Iedcf3d90191614011b9b7d35afabb17a5b5953b3
2018-11-30 11:24:14 -08:00
Tony
6cfb0edb41 Fix end state when animating launcher after swipe up from an app
Previously we were comparing the controller's progress at the time of
the end of the animation... which is always 1. Instead, we should be
comparing the effective final progress based on the interpolator.

Change-Id: I18110b5a3b914839860931187f39cfa11182b3e2
2018-11-29 11:35:16 -08:00
Winson Chung
6478d4f41b Merge "Updating shared lib for display id change." into ub-launcher3-master 2018-11-28 19:21:27 +00:00
Winson Chung
a682accb9e Updating shared lib for display id change.
Change-Id: Ie4c5362cc89f6e5cc146c70912c1d8dfa6fd781a
2018-11-28 10:53:43 -08:00
lumark
0072844e7f Modify TaskSystemShortcut.SplitScreen for API change.
Using View#getDisplay().getDisplayId() into
IWindowManager.overridePendingAppTransitionMultiThumbFuture()
for multi-display support.

Bug: 119530958
Test: manual
Change-Id: Icde73b2545f879771a62030c8151a86a324fa593
(cherry picked from commit 233622d907)
2018-11-28 18:50:41 +00:00
TreeHugger Robot
aa576bce02 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2018-11-28 03:42:42 +00:00
Vadim Tryshev
84ed4d256a Merge "Prototype for the DWB toast in Overview" into ub-launcher3-master 2018-11-28 01:45:31 +00:00
Vadim Tryshev
a8492330ac Prototype for the DWB toast in Overview
No UX spec is ready, so using some placeholder layout.
No attention to string localization since I feel that strings may
change, compared to current mocks.
Not using remaining-time API, as it is not ready.

Bug:118319143
Test: Manual
Change-Id: I50cff9099677db543e95963f058d3e89eab07d8f
2018-11-27 17:20:22 -08:00
TreeHugger Robot
429395f043 Merge "Moving autority definition to a separate file, so that it can be easily customized using android studio" into ub-launcher3-master 2018-11-28 00:59:35 +00:00
Sunny Goyal
4276e7b649 Moving autority definition to a separate file, so
that it can be easily customized using android studio

Change-Id: I17f4f4511c2af5d382727769d1b74413f233d500
Bug: 120079798
2018-11-27 23:20:32 +00:00
Bill Yi
bb90b10769 Import translations. DO NOT MERGE
Change-Id: I3cf21f4d95dc22c8cf1b762ccf9e695b84737574
Auto-generated-cl: translation import
2018-11-27 11:13:43 -08:00
Winson Chung
a634c9d56c Merge "Updating shared lib jar for freeform call." into ub-launcher3-master 2018-11-26 22:06:20 +00:00
Winson Chung
ed85dbd963 Updating shared lib jar for freeform call.
Change-Id: If4b4496ff85ffb18e3f499ed4b6a8eb97552e231
2018-11-26 11:32:14 -08:00
Evan Rosky
a639c79112 Add a dev-mode freeform option to recents menu
When the developer option for freeform is enabled, provides
a "Freeform" option in the recents task overlay menu. This
is sort-of an analog to the freeform option in N recents;
however, since recents now is part of home, there's no
straightforward way to have multiple freeforms at a time,
so this really is only useful for developers.

Bug: None
Test: manual - enable freeform in dev settings, then pick
      Freeform from recent task overlay menu.
Change-Id: I5d8e95aaffb8fe43e655f705cacdd51859c95d3b
(cherry picked from commit 9beb6bf251)
2018-11-26 18:34:47 +00:00
Sunny Goyal
fe8e4a90be Moving some methods from various activities to the base interface
This allows creating some custom views in the absence of
activity context

Bug: 118758696
Change-Id: I23999290e972a2a8cbd725a521a4e0c7c2e5023e
2018-11-19 13:04:35 -08:00
Winson Chung
1296cf26f2 Updating shared lib for fw api change.
Change-Id: I42c6c85693d7f1c2b7a38de5f3dd05f43612b504
2018-11-14 10:36:27 -08:00
Tony Wickham
c8d1716a9c Merge "Creating a new dismiss animation while one is pending is now valid" into ub-launcher3-master 2018-11-14 02:43:39 +00:00
Tony Wickham
026a5db8fd Merge "Fix quick switch when swiping right on back button" into ub-launcher3-master 2018-11-14 02:43:15 +00:00
Tony Wickham
cad49c6721 Creating a new dismiss animation while one is pending is now valid
It used to be an invalid state to create a new dismiss animation while
one was pending, because the only way to do it was to swipe up. However,
now there are a number of places we create the dismiss animation, e.g.:
- When entering split screen
- Clear all
- Uninstalling an app

So now, instead of calling this an illegal state, we simply cancel the
previous pending dismiss if it exists.

Bug: 118880699
Bug: 118400078
Change-Id: I4d073f7e9d50e832ba4ae55391530040a0fac50c
2018-11-13 15:47:29 -08:00
Tony Wickham
bdc5f3d9e6 Fix quick switch when swiping right on back button
Deferring the window tracking when touching down on the back button means that
we don't set isQuickSwitch before setting the state to FAST_OVERVIEW, making it
not scale up to be full screen. To fix this, we reapply the state when preparing
QuickScrubController for quick switch.

Change-Id: Ib3dcf300c45a00673ff9337f98d16d4e8cdf1ea0
2018-11-13 15:31:57 -08:00
TreeHugger Robot
4194f242ae Merge "Fix quick scrub skipping more than one page" into ub-launcher3-master 2018-11-13 18:04:10 +00:00
Tony Wickham
873264c71b Fix quick scrub skipping more than one page
There was a race condition where we were getting onQuickScrubProgress
before onQuickScrubStart. If we got enough of those, we were jumping
some pages before the block is set in onQuickScrubStart (which also adds
its own page jump). Now we don't send any onQuickScrubProgress() to
QuickScrubController until we have sent onQuickScrubStart()

Bug: 118636260
Change-Id: I60084850b0b1baad34112ab5945fce81cc3a3c53
2018-11-13 17:58:31 +00:00
Winson Chung
4e362ea0f5 Clear click listener when the icon is removed.
- The click listener should be removed, otherwise, it can still active
  and clickable when the TaskView is bound to a new Task whose icon
  has not yet been loaded, which can cause crash.

Bug: 118834133
Change-Id: Ifd9fd8fe99b6177851d366f0c21f8fad59f1950e
2018-11-12 19:21:31 +00:00
Bill Yi
f1982fcaae Import translations. DO NOT MERGE
Change-Id: I22579d4f7492047b291e6c6a7f73508ccad3af2d
Auto-generated-cl: translation import
2018-11-10 00:27:25 -08:00
Sunny Goyal
1a9cbd3c88 Moving BaseIconCache to icon lib
Change-Id: I4fb56dcd6231a848d152e690edaf8885efbc995a
2018-11-08 15:18:25 -08:00