summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* config: enable LAUNCHER3_PROMISE_APPS_IN_ALL_APPSAlexander Martinz2019-10-201-1/+1
| | | | | Change-Id: If8a0e5595734eacb038f31c38bf7b4f151fd4825 Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
* Provider: Initialize createEmptyRowOnFirstScreen without QSBAdrian DC2019-10-201-1/+1
| | | | Change-Id: Ib29b20b051b8fe976f20e92b141c373c8f0cfae3
* DeviceProfile: fix divide by zeroAlexander Martinz2019-10-201-0/+6
| | | | | Change-Id: I8deeeb053a43bac0941950a0c25770b4cc565405 Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
* Launcher3: Can't search out local app by Chineseyingrenw2019-10-201-1/+2
| | | | | | | | | | | | | | Description: Chinese content type is Character.OTHER_LETTER. When key matches,it check the content type. And if type is Character.OTHER_LETTER, it doesn't support search and break. When the content type is Character.OTHER_LETTER, make it work normally. Change-Id: I3713f24c9206fe16a8da2a23e6c90d68079dd533 Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
* PagedView: fix pointer index out of rangeAlexander Martinz2019-10-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stacktrace: java.lang.IllegalArgumentException: pointerIndex out of range at android.view.MotionEvent.nativeGetAxisValue(MotionEvent.java) at android.view.MotionEvent.getX(MotionEvent.java:2201) at com.android.launcher3.PagedView.onTouchEvent(PagedView.java:1557) at android.view.View.dispatchTouchEvent(View.java:11842) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3068) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2700) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3074) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2714) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3074) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2714) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3074) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2714) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3074) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2714) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3074) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2714) at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:464) at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1854) at android.app.Activity.dispatchTouchEvent(Activity.java:3292) at com.android.launcher3.Launcher.dispatchTouchEvent(Launcher.java:2781) at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:426) at android.view.View.dispatchPointerEvent(View.java:12092) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:5279) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5084) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4581) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4634) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4600) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4747) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4608) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4804) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4581) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4634) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4600) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4608) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4581) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:7259) at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:7233) at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:7176) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:7431) at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185) at android.os.MessageQueue.nativePollOnce(MessageQueue.java) at android.os.MessageQueue.next(MessageQueue.java:325) at android.os.Looper.loop(Looper.java:147) at android.app.ActivityThread.main(ActivityThread.java:6733) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:845) Issue: SHIFTOS-SW-19 Change-Id: Idcab340d65ee2a4782052b4d1a9de73a886afef7 Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
* 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: No Calendarwidget 4x4 widget displayedningl2019-10-202-0/+37
| | | | | | | | | | | There is not enough space to place the Calendarwidget when in the portrait mode for the mobile phone of 480*854. Config the value of dynamic_grid_edge_margin a little smaller for the mobile phone of 480*854. Change-Id: I7be230b6539e47be4bd967c08eaf6f00aa550f75 CRs-Fixed: 1066228
* Launcher3: exclude from recentscretin452019-10-201-0/+1
| | | | Change-Id: Iccbd953241886dbbda01e38225123dfd1761accc
* Launcher3: Google Feed integrationEdward Cross2019-10-2011-8/+240
| | | | | | | | 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-203-1/+154
| | | | | | | Extends Launcher, will hold our customizations Change-Id: I4a398b624ac60edfed78e4db8e56eb767ffb753e Signed-off-by: Joey <joey@lineageos.org>
* Trebuchet: update build configsJoey2019-10-202-11/+13
| | | | | Change-Id: I072a85e068de4017c8d401785a89dc49296060cf 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>
* Launcher3: Export GridOptionsProviderLuca Stefani2019-10-201-1/+0
| | | | Change-Id: I6255c13c01274c4d59b88a00393ab692383ce27c
* Revert "[DO NOT MERGE] Disable swipe down to pull noti shade for Q"Luca Stefani2019-10-201-0/+6
| | | | | | This reverts commit eb66898be068c8dc7521723d948dd400f4b8fc12. Change-Id: Ia05d89af9b9c65e263f83cd71d32530b0d849692
* Merge cherrypicks of [9201404] into qt-releaseandroid-build-team Robot2019-08-151-11/+12
|\ | | | | | | Change-Id: Ie491575f45eb7885eb00854f7e28657d0a783e08
| * Always go to home in case of fling-upSunny Goyal2019-08-151-11/+12
|/ | | | | | | Bug: 138881088 Change-Id: I86bf4c7a495805d5912b102470e72a51e843a222 (cherry picked from commit a2cfc2d95e1ae5d8b44e3f63a620d7a819bc826c) (cherry picked from commit 64155533b694ef3b4f45e3365270ca99ec369200)
* Merge cherrypicks of [9169765, 9170440, 9170173, 9170474, 9170250, 9170251, ↵android-build-team Robot2019-08-081-6/+5
|\ | | | | | | | | | | 9170252, 9170462, 9170463, 9170464, 9170264, 9170422, 9170465] into qt-release Change-Id: Ibd56f04c2e465a1ddb728e0ef98a900069f5f5a1
| * Don't end launcher components anim early even if it does nothingTony2019-08-081-6/+5
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | The janky animation that ends on the home screen with an invisible task on top is caused by the following scenario (for example): - Quick switch from task A to task B - After landing on B, but before we get the callback that it was successfully launched, switch back to A (or you could go to C) Now we are animating back to A, but we are still waiting to hear whether B was successfully launched. If we hear that the launch was indeed successful, we dutifully clean up after ourselves by returning launcher to its default state. Unfortunately, that clobbers the current animation that is scrolling back to A, and we end up in the bad state where we are showing the default launcher state even though we just launched task B and were about to launch task A. Normally we avoid cleaning up the state animation if the user is still controlling it. The reason we weren't doing that here is because we ended the launcher animation early even though the window animation was still running. Instead, we should keep the launcher animation running for the full duration, so that it prevents a cleanup from occurring in the middle. Bug: 138620399 Change-Id: I959e62a52638a5b974ef9b406555078c928b91f1 (cherry picked from commit 03c548901fb77d0a47bb46036d559968b65b2293) (cherry picked from commit c5555c459bd28033257bced610c861e5ff84aec4)
* Merge cherrypicks of [8828839, 8824129, 8828883, 8828885, 8828888, 8828891, ↵android-build-team Robot2019-07-252-4/+11
|\ | | | | | | | | | | 8829076, 8828998, 8828999, 8828607, 8828957] into qt-release Change-Id: I529b9190a4c234124cd5f32cf4b1ddabebda18cd
| * Fix bug where rounded corners were being set despite being disabled.Jon Miranda2019-07-251-1/+4
| | | | | | | | | | | | Bug: 138117089 Change-Id: Icb852e2e07d80c45ad3406ef432b89720887fccf (cherry picked from commit e734efba8dc58ea145dc0a620f18cbe2032f70ce)
| * 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)
* Merge cherrypicks of [8681848, 8682094, 8682365, 8682497, 8682498, 8682518, ↵android-build-team Robot2019-07-184-13/+12
|\ | | | | | | | | | | 8682519, 8681849, 8681887, 8681888, 8682539, 8682540, 8682541, 8681283, 8682521] into qt-release Change-Id: I02cecc5553a53a6c0901a26a0f82fbf93500c93b
| * Fix bug where icon is no present during app close animation.Jon Miranda2019-07-183-12/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 cherrypicks of [8549820, 8549668, 8549613, 8549614, 8549935, 8549808, ↵android-build-team Robot2019-07-111-6/+0
|\ | | | | | | | | | | 8549876, 8549809, 8549552] into qt-release Change-Id: I86207f3f19b13d8a3c99d77c594cd711e31b40a4
| * [DO NOT MERGE] Disable swipe down to pull noti shade for QHyunyoung Song2019-07-111-6/+0
|/ | | | | | | Bug: 136293958 Change-Id: Iac169d91a784b5f2d05410a06cd358f85b533562 (cherry picked from commit 4bfcf04ae9228f912ac151009800a9f3cd205550)
* Snap for 5719587 from 0a8243d4633f136ff9db6f55b926cfacfca1d8d4 to qt-releaseandroid-build-team Robot2019-07-111-0/+1
|\ | | | | | | Change-Id: I5351458b8351342cd4b2dc65fcfbf29a68f9947b
| * Reset the UI_STATE_OVERVIEW statusbar/navbar flag when RecentsView resetsHyunyoung Song2019-07-091-0/+1
| | | | | | | | | | | | | | | | | | Bug: 135383592 TL;DR;; this reset is called when for instance OMS call happens Change-Id: I57bb6c1c8833aff00e3be572dd19744afbb81eb5 (cherry picked from commit 4abfbd067073cc24622c80a3e3519cca37e8f206)
* | Snap for 5702458 from a0967d21e645569b844e2ab5b22e843689525ce9 to qt-releaseandroid-build-team Robot2019-07-0213-57/+346
|\| | | | | | | Change-Id: Ia11ae0fb421acfc84ac062f284f561ec90895b27
| * Merging ub-launcher3-qt-dev, build 5697268Sunny Goyal2019-06-2813-57/+346
| |\ | | | | | | | | | | | | | | | | | | | | | Test: Manual Bug:135038270 P1 Apps getting stuck while switching in the overiew screen. Bug:135885458 P1 Arrow floating when in app switcher Change-Id: Ifa132ba008423a95291a17deea3d8e3846dbbacc
| | * Merge "Revert "Enable FLAG_SLIPPERY window flag when swipe down on ↵TreeHugger Robot2019-06-282-51/+300
| | |\ | | | | | | | | | | | | workspace"" into ub-launcher3-qt-dev
| | | * Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace"Winson Chung2019-06-282-51/+300
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 35062f8ed32ea4a868be077fdae37409a700e759. Reason for revert: Moving to R1 Change-Id: Ifd19d78015a66c9fbe9a67845232d13e011943d3
| | * | Resetting UI state when the last has launched from LauncherSunny Goyal2019-06-281-0/+2
| | | | | | | | | | | | | | | | | | | | Bug: 135038270 Change-Id: I4a563116d8c7715163671dfffdfcf0f886e21623
| | * | Merge "Make it a bit harder to break out of Overview once triggered" into ↵TreeHugger Robot2019-06-281-1/+1
| | |\ \ | | | | | | | | | | | | | | | ub-launcher3-qt-dev
| | | * | Make it a bit harder to break out of Overview once triggeredAdam Cohen2019-06-281-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I8814f1d7e219ba11a3abb191bf55192e3811f191
| | * | | Merge "Resetting UI state when the last has launched" into ub-launcher3-qt-devTreeHugger Robot2019-06-287-0/+26
| | |\ \ \
| | | * | | Resetting UI state when the last has launchedSunny Goyal2019-06-287-0/+26
| | | |/ / | | | | | | | | | | | | | | | | | | | | Bug: 135038270 Change-Id: Ie0af9c7d47f69b32caedd72f98ed1706bdbef5fa
| | * / / Fixing accessibility arrowSunny Goyal2019-06-272-5/+17
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Hiding arrow in background state and during quick switch > Preventing arrow overlapping with search box in overview state Bug: 135885458 Change-Id: Iadefba044717351d69480cde7d784cd04289d086
* | | | Snap for 5698743 from 5cd4333b5c62b249d3f0b52020864bb9598f92c9 to qt-releaseandroid-build-team Robot2019-06-2974-917/+1535
|\| | | | | | | | | | | | | | | Change-Id: I68733418d6f3b897113a1d41c85f044c970bb2ce
| * | | Merging ub-launcher3-qt-dev, build 5691374Winson Chung2019-06-2674-917/+1535
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: Manual Bug:115582915 P2 [Testing] Make all launcher tests gesture-stable Bug:121280703 P2 Finish implementation of PortraitLandscape annotation for tests Bug:124524897 P2 Enable some tests in OOP mode Bug:129158983 P1 Badge bubbles with app icon; use launcher lib for icon, dot, badge rendering Bug:131116002 P2 Convert tests to TAPL and enable them Bug:131356741 P1 use transferFocus to implement SWIPE DOWN on homescreen to open noti shade Bug:131360075 P1 [Gesture Nav] Polish/finish landscape Bug:132309376 P1 Launcher held ION buffers after clearing all apps in Recent Apps Bug:132455160 P1 [Gesture Nav] Home to Overview Transition Improvement Bug:132461400 P1 Fatal exceptions in Launcher3 Bug:132811175 P1 Jump cut if you quickly open an app after going home Bug:133450867 P1 App window draws outside of icon shape during app to home transition Bug:133765434 P1 [Flaky test] Launching task didn't open a new window Bug:133867119 P2 Lab-only flake: want to switch from workspace to all apps; Swipe failed to receive an event for the swipe end Bug:134609899 P1 Overscrolling on all apps leads to a wrong current task Bug:135011207 P0 Corner Invocation / Inconsistent - F/C Bug:135150619 P1 [Launcher] Trigger heapdump on RSS HWM measurements Bug:135150767 P4 [Launcher] Test reduced resolution snapshots Bug:135161289 P2 KB3 on qt-dev can't pick Launcher3GoIconRecents from vendor Makefile Bug:135222111 P1 Major issues with hotseat when predictions are disabled Bug:135287203 P1 Overview crashes on rotation Bug:135299165 P1 Configuration changes might result in Launcher ending up in a corrupt state Bug:135472635 P2 Bad overriden class: java.lang.ClassNotFoundException: com.android.quickstep.QuickstepProcessInitializer Bug:135473571 P0 Pixel launcher keeps stopping in SuW Bug:135571566 P4 Search bar is above icons. Even opening and closing launcher does not help Bug:135686388 P1 Quickswitch sometimes jump Bug:135687556 P1 Increase assistant gesture touch region on new devices Bug:135766310 P2 Concerns over config changes during state transitions #2 Bug:135769778 P1 "System navigation changed" notification is shown during P4 setup
| | * | Merge "Revert "Converting even more tests to TAPL"" into ub-launcher3-qt-devVadim Tryshev2019-06-279-63/+202
| | |\ \
| | | * | Revert "Converting even more tests to TAPL"Vadim Tryshev2019-06-279-63/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 406d49bdd724a9707a218f6b7ba3d40bdfb87028. Reason for revert: Breaks tests on Crosshatch Change-Id: I95ff541dfe8f6f1d7e1913d209b53abfbebe5336
| | * | | Reenabling tests in OOPvadimt2019-06-261-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 124524897 Change-Id: I8bdaa0d129c7366616359a3505f3d6b2d397e18f
| | * | | Merge "Enable FLAG_SLIPPERY window flag when swipe down on workspace" into ↵Winson Chung2019-06-262-300/+51
| | |\ \ \ | | | | |/ | | | |/| | | | | | ub-launcher3-qt-dev
| | | * | Enable FLAG_SLIPPERY window flag when swipe down on workspaceHyunyoung Song2019-06-262-300/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 131356741 Test: manual Change-Id: Ibe0e3a03e7406d5d882a1c63265d6e4e0253983e
| | * | | Merge "Finish recents animation when starting a new activity" into ↵Winson Chung2019-06-2610-30/+63
| | |\ \ \ | | | |_|/ | | |/| | | | | | | ub-launcher3-qt-dev
| | | * | Finish recents animation when starting a new activityWinson Chung2019-06-2610-30/+63
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| | * / Converting even more tests to TAPLvadimt2019-06-269-202/+63
| | |/ | | | | | | | | | | | | | | | Bug: 131116002 Bug: 115582915 Change-Id: I08587e7a50420e57970ed8feec4524111145dc31
| | * Merge "Converting more tests to TAPL" into ub-launcher3-qt-devVadim Tryshev2019-06-266-36/+73
| | |\