summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Sorting people by key crashes launcherSamuel Fufa2019-08-141-8/+8
| | | | | | | Approch: approach: filter out people with null getKey before sorting. Bug:139436782 Change-Id: I6510a12374ff4fec02c879ff76ba42b1fcdb8281
* Merge "Refactoring some folder binding logic:" into ub-launcher3-masterTreeHugger Robot2019-08-1413-344/+356
|\
| * Refactoring some folder binding logic:Sunny Goyal2019-08-1413-344/+356
| | | | | | | | | | | | | | | | > Moving grid calcutation in a separate class > Moving content saving logic to folder instead of relying on item bind Bug: 139051851 Change-Id: I81b226dbebe13652482a767c992e8cc8f4f35a60
* | Add directional accessibility page actions to PagedViewyingleiw2019-08-141-5/+26
|\ \ | | | | | | | | | | | | | | | am: 02cc848896 Change-Id: Ide8077d5996de0faaec6d1ef0afee0e0e639d889
| * | Add directional accessibility page actions to PagedViewyingleiw2019-08-141-5/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For PagedView, when isPageOrderFlipped is true, it means the LTR mode is flipped. For the "recents" in launcher, isPageOrderFlipped is true. However, this doesn't affect the directional page operations since scrollLeft()/Right() already has correct Rtl considerations. See b/78788182 for more information on the LTR mode. Test: Tested with the "recents" in launcher. Verified that page left action always move pages to the right (so that the next page from the left side shows), and page right actions always move pages to the left (so that the next page from the right side shows). Also tested with the home screen 1/2, 2/2 paging. Bug: 136277517 Change-Id: I965d651c37d258eaa8ea347d1ad6f698f9b590bf
* | | Merge "Log the event for swiping up to dismiss a task in Overview." into ↵Becky Qiu2019-08-141-0/+1
|\| | | |/ |/| | | | | | | | | | | ub-launcher3-qt-qpr1-dev am: 22edac9bf5 Change-Id: Iae05c668fecf84c79086cfb6821e9644ac08bb71
| * Merge "Log the event for swiping up to dismiss a task in Overview." into ↵Becky Qiu2019-08-141-0/+1
| |\ | | | | | | | | | ub-launcher3-qt-qpr1-dev
| | * Log the event for swiping up to dismiss a task in Overview.Becky Qiu2019-08-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: manual Bug: 137777105 Demo logging for dismissing a task: data { elapsed_timestamp_nanos: 70772067228810 atom { launcher_event { action: DISMISS_TASK src_state: OVERVIEW dst_state: BACKGROUND is_swipe_up_enabled: true } } } Change-Id: I5569b80e2e1f35661bc5e9e343c6c298791a1ec1
* | | Add a "Dismiss" option for predicted apps in LauncherSamuel Fufa2019-08-139-6/+70
| | | | | | | | | | | | | | | | | | Test: LongPress on a pridicted app to see dismiss options. Bug:139020180 Change-Id: I877863c65def0d845c0ae2f0987fe7a4f6277565
* | | Merge "Moving section names to model, to avoid an unnecessary hashmap" into ↵TreeHugger Robot2019-08-134-109/+35
|\ \ \ | | | | | | | | | | | | ub-launcher3-master
| * | | Moving section names to model, to avoid an unnecessary hashmapSunny Goyal2019-08-064-109/+35
| | | | | | | | | | | | | | | | Change-Id: I9620367e0c2203b2290a4a188411ccb9174ae130
* | | | Merge "Adding app search improvement flag" into ub-launcher3-masterAlex Mang2019-08-121-0/+4
|\ \ \ \
| * | | | Adding app search improvement flagAlex Mang2019-08-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 125027540 Change-Id: I68fd7710b108e9f2fa1f5ff335326585a92deb23
* | | | | Support for memory testsvadimt2019-08-092-0/+8
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | am: c1a2764a6e Change-Id: Ife853a32fa9e52f8993d25167af61dabc7fd64b8
| * | | | Support for memory testsvadimt2019-08-082-0/+8
| | |_|/ | |/| | | | | | | | | | Change-Id: I867a232a293f7bddbc630f563f18c0db94ac4b6e
| * | | show dot in deep shortcuts when notification contains exactly identicalPinyao Ting2019-08-059-13/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set of person Bug: 132336512 Change-Id: I975524e28168c10a186cdc24b188c161faf433cf Merged-In: I975524e28168c10a186cdc24b188c161faf433cf
* | | | Remove activityInfo from cache on package uninstallVinit Nayak2019-08-081-11/+13
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were keeping stale activityInfo objects from package manager after an application got uninstalled. We also were not removing task icons from the cache after they were removed, which meant killing an app and then re-opening would put 2 entries in the cache since the two had unique process IDs. fixes: 137731960 Test: Download app from play store, open it, go to overview and observe that correct icon showing. Uninstall it, download same app again, open it, and in overview confirm that correct app icon is still showing Change-Id: Icf482b0ad0ae66c10d52547582d8eeb2a544fb88
* | | Adding support for storing keywords in iconCacheSunny Goyal2019-08-079-37/+56
| | | | | | | | | | | | Change-Id: I1183e63a6556ebfb3eee5df23d149e09728193a9
* | | show dot in deep shortcuts when notification contains exactly identicalPinyao Ting2019-08-059-13/+131
| | | | | | | | | | | | | | | | | | | | | set of person Bug: 132336512 Change-Id: I975524e28168c10a186cdc24b188c161faf433cf
* | | Merge "Fix DEFER_UPDATES_NEXT_DRAW flag is not unset when binging happens ↵Sunny Goyal2019-08-052-3/+9
|\| | | | | | | | | | | | | | | | | | | | | | | twice" into ub-launcher3-qt-r1-dev am: 0a9e91b6e4 am: 2c848d029c Change-Id: I827430185fbab9433f74f402f382cb004ab744c3
| * | Merge "Fix DEFER_UPDATES_NEXT_DRAW flag is not unset when binging happens ↵Sunny Goyal2019-08-052-3/+9
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | twice" into ub-launcher3-qt-r1-dev am: 0a9e91b6e4 Change-Id: Iad5027f7925981de0720ca960e5a8ffdd2a1463c
| | * \ Merge "Fix DEFER_UPDATES_NEXT_DRAW flag is not unset when binging happens ↵TreeHugger Robot2019-08-062-3/+9
| | |\ \ | | | | | | | | | | | | | | | twice" into ub-launcher3-qt-r1-dev
| | | * | Fix DEFER_UPDATES_NEXT_DRAW flag is not unset when binging happens twiceSunny Goyal2019-08-052-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 138646754 Change-Id: I76eccdb812013299e18f197ba17ff858a01a6338
* | | | | Merge "Adding debug tracing to catch non-dragging to workspace" into ↵Vadim Tryshev2019-08-054-0/+19
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-qt-qpr1-dev am: f4a1814c3f Change-Id: I2bb035bf176cb0fb3e16456f52153de065855740
| * | | | Merge "Adding debug tracing to catch non-dragging to workspace" into ↵Vadim Tryshev2019-08-054-0/+19
| |\ \ \ \ | | | | | | | | | | | | | | | | | | ub-launcher3-qt-qpr1-dev
| | * | | | Adding debug tracing to catch non-dragging to workspacevadimt2019-08-054-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 138729456 Change-Id: I28f1eaeb17a75cbc6f52b259d0226deaff42e0bb
* | | | | | Fix launcher crash when trying to open work profile promise icon. am: 0121d466ecJon Miranda2019-08-054-5/+51
|\| | | | | | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | am: ccf108c5f3 Change-Id: I95441f44090f04f391ad436f9177f8cceb496d15
| * | | | Fix launcher crash when trying to open work profile promise icon.Jon Miranda2019-08-054-5/+51
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | am: 0121d466ec Change-Id: I40272f5061cea59b846d6633cd60217a263eb454
| | * | | Fix launcher crash when trying to open work profile promise icon.Jon Miranda2019-08-054-5/+51
| | | |/ | | |/| | | | | | | | | | | | | Bug: 138609751 Change-Id: Ifb1c4628ce6307a19a2bb696e4771d5cd5810a90
* | | | Merge "Bandage fix for bitmap fatal exception where width / height !> 0." ↵Jon Miranda2019-08-011-3/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into ub-launcher3-qt-r1-dev am: cf92f3edb0 am: b1d8ad6be5 Change-Id: Ifb3662ee293ff5eace912be50e622171a0bcaaa6
| * | | Merge "Bandage fix for bitmap fatal exception where width / height !> 0." ↵Jon Miranda2019-08-011-3/+9
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into ub-launcher3-qt-r1-dev am: cf92f3edb0 Change-Id: Iea9db807ebc65bcb612294a4283346e714b25f63
| | * | Merge "Bandage fix for bitmap fatal exception where width / height !> 0." ↵TreeHugger Robot2019-08-011-3/+9
| | |\ \ | | | | | | | | | | | | | | | into ub-launcher3-qt-r1-dev
| | | * | Bandage fix for bitmap fatal exception where width / height !> 0.Jon Miranda2019-08-011-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 135558924 Change-Id: I0a22ba849b50eee87abd52ab9ec3211294a6c40b
* | | | | Log the right workspace id for -1 screen for stop and resume.Becky Qiu2019-08-013-5/+25
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: bfc2da1fd8 Change-Id: Iafe8c7cc05d0fb76a3e8768bb8513b4696861c78
| * | | | Log the right workspace id for -1 screen for stop and resume.Becky Qiu2019-08-013-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: manual Bug: 137952354 Logs after this fix: 08-01 12:01:36.220 17105 17105 D UserEvent: action:STOP 08-01 12:01:36.220 17105 17105 D UserEvent: Source child:WORKSPACE id=-1 08-01 12:01:36.220 17105 17105 D UserEvent: Elapsed container 5511 ms, session 5511 ms, action 0 ms 08-01 12:01:36.220 17105 17105 D UserEvent: 08-01 12:01:38.042 17105 17105 D UserEvent: 08-01 12:01:38.042 17105 17105 D UserEvent: ----------------------------------------------------- 08-01 12:01:38.042 17105 17105 D UserEvent: action:RESUME 08-01 12:01:38.042 17105 17105 D UserEvent: Source child:WORKSPACE id=-1 08-01 12:01:38.042 17105 17105 D UserEvent: Elapsed container 7334 ms, session 7334 ms, action 0 ms 08-01 12:01:38.042 17105 17105 D UserEvent: Change-Id: Ic2d88eee3ff7a0e28d5c7e4cab8ee61952ed95ee
* | | | | Fill the log container as hotseat or workspace based on position.Becky Qiu2019-08-011-8/+18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 84fa94e2fc Change-Id: If9a5d88062addbd09909e04ef5c2c59e7e5488a7
| * | | | Fill the log container as hotseat or workspace based on position.Becky Qiu2019-08-011-8/+18
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: manual Bug: 137953006 Swipe from workspace: 07-30 15:15:44.031 9779 9779 D UserEvent: action:FLING direction=UP direction=UP 07-30 15:15:44.031 9779 9779 D UserEvent: Source child:WORKSPACE id=0 span(951,1313) parent:WORKSPACE id=0 07-30 15:15:44.031 9779 9779 D UserEvent: Destination child:ALLAPPS 07-30 15:15:44.031 9779 9779 D UserEvent: Elapsed container 826 ms, session 9361 ms, action 0 ms Swipe from hotseat: 07-30 15:15:46.010 9779 9779 D UserEvent: action:FLING direction=UP direction=UP 07-30 15:15:46.010 9779 9779 D UserEvent: Source child:HOTSEAT id=0 span(786,1908) parent:WORKSPACE id=0 07-30 15:15:46.010 9779 9779 D UserEvent: Destination child:ALLAPPS 07-30 15:15:46.010 9779 9779 D UserEvent: Elapsed container 1139 ms, session 11339 ms, action 0 ms Change-Id: I959528889fda778efc569bb59e7f44d3bd5b81bc
| * | | Merge "Ensure each dot contains only relevant notification to the shortcut ↵Pinyao Ting2019-08-011-6/+29
| |\ \ \ | | | | | | | | | | | | | | | and displays system shortcut when long click on deep shortcut." into ub-launcher3-qt-qpr1-dev
| | * | | Ensure each dot contains only relevant notification to the shortcutPinyao Ting2019-07-311-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and displays system shortcut when long click on deep shortcut. In this CR we 1) for each shortcut, we filters the notifications to ensure we only get notifications with identical shortcutId. 2) allow system shortcut to be displayed when user long click on a DeepShortcut Bug: 132336512 Change-Id: Idc9eaed55e900ed4027a43ee9c3fd7dc6f4480b2 Merged-In: Idc9eaed55e900ed4027a43ee9c3fd7dc6f4480b2
* | | | | Ensure each dot contains only relevant notification to the shortcutPinyao Ting2019-08-011-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and displays system shortcut when long click on deep shortcut. In this CR we 1) for each shortcut, we filters the notifications to ensure we only get notifications with identical shortcutId. 2) allow system shortcut to be displayed when user long click on a DeepShortcut Bug: 132336512 Change-Id: Idc9eaed55e900ed4027a43ee9c3fd7dc6f4480b2
* | | | | Merge changes Ib3e373c2,Ia5d6f545 into ub-launcher3-qt-r1-dev am: 1343f03e2eTony Wickham2019-07-3111-82/+239
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 70f539cd45 Change-Id: Ifddcba1cd63950424f88ad1d8e01fa9a11f73a2e
| * | | | Merge changes Ib3e373c2,Ia5d6f545 into ub-launcher3-qt-r1-devTony Wickham2019-07-3111-82/+239
| |\ \ \ \ | | |/ / / | |/| / / | | |/ / | | | | | | | | am: 1343f03e2e Change-Id: Ie3f4c2c15e331c84f0f048c6337ae4e58111ec56
| | * | Merge changes Ib3e373c2,Ia5d6f545 into ub-launcher3-qt-r1-devTony Wickham2019-07-3111-82/+239
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Tie prediction text to all apps interpolator Add OverviewScrim to show below overview but above workspace
| | | * | Tie prediction text to all apps interpolatorTony Wickham2019-07-315-19/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now floating headers get 2 interpolators: one for the header content itselt, and one for the all apps content that follows. That way, they can choose to intperolate part of their content as if it were part of all apps instead of the header. Currently, we do this to animate predicted icons quickly, followed by the all apps icons, predictions text, all apps scrollbar, and all apps divider as you continue swiping. Bug: 132455160 Change-Id: Ib3e373c291e174e1306a53854d0ad4dc29eb4b76
| | | * | Add OverviewScrim to show below overview but above workspaceTony Wickham2019-07-317-63/+217
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Refactor some basic scrim logic to Scrim class and have WorkspaceAndHotseatScrim and OverviewScrim extend it - Draw OverviewScrim under recents unless predictions are disabled, in which case draw it under hotseat (since that is in recents) - Remove sysui scrim (behind status bar and nav bar) when overview is peeking Bug: 132455160 Change-Id: Ia5d6f54582a4c5a70e3b2d4a98281567edd68519
* | | | Merge "Fixing multi-window DnD getting cancelled when starting a new ↵Sunny Goyal2019-07-311-10/+12
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | activity in the middle" into ub-launcher3-qt-r1-dev am: 5e1658a188 am: 20f56a7c9a Change-Id: I2662e90580def56c10b7577bfb35a27dafdfbda1
| * | | Merge "Fixing multi-window DnD getting cancelled when starting a new ↵Sunny Goyal2019-07-311-10/+12
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | activity in the middle" into ub-launcher3-qt-r1-dev am: 5e1658a188 Change-Id: I849c337f45395692dc547ee2e9c82f61ff1b4efa
| | * | Merge "Fixing multi-window DnD getting cancelled when starting a new ↵TreeHugger Robot2019-07-311-10/+12
| | |\ \ | | | | | | | | | | | | | | | activity in the middle" into ub-launcher3-qt-r1-dev
| | | * | Fixing multi-window DnD getting cancelled when starting a new activity in ↵Sunny Goyal2019-07-291-10/+12
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | the middle Bug: 133472746 Change-Id: I868f2bc5f1db4a7fa22df212122317bfef27a282
| * | | Merge "show dot on shortcut when incoming notification contains exactly the ↵Pinyao Ting2019-07-301-4/+7
| |\ \ \ | | | | | | | | | | | | | | | same shortcut id" into ub-launcher3-qt-qpr1-dev