summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps
Commit message (Collapse)AuthorAgeFilesLines
* Fixing two critical bugs in all apps transition controllerHyunyoung Song2016-09-221-4/+3
|\ | | | | | | | | | | am: 0a9c092c89 Change-Id: I115b7bc6d165dc9d5e73e1878b96d194bfc62da7
| * Fixing two critical bugs in all apps transition controllerHyunyoung Song2016-09-201-4/+3
| | | | | | | | | | | | | | | | | | | | bug#1: if long press from page indicator region, you can pull up all apps even though the workspace is in overview state. bug#2: all apps should not intercept touch not only in overview mode but also in any modal state. Change-Id: I91c0a181f037f6c2465a983825da3a2da7e2920f
| * Support user event logging for drag and dropHyunyoung Song2016-09-042-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | b/30039490 Supported in this CL: - DnD: drag from container [WORKSPACE|HOTSEAT|FOLDER|ALLAPPS|WIDGETS|DEEPSHORTCUTS] drag to container [HOTSEAT,WORKSPACE,FOLDER,DROPTARGETS] - Source and target can be [FOLDER_ICON, ICON, DEEPSHORTCUT, WIDGET] - $ adb shell setprop log.tag.UserEvent DEBUG will turn on debugging Change-Id: I0b8b879b80e6dce85bbde6e7794f9e0677832603 (cherry picked from commit 59a238095e82fd02355f4cb53abe01655a50b051)
| * Merge "Log shortcuts open on ACTION_UP instead of in showForIcon()." into ↵Hyunyoung Song2016-08-121-7/+4
| |\ | | | | | | | | | ub-launcher3-calgary
* | | Only reset search field when back key is hit if there is no query.Jon Miranda2016-09-191-3/+2
| | | | | | | | | | | | | | | Bug: 31432372 Change-Id: I93c7ee661597f934402f464c4f0182a8fad38d39
* | | Merge "Don't close all apps when touching deep shortcuts container." into ↵Tony Wickham2016-09-161-0/+6
|\ \ \ | | | | | | | | | | | | ub-launcher3-calgary-polish
| * | | Don't close all apps when touching deep shortcuts container.Tony Wickham2016-09-081-1/+6
| | | | | | | | | | | | | | | | | | | | Bug: 31373894 Change-Id: Ica1d0c2318e8f5d3e45196174c9b495a1c2515cd
* | | | Use ContextCompat.getColor to support API levels below 23.Jon Miranda2016-09-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Found while debugging on Lollipop. Change-Id: Ibe97fd30c4ee8cd0c1735a41802b859345f9e931
* | | | Merge "Adding support for searching word segments when camelcase is used in ↵Sunny Goyal2016-09-121-20/+62
|\ \ \ \ | | | | | | | | | | | | | | | the title" into ub-launcher3-calgary-polish
| * | | | Adding support for searching word segments when camelcase is used in the titleSunny Goyal2016-09-091-20/+62
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 30880421 Change-Id: If642d24408fe0e80b5a0dd9a2a57d2f3c2d92ea9
* | | | | Merge "Show IME when search query != null after rotation" into ↵Hyunyoung Song2016-09-092-3/+6
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | ub-launcher3-calgary-polish
| * | | | Show IME when search query != null after rotationHyunyoung Song2016-09-092-3/+6
| | | | | | | | | | | | | | | | | | | | Change-Id: Ia35fba140a5addc21bf347cd63b72dc4e357421e
* | | | | Updating the assets for the all-apps search background.Sunny Goyal2016-09-081-3/+3
| |/ / / |/| | | | | | | | | | | | | | | Bug: 30309105 Change-Id: I4dd4a97ff49fd3c6dd386f100ca35dfb629044df
* | | | Some drag and drop code refactor:Sunny Goyal2016-09-011-1/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | 1) Adding DragOptions to easily extend drap functionality 2) Changing onDragStarted signature to send more information 3) Updating states for dropTargetButton based on drag event directly 4) Removing folder item based on onDragStarted and not startDrag Change-Id: I65b684e092ddc081d086bfe2c8c1973ed170eaeb
* | | Support user event logging for drag and dropHyunyoung Song2016-09-012-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/30039490 Supported in this CL: - DnD: drag from container [WORKSPACE|HOTSEAT|FOLDER|ALLAPPS|WIDGETS|DEEPSHORTCUTS] drag to container [HOTSEAT,WORKSPACE,FOLDER,DROPTARGETS] - Source and target can be [FOLDER_ICON, ICON, DEEPSHORTCUT, WIDGET] - $ adb shell setprop log.tag.UserEvent DEBUG will turn on debugging Change-Id: I0b8b879b80e6dce85bbde6e7794f9e0677832603
* | | Log shortcuts open on ACTION_UP instead of in showForIcon().Tony Wickham2016-08-121-7/+4
|\ \ \ | |/ / |/| / | |/ | | | | am: be06874c81 Change-Id: Iefc3b03644c2c197f0b744bb9f42fd3058624377
| * Log shortcuts open on ACTION_UP instead of in showForIcon().Tony Wickham2016-08-101-7/+4
| | | | | | | | | | | | | | | | | | | | | | - We only want to log when the container is opened and potentially used, not when a long press is followed by a drag-and-drop. - Also cleaned up code that was determining the container of the app icon, since LaunchSourceProvider.fillInLaunchSourceData() can do that instead (it's more robust and consistent). Bug: 30791570 Change-Id: I05b6750f26182fda8a9940ac66f1371c2d228ca9
* | Merge "Pull down should work on search box, even if all apps scroll is not ↵Hyunyoung Song2016-08-052-5/+11
|\ \ | | | | | | | | | at top. b/30295305" into ub-launcher3-calgary
| * | Pull down should work on search box, even if all apps scroll is not at top.Hyunyoung Song2016-08-052-5/+11
| |/ | | | | | | | | | | b/30295305 Change-Id: I38bbe47d6e33929c550930c9f157c58fbea203ef
* | Merge "Fix hotseat flicker when opened all apps in landscape, rotate screen, ↵Hyunyoung Song2016-08-051-2/+2
|\ \ | | | | | | | | | pull down" into ub-launcher3-calgary
| * | Fix hotseat flicker when opened all apps in landscape, rotate screen, pull downHyunyoung Song2016-08-041-2/+2
| | | | | | | | | | | | | | | | | | b/30595452 Change-Id: Ib634ffbc509c6b16ac58c184ccbca15ae936be14
* | | Change NavBar to transparent blackHyunyoung Song2016-08-053-3/+13
| |/ |/| | | | | | | | | b/30615471 Change-Id: I7885e8a7fd63ee10c9b0107087046730e8acfde9
* | 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 "Change interpolation logic to all apps transitioning on fling ↵Hyunyoung Song2016-08-031-13/+47
|\ \ | | | | | | | | | b/30486958" into ub-launcher3-calgary
| * | Change interpolation logic to all apps transitioning on flingHyunyoung Song2016-08-031-13/+47
| |/ | | | | | | | | | | | | | | b/30486958 Cleaning up/refactoring this CL will be done in polish branch. Change-Id: Ib51633a1e1cb79f58b505f835053ef238ae1bdec
* | 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-022-63/+129
|/ | | | | Bug: 30527159 Change-Id: I674de149e613c7adb567a13a288baa9877d36112
* 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
* | Add logging for shortcuts opening.Tony Wickham2016-08-011-6/+8
|/ | | | | | | | | - 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
* Responsive caret drawableHyunyoung Song2016-07-282-24/+56
| | | | Change-Id: I9d40052d001c80d99db511af6134227f8e4e4239
* Merge "Remove two redundant layout pass in AllAppsTransitionController." ↵Hyunyoung Song2016-07-282-8/+9
|\ | | | | | | into ub-launcher3-calgary
| * Remove two redundant layout pass in AllAppsTransitionController.Hyunyoung Song2016-07-272-8/+9
| | | | | | | | Change-Id: I48d043820db962c58e97a09d7888303c1d5bf4ad
* | Clearing search query after clearing input text.Winson2016-07-271-1/+2
|/ | | | | Bug: 30435142 Change-Id: I3f00e1339aba46f4ab3cd092e59a94b506179dcf
* Change default animation duration for all apps open and close.Hyunyoung Song2016-07-271-3/+14
| | | | | | > Also set different interpolator for all apps opening clicking the caret Change-Id: I7f9b764a8bf8bb7c38d94acbd964e912f22d6941
* Merge "AllAppsTransitionController always use ↵Hyunyoung Song2016-07-272-27/+11
|\ | | | | | | LauncherStateTransitionAnimation b/30375760" into ub-launcher3-calgary
| * AllAppsTransitionController always use LauncherStateTransitionAnimationHyunyoung Song2016-07-272-27/+11
| | | | | | | | | | | | b/30375760 Change-Id: Iee2f8060e4d272d276ddd5d40b4bc6053e8c7778
* | Moved hide keyboard to its own methodPeter Schiller2016-07-261-0/+4
|/ | | | Change-Id: I3f5877965a2b8f92d48e2fecef54f400b6e455d2
* Merge "Refresh the all apps container search result when apps are installed" ↵Hyunyoung Song2016-07-252-3/+17
|\ | | | | | | into ub-launcher3-calgary
| * Refresh the all apps container search result when apps are installedHyunyoung Song2016-07-252-3/+17
| | | | | | | | | | | | | | | | | | | | b/30102209 > After user comes back from the play store after installing the app that didn't exist when searched, the app will now be shown in the filtered search result list. Change-Id: Ia5fe501596127a7401928e5db2d6f425ad753701
* | Updating the search hint to contain the icon as a span object.Sunny Goyal2016-07-222-27/+14
|/ | | | | | | | | This makes the icon part of the hint text, and removes any need for custom focus event handling. Also the icon will now appear at the start of the text based on the direction of the text and not the direction of the layout Change-Id: I06c5cf99492d75b1005c69ec7c521cde0fdab010
* Animate discovery bounce for all apps pull up interactionHyunyoung Song2016-07-211-56/+101
| | | | | | | | | | | b/30221381 > Will not support landscape case. If the user knows how to enable rotation, it's very unlikely they don't know how to bring up apps drawer > If unlocked using finger unlock immediately after screen is turned off, bounce is not shown due to delay in ACTION_SCREEN_OFF broadcast Change-Id: Ia8b7e572eaa4aeab8b1add1e5660fee3a63ba21c
* Add user event log for deep shortcuts and all apps opening interaction.Hyunyoung Song2016-07-211-0/+9
| | | | | | b/30114798 Change-Id: I11ad99d0bc1983294d6a5329b98917cb87250823
* Merge changes I09bce218,Id5716a34 into ub-launcher3-calgaryWinson Chung2016-07-211-1/+4
|\ | | | | | | | | | | * changes: Matching hotseat to spec. Fixing issue with shadow drawing over search bar.
| * Fixing issue with shadow drawing over search bar.Winson2016-07-201-1/+4
| | | | | | | | | | | | - Adding notion of clip-against view for click shadow alignment. Bug: 30255227 Change-Id: Id5716a3484051a55690025d61f709e3d96cbe024
* | Merge "Centered all apps search text" into ub-launcher3-calgaryHyunyoung Song2016-07-211-3/+1
|\ \ | |/ |/|
| * Centered all apps search textPeter Schiller2016-07-191-3/+1
| | | | | | | | Change-Id: I21aaec56cd2202cea284880a28d9513435877368
* | Fixing missing user check when updating shortcuts for an appSunny Goyal2016-07-201-1/+1
| | | | | | | | Change-Id: I889c555d3402fd71098af29b78eb6d959a071080
* | Initial changes to tweak layout.Winson2016-07-204-17/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adding DeviceProfile callback for when the launcher layout changes due to insets. This is necessary since there are now different layouts depending on which side the navigation bar is on - Consolidating hotseat and other layout into the device profile launcher layout logic - Making the all apps icons match the workspace icon height - Tweaking caret drawable to draw to the bounds specified to simplify layout in each orientation - Fixing minor issue with page indicator shifting in landscape - Centering overview buttons to the workspace page Bug: 30021487 Change-Id: I1866bce00b2948f3edd06168c0f88d81207e3f13