summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Initial app open/close polish using tuned values." into ↵Jonathan Miranda2019-05-102-37/+35
|\ | | | | | | ub-launcher3-qt-dev
| * Initial app open/close polish using tuned values.Jon Miranda2019-05-102-37/+35
| | | | | | | | | | | | | | | | * Rect and radius now match the app window size. Bug: 124510042 Bug: 122843905 Change-Id: Ibc85bfe1d75d01cefe00b6bf32557e04a0ee4716
* | Merge "Adding query length parameter to protobuf" into ub-launcher3-qt-devAlex Mang2019-05-101-0/+4
|\ \
| * | Adding query length parameter to protobufAlex Mang2019-05-091-0/+4
| | | | | | | | | | | | | | | Bug: 131940434 Change-Id: Iaa7ca520406df882e154db3662a190607eb61b23
* | | Disabling updating All Apps during a long-press recognitionvadimt2019-05-091-0/+14
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is supposed to eliminate test flakes in the lab. When an app gets updated while all apps is opened, all-apps will be re-laid-out. If the layout happens while we are recognizing a long-press on an app icon in all Apps, the long-press won't be recognized. In the lab, this happened so frequently that it caused considerable flakiness. Even after we started running tests in airplane mode, this still keeps happening. The bug refers an example with airplane mode on. The fix will be also mildly beneficial for users. Bug: 132177321 Change-Id: Ie7c7473fe94b8af83f04cd719286bae69e2d9de0
* | Merge "Not using magic constants for navbar height" into ub-launcher3-qt-devVadim Tryshev2019-05-097-15/+58
|\ \
| * | Not using magic constants for navbar heightvadimt2019-05-087-15/+58
| |/ | | | | | | Change-Id: I6783b8a2ebb059ce35748d8c3e818cbe732ff40d
* / Fix SDK check to use Utilities.ATLEAST_Q.Jon Miranda2019-05-081-1/+1
|/ | | | | Bug: 131315856 Change-Id: Ie1d00d85dd01da7e57f28e16f51a49962d734927
* Merge "Always place notification dots directly on adaptive icon path" into ↵Tony Wickham2019-05-063-9/+11
|\ | | | | | | ub-launcher3-qt-dev
| * Always place notification dots directly on adaptive icon pathTony Wickham2019-05-063-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Calculate point on icon path nearest to top right corner, and use that as center for the dot - Cleanup code related to dot offset Test: Set each style (different icon shape) and verify dot is in correct placement for each of: - Folders - Icons in folders - Icons in all apps - Icons on workspace Bug: 124414511 Change-Id: I036ed3677e8af222f00d4fad4a36a7e4d9b49ad9
* | Continue gestures on interaction after recents animation finishesWinson Chung2019-05-061-0/+4
|/ | | | | | | | | | | | | | - Detect when start of the next task is interrupted with another gesture (after finishing the recents animation but before the next task is launched), and ensure that the next gesture is continued with another other activity input consumer (but without actual remote animation targets) Bug: 128376812 Test: Introduce artificial delay in recents animation finish, try to quick switch quickly Change-Id: I057a0b2c4b7e8636467e37f5bbc8800b46c24345
* Merge "Updating floating animation target if layout changes during the ↵Sunny Goyal2019-05-042-23/+88
|\ | | | | | | animation" into ub-launcher3-qt-dev
| * Updating floating animation target if layout changes during the animationSunny Goyal2019-05-042-23/+88
| | | | | | | | | | Bug: 131360075 Change-Id: Id71e154aa59177955baa9daab00ecf11ee7d8c43
* | Merge "Calling onTransitionEnd when starting a user controller animation so ↵Sunny Goyal2019-05-041-0/+2
|\ \ | | | | | | | | | that any transient property is cleared" into ub-launcher3-qt-dev
| * | Calling onTransitionEnd when starting a user controller animation soSunny Goyal2019-05-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | that any transient property is cleared Bug: 80529128 Bug: 131360075 Change-Id: I613a0df4a06861be1c7195e1473c907489de1d1a
* | | Adding utility method to get adaptive icon scaleSunny Goyal2019-05-038-81/+69
| |/ |/| | | | | Change-Id: I5ff190c3b794bb13309375782ccd420e85b59091
* | Fixing FloatingIconView position and rotation in rotated layoutSunny Goyal2019-05-032-60/+50
|/ | | | | Bug: 131360075 Change-Id: I4e39f35df99a07e00f3e86865b330d91e9461da0
* Fixing jank in folder animation.vadimt2019-05-022-4/+35
| | | | | | | | This continues ag/6410337 Bug: 69236787 Test: Manual Change-Id: Iac9f7ab21bf3741846b9721d4c8235e8fc49f7fb
* Merge "Use original BubbleTextView icon for legacy stamped forced adaptive ↵Jonathan Miranda2019-05-021-8/+20
|\ | | | | | | icons." into ub-launcher3-qt-dev
| * Use original BubbleTextView icon for legacy stamped forced adaptive icons.Jon Miranda2019-05-021-8/+20
| | | | | | | | | | Bug: 129297366 Change-Id: Ic71c42e603cc361b716ba65067a772d19ef394f7
* | Merge changes I705b7a65,I98a2e71a into ub-launcher3-qt-devTony Wickham2019-05-021-3/+11
|\ \ | | | | | | | | | | | | | | | * changes: Allow touches on launcher while animating to home End window animation to home when handler invalidated
| * | End window animation to home when handler invalidatedTony Wickham2019-05-021-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We did this already for mCurrentShift, which is used for all animations except home animation. Now we do it for the home animation as well to ensure we are properly cleaned up for the next interaction. Test: Swipe up to home and double tap nav region before animation finishes. Before, this would return to the app you swiped up from but was in a broken state where subsequent swipes were ignored. Now we jump to the home screen and remain there. Bug: 130802487 Change-Id: I98a2e71a1791f5580451c94a35af98da193ff12f
* | | Initial changes to creating a fake landscape Launcher UISunny Goyal2019-05-0221-215/+604
| | | | | | | | | | | | | | | | | | | | | | | | Workspace and hotseat are drawn in rotated UI giving the impression that the device is in Portrait, even though it is in landscape Bug: 131360075 Change-Id: I29c4068af25fd4dcf7039b9a45886e864a137977
* | | Remove shortcuts/deepshortcuts as targets for swipe up to icon animation.Jon Miranda2019-05-021-8/+5
| |/ |/| | | | | | | | | | | We'll add it back when b/129067201 is fixed. Bug: 131809649 Change-Id: I6f009a84b86717f86394da6fb8540eb3f226419a
* | Merge "Clear should not show after Widget Configuration activity" into ↵Alex Mang2019-05-012-2/+2
|\ \ | | | | | | | | | ub-launcher3-qt-dev
| * | Clear should not show after Widget Configuration activityHyunyoung Song2019-05-012-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 119847865 TL;DR;; When configuration activity starts, simply make everything in drop target bar invisible. Change-Id: I37d067168368de4ee43b54e5dc95f958f5e94623
* | | Merge "Remove tracing for fixed bugs" into ub-launcher3-qt-devVadim Tryshev2019-05-0113-126/+1
|\ \ \
| * | | Remove tracing for fixed bugsvadimt2019-05-0113-126/+1
| |/ / | | | | | | | | | | | | | | | Bug: 129434166 Bug: 131170582 Change-Id: Ia9b356594001d96c69ffbb7f8b767b2f54ed5feb
* / / Move theme res logic to Themes static class.Hyunyoung Song2019-05-012-22/+26
|/ / | | | | | | | | | | Bug: 131310726 Change-Id: Ib46c26c2b44165a4441e109eed6d3ae7e19bcf02
* | Merge "Enabling quick-switch gesture in landscape mode (2 button UI)" into ↵TreeHugger Robot2019-04-301-3/+1
|\ \ | | | | | | | | | ub-launcher3-qt-dev
| * | Enabling quick-switch gesture in landscape mode (2 button UI)Sunny Goyal2019-04-291-3/+1
| |/ | | | | | | | | Bug: 130689544 Change-Id: I6b424be4d80b3bf8263f456a024a81c63100030e
* / Fix app open animation in landscape.Jon Miranda2019-04-301-3/+10
|/ | | | | Bug: 130828765 Change-Id: Ic447d05a8fe2097a6afd0bfec73039a62bbf5a4b
* Merge "Updating the touch proxy logic:" into ub-launcher3-qt-devTreeHugger Robot2019-04-293-68/+111
|\
| * Updating the touch proxy logic:Sunny Goyal2019-04-263-68/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In draglayer, we always dispatch touch events to child views. If the touch originated from gesture area, when we dont route it through touch controllers. The proxy events are only send to touch controller. If any controller consumes the event, then we cancel the view touch (pilferPointers) This allows the controllers to work outside the dragView area, and prevents normal view interaction when there is a window on top (like keyboard) while keeping our activity focused Bug: 131088901 Bug: 130618737 Change-Id: If033dde3a0f9cb6a6e449c9586c1fa050af5bdcb
* | Merge "Cleanup unnecessary override dump method" into ub-launcher3-qt-devTreeHugger Robot2019-04-254-15/+1
|\ \ | |/ |/|
| * Cleanup unnecessary override dump methodHyunyoung Song2019-04-254-15/+1
| | | | | | | | Change-Id: Ic2909a4d382362ddec9bcc2c738d13120e792fd8
* | Merge "Add important dump logging Bug: 130851537 Bug: 119992316" into ↵Hyunyoung Song2019-04-257-3/+36
|\| | | | | | | ub-launcher3-qt-dev
| * Add important dump loggingHyunyoung Song2019-04-257-3/+36
| | | | | | | | | | | | | | Bug: 130851537 Bug: 119992316 Change-Id: I3de7c1d910d1aecd80b47a85284565c79fe0e2cc
* | Log undo button clickTony Wickham2019-04-253-7/+19
| | | | | | | | | | | | | | | | | | | | Also fix a bug where we logged workspace swipe upon clicking undo, since rebinding the pages causes us to reset mCurrentPage = 0 followed by setCurrentPage(pageBoundFirst). Since the page isn't actually visibly changing, we shouldn't log in that case. Bug: 118758133 Change-Id: Ie87164a8c7c278680f67dee75657210bd33408a4
* | Merge "Use AccessibilityManager#getRecommendedTimeoutMillis for Snackbar" ↵TreeHugger Robot2019-04-252-2/+15
|\ \ | | | | | | | | | into ub-launcher3-qt-dev
| * | Use AccessibilityManager#getRecommendedTimeoutMillis for SnackbarTony Wickham2019-04-252-2/+15
| | | | | | | | | | | | | | | Bug: 129806241 Change-Id: I4aabc3ee33560960f3117d82f9873fce60f1278a
* | | Merge "Filling in content values on the worker thread" into ub-launcher3-qt-devSunny Goyal2019-04-252-30/+57
|\ \ \ | |/ / |/| |
| * | Filling in content values on the worker threadSunny Goyal2019-04-252-30/+57
| |/ | | | | | | | | | | | | | | | | | | Writing to disk hapens on the worker thread, so if we create content values on UI thread, some values can change before it is written to disk. This happens in case of shortcuts, where the badge is applied after the icon is queued, but before it is written Bug: 131303610 Change-Id: Ic35b17071d4ed3e5c5fee9f003a225e4ffdc74f3
* | Merge "Hide Clear all button during quick switch" into ub-launcher3-qt-devTreeHugger Robot2019-04-253-26/+56
|\ \
| * | Hide Clear all button during quick switchTony Wickham2019-04-243-26/+56
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add support for mMinScrollX to PagedView - Add RECENTS_CLEAR_ALL_BUTTON as a state-specified visible element - In BackgroundAppState, set Clear all invisible and bound RecentsView scroll to the last task Test: - Open an app, quick switch until reaching the end, ensure Clear all does not show up and an overscroll effect is performed - Enter overview, scroll to the end and ensure Clear all shows up - Same tests in RTL and 3rd party launcher Bug: 130160876 Change-Id: I5fb958744d0055b83ced1f8b0d7face0e06a0cc5
* / Fix NPE / add downX,Y location for all swipes/ add extra debugging infoHyunyoung Song2019-04-244-8/+26
|/ | | | | | | Bug: 122700646 Bug: 127840207 Change-Id: I5862c8950565df172a933114e1fb2f9c4575593e
* Rename launcher:iconSize attribute to prevent overriding materialRyan Mitchell2019-04-241-1/+1
| | | | | | | | | | | | | | | | | | | A previous change [1] introduced the material library as a static library for the SecondaryDisplayLauncher. The material library defines a resource "attr/iconSize" with format="dimension" while Launcher3 defines a resource of the same name with format="float". The material resource is being overriden by the Launcher3 resource and is preventing aapt2 from disallowing multiple definitions of the same attribute with different formats. This change renames the Launcher3 iconSize so it will not collide with the material resource. [1] If183dd35a1d197c4a9a8225a021e36c4f1662587 Bug: 129146717 Test: build success and inspection of generated apk Change-Id: I5eb54ea606ddcfb47d5150b44906a8707203e905
* Merge "Logging requestLayout()" into ub-launcher3-qt-devVadim Tryshev2019-04-241-0/+10
|\
| * Logging requestLayout()vadimt2019-04-231-0/+10
| | | | | | | | | | Bug: 129434166 Change-Id: Idd1a67523cb191775c4f871090489fce10ecc36e
* | Merge "Adding support for showing predicted apps as a floating row in ↵TreeHugger Robot2019-04-233-10/+7
|\ \ | | | | | | | | | all-apps and overview" into ub-launcher3-qt-dev