summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Workspace: Allow resizing any widgetNebojsa Cvetkovic2019-10-202-22/+5
| | | | | Change-Id: Iba122eb45d4ba81e53267ff341addfe281cf02fe Signed-off-by: Joey Rizzoli <joey@lineageos.org>
* Launcher3: Stability NullPointer issueyingrenw2019-10-201-1/+1
| | | | | | | | | | | | Description: Compute a child location by recursion, it may not have parent view. When the child doesn't have parent, should break the recursive. Change-Id: I8707712b85c10bf1c1d3860c5b8323aefd455cf2 CRs-Fixed: 1104931
* Launcher3: Google Feed integrationEdward Cross2019-10-204-7/+153
| | | | | | | | If Google Search is installed, the Google Feed can be found at the -1 screen (which is the very left). This feature is enabled by default. Change-Id: I495196818699fd378cd60e6dd61b07a0ab951762
* Create LineageLauncherJoey2019-10-202-0/+153
| | | | | | | Extends Launcher, will hold our customizations Change-Id: I4a398b624ac60edfed78e4db8e56eb767ffb753e Signed-off-by: Joey <joey@lineageos.org>
* Launcher3: Fix launcher preview renderingpaphonb2019-10-201-3/+14
| | | | | | Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> Change-Id: I8c6fc263a3021f3ff929bc75b2730962b29d3758 Signed-off-by: DennySPB <dennyspb@gmail.com>
* Copy resume callbacks list prior to making callbacksWinson Chung2019-07-251-3/+7
| | | | | | | | | | | - Starting a deferred activity can trigger a new callback to be added to the list while we are iterating it Bug: 136613192 Change-Id: I6690ab0695bb73f11bf343fb41e9fc86b4afec1b Merged-In: I6690ab0695bb73f11bf343fb41e9fc86b4afec1b (cherry picked from commit 940b0ac0157945a40d8b3b44d976da53aaeff81f) (cherry picked from commit a8971c1462f276b2b4d6daab6b18941b9dc9a94a)
* Fix bug where icon is no present during app close animation.Jon Miranda2019-07-182-11/+9
| | | | | | | | | | | | | | | | | * WindowTransformSwipeHandler closes all AbstractFloatingViews, including ListenerView, which results in FloatingIconView getting removed. * In IconLoadResult.onIconLoaded, we remove the check for isIconLoaded since its not needed. This was also causing a race condition since isIconLoaded is not set to true until after we tell onIconLoaded to run. * In BaseDragLayer, we have a delay before checking if the view is open and then closing the floating view if true. This caused issues since we reycle the view. Now we check if the view is open before running the delay to call close. Bug: 136044361 Change-Id: I7442a589a62c3cdf90b70d146e0ecf3e4300ddf7 (cherry picked from commit 826cdcd32fa91afe932c8c07be1a4e92a6f73301) (cherry picked from commit bc2782647803d2a8942311f917d66a91bdc24d8d)
* Set the chips flag to false in QP1A. This flag should be off by default.Anna Wasewicz2019-07-181-1/+1
| | | | | | | | | Chips should not be running in QP1A. Bug:137290162 Change-Id: I159e1bd00d1f9ff4f6cf63daf93a68e3e8d063c8 (cherry picked from commit 7400bb3f725d288766ddf9e9256327fcb90015c5) (cherry picked from commit 31d0a9c562c39b9feb8a75c89bde147a24a21e32)
* Merge "Revert "Enable FLAG_SLIPPERY window flag when swipe down on ↵TreeHugger Robot2019-06-281-0/+283
|\ | | | | | | workspace"" into ub-launcher3-qt-dev
| * Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace"Winson Chung2019-06-281-0/+283
| | | | | | | | | | | | | | | | This reverts commit 35062f8ed32ea4a868be077fdae37409a700e759. Reason for revert: Moving to R1 Change-Id: Ifd19d78015a66c9fbe9a67845232d13e011943d3
* | Merge "Enable FLAG_SLIPPERY window flag when swipe down on workspace" into ↵Winson Chung2019-06-261-283/+0
|\| | | | | | | ub-launcher3-qt-dev
| * Enable FLAG_SLIPPERY window flag when swipe down on workspaceHyunyoung Song2019-06-261-283/+0
| | | | | | | | | | | | | | Bug: 131356741 Test: manual Change-Id: Ibe0e3a03e7406d5d882a1c63265d6e4e0253983e
* | Finish recents animation when starting a new activityWinson Chung2019-06-262-9/+20
|/ | | | | | | | | - Defer starting the activity when an activity is paused, and finish the current animation to trigger launcher to be resumed Bug: 132811175 Test: Swipe up and launch a new app Change-Id: I78b76800052512eb93f69ccf0523f4d752a82ece
* Merge "Cleaning up some animation states:" into ub-launcher3-qt-devTreeHugger Robot2019-06-216-7/+84
|\
| * Cleaning up some animation states:Sunny Goyal2019-06-216-7/+84
| | | | | | | | | | | | | | | | | | | | | | | | > When running one-off animations during quickstep, cancelling prevoisly running animations. > Cancelling such one-off animations when state is reset > Preventing touch proxied from recent transition to affect quickswitch (by affecting pagedView) Bug: 135686388 Bug: 135571566 Change-Id: Id647015a583761d8fd46a02e3e2d88027e282a79
* | Workaround issue with latest version of RecyclerView which is overriding our ↵Adam Cohen2019-06-211-0/+13
|/ | | | | | | | | | custom accessibility delegate -> Not the prettiest fix, but we only ever use the LauncherAccessibilityDelegate for BubbleTextViews,so anything else getting set here is incorrect. Stop-gap until we root cause the RV issue and decide whether there's a fix there, or a better way to ensure Launcher behaves correctly. issue 129745295 Change-Id: I27cf79fda9edc2bebeda4728b776ab292caa141d
* Using FloatProperty for spring animation, instead of a interfaceSunny Goyal2019-06-194-88/+53
| | | | | | to allow easier generalization of animation definitions Change-Id: I37b1a604003ec007aa390eabdfe8c1ab733b7471
* Merge "Some improvements to home to overview transition for 0 button mode" ↵Sunny Goyal2019-06-194-68/+72
|\ | | | | | | into ub-launcher3-qt-dev
| * Some improvements to home to overview transition for 0 button modeTony Wickham2019-06-194-68/+72
| | | | | | | | | | | | | | | | | | | | | | - Peek in overview further, and with more overshoot - Fade out and scale down workspace faster while swiping up - Scale and translate workspace slower when letting go to enter overview (so it doesn't zoom out at warp speed) - Fade in all apps shelf sooner Bug: 132455160 Change-Id: Ieafad0ccf9bb587889bc35d536627661db10e358
* | Disable fake landscape UISunny Goyal2019-06-193-2/+7
|/ | | | | Bug: 131360075 Change-Id: I21e0a6cdf332e2d16821c589f9630c254b595770
* Merge "Fixing onStateTransitionEnd is not called at the end of reset state" ↵TreeHugger Robot2019-06-191-0/+4
|\ | | | | | | into ub-launcher3-qt-dev
| * Fixing onStateTransitionEnd is not called at the end of reset stateSunny Goyal2019-06-181-0/+4
| | | | | | | | | | | | Bug: 135299165 Bug: 133867119 Change-Id: Ifac762a44fa45dfef72a9357f09fc96c34162565
* | Merge "Set mNextPage after springBack when overscrolling" into ↵TreeHugger Robot2019-06-181-0/+1
|\ \ | | | | | | | | | ub-launcher3-qt-dev
| * | Set mNextPage after springBack when overscrollingTony Wickham2019-06-181-0/+1
| |/ | | | | | | | | Bug: 134609899 Change-Id: I74294655689c4ccd66896550b74e205d1c3df543
* / Fix bugs with hotseat in overviewTony2019-06-182-4/+26
|/ | | | | | | | | - Allow touches to go through recents to the hotseat. - Translate the hotseat with the all apps shelf when swiping up in background app state. Bug: 135222111 Change-Id: Ib887fc25ccfeb406a44074198c11f7b1d245443c
* Merge "Fix HOME/RECENTS/BACK duplicated, missing logging" into ↵Hyunyoung Song2019-06-142-15/+7
|\ | | | | | | ub-launcher3-qt-dev
| * Fix HOME/RECENTS/BACK duplicated, missing loggingHyunyoung Song2019-06-122-15/+7
| | | | | | | | | | | | | | | | | | Bug:132906035 Double logging onResume when Launcher resumed via back Double BACK logging when in taskswitcher state Change-Id: I44233339b238b6bee32ec2c7b0de4908b2556566
* | Merge "Adding null check before accessing shortcut extras" into ↵Sunny Goyal2019-06-141-0/+1
|\ \ | | | | | | | | | ub-launcher3-qt-dev
| * | Adding null check before accessing shortcut extrasSunny Goyal2019-06-141-0/+1
| | | | | | | | | | | | | | | Bug: 135257548 Change-Id: I1ecc296967a39eb73a60e71a4b1962b92298f327
* | | Merge "Notifying widgets to use dark text when rendered on light wallpaper" ↵TreeHugger Robot2019-06-131-0/+4
|\ \ \ | | | | | | | | | | | | into ub-launcher3-qt-dev
| * | | Notifying widgets to use dark text when rendered on light wallpaperSunny Goyal2019-06-131-0/+4
| | | | | | | | | | | | | | | | | | | | Bug: 109954539 Change-Id: Ifab21626a070c35b351ea99ea3f09f3bf2230d19
* | | | Merge "More tracing for app not starting from all apps" into ub-launcher3-qt-devTreeHugger Robot2019-06-133-0/+13
|\ \ \ \
| * | | | More tracing for app not starting from all appsvadimt2019-06-133-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 132900132 Bug: 134172603 Change-Id: I6a85e616552e84b8165661d25ed4330f55d3946f
* | | | | Merge "Preloads the icon drawable for app open to reduce latency b/w ↵Jonathan Miranda2019-06-133-135/+248
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | swapping views." into ub-launcher3-qt-dev
| * | | | Preloads the icon drawable for app open to reduce latency b/w swapping views.Jon Miranda2019-06-133-135/+248
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | For app close, we already load the icon as soon as we can. Bug: 135130011 Change-Id: Ia2c45737cf24d1ab5911b222ae097d7a1f9d6a31
* / | | Optimizing some layouts in taskviewSunny Goyal2019-06-133-9/+19
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | > Recycling DigitalWellBeingToast so that the view is not inflated everytime > Simplifying DigitalWellBeingToast to use a single text view > Adding support for footers in taskView without creating additional layout Bug: 122345781 Change-Id: Ia889819b93eb8644532ea95c6767554874d5e2d1
* | | Updating consumed insets when dispatching to child viewsSunny Goyal2019-06-121-6/+19
| | | | | | | | | | | | | | | Bug: 134963243 Change-Id: I4fa072128398cfd22b906037c6c444495781c9d0
* | | Do not rebind when when deviceProfile has not changedSunny Goyal2019-06-121-2/+4
| | | | | | | | | | | | | | | | | | | | | This avoids UI flicker when using fakeLandscape UI during swipe-up animation Bug: 131360075 Change-Id: I651e0acb79b54be66b93c746eed6e9b099f2f767
* | | Merge "Saving instance state so that widget cache is updated properly before ↵TreeHugger Robot2019-06-121-0/+3
|\ \ \ | | | | | | | | | | | | rebind" into ub-launcher3-qt-dev
| * | | Saving instance state so that widget cache is updated properly before rebindSunny Goyal2019-06-101-0/+3
| | |/ | |/| | | | | | | | | | | | | | | | | | | List widgets use a static cache which is initialized as part of saveInstanceState. Calling this ensures that no extra binder calls are made on rotation Bug: 134707989 Change-Id: I8d4450134168bd412ba2911c57354a603868bc47
* | | Merge "Merge branch 'ub-launcher3-qt-r1-dev' into ub-launcher3-qt-dev" into ↵TreeHugger Robot2019-06-126-15/+64
|\ \ \ | | | | | | | | | | | | ub-launcher3-qt-dev
| * \ \ Merge "Calling sendStateEventToTest() from a place guaranteed to be called" ↵vadimt2019-06-112-2/+3
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | into ub-launcher3-qt-dev am: c1fa3abd2e Change-Id: I90802248680747645bc975e81fb4fe477f2db679
| * | | Merge "Defer listening for notification changes until resume" into ↵Winson Chung2019-06-111-1/+3
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-qt-dev am: ca29259673 Change-Id: I135a79f492491c6c5c0bc449bc0c7faabbd8fd10
| * \ \ \ More tracing for b/133009122vadimt2019-06-102-0/+11
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | am: 34b2f03b30 Change-Id: I4487817d7b2905bf8837a35a2e13147c63ed1344
| * | | | More tracing for b/133009122vadimt2019-06-071-0/+11
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: c25d975342 Change-Id: Iee85b5a93612867c8eabae37b0d6fa1a388a4084
| * \ \ \ \ Merge "Freezing all apps updates during certain tests" into ↵Vadim Tryshev2019-06-075-14/+63
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | ub-launcher3-qt-r1-dev
| | * | | | | Freezing all apps updates during certain testsvadimt2019-06-065-14/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL adds a very low risk because most (but not all) changes affect only Launcher behavior during the test. This should fix a lab-only flake when all apps keeps changing while the test is working with it. Example: test figures out which icon to click, by the moment it clicks there, there is another icon there, or the icon is under the search box, and clicking opens IME. Switching test devices to airplane mode didn't help. The earlier change that prevents popup menu cancellation is not general enough. Now the tests are given an API to explicitly freeze and unfreeze all-apps, which should be a final solution. Bug: 132900132 Bug: 133765434 Change-Id: I8b81cc9be004482beb6cdcdd05406e2d9b4c7629
| * | | | | | Merge "Add tracing for b/134532571" into ub-launcher3-qt-devvadimt2019-06-062-0/+4
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: bfe171f9cb Change-Id: I86539398e74beb527cbede66143ff1c61990cca8
| * \ \ \ \ \ \ Merge "Disable seamless rotation for 3 and 2 button mode" into ↵Sunny Goyal2019-06-062-3/+8
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-qt-dev am: 19f7c6fefb Change-Id: Iec2636f14a157e9a9b5e9c47e1c258b9158dc942
| * \ \ \ \ \ \ \ Merge "Fixing wrong origin when launching new task from overview" into ↵Sunny Goyal2019-06-051-3/+7
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-qt-dev am: bfaabbea81 Change-Id: Ie0939ae8c5286631da3ef08ffaf0151bdc81c7e6