Commit Graph

17203 Commits

Author SHA1 Message Date
TreeHugger Robot
e98aab058e Merge "Fixing scrolling up in App Apps." into ub-launcher3-master 2018-08-02 22:58:25 +00:00
Jonathan Miranda
d9d4b5b2dc Merge changes from topic "am-b9751869-5607-4cac-8442-b1dba848150a" into ub-launcher3-master
* changes:
  [automerger] Update launcher grid for tablet devices. am: 5eacbb7fc1
  Update launcher grid for tablet devices.
2018-08-02 22:16:06 +00:00
Sunny Goyal
9331521b7d Merge "Exposing some private methods to easily customize widgets popup" into ub-launcher3-master 2018-08-02 21:55:52 +00:00
TreeHugger Robot
ce15b325e8 Merge "Retiring some feature flags" into ub-launcher3-master 2018-08-02 21:48:54 +00:00
Sunny Goyal
db6cdb07e8 Exposing some private methods to easily customize widgets popup
Change-Id: Ie7bd879200b1f14d472ff03fd64429930651a39f
2018-08-02 14:41:08 -07:00
Vadim Tryshev
ff3fa34a7a Fixing scrolling up in App Apps.
Done by scrolling only when scroll position is not zero. This way, the
scroll gesture can't close All Apps.

Bug: 110103162
Test: TaplTests suite
Change-Id: Icfe47d2bcc0210ae221df169d6c35cd1be10ff86
2018-08-02 14:15:05 -07:00
TreeHugger Robot
0b74a7fe5e Merge "Preventing state change duing the swipe up animation when the previous app transition is not complete" into ub-launcher3-master 2018-08-02 18:52:11 +00:00
Android Build Merger (Role)
26fbcb39da [automerger] Fix missing callback in fallback activity to re-enable high res loader. am: 37ff8be692
Change-Id: I7a4c81dab7150400f22fa8d4e784c981ba1e9ef2
2018-08-02 16:57:48 +00:00
Winson Chung
37ff8be692 Fix missing callback in fallback activity to re-enable high res loader.
Bug: 111515602
Change-Id: Ie4a9e709392ef9dad001651129a46d4caee0c2ae
2018-08-02 09:56:59 -07:00
TreeHugger Robot
1314fee74d Merge "Revert "Create new ShortcutInfo when dropping predicted deep shortcuts."" into ub-launcher3-master 2018-08-02 16:21:07 +00:00
TreeHugger Robot
d598f60d91 Merge "Fix All-apps search box background pixelation" into ub-launcher3-master 2018-08-02 16:20:33 +00:00
Stan Iliev
dbcb8674fd Fix All-apps search box background pixelation
Enable bitmap filter for search box background. This avoids
jagged line, when bitmap is translated by half screen pixel.

Bug: 77841258
Test: Ran launcher on a device
Change-Id: I9293669da5db8be16ebe55ce01ab0e9735932c12
2018-08-02 11:59:04 -04:00
Jonathan Miranda
faf1086f33 Merge "Fix bug where icon appears large until transluscent activity finishes." into ub-launcher3-master 2018-07-31 18:41:16 +00:00
Android Build Merger (Role)
36d5963b4a [automerger] Update launcher grid for tablet devices. am: 5eacbb7fc1
Change-Id: Ia3de5e3b9956047573cb1d09173021576bd8fa56
2018-07-31 18:15:13 +00:00
Jon Miranda
5eacbb7fc1 Update launcher grid for tablet devices.
* Number of hotseat icons matches number of workspace columns.
* Evenly space out the workspace icons.

Bug: 111617973
Change-Id: Ia80e6354c8d449f2a397db5fd432cebc9f23027f
2018-07-31 11:15:01 -07:00
TreeHugger Robot
e5f7acf74a Merge "Stop DiscoveryBounce when user drags to home from Hotseat in Overview." into ub-launcher3-master 2018-07-31 18:07:44 +00:00
TreeHugger Robot
899c08aee8 Merge changes from topic "am-402aa8b3-7a45-468a-931d-83007cd71180" into ub-launcher3-master
* changes:
  [automerger] Increase max distance for folder creation for tablets. am: 5aab8703ee
  Increase max distance for folder creation for tablets.
2018-07-27 23:08:37 +00:00
TreeHugger Robot
fc254baf88 Merge "Increase max distance for folder creation for tablets." into ub-launcher3-edmonton-polish 2018-07-27 23:08:37 +00:00
TreeHugger Robot
2203caa216 Merge "Tapping task icon in overview with scroll to it and open" into ub-launcher3-master 2018-07-27 22:57:37 +00:00
Matthew Ng
90646a5dd4 Tapping task icon in overview with scroll to it and open
Smaller devices or landscape with splitscreen can show more than one
task icon in overview. Tapping the icon when not in the middle will
scroll the task into the middle and open at the same time.

Change-Id: I0fe261e9a1b8ab6ad7e6c6ea64125a9c7b38da39
Fixes: 110371874
Fixes: 111446332
Test: splitscreen, overview in landscape, tap non-centered task icon
2018-07-27 15:47:14 -07:00
Tony Wickham
c1de777946 Merge "Fix gap between notification dots and their shadows" into ub-launcher3-edmonton-polish 2018-07-27 22:21:28 +00:00
Tony Wickham
e7e6d4ac2e Merge changes from topic "am-368a5e55-b07c-46fa-b16f-5be22a0ce60a" into ub-launcher3-master
* changes:
  [automerger] Fix gap between notification dots and their shadows am: dfb785afc1
  Fix gap between notification dots and their shadows
2018-07-27 22:21:28 +00:00
Vadim Tryshev
a279b2ea3e Adding a build rule for Tapl static library
Bug: 110103162
Test: TaplTests suite
Change-Id: Ibff017b68b1a31728d3a8d0c1ede2da6ebfecbb1
2018-07-24 17:16:25 -07:00
Jon Miranda
4a2b9d5e36 Fix bug where icon appears large until transluscent activity finishes.
It appears large because the pressed state of the view increases the scale,
and we want to leave the pressed state until the activity is launched.

With the remote app transitions, we now have a callback for when the activity
is done launching so we then cancel the "stayPressed" state.

Bug: 111742067
Change-Id: I25725e908b12f4dd1256294a26232b289db2d057
2018-07-24 14:50:56 -07:00
TreeHugger Robot
1143469a79 Merge "Tapl library" into ub-launcher3-master 2018-07-24 19:39:54 +00:00
Jonathan Miranda
b70e1addb1 Merge "Fix bug where default folder name doesn't change when locale changes." into ub-launcher3-master 2018-07-24 19:00:31 +00:00
Tracy Zhou
402cf4c0cf Stop DiscoveryBounce when user drags to home from Hotseat in Overview.
Change-Id: I9f1ba2eef149565e6aab314a4a8376c1cb08cb60
Fixes: 111330609
Test: Manual test
2018-07-23 11:41:57 -07:00
Android Build Merger (Role)
ae3cece03e [automerger] Fix gap between notification dots and their shadows am: dfb785afc1
Change-Id: I9856c789e5d2f79690e69209145ee1a36a6cfec4
2018-07-22 20:50:13 +00:00
Tony
dfb785afc1 Fix gap between notification dots and their shadows
There was a rounding issue due to usnig integer division when we meant float

Bug: 73331123
Change-Id: Ic3deb1c26aa00808a929e1303602656ce532963d
2018-07-22 13:49:01 -07:00
Vadim Tryshev
2ce6a13f60 Tapl library
The public API of the library has finalized; flakiness has been removed;
code polished.

Bug: 110103162
Test: TaplTests suite
Change-Id: Ic156bbfeedb1cb9c4a48ef907f97e396e8e81936
2018-07-20 14:43:05 -07:00
Tony Wickham
ae71e086a2 Merge "Add null check before playing recents scale down anim" into ub-launcher3-edmonton-polish 2018-07-19 21:55:36 +00:00
Tony Wickham
82c114ca9c Merge changes from topic "am-688aa1b8-4ed3-4170-9276-c3248d214981" into ub-launcher3-master
* changes:
  [automerger] Add null check before playing recents scale down anim am: 7cc878b5ae
  Add null check before playing recents scale down anim
2018-07-19 21:55:36 +00:00
TreeHugger Robot
b5a7d42c7f Merge "Delete unnecessary line to trigger build" into ub-launcher3-master 2018-07-19 00:44:03 +00:00
Hyunyoung Song
484c643f7e Delete unnecessary line to trigger build
Change-Id: I905560cb3bb461ff44b76d782b370ea9b8bff320
2018-07-18 17:30:29 -07:00
Android Build Merger (Role)
8bf6064fe0 [automerger] Add null check before playing recents scale down anim am: 7cc878b5ae
Change-Id: Ie10ecb7da0307d17c408979d4f6a85906d278c11
2018-07-18 22:55:55 +00:00
Tony Wickham
7cc878b5ae Add null check before playing recents scale down anim
When swiping up to overview from an app, we scale down RecentsView in
launcher, synchronized with the app window. In rare cases, however,
there may not be any TaskViews in launcher, so we should just ignore
the launcher component in this case. For example, this happens in
LockTask mode.

Bug: 110703110
Change-Id: Ib6f836581a3e12babf4e26e272b77bb529f86fd4
2018-07-18 15:51:43 -07:00
TreeHugger Robot
7b8ed5a111 Merge "Defer starting the high-res thumbnail loader until quick step/scrub" into ub-launcher3-edmonton-polish 2018-07-18 22:15:15 +00:00
Android Build Merger (Role)
498a9bd559 [automerger] Defer starting the high-res thumbnail loader until quick step/scrub am: 8eb49e079e
Change-Id: I3b69862c42175d7680fd6a4878247c3cf7c0081f
2018-07-18 22:06:04 +00:00
Winson Chung
8eb49e079e Defer starting the high-res thumbnail loader until quick step/scrub
- When hitting the home button, we may be loading high-res thumbnails
  unnecessarily since the high-res loader is already enabled when
  Launcher is started.

Bug: 111515602
Bug: 111156069

Change-Id: I367993b4ddf653b816355df005c745caed5e794a
2018-07-18 15:05:54 -07:00
Android Build Merger (Role)
5e0634fed7 [automerger] Increase max distance for folder creation for tablets. am: 5aab8703ee
Change-Id: I37270e7cc65e66c16518b0921e06d26fa30b3bf4
2018-07-17 20:54:24 +00:00
Jon Miranda
5aab8703ee Increase max distance for folder creation for tablets.
Tablets generally have larger cell sizes (relative to phones, and relative to
the icon sizes with the cells). By increasing the distance from 55% to 75% of
icon size, it is easier for users to meet the folder creation threshold before
the icon reorder timeout is triggered.

Bug: 110796219
Change-Id: I8264390b8510340f4062e05ec12d0755e93a80d8
2018-07-17 13:52:24 -07:00
Matthew Ng
eb9cc9dbd5 Animate the long press icon scale for task menu to match task view
Use scale listeners to track each other's icon scale to match them.

Test: go to recents and long press icon
Fixes: 110789415
Change-Id: I9bba3130ecf1d099db9708c84e709d16f5906c36
2018-07-17 11:21:23 -07:00
Android Build Merger (Role)
1f8cbcf1c6 [automerger] App menu icon launching app info hides taskview menu am: 00fec0d53b
Change-Id: I9a9367b8c6f41aba000f842df7d44171392639ec
2018-07-14 00:02:12 +00:00
Matthew Ng
00fec0d53b App menu icon launching app info hides taskview menu
Change-Id: I0b493229d18027adbb7c1ee15b38d859e0b3a434
Fixes: 111405044
Test: go to overview, tap icon, tap app info
2018-07-13 17:00:24 -07:00
Sunny Goyal
c487b36519 Revert "Create new ShortcutInfo when dropping predicted deep shortcuts."
This reverts commit 4685965355.

Reason for revert:
Bug: 111435256

Change-Id: I4baf35dcc944915acad9b62d6e36a6858f89af85
2018-07-13 17:03:34 +00:00
Sunny Goyal
379e8e0fa2 Preventing state change duing the swipe up animation when the previous app
transition is not complete

> This state change causes the RecentsView to get reset making the first
task visible

Bug: 111404703
Change-Id: I8ff2577bf965fb4cdf736fb18683ded63ade1872
2018-07-12 15:15:00 -07:00
Sunny Goyal
32f91ab991 Proxying touch events from RecentsTouchConsumer to Launcher
While swipe-up animation is running, the user can quickly start
another touch gesture. In that case we keep the recents transtion active
and proxy all touch events to launcher.

Bug: 110901700
Change-Id: Ie3b448dfea00473082dc9143423d3596504a3fcc
2018-07-12 14:06:54 -07:00
Jon Miranda
aeb4dd026c Fix bug where default folder name doesn't change when locale changes.
Bug: 78611156
Change-Id: I25c67fc5ebc3edc2d6090f0da0e37bf2e4c07cbf
2018-07-12 12:41:52 -07:00
Sunny Goyal
0a40a187b5 Merge "Exposing some private methods to easily customize arrow popup" into ub-launcher3-master 2018-07-12 18:45:27 +00:00
TreeHugger Robot
90218c4435 Merge changes from topic "am-3a638250-0228-430a-9592-99d4a7bd5036" into ub-launcher3-master
* changes:
  [automerger] Workaround for flicker between handoff from app to task view am: 35a6848fa8
  Workaround for flicker between handoff from app to task view
2018-07-12 17:33:22 +00:00