Commit Graph

34630 Commits

Author SHA1 Message Date
Sunny Goyal f0b6db7fa8 Removing static launcher activity dependency from FirstFrameAnimationHelper
Static dependency does not work in the presence of multiple activities and
when the main activity is not Launcher (eg in fallback recents). Instead
creating FirstFrameAnimatorHelper on demand for individual animations.

Change-Id: I17bb69bbaaca92f0db994fb56fd784302c57d543
2018-08-13 16:10:18 -07:00
TreeHugger Robot b6ecb17356 Merge "Removing Launcher activity dependency on various animations" into ub-launcher3-master 2018-08-13 20:03:33 +00:00
Xin Li ec037c9092 Merge stage-dr1-aosp-master into stage-aosp-master
Bug: 112535855
Change-Id: I46a5819898fbfc2ce0404691755be6f74c32c0fb
2018-08-13 13:01:17 -07:00
android-build-team Robot 7b3d290926 Snap for 4949134 from 5c53ba1d25 to qt-release
Change-Id: Ie24e31135ca31d7ca853f3fd46f8ad373592c4ac
2018-08-12 03:03:01 +00:00
Vadim Tryshev 3b5793fdf5 Support for running Overview tests with quickstep on and off
Bug: 110103162
Test: TaplTests suite
Change-Id: Ic479156f2973aeec5cc3d288e1c891b8086d9daa
2018-08-10 17:35:43 -07:00
TreeHugger Robot d6ba50412b Merge "Adding overscroll in recents view" into ub-launcher3-master 2018-08-10 22:53:49 +00:00
Sunny Goyal b7b0135c93 Adding overscroll in recents view
Bug: 109828536
Change-Id: I4fe94bd157c2b65f80604751e6f0f7d5d81d058d
2018-08-10 22:41:20 +00:00
TreeHugger Robot 8f7137b769 Merge "Removing magic constant 0.1f from Overview" into ub-launcher3-master 2018-08-10 22:03:12 +00:00
Vadim Tryshev 309053fff9 Using SWIPE_UP_SETTING_NAME in TAPL
Bug: 110103162
Test: TaplTests suite
Change-Id: Ia62207773a156aca1e226307ccc462c252cc9227
2018-08-10 14:30:59 -07:00
Sunny Goyal 849c6a2b18 Removing Launcher activity dependency on various animations
(This cl reverts change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975)

Various animations were marked for cancellation when launcher activity is
destroyed. This this does not work with multiple activities (Launcher,
fallback recents, shortcut confirmation). Also since launcher activity
handles configuration changes, the activity is not destroyed often.

Instead associating a target with various animations which automatically
cancels the animations when that target goes away.

Change-Id: I64cd095a28075561a9e20c9dcdeb9f90c18e1047
2018-08-10 13:31:46 -07:00
TreeHugger Robot 52b28f0926 Merge "Adjust notification dots" into ub-launcher3-master 2018-08-09 22:19:57 +00:00
Vadim Tryshev 846718a79a Removing magic constant 0.1f from Overview
Bug: 110103162
Test: TaplTests suite
Change-Id: If3af510360158a2c2b1c3d13c75321c49ece67e2
2018-08-09 14:21:46 -07:00
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
Sunny Goyal 5c53ba1d25 Merge "Fix overlapping FloatingViewType IntDef" am: c73828fd96 am: ad61ce0767 am: bc742b6a4f
am: 682295fe67

Change-Id: Iec36c374dfbed1ef18a80ee79bec1cdc56fa8143
2018-08-08 22:00:34 -07:00
android-build-team Robot d679007c0d Snap for 4942340 from 7dd5eb3d18 to qt-release
Change-Id: Ibce24c8ead40f43196994c9b4fb48ce71a358542
2018-08-09 03:05:37 +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 682295fe67 Merge "Fix overlapping FloatingViewType IntDef" am: c73828fd96 am: ad61ce0767
am: bc742b6a4f

Change-Id: Ibc1f1c11268527e6b8b5f690a7e781885a554e2f
2018-08-08 13:14:32 -07:00
Sunny Goyal bc742b6a4f Merge "Fix overlapping FloatingViewType IntDef" am: c73828fd96
am: ad61ce0767

Change-Id: Id87a75c690131e1c2e2ac48f5a07dd89fb6976ca
2018-08-08 12:43:18 -07:00
Sunny Goyal ad61ce0767 Merge "Fix overlapping FloatingViewType IntDef"
am: c73828fd96

Change-Id: I2b5f60a83ed1f07050f95f4c4240682f7ec480f6
2018-08-08 12:39:13 -07:00
Sunny Goyal 107dcf8d0a Merge "Fix overlapping FloatingViewType IntDef" into ub-launcher3-master 2018-08-08 19:24:54 +00:00
Sunny Goyal c73828fd96 Merge "Fix overlapping FloatingViewType IntDef" 2018-08-08 19:24:33 +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
Tobias Dubois 1e63367b94 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 13:47:28 +02:00
Xin Li 7dd5eb3d18 Merge "Merge Android Pie into master" am: 90a54e7375 am: acaffe609c am: 444b52a18f
am: 1cbe824167

Change-Id: I75bb8441daccab2ce49520a3f9ed5a39c4be3b83
2018-08-08 03:34:47 -07:00
Xin Li 1cbe824167 Merge "Merge Android Pie into master" am: 90a54e7375 am: acaffe609c
am: 444b52a18f

Change-Id: I767ee597613dde61290ccb31dc148b63abb808f0
2018-08-07 22:46:19 -07:00
Xin Li 444b52a18f Merge "Merge Android Pie into master" am: 90a54e7375
am: acaffe609c

Change-Id: I1ccac006a68400ebbed9fadd6fb04001a6b4eb4f
2018-08-07 18:30:18 -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
Xin Li acaffe609c Merge "Merge Android Pie into master"
am: 90a54e7375

Change-Id: Ibcbb2f3009f8a7d16cdee17fcd95302b2842c1e4
2018-08-07 14:59:17 -07:00
Xin Li 90a54e7375 Merge "Merge Android Pie into master" 2018-08-07 16:51:25 +00: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
Xin Li ccb8ed4d5e Merge Android Pie into master
Bug: 112104996
Change-Id: I9e4f0960dc59342994e4aea3b6f7059a3fc6cf89
2018-08-06 16:51:19 -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