Commit Graph

17235 Commits

Author SHA1 Message Date
TreeHugger Robot
431ec79c99 Merge "Removing code duplication for getting swipe-up setting" into ub-launcher3-master 2018-08-09 19:49:20 +00:00
TreeHugger Robot
86944e9d7e Merge "Importing OverScroller.java from platform" into ub-launcher3-master 2018-08-09 19:30:58 +00:00
Sunny Goyal
92526e27c3 Importing OverScroller.java from platform
Bug: 109828536
Change-Id: Idf33fcbc765a83d72503f1428af0d5414bde3ef3
2018-08-09 12:04:36 -07:00
Winson Chung
ad830cd2dc Use provided home content insets
- They should be correct now immediately after rotation

Bug: 112205777
Change-Id: I12c5b791b7115408bb34b5d0ae1e3023ce79c1bf
2018-08-09 18:20:24 +00:00
Tony Wickham
9c80147e70 Merge "Use default animation when launching a TaskView that's off screen" into ub-launcher3-master 2018-08-09 16:37:53 +00:00
Tony Wickham
9756df4564 Use default animation when launching a TaskView that's off screen
Now that pressing back launches the previously running task, it's
possible to get TaskView#launch() when the TaskView is not on the
screen (i.e. user scrolled before pressing back). In this case, we
shouldn't use the launch-from-recents animation, as that animation
assumes the task view is the current page or an adjacent one.

Change-Id: I7bec91c9437954061affdedc8cd9e48820ce7357
2018-08-08 17:55:10 -07:00
Tracy Zhou
af82a882d7 Fix PIP window moving during quick scrub.
Bug: 110799409
Test: Manual
Change-Id: Ib7c7d87ddb5aee3149127415bfc31b9cd24dd16b
2018-08-08 15:50:52 -07:00
Sunny Goyal
107dcf8d0a Merge "Fix overlapping FloatingViewType IntDef" into ub-launcher3-master 2018-08-08 19:24:54 +00:00
Sunny Goyal
aad3359e8e Removing unused touch handling in PagedView so that it is similar to various platform class
Bug: 109828536
Change-Id: Ibaba3fb4298f2dc055d125acea5f4c47403bbef0
2018-08-08 12:12:46 -07:00
TreeHugger Robot
662f52b67f Merge "Unifying multiple definitions of MainThreadInitializedObject" into ub-launcher3-master 2018-08-08 19:07:09 +00:00
TreeHugger Robot
4e41486499 Merge "Removing requirement for no enabled accessibility services" into ub-launcher3-master 2018-08-08 18:57:12 +00:00
Vadim Tryshev
30ac987c56 Removing requirement for no enabled accessibility services
Now Launcher will talk to TAPL even if there are enabled accessibility
services.

This should fix some lab tests that presumably run with some
accessibility services enabled.

Bug: 110103162
Test: will check on lab tests
Change-Id: Ie11896441c2b2b7c16150cd3f2df28a5a5095d88
2018-08-08 11:46:19 -07:00
Sunny Goyal
7fee2a82e4 Merge "Launching last task when back button is pressed in overview" into ub-launcher3-master 2018-08-08 17:34:46 +00:00
Tobias Dubois
7b5834d9b1 Fix overlapping FloatingViewType IntDef
TYPE_DISCOVERY_BOUNCE and TYPE_QUICKSTEP_PREVIEW have the same value.
Make sure each flag has a unique value.

Test: manual
Change-Id: I0fec3f27ffc31bad80d3af7b3baa3631b61b2567
2018-08-08 10:19:52 -07:00
Vadim Tryshev
b02bcd4c76 Removing code duplication for getting swipe-up setting
This is between Tapl and Launcher

Bug: 110103162
Test: TaplTests suite
Change-Id: I5b458438834204ca257f45c707577b4d2793fb4e
2018-08-07 18:01:12 -07:00
Rajeev Kumar
147320e64e Use equals for string comparison in ItemClickHandler.
Bug: 112325801
Test: Manual test
Change-Id: I1b57dadac392d5c7f5a7fb367ddbaf79beb7faed
2018-08-07 15:22:14 -07:00
Sunny Goyal
7244d45998 Unifying multiple definitions of MainThreadInitializedObject
Change-Id: I0e5addfe0353f971c76ffba8a0e2fbbce0f7e58e
2018-08-07 09:26:34 -07:00
TreeHugger Robot
59d504e89b Merge "Using proper checks for hardware bitmap usage" into ub-launcher3-master 2018-08-07 16:11:10 +00:00
TreeHugger Robot
3b7402c2b8 Merge "Increasing wait time." into ub-launcher3-master 2018-08-07 00:27:05 +00:00
Sunny Goyal
719fcb1561 Using proper checks for hardware bitmap usage
Change-Id: Ic8efef8ac54ee4c7887860c404060da3c00f4024
2018-08-06 17:00:55 -07:00
Rajeev Kumar
dedecd8cf3 Specify proguard.flags file explicitly in the Launcher3QuickStepGo make rule
This change makes sure that following build command doesn't error out:
tapas Launcher3QuickStepGo
make -j45

Bug: 112274857
Test: Built source with tapas Launcher3QuickStepGo and it built successfully.
Change-Id: Icd788e4e119efd386bec6646627c2d9dd485af60
2018-08-06 21:37:53 +00:00
Rajeev Kumar
6e1f150c82 Merge "Make AsyncTask static to prevent memory leak in WorkModeSwitch class" into ub-launcher3-master 2018-08-06 21:04:42 +00:00
Vadim Tryshev
7d0cf2a748 Increasing wait time.
Extremely rarely starting an app takes more than 10 sec.

Bug: 110103162
Test: TaplTests suite
Change-Id: Ic6127e373b76c610eea5126e53e6048ba0f9bd3e
2018-08-06 11:11:25 -07:00
TreeHugger Robot
589f53cf89 Merge "Enabling more checks in TAPL tests." into ub-launcher3-master 2018-08-03 21:07:20 +00:00
Rajeev Kumar
02c33da4d2 Enable code shrinking (dead code removal) on Launcher3QuickStepGo app
Bug: 112042795
Test: Manual testing

I found following effect of shrinking on the apk:

Launcher3QuickStepGo.apk            4925099 bytes
Launcher3QuickStepGo_Proguard.apk   2619051 bytes

We get total saving of 2306048 bytes in apk size.

Change-Id: I75abedc05e5d04967928e73f02bcc78608f52ac0
2018-08-03 13:33:18 -07:00
Rajeev Kumar
88a2391f1d Make AsyncTask static to prevent memory leak in WorkModeSwitch class
Bug: 112163931
Test: Manual testing
Change-Id: I17d0cb871103693d9e901758fba2abb2b73874fb
2018-08-03 12:16:10 -07:00
Android Build Merger (Role)
dc26977a26 [automerger] Use clear-all recent tasks call am: 68df758665
Change-Id: Ic8bcbef8d72e2ca48a2d6ffe4c0d7d40f2fba37c
2018-08-03 18:15:53 +00:00
Winson Chung
68df758665 Use clear-all recent tasks call
Bug: 80471073
Change-Id: Ibce9d521ba8d3903ff1f2fbdabfd391b15630bd7
2018-08-03 11:15:33 -07:00
Vadim Tryshev
7acde48955 Enabling more checks in TAPL tests.
Hiding workspace from tests when in AllApps or Overview.

Also, we don’t need workspace_page_container.

Bug: 110103162
Test: Running TaplTests suite
Change-Id: I10875a1ce5d41a015c63034160676578f52d2e98
2018-08-03 10:29:36 -07:00
TreeHugger Robot
7f63682742 Merge "Adding AOSP into the tapl library name." into ub-launcher3-master 2018-08-03 02:10:06 +00:00
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
Sunny Goyal
e39690b218 Launching last task when back button is pressed in overview
Bug: 111158326
Change-Id: Ib38f12f177780d15dbee69e4a27c21aaa9a3e087
2018-08-02 13:35:38 -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
Vadim Tryshev
44780bad8f Adding AOSP into the tapl library name.
The idea is to prevent accidentally
adding non-AOSP code to it, which would make it wrong to
drop it to AOSP parts of the platform.

Bug: 110103162
Test: Building TaplTests suite
Change-Id: Ide68f469d59fefb72b5195c7916bd1515a9bbed2
2018-08-01 13:08:19 -07: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
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
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