Sunny Goyal
3946ecd441
Removing some unused code from All-Apps
...
Bug: 229860311
Test: Verified on device
Change-Id: I72394fb421679688f87cdbf725859ec35529a59e
2022-04-20 09:54:48 -07:00
Sam Gilbert
355bd482c8
Revert "Add entry and cursor location in GetSuggestionRequest"
...
Revert submission 17128079-suggestionentry
Reason for revert: test monitor determined it broke tests: b/223859070
Reverted Changes:
I838896e2f:Add entry and cursor location in GetSuggestionRequ...
Ic9f5dd35b:Add cursorLocation and entry to GetSuggestRequest
Change-Id: I8a15f61c5ddb37b26d3e06de25f0d5b5b5c89abc
2022-03-10 19:48:31 +00:00
Hyunyoung Song
e395453bd9
Add entry and cursor location in GetSuggestionRequest
...
Bug: 223728521
Test: manual
Change-Id: I838896e2fad2d37c22e665473d59cc1b2c9a14d7
2022-03-09 22:21:50 -08:00
Abhilasha Chahal
9c7096c8ac
Revert "Revert "Extract out common adapter logic to support diff..."
...
Revert^2 "Fixing AdapterItem import"
1a27c278d6c6594b552b620b4d2b67e68bef23f2
Change-Id: Ia3bf9f0b3aaff0d1e2d102320e917462b38935b2
2022-03-09 17:45:45 +00:00
Sam Dubey
4f1a232cca
Revert "Extract out common adapter logic to support different Al..."
...
Revert "Fixing AdapterItem import"
Revert submission 17044827-tm-dev-216150568
Reason for revert: Broke builds
Bug: 223609269
Reverted Changes:
I53eba3c8c:Fixing AdapterItem import
I1068e75d0:Extract out common adapter logic to support differ...
I24d8e54e8:Fix AdapterItem imports
Change-Id: I931c666db7dcb2c8eef1894b56b59ed688218def
2022-03-09 17:25:15 +00:00
Abhilasha Chahal
6badc405ad
Extract out common adapter logic to support different AllApps layouts
...
Test: Manual tests. Refactoring, all existing tests should pass.
Bug: 216150568
Change-Id: I1068e75d0b4a33d402a7d68e237d2484ab3a1e01
2022-03-01 13:08:54 +00:00
Sunny Goyal
04e9f39f19
Simplifying all-apps seach pipeline
...
Bug: 183607616
Test: Verified on device
Change-Id: Id7ded3c244b747a577cdfcf298db6dddf19fa4eb
2021-03-30 10:07:32 -07:00
Alina Zaidi
d07acba048
Add a WidgetsSearchBar(Launcher3) and a WidgetsSearchController.
...
- Make WidgetsSearchBar in Launcher3 initialize WidgetsSearchController with SimpleWidgetsSearchPipeline
- Modify SimpleWidgetsSearchPipeline to filter widgets entries on widgets/shortcut labels also.
Test: Tested prototype locally. Also added robolectric test.
Bug: b/157286785
Change-Id: I65f5fa0240ffb6d22023167e4e86d94d83bbd9f7
2021-03-15 11:25:08 +00:00
Alina Zaidi
331140f665
Refactor SearchAlgorithm and SearchCallback interface to work on generic search result type.
...
Test: Manually tested that 'All apps' search works fine
Bug: b/157286785
Change-Id: Id4b7fb133149e9211f871b46b47d5853ec0e0050
2021-02-25 12:05:41 +00:00
Winson Chung
87f2b09072
Merging from ub-launcher3-master @ build 6925377
...
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-master_master_6925377.html
Change-Id: I928b100c8f41abff34047df69d988622123f9939
2020-10-23 10:16:50 -07:00
Hyunyoung Song
caa1e9c399
Search query method should support multiple consumers
...
Bug: 170488559
Change-Id: I64bef9523d3c3950c4ca3a4b9ce1d506d1672200
2020-10-19 22:09:10 -07:00
Treehugger Robot
ece21e957e
Merge "optimization of searching apps in Chinese" am: a0357329e0 am: f655c6e433 am: b634086d6c am: 27ae39420e am: 44150f8da4
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1425241
Change-Id: I1b270e7153c41789fb6a7eba88f29b0baa27780e
2020-09-17 14:52:29 +00:00
zhaoguomanong
97cc6df21d
optimization of searching apps in Chinese
...
Signed-off-by: zhaoguomanong <zhaoguomanong@gmail.com >
Change-Id: Id322eb8b5249d6163da8a5d3476a6cf9500ad6bb
2020-09-10 22:58:15 -04:00
Samuel Fufa
d6bacdcaf0
Handle AppSearch in plugin
...
+ Use AppSearchPipeline as a fallback if plugin times out
Bug: 166058597
Test: Manual
Change-Id: I96a38e412fd08f47475d2bc37bff34b86538ea12
2020-08-26 11:37:10 -07:00
Hyunyoung Song
d9d340c879
Introduce transparency in all apps for OnDeviceSearch
...
Bug: 165999272
Change-Id: Ic4adf11d030328db47a5b0d1cd915b40902c12de
2020-08-24 20:32:02 -07:00
Samuel Fufa
4a53c70c57
Introduce support for Hero app Section
...
[Video attached to bug report]
Bug: 162871508
Test: Manual
Change-Id: Ia6f5621d6220f55e6fd5e56530853c267838442c
2020-08-07 17:29:19 +00:00
Samuel Fufa
df10ff46bd
Migrate AllAppsSearch [part 1/3]
...
[Video attached to bug report]
Setup DeviceSearchAlgorithm to handle on device search
Bug: 161801950
Test: Manual
Change-Id: Ib55f415f9992ceab687bbbfe904d153157541648
2020-07-28 14:48:33 -07:00
Sunny Goyal
e396abf502
Moving model data structures to a separate file
...
Change-Id: I77ad7a5219e72d2e0d6c1803de2ac3ed6a65a8f7
2020-04-09 13:20:39 -07:00
Sunny Goyal
1d7f45d8f8
Fixing various tests
...
> Migrating UI tests to AndroidJUnit4 for better support
> Removing obsolete RotationPreference test
> Fixing broken FileLogTest and AndroidJUnit4
> Removing InvariantDeviceProfileTest as it does not work well with
resource overlays
Change-Id: I0abb1df6765d76d86c1c6c84e8ac35eb9a6bcdaa
2017-07-31 11:03:54 -07:00
Sunny Goyal
05d2df1678
Using collator for string matching
...
This provides a better matching for non-latin characters on N and above
Bug: 63763127
Change-Id: I220487d242ff547311ddd13e7af380a7e47eec0e
2017-07-18 11:23:23 -07:00
yingrenw
a9f4bffbfc
Launcher3: Can't search out local app by Chinese
...
Description:
Chinese content type is Character.OTHER_LETTER.
When key matches,it check the content type. And
if type is Character.OTHER_LETTER, it doesn't
support search and break.
When the content type is Character.OTHER_LETTER,
make it work normally.
Bug: 63534074
Change-Id: I3713f24c9206fe16a8da2a23e6c90d68079dd533
2017-07-12 10:44:20 -07:00
Sunny Goyal
f6eb789016
Extracting search algorithm in an interface to make it easier to change the search behavior
...
Change-Id: I0b1d1387c78d13ef749aac39d5c8167c2909716a
2017-06-14 11:18:13 -07:00
Sunny Goyal
0e947fbdbb
Making some methods accessible
...
Bug: 37616877
Change-Id: I22ed43d9a39d321757d7c2fde7754b95a44780e2
2017-05-19 12:22:31 -07:00
Sunny Goyal
161f96bc77
Moving apps search related logic into a custom layout file
...
This will allow derivative projects to easily change the search behavior
by simply overriding the xml file
Bug: 37616877
Change-Id: Ib8d6a2dab06819a52611e9a3d97c70c5a49bbf97
2017-05-08 14:43:32 -07:00