summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Ignore clicks on shortcuts' drag handles.Tony Wickham2016-08-152-1/+38
| | | | | | | | | | | | When touching down within the drag handle's bounds, we remove the onClickListener temporarily (restored when touching down outside of the drag handle's bounds). Long clicks still start the drag. Also increased drag threshold from 12dp to 16dp. Bug: 30816665 Change-Id: I0b33dc34bf95c0532376f2f7cf50865fa50093de
* Merge "Use shortcut disabled message if available." into ub-launcher3-calgaryTony Wickham2016-08-053-0/+17
|\
| * Use shortcut disabled message if available.Tony Wickham2016-08-053-0/+17
| | | | | | | | | | Bug: 30681210 Change-Id: Ibb5fd58e5fc9557b63730bc1e3c3977133769466
* | Reduce distance to start deferred drag from shortcuts to 12dp.Tony Wickham2016-08-041-3/+2
|/ | | | Change-Id: Ida298760bb66b5894dab94ff4ccaa788c8604661
* Merge "Reset mActiveController to null in ↵Tony Wickham2016-08-041-0/+2
|\ | | | | | | DragLayer.onInterceptTouchEvent()." into ub-launcher3-calgary
| * Reset mActiveController to null in DragLayer.onInterceptTouchEvent().Tony Wickham2016-08-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | Otherwise the previous active controller will continue to handle touch events even if it doesn't re-intercept future touches. For instance, All Apps was handling the swipe gesture after DragLayer intercepted to close a shortcuts container, which led to the weird behavior described in the bug. Bug: 30590854 Change-Id: I247b39b03d336a04659f6ce644380bf3cef8de3f
* | Adding support for updating the pinned shortcuts without updatingSunny Goyal2016-08-041-8/+17
| | | | | | | | | | | | | | the ID map Bug: 30654182 Change-Id: I30082bd87466a29b7bafe1e8cbf1446e1d1e4f3e
* | Merge "Prevent refreshing app search results with empty query." into ↵Winson Chung2016-08-041-2/+2
|\ \ | | | | | | | | | ub-launcher3-calgary
| * | Prevent refreshing app search results with empty query.Winson2016-08-031-2/+2
| |/ | | | | | | | | | | | | | | | | - Any change to the TextView text will cause mQuery to be set, which will cause a new search next time refreshSearchResult is called. We should also be checking there if it is a valid search query before starting a new search. Bug: 30606307 Change-Id: I08640c56199211f2aeea2386fcf699810853ab58
* | Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgaryTreeHugger Robot2016-08-0480-4/+162
|\ \ | |/ |/|
| * Import translations. DO NOT MERGEBill Yi2016-08-0380-4/+162
| | | | | | | | | | Change-Id: Id9dfc22db1bca7d0e0278bad6854582bf6dbb9b6 Auto-generated-cl: translation import
* | Merge "Change interpolation logic to all apps transitioning on fling ↵Hyunyoung Song2016-08-032-49/+87
|\ \ | |/ |/| | | b/30486958" into ub-launcher3-calgary
| * Change interpolation logic to all apps transitioning on flingHyunyoung Song2016-08-032-49/+87
| | | | | | | | | | | | | | | | b/30486958 Cleaning up/refactoring this CL will be done in polish branch. Change-Id: Ib51633a1e1cb79f58b505f835053ef238ae1bdec
* | Merge "Disabling accessibility focus on all children when shortcuts is open" ↵Sunny Goyal2016-08-031-11/+21
|\ \ | | | | | | | | | into ub-launcher3-calgary
| * | Disabling accessibility focus on all children when shortcuts is openSunny Goyal2016-08-031-11/+21
| | | | | | | | | | | | | | | Bug: 30611791 Change-Id: Ibb1dec13b62add3799c215fea98e87e3fa89638d
* | | Merge "Start shortcuts close animation where open left off." into ↵Tony Wickham2016-08-033-25/+89
|\ \ \ | | | | | | | | | | | | ub-launcher3-calgary
| * | | Start shortcuts close animation where open left off.Tony Wickham2016-08-023-26/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Before we always started the close animation at 0 instead of the previous open progress, which looked janky. - Shortened the animations' durations and start delays to account for the fact that the open animation was only partially finished when the close animation started. Bug: 30465231 Change-Id: I958ee5f4543dbf1185f3d0229c55fc1b51929655
* | | | Merge "Align shortcut text with view start." into ub-launcher3-calgaryTony Wickham2016-08-031-0/+1
|\ \ \ \
| * | | | Align shortcut text with view start.Tony Wickham2016-08-031-0/+1
| | |/ / | |/| | | | | | | | | | | | | | Bug: 30401505 Change-Id: Iffaa0a01f2c2983a085d8c9d4be36fc063ae2004
* | | | Merge "Fix disco bounce crash b/30413641" into ub-launcher3-calgaryHyunyoung Song2016-08-031-0/+3
|\ \ \ \ | |/ / / |/| | |
| * | | Fix disco bounce crashHyunyoung Song2016-08-031-0/+3
| | |/ | |/| | | | | | | | | | | | | b/30413641 Change-Id: Icb2f3f11024daa78c3f59cab8c773091b9481feb
* | | Simpler caretPeter Schiller2016-08-023-67/+129
| | | | | | | | | | | | | | | Bug: 30527159 Change-Id: I674de149e613c7adb567a13a288baa9877d36112
* | | Updating content description for the shortcuts menu and announcingSunny Goyal2016-08-022-0/+8
| | | | | | | | | | | | | | | | | | | | | it when the container is opened Bug: 30587453 Change-Id: I6f2d3ba05593f3e2a1a8f05c66a0f80e76932c38
* | | Merge "Update shortcuts font to match spec." into ub-launcher3-calgaryTony Wickham2016-08-021-1/+3
|\ \ \ | |/ / |/| |
| * | Update shortcuts font to match spec.Tony Wickham2016-08-021-1/+3
| | | | | | | | | | | | | | | Bug: 30594316 Change-Id: I9de1068a502e9f441f2609d114595b7513f20cad
* | | Merge "Add container velocity for all apps to be used by the caret" into ↵Hyunyoung Song2016-08-022-25/+30
|\ \ \ | | | | | | | | | | | | ub-launcher3-calgary
| * | | Add container velocity for all apps to be used by the caretHyunyoung Song2016-08-022-25/+30
| | |/ | |/| | | | | | | Change-Id: I03479d53eb7203ab4a0515e2bf68b917dfb81f23
* | | Merge "Adding workaround to jump in wallpaper offsets." into ↵Winson Chung2016-08-021-2/+3
|\ \ \ | |_|/ |/| | | | | ub-launcher3-calgary
| * | Adding workaround to jump in wallpaper offsets.Winson2016-08-021-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | - Just skip the animation if we are animating to the same wallpaper offset (which is the case when we are adding from all apps) Bug: 28587903 Change-Id: Ib7b1828c1b099a665d68c22cb33ee62693f33f35
* | | Merge "Always cancel forwarding on ACTION_UP or ACTION_CANCEL." into ↵Tony Wickham2016-08-021-6/+5
|\ \ \ | | | | | | | | | | | | ub-launcher3-calgary
| * | | Always cancel forwarding on ACTION_UP or ACTION_CANCEL.Tony Wickham2016-08-011-6/+5
| | | | | | | | | | | | | | | | | | | | Bug: 30563284 Change-Id: I6285eda6d9f7a775f8ae896baebc420a0cf84e21
* | | | Merge "Handling IllegalStateException which can be thrown by the system when ↵Sunny Goyal2016-08-022-14/+29
|\ \ \ \ | | | | | | | | | | | | | | | the user is locked" into ub-launcher3-calgary
| * | | | Handling IllegalStateException which can be thrown by the system when the ↵Sunny Goyal2016-08-012-14/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | user is locked Bug: 30411561 Change-Id: I0d7fc0aaecba01b1aaac95b98654f6e3ee090ce8
* | | | | Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgaryTreeHugger Robot2016-08-0279-304/+467
|\ \ \ \ \
| * | | | | Import translations. DO NOT MERGEBill Yi2016-08-0179-304/+467
| | |/ / / | |/| | | | | | | | | | | | | | | | | | Change-Id: I221a6a62f6329ddac3e71461bb381820ed239873 Auto-generated-cl: translation import
* | | | | Merge "Add logging for shortcuts opening." into ub-launcher3-calgaryTony Wickham2016-08-025-8/+52
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Add logging for shortcuts opening.Tony Wickham2016-08-015-8/+52
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Log as long press with child type DEEPSHORTCUTS container - Parent type can be one of WORKSPACE, HOTSEAT, FOLDER, ALLAPPS, PREDICTION, or SEARCHRESULT. Bug: 30537079 Change-Id: Ie62e4889ee06c845f959ca998781787a7fdaf00e
* | | | Merge "Adding quiet mode support for shortcuts" into ub-launcher3-calgarySunny Goyal2016-08-0114-238/+372
|\ \ \ \ | |/ / / |/| | |
| * | | Adding quiet mode support for shortcutsSunny Goyal2016-07-2914-238/+372
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > LauncherApps returns empty list when the user is locked. Not relying on LauncherApps in this case > When the user is locked, removing all dynamic shortcuts > Loading shortcuts from DB when the user is locked > Verifying the shortcuts again when the user is available Bug: 30411561 Change-Id: Ib6eb372c5b009cadb86a8f6e781f3f3cbf787ceb
* | | Merge "Build fix: Updating SDK for tests" into ub-launcher3-calgarySunny Goyal2016-08-011-1/+1
|\ \ \ | |_|/ |/| |
| * | Build fix: Updating SDK for testsSunny Goyal2016-08-011-1/+1
| | | | | | | | | | | | Change-Id: I1377dce808335f65eb0799b7053c84853f57980a
* | | Merge "Set shortcuts arrow pivot to side connected to container." into ↵Tony Wickham2016-07-301-0/+2
|\ \ \ | |/ / |/| | | | | ub-launcher3-calgary
| * | Set shortcuts arrow pivot to side connected to container.Tony Wickham2016-07-291-0/+2
| | | | | | | | | | | | | | | Bug: 30508528 Change-Id: Iddc733d79b680010785d21b347d151bc23bffc23
* | | Merge "Badging shortcuts with app icons" into ub-launcher3-calgarySunny Goyal2016-07-295-26/+143
|\ \ \
| * | | Badging shortcuts with app iconsSunny Goyal2016-07-295-27/+143
| | | | | | | | | | | | | | | | Change-Id: I3fa005ece20a54b31f823acb28c384ecdf1eafb1
* | | | Filter shortcuts down to 4 if there are more.Tony Wickham2016-07-293-29/+240
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - We take the first 4 in sorted order, except we remove up to 2 static shortcuts to make room for dynamic ones if they exist. - Added ShortcutFilterTest with testSortAndFilterShortcuts(). This asserts that the filtered list is sorted and has the expected number of static and dynamic shortcuts based on inputs with various amounts of each. Bug: 28980830 Change-Id: I832b6b21144f17c74bb8b90a840d6620e99911b8
* | | Merge "Cancel exit spring loaded runnable when launcher state is set to APPS ↵Hyunyoung Song2016-07-291-2/+18
|\ \ \ | |_|/ |/| | | | | or WIDGETS b/29645452" into ub-launcher3-calgary
| * | Cancel exit spring loaded runnable when launcher state is set to APPS or WIDGETSHyunyoung Song2016-07-291-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/29645452 By cancelling the runnable, we are enabling transition: state1 -> state3 instead of state1-> state2-> state3. Transition state1->state3 is a viable transition that is supported by our model. Launcher Workspace -------------------------------------------- state1 APPS_SPRING_LOADED SPRING_LOADED state2 WORKSPACE NORMAL state3 APPS NORMAL_HIDDEN Change-Id: If27905567efe439324494e0091a4b42fcbf01448
* | | Merge changes I33da0d7f,I36c31609 into ub-launcher3-calgaryWinson Chung2016-07-293-44/+82
|\ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Working around incorrect wallpaper offsets being calculated in RTL. Fixing RTL wallpaper scrolling.
| * | | Working around incorrect wallpaper offsets being calculated in RTL.Winson2016-07-283-3/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - When launcher starts up, onCreate() triggers the launcher model loader to start, which calls bindScreens() to add the workspace pages. However, layout does not happen until the device is unlocked, which means that even though the default screen index and children are there the page scrolls are calculated incorrectly, and even in RTL, the page scroll for the 0th screen is zero (it should be at the right most edge of the workspace). This CL works around this by deferring until the first layout after bindScreens() to unlock the wallpaper offset from its default bounds. The workaround is only applied when the launcher activity is first created. Bug: 28795125 Change-Id: I33da0d7f934f5337d26e69f068f579a32897a837