summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Trebuchet: Allow enabling icon labels for landscape modeLuK13372020-03-154-2/+19
| | | | Change-Id: I620ffd7727de367e52c2a70c05d5b6fcc04285bb
* Revert "config: enable LAUNCHER3_PROMISE_APPS_IN_ALL_APPS"Han Wang2020-03-151-1/+1
| | | | | | | | | For some reason, the promise icon doesn't get cleared after the app is installed in 10. This reverts commit 4286514ebfb64578864141eaaa4d8e4ff85fe9a7. Change-Id: I202448d09a2306cf3c902c3cd50909cd9b3bc219
* Merge tag 'android-10.0.0_r31' into HEADLuca Stefani2020-03-07347-3527/+6884
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 10.0.0 release 31 * tag 'android-10.0.0_r31': (218 commits) Increase drag distance threshold when drag starts from deep press Fix shortcut componentname in workspace layout logging Fix shortcut componentname in workspace layout logging perform accessbility focus when the recyclerview doesn't gain focus after fragment replacement in SettingsActivity Persist predicted items when dragged to workspace Import translations. DO NOT MERGE Import translations. DO NOT MERGE Align badging logic with platform IconDrawableFactory. Fix bug where icon remains invisible after returning home. Fix quick switch from home biased towards returning home Fix recents scale sometimes lagging behind window scale Fix folder open/close animation when grid size is small. fix custom shortcut test Improve quick switch from home by tracking both x and y motion Move shelf peeking anim code to ShelfPeekAnim class Fix folder available height calculation Tapl: AllApps: ensuring a minimal vertical size of an icon Enable a11y scrolling with item drag disable custom shortcut test in oop include predicted_rank in app launch logging ... Change-Id: Id824c350cd133c4c8fa91de0f8793faed9003393
| * Snap for 6123600 from b67609251412b48b3f861ca4ca42d67e8115a4e7 to ↵android-build-team Robot2020-01-101-8/+23
| |\ | | | | | | | | | | | | | | | qt-qpr2-release Change-Id: Idabef0158f66879c19fab51dddbdb3879498bdf7
| | * Merging from ub-launcher3-qt-future-dev @ build 6099678Tony Wickham2020-01-081-8/+23
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | Test: manual, presubmit on the source branch http://x20/teams/android-launcher/merge/ub-launcher3-qt-future-dev_6099678.html Change-Id: I205e6a8dc0042dd69d62c319c170b4bbed378c75
| | | * Increase drag distance threshold when drag starts from deep pressTony Wickham2019-12-241-8/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also don't update distance dragged until drag actually starts (otherwise we add a lot of motion before deep press triggers). Bug: 146146413 Change-Id: I28bd23707a9be53c709d7a4e779e84b9a0be9ce2 (cherry picked from commit a7704c09c70568208f8e08c2d98878e8dd9be1f5)
| | | * Fix shortcut componentname in workspace layout loggingHyunyoung Song2019-12-171-7/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 146172747 Test: $ adb shell dumpsys activity provider com.google.android.apps.nexuslauncher/com.android.launcher3.LauncherProvider --proto --debug SHORTCUT, package=com.android.vending, component=VIEW_MY_DOWNLOADS, grid(3,4), span(1,1), pageIdx=0 user=0 Change-Id: Ic8537d499d66675fbe190f137b50fb693d6c21d5
| * | | Snap for 6091872 from b0738b0739dac1dc8b55e3c83e36188ba66974e9 to ↵android-build-team Robot2019-12-221-7/+25
| |\| | | | | | | | | | | | | | | | | | | | | | qt-qpr2-release Change-Id: If0c370913fd3e576461421af4a1c1d756c2cd018
| | * | Fix shortcut componentname in workspace layout loggingHyunyoung Song2019-12-181-7/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 146172747 Test: $ adb shell dumpsys activity provider com.google.android.apps.nexuslauncher/com.android.launcher3.LauncherProvider --proto --debug SHORTCUT, package=com.android.vending, component=VIEW_MY_DOWNLOADS, grid(3,4), span(1,1), pageIdx=0 user=0 Change-Id: Ic8537d499d66675fbe190f137b50fb693d6c21d5 (cherry picked from commit b9ba427576d6597a3cbf15fcbba2b4ed14a6ca12)
| * | | Snap for 6079367 from af431d130c91a58ce94378944cf5fe6bad7e4681 to ↵android-build-team Robot2019-12-185-13/+27
| |\| | | | | | | | | | | | | | | | | | | | | | qt-qpr2-release Change-Id: I440e720b2aa17fc85a69d07284a357ac8f001414
| | * | Merging from ub-launcher3-qt-future-dev @ build 6073465Winson Chung2019-12-165-13/+27
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: manual, presubmit on the source branch http://x20/teams/android-launcher/merge/ub-launcher3-qt-future-dev_6073465.html Change-Id: Id227106ea68a7f1a5594c4f19319ba7a24c8067a Merged-In: Iefe48be1562428d98ebf08c5f68a01856dbefad2
| | | * perform accessbility focus when the recyclerview doesn't gain focusPinyao Ting2019-12-101-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | after fragment replacement in SettingsActivity Bug: 145475911 Test: Settings -> App & Notifications -> Default Apps -> Enable Talkback -> Gear Button next to Home app -> About -> Verify Talkback reads the first item in the page Change-Id: I100e646ad2aba0081b48b86ec408ce8e76a80713 Merged-In: I100e646ad2aba0081b48b86ec408ce8e76a80713 (cherry picked from commit 865dc9b3b17084c73cf07868b115cc7710b7dfc1)
| | | * Persist predicted items when dragged to workspaceSamuel Fufa2019-12-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 143787549 Test: Manual Change-Id: Ieff0ede4072a2a9a87a62b06ad846eedfe97583f
| | | * Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-future-devTreeHugger Robot2019-12-043-4/+4
| | | |\
| | | | * Import translations. DO NOT MERGEBill Yi2019-12-043-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If3f89987d7cbcad1ab77400785235af4e17debcf Auto-generated-cl: translation import
| | | * | [automerger skipped] Import translations. DO NOT MERGE am: 275e841c7b -s oursAutomerger Merge Worker2019-12-040-0/+0
| | | |\ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | am skip reason: subject contains skip directive Change-Id: Ibe51fe1ef511ffcd2bc13503bf396f49da213220
| | | | * Import translations. DO NOT MERGEBill Yi2019-12-043-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia7ef20643a0f85e3805cdcbc4a43aae07c433bd2 Auto-generated-cl: translation import
| * | | | Snap for 6057378 from 60fce03ac48b5548151b499562a341fab954e796 to ↵android-build-team Robot2019-12-0823-178/+819
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | qt-qpr2-release Change-Id: Ie7b660e876ccbceccff6191252dc7fdc591627b8
| | * | | Merging from ub-launcher3-qt-future-dev @ build 6048032Hyunyoung Song2019-12-0623-178/+819
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: manual, presubmit on the source branch http://x20/teams/android-launcher/merge/ub-launcher3-qt-future-dev_6048032.html Change-Id: I74059dbc75a8530884f8b4f67917b83c75f32d14 Merged-In: Ieee38cc301364f96cf252b2387142b0aa1b75317
| | | * | Merge "Align badging logic with platform IconDrawableFactory." into ↵TreeHugger Robot2019-11-231-10/+7
| | | |\ \ | | | | | | | | | | | | | | | | | | ub-launcher3-qt-future-dev
| | | | * | Align badging logic with platform IconDrawableFactory.Hai Zhang2019-11-221-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current logic in BaseIconFactory is only trying to add the user badge if the user passed in isn't null and isn't the current user, then if no such attempt is made, try to add an instant app badge. This is causing user badge to disappear if the current user is a work profile. Meanwhile, the badging logic in IconDrawableFactory is to try to add the instant app badge first, and then always try to add the user badge. Bug: 132625654 Test: manually test as in b/128625591 Change-Id: Ia5b456f1f27095d546504266a1a90034105c9ae9 Merged-In: I2241bdb524ca6bc66e545a0ec8433119e0448358 (cherry picked from commit bdb0236125922a3a9b20fbaa8ecd1d2477b48ed5)
| | | * | | Merge "Fix quick switch from home biased towards returning home" into ↵TreeHugger Robot2019-11-221-3/+14
| | | |\ \ \ | | | | |/ / | | | |/| | | | | | | | ub-launcher3-qt-future-dev
| | | | * | Fix quick switch from home biased towards returning homeTony Wickham2019-11-201-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When flinging up and to the right, we previously always returned home. Now, if the right velocity is stronger, we quick switch. Bug: 126596417 Change-Id: I14fa0584399bb90f2e07e0b296fc5932d8224fbf
| | | * | | Fix bug where icon remains invisible after returning home.Jon Miranda2019-11-214-53/+21
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The bug is caused by cancelling of the RectFSpringAnim before the StaggeredWorkspaceAnim has started. - Instead of having logic in StaggeredWorkspaceAnim control the visibility of the icon, we instead maintain all the visibility within the FloatingIconView class itself. Bug: 142120338 Change-Id: I94f3a066d395f9c3b97dc6ee9fc836e9401650a5 Merged-In: I082291ca9b288f57701cc00d61a9b3a84da8b084
| | | * | Merge "Fix recents scale sometimes lagging behind window scale" into ↵TreeHugger Robot2019-11-203-8/+7
| | | |\ \ | | | | | | | | | | | | | | | | | | ub-launcher3-qt-future-dev
| | | | * | Fix recents scale sometimes lagging behind window scaleTony Wickham2019-11-203-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were previously offsetting the launcher animation progress based on when we got onGestureStart, which meant it would lag behind if onGestureStart came late. Now that we track the window instead of the launcher shelf, and we don't show the launcher animation right away in fully gestural mode anyway, we should remove this to ensure the launcher part of the animation always lines up with the app window. We also reapply state whenever predictions are enabled, e.g. when launcher starts after being force stopped, and previously this was canceling the existing state animation. We don't want to do that because predictions can be enabled at any point on a cold start, and cancelling the existing state animation means that RecentsView shows up in fullscreen and not attached to the app window for the duration of the gesture. Bug: 144454486 Change-Id: I65a2c71c9acd2f5345941ea2cff7d32c04b7be3f Merged-In: I65a2c71c9acd2f5345941ea2cff7d32c04b7be3f
| | | * | | Merge "Improve quick switch from home by tracking both x and y motion" into ↵Tony Wickham2019-11-2015-57/+559
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | ub-launcher3-qt-future-dev
| | | | * | | Improve quick switch from home by tracking both x and y motionTony Wickham2019-11-1415-57/+559
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add NoButtonQuickSwitchTouchController which uses BothAxesSwipeDetector to track horizontal and vertical motion. - Initially, we only detect swipe left to right to quick switch (like before), but then we allow swipe up to either go to overview (if you hold) or back home (if you don't hold). - xDisplacement transitions non-overview components out (e.g. shelf and workspace), and translates overview in. - yDisplacement translates overview up and scales it down Bug: 126596417 Change-Id: Id679ad84c08246e205c667a78ed5df00d7276258 Merged-In: Id679ad84c08246e205c667a78ed5df00d7276258
| | | * | | | Merge "Move shelf peeking anim code to ShelfPeekAnim class" into ↵TreeHugger Robot2019-11-206-46/+158
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-qt-future-dev
| | | | * | | Move shelf peeking anim code to ShelfPeekAnim classTony Wickham2019-11-146-46/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 126596417 Change-Id: I5ba501b04b3eaf12a20ba1312ef362f9734761c3 Merged-In: I5ba501b04b3eaf12a20ba1312ef362f9734761c3
| | | * | | | Fix folder open/close animation when grid size is small.Jon Miranda2019-11-192-19/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issue was that the scaled folder size was smaller than the clip size. To ensure that the folder size is always larger than the clip size, we instead scale the contents of the folder instead of the folder itself. Bug: 143703075 Change-Id: I6eadcc487148fe7e2b7dd9f0ff94a9205048b992
| * | | | | | Snap for 6021960 from 793f5c518656f94732be695eac4d5b01fa50ae01 to ↵android-build-team Robot2019-11-21334-3325/+5997
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qt-qpr2-release Change-Id: Iffd470dfbee1606aeaecfd7bca0b7c27088d76fa
| | * | | | | Merging from ub-launcher3-qt-future-dev @ build 6018744Hyunyoung Song2019-11-20334-3325/+5997
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: manual, presubmit on the source branch http://x20/teams/android-launcher/merge/ub-launcher3-qt-future-dev_6018744.htmlMerge commit '9353b00616ac688d2df6b9f8513c4895bb4119d7' into merge_ub-launcher3-qt-future-dev_6018744 Change-Id: Ie6235a262b7bba0aa9f2a2962a7aa499a0a2cb53 Merged-In: I8a1e20d0b175f03a1a05c81749f07ab5314e872a
| | | * | | | Merge "Fix folder available height calculation" into ub-launcher3-qt-future-devSamuel Fufa2019-11-182-8/+9
| | | |\ \ \ \
| | | | * | | | Fix folder available height calculationSamuel Fufa2019-11-142-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 139456471 Test: Manual Change-Id: Ic86c481e76f8b6629ad74109ef98900f1c00e16c
| | | * | | | | Merge "fix custom shortcut test" into ub-launcher3-qt-future-devPinyao Ting2019-11-152-17/+18
| | | |\ \ \ \ \
| | | | * | | | | fix custom shortcut testPinyao Ting2019-11-152-17/+18
| | | | | |/ / / | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 143725213 Change-Id: I296452faea67568b39a35968bb813dc4e51a51fc Merged-In: I296452faea67568b39a35968bb813dc4e51a51fc
| | | * | | | | Merge "Fixes missing LauncherEvent for TAP action on FOLDER_ICON" into ↵Thiru Ramasamy2019-11-143-30/+56
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-qt-future-dev
| | | | * | | | | Fixes missing LauncherEvent for TAP action on FOLDER_ICONThiru Ramasamy2019-11-123-30/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 143969621 Change-Id: I8d08d1c55f90c6aeacd63ced8235de851ec2cad9
| | | * | | | | | Merge "Enable a11y scrolling with item drag" into ub-launcher3-qt-future-devSamuel Fufa2019-11-141-2/+6
| | | |\ \ \ \ \ \
| | | | * | | | | | Enable a11y scrolling with item dragSamuel Fufa2019-11-131-2/+6
| | | | | |_|/ / / | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug:142300278 Test:Manual Change-Id: Ieb79dac8a793f5adfe715b1cbe5b7ecae95a26b5
| | | * | | | | | Merge "Make home setting edge-to-edge" into ub-launcher3-qt-future-devSamuel Fufa2019-11-142-1/+5
| | | |\ \ \ \ \ \ | | | | |_|_|/ / / | | | |/| | | | |
| | | | * | | | | Make home setting edge-to-edgeSamuel Fufa2019-11-122-1/+5
| | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug:139437515 Test:Manual Change-Id: Iadd7fadbd48f80a77880bfc3118be6c3ed7e3040
| | | * | | | | Merge "Tapl: AllApps: ensuring a minimal vertical size of an icon" into ↵TreeHugger Robot2019-11-133-0/+17
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-qt-future-dev
| | | | * | | | | Tapl: AllApps: ensuring a minimal vertical size of an iconvadimt2019-11-133-0/+17
| | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clicking an icon within its padding area is ignored by Launcher. Hence, ensuring that the icon on AllApps is higher that 2 paddings. Bug: 141770616 Change-Id: I19e3ba7cfa25de75a47202845d0838bea46af92c Merged-In: I19e3ba7cfa25de75a47202845d0838bea46af92c
| | | * | | | | disable custom shortcut test in oopPinyao Ting2019-11-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 142154748 Change-Id: I08ec8f665a3cc45610f8f2b27a60f7334a2b1b24
| | | * | | | | include predicted_rank in app launch loggingPinyao Ting2019-11-138-8/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: 1. . build/envsetup.sh && tapas NexusLauncher 2. ccdebug && cclogcat 3. launch from workspace any app that is also in predicted apps 4. verify in terminal it has correct predicted_rank Bug: 143855018 Change-Id: I07a62f07057537a6c09384cf944bbc5aa5888d22 Merged-In: I07a62f07057537a6c09384cf944bbc5aa5888d22
| | | * | | | | Preventing dead lock in layout inflationSunny Goyal2019-11-121-7/+11
| | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 143353100 Change-Id: I52d0794aad26c1d1de8cb373f3398f626c15b4af (cherry picked from commit d1a67d0d7238cecf2c55ff095e2ec2b1621ac9a1)
| | | * | | | Merge "Address SessionCommitReceiver vulnerability by validating intent." ↵TreeHugger Robot2019-11-081-1/+6
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into ub-launcher3-qt-future-dev
| | | | * | | | Address SessionCommitReceiver vulnerability by validating intent.Jon Miranda2019-11-081-1/+6
| | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 144081762 Change-Id: I28699d26abefc716e57c281c15699f15003229b2