summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps/AllAppsSearchBarController.java
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Show IME when search query != null after rotationHyunyoung Song2016-09-091-2/+1
| | | | Change-Id: Ia35fba140a5addc21bf347cd63b72dc4e357421e
* 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
* Clearing search query after clearing input text.Winson2016-07-271-1/+2
| | | | | Bug: 30435142 Change-Id: I3f00e1339aba46f4ab3cd092e59a94b506179dcf
* 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-251-3/+14
|\ | | | | | | into ub-launcher3-calgary
| * Refresh the all apps container search result when apps are installedHyunyoung Song2016-07-251-3/+14
| | | | | | | | | | | | | | | | | | | | 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-221-26/+1
|/ | | | | | | | | 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
* Centered typing in search fieldPeter Schiller2016-07-191-1/+26
| | | | Change-Id: Iae46722195d0d06ff88da52df4fa48ca7b157512
* Pull up all apps interactionHyunyoung Song2016-06-061-0/+3
| | | | | | | | | | | | First phase implementation: dragging and animation interaction is implemented namely in two classes. ScrollGestureDetector and AllAppsTransitionController. FeatureFlag.LAUNCHER#_ALL_APPS_PULL_UP will be true for only AOSP and not in the extending builds. This way, we can safely iterate without turning it on the shipped ready version. b/28917826 Change-Id: I0501309c0121880ffe0555f82d6ac5a145581bb1
* Removing dependency on LauncherCallbacks for getting the search boundsSunny Goyal2016-03-171-0/+1
| | | | | | | | | | | > Instead of handling insets in BaseContainerView, directly applying them to margins, as that scpace can't be used for scroll handling > Appliying the top and bottom padding in xml > The left & right padding is defied in xml which is reused for scroll handling Bug: 27108154 Change-Id: Ia32e6d5e8fd1bfafb1d77d1244ce2268e4da9df9
* Moving createMarketSearchIntent to search controller to allow it to be ↵Sunny Goyal2016-03-031-19/+13
| | | | | | customizable Change-Id: I3a05abf7c0357a2f92c8a3fa2dc223f9eacc221e
* Starting market search whenever the search key is pressedSunny Goyal2016-03-031-25/+9
| | | | | | Bug: 27365428 Change-Id: I508cb35cd1aaab1eac6cf60014fa6f80592365ef (cherry picked from commit 992a5f566e7f1b1fc8bd766f1fd00bee7ea2a634)
* Merging search bar with all appsSunny Goyal2016-02-081-17/+131
| | | | Change-Id: I78577124cd3c05d52669c3e52b0294d6eb1d194d
* Moving prediction icons back into recycler view.Winson Chung2015-07-061-0/+1
| | | | | | | | - Fixes two accessibility issues with the prediction bar being separate from the rest of the list of icons related to scrolling and switch access. Bug: 21725276 Change-Id: Ibc48e5028cace9a77000e6646b951f021910465d
* Revert "Removing onInitialize method and creating searchManager in getView"Sunny Goyal2015-06-171-3/+8
| | | | | | This reverts commit 6530017bb88179aeb1e3f131738da8f0d7592f36. Change-Id: I8ecfd21ec854cfe1774f16d2d50c7a0e45dd6865
* Removing onInitialize method and creating searchManager in getViewSunny Goyal2015-06-161-8/+3
| | | | Change-Id: I3e2620a7839dfd5e6ecb76f24b384eb50e820a94
* Using component key for app search resultsSunny Goyal2015-06-161-1/+3
| | | | Change-Id: Idc610cde340331892a5fabfa8bf952d136675f81
* Refactoring all apps search to support external search bar.Winson Chung2015-06-151-0/+97
- Adding support for an external search bar that can be used to search a container view. This adds a new interface AllAppsSearchController which manages the external search bar. Each controller will have its own search implementation which means that we no longer need a common AppSearchManager interface. - Removing elevation controller as we no longer have a builtin search bar in all apps - Refactoring container view insets so that they behave the same in all containers. - Refactoring apps view to ensure that we only update the number of columns with the available width - Cleaning up LauncherCallbacks interface Bug: 20127840 Bug: 21494973 Change-Id: I710b8e18196961d77d8a29f0c345531d480936fe