Commit Graph
47938 Commits
Author SHA1 Message Date
Sunny Goyal 5bbe9e16b6 Merge "Changing Condition to an interface to allow using lambdas" into ub-launcher3-master 2018-08-14 19:10:13 +00:00
Lucas Dupin f3c4f77809 Merge "Respect night mode flag on Q and beyond" into ub-launcher3-master 2018-08-14 18:32:34 +00:00
Lucas Dupin eca08a10bd Respect night mode flag on Q and beyond
Test: manual
Change-Id: I01c51d02e787557717c12567adc8276943dbd1bc
Fixes: 110758454
2018-08-14 11:18:42 -07:00
Winson Chung 7debc53f93 Skip logic to find the dominant color when loading recent task icons
- Also move some allocations in ColorExtractor into thread locals to reduce
  allocations

Bug: 78777731
Change-Id: I8819106d476a9af02e864135a2f44b55fe9219cd
2018-08-14 10:30:33 -07:00
Vadim Tryshev dc755e718d Started converting Launcher to be gesture-stable
All tests keep passing.

WorkTabTest.workTabExists was made gesture-stable. There is no need to
use TAPL, as the point is not to check answering to gestures, but to
check presence of tabs, which is better to do using launcher internal
state. (It still fails if run as a part of all tests, presumably,
because after Launcher's start, changes in user configuration are not
recognized, so I've commented the failing part)

Bug: 110103162
Test: Run all tests
Change-Id: Ic30b8e8475d16cee3880332f12311a44ddfa26cb
2018-08-14 10:29:57 -07:00
Sunny Goyal 6edb1b84bf Changing Condition to an interface to allow using lambdas
Change-Id: Ib7ad6a45d2ce556f843cd3a9767001904707dced
2018-08-14 10:27:48 -07:00
Xin Li 1fc98f011e Merge stage-dr1-aosp-master into stage-aosp-master am: ec037c9092
am: a56aa613c8

Change-Id: Ie1361c4eb276fee324bb7e54f10ca398fab8631f
2018-08-13 18:40:50 -07:00
Xin Li a56aa613c8 Merge stage-dr1-aosp-master into stage-aosp-master
am: ec037c9092

Change-Id: Ifc27f22fa368ca8259a9e51a410adbfc253b4caf
2018-08-13 17:34:41 -07:00
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