summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Adding graphic for all apps empty search screen." into ↵Winson Chung2015-08-284-4/+274
|\ | | | | | | ub-launcher3-burnaby
| * Adding graphic for all apps empty search screen.Winson2015-08-284-4/+274
| | | | | | | | Change-Id: I976a327a5984790c458b0f36d33c0b1ac16ec59c
* | Fixing issue with missing scroll bar after fast-scrolling and searching.Winson2015-08-271-0/+4
|/ | | | | | | | - This was due to us not re-attaching the thumb to the scrollbar after we scroll the view to the top explicitly without the user scrolling. Bug: 23562489 Change-Id: I5932b9b3b9358e23c0ec23aa235644b4f27c43ea
* Making the detached scrollbar catch up faster to the actual scroll position.Winson2015-08-241-2/+12
| | | | | Bug: 20035978 Change-Id: I4f9780e1c5c1d10a7956ece729163544d79d72c3
* Tweaking fast scroller to follow touch closer.Winson2015-08-203-32/+98
| | | | | | | | | | | | | | | | | | | - Issue: The fast scroller currently does not follow the touch input because fundamentally, the fixed scrollbar height and the mapping of the scroll space to the scrollbar space is fundamentally incompatible. - This CL changes the fast scroller to allow it to detach when the user fast-scrolls, then re-attaches after the user scrolls the screen and the current scroll position for the scrollbar picks up the thumb position. - Since the scroll position and the fast scroller thumb is now detached, we can change the distribution of the fast scroll letters to make it independent of the rows for each section and instead uniformly distribute it along the scrollbar, which allows for more stability. - There are edge cases where this fails, especially when there are few apps, which we can investigate further. Bug: 20035978 Change-Id: I8322f862107e6f330deff692885233706564bffd
* Refactoring to ExtendedEditText.Winson2015-08-132-69/+8
|
* Merge "Ensuring that AllAppsGridAdapter is public." into ub-launcher3-burnabyWinson Chung2015-08-112-2/+2
|\
| * Ensuring that AllAppsGridAdapter is public.Winson2015-08-112-2/+2
| | | | | | | | | | | | - Also show the search action when searching all apps Change-Id: I3470b0da565e6d1bce637ce09384d966215a4ca7
* | Adding market search.Winson Chung2015-08-065-70/+170
|/ | | | Change-Id: Id41615653cd4fa76213add4595418ad0cc6e7852
* Calculating widget minSpans and spans statically/independent of orientationSunny Goyal2015-08-031-1/+0
| | | | | | | | | > Filtering the widget list and excluding widgets which dont fit the grid > setting minSpans for the widget item when binding. Bug: 22541314 Bug: 22559137 Change-Id: Ieda48b56c95bee0c7ec71dd691af7e23e2d43db6
* Fixing issue with accessibility falsely reporting app count when there are ↵Winson Chung2015-07-301-1/+36
| | | | | | | no search results. Bug: 22672783 Change-Id: Ie40acc592e59699eac2a4ff2045a7f8ba029d33a
* Making long-press of AllApps to jump directly to search.Winson Chung2015-07-101-0/+9
| | | | | Bug: 22210146 Change-Id: Iacf28416d6e31233a68e3b41576a8860b4b72b88
* Moving prediction icons back into recycler view.Winson Chung2015-07-067-407/+95
| | | | | | | | - 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
* Fixing issue with casting context to activity.Winson Chung2015-06-262-9/+2
|
* Removing some synthetic methodsSunny Goyal2015-06-241-5/+8
| | | | Change-Id: I08310e21871c7d670eb384ef1e835d155540c3e8
* Working around overscroll issues in AllApps.Winson Chung2015-06-232-2/+57
| | | | | | | | | - For the time being, we are going to do custom drawing to ensure that we get the touch events in the right order, while still allowing the recycler view to draw the overscroll effect on top of the prediction bar. Bug: 21335369 Change-Id: I6bf64e5c1e9aa634a953223a5decf74942e4fb57
* Refactoring fast scroller.Winson Chung2015-06-234-130/+228
| | | | | | | | | | | | | - Fixing issue with fast scroller not fitting name width. - Refactoring fast scrolling/scroll bar code out of base recycler view - Adding animations to fast scroller to match design - Smooth scrolling when jumping between app rows - Fixing issue with fast scroller jumping when you first pick it up - Fixing issue with wrong background paddings being used Bug: 21874346 Bug: 22031923 Change-Id: I9f011b1f375751f437604b900e95a2942d3f4601
* Merge "Revert resource name to what platform ui automator test defines. ↵Hyunyoung Song2015-06-181-1/+1
|\ | | | | | | b/21923650" into ub-launcher3-burnaby
| * Revert resource name to what platform ui automator test defines.Hyunyoung Song2015-06-181-1/+1
| | | | | | | | | | | | b/21923650 Change-Id: I26a9405ac0567f856a43d83886df4ece938c11a7
* | Moving predicted apps callbacks to use ComponentKey.Winson Chung2015-06-182-14/+20
| | | | | | | | | | | | Bug: 21270185 Change-Id: If2d9dd77235e7a96de96a1a5441a589ef8a72a7f
* | Renaming id to prevent collision.Winson Chung2015-06-171-1/+1
|/ | | | | Bug: 21878123 Change-Id: If4313d217967310ede7ed3fe11bdbe49311e1a4f
* Making resultHandler protected to make it accessible from a subClassSunny Goyal2015-06-161-1/+1
| | | | Change-Id: Id11118b9f8b9782c44847ac82a03ea36bcb43963
* Using component key for app search resultsSunny Goyal2015-06-164-82/+44
| | | | Change-Id: Idc610cde340331892a5fabfa8bf952d136675f81
* Merge "Refactored section names to only draw when there is space." into ↵Winson Chung2015-06-164-105/+104
|\ | | | | | | ub-launcher3-burnaby
| * Refactored section names to only draw when there is space.Winson Chung2015-06-164-105/+104
| | | | | | | | | | | | | | | | | | - This CL removes all space for section names in both phones and tablets. And when there are no section names, the layout will automatically fully merge the sections. Bug: 20222023 Change-Id: Ic7c751d86f095e5cbd690bfd4f94bb5b00ff8ae4
* | Removing ContentObserver in launcherSunny Goyal2015-06-161-1/+1
|/ | | | | | | > Using callback insted of using a content observer > Setting the listener in LauncherAppState to prevent resource leak Change-Id: Id23a4d5c8812e86178997e536226e09ec3740f84
* Refactoring all apps search to support external search bar.Winson Chung2015-06-158-560/+610
| | | | | | | | | | | | | | | | | | | | | - 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
* Merge "Ensuring that we use the screen width more optimally in AllApps." ↵Winson Chung2015-06-052-10/+14
|\ | | | | | | into ub-launcher3-burnaby
| * Ensuring that we use the screen width more optimally in AllApps.Winson Chung2015-06-052-10/+14
| | | | | | | | | | | | | | | | | | | | | | - Fixing issue with prediction bar height being calculated incorrectly - Fixing issue where the prediction bar divider was not drawn exactly between the bar and the first row of apps - Removing padding to allow scrollbars to reach full height Bug: 20222023 Bug: 21335377 Change-Id: I2c0614a36e2294d0d6184a6bff4847876ffe971e
* | Ensure that we use the system long press duration when dragging from AllApps.Winson Chung2015-06-052-0/+4
|/ | | | | | | - Removing some old code out of LauncherAppState Bug: 21559400 Change-Id: I3c586094efb7ad8a17d2169bc8aaccf6b0df40a2
* Merge "Adding context for app launches." into ub-launcher3-burnabyWinson Chung2015-06-023-3/+38
|\
| * Adding context for app launches.Winson Chung2015-06-023-3/+38
| | | | | | | | | | Bug: 21492784 Change-Id: I1b28ac8f44498e1d9770e770b074f19c721c3f10
* | Remove use of API level 19 classes.Winson Chung2015-06-021-2/+2
|/ | | Bug: 21583308
* Removing some synthetic method creationSunny Goyal2015-06-023-9/+10
| | | | | | > Make package-private and @Thunk all private methods and constructors accessed from inner classes. Change-Id: Ie5913860a0c33e48e9bf68f9b5b1699f64c2f174
* Adding an asynchronous search interface for apps searchSunny Goyal2015-06-014-62/+258
| | | | Change-Id: Ib09df0a3d587dc60ed888ddbd0edf058e4a1cc3e
* Fixing crash on tablets from merging scheme changes.Winson Chung2015-06-011-4/+4
|
* Avoid merging app sections across scripts.Winson Chung2015-06-011-10/+30
| | | | | Bug: 20222023 Change-Id: I171d75a33694fc2cb347a32cff209f64fe3bf7c3
* Revert "Avoid merging sections across scripts."Winson Chung2015-06-011-21/+6
| | | | | | This reverts commit 595395d84f0507a1c5c163ad4722fa4345376079. Change-Id: I44913141f6cb3af29b4509d6b7c317247d1f24c9
* Avoid merging sections across scripts.Winson Chung2015-06-011-6/+21
| | | | | Bug: 20222023 Change-Id: I6f6577112845fec14ae2e9c6e88ff3569bd2f1af
* Move fast scrolling logic to BaseRecyclerViewHyunyoung Song2015-05-291-297/+55
| | | | | | | | | | - This change has no effect on actual functionality but to make it easier for widget tray to inherit the goodness of the 1) fast scroller functionality 2) unify the scroll look and feel with the all apps view b/21375339 Change-Id: Ib859b1c3352c0b69f16549ded8f20eb82cf58ba8
* Fixing page background not displayed when dragging from all appsSunny Goyal2015-05-271-1/+0
| | | | | | | | | > Adding empty page synchronously, instead of waiting for a frame > Changing launcher state from widgets screen in the same frame, similar to all apps > Removing DragEnforcer, and moving that logic in side the workspace, disabled by a flag > Using first page to get page bounds in drag layer, as last page may not have been measured Change-Id: I172ba4e5ce44648ac55402d49994542c6e10f101
* Moving all apps code into sub package.Winson Chung2015-05-226-0/+2728
- Renaming resources, dimens, etc to be more consistent - Removing old AppsCustomize resources and other unused code Change-Id: I15ce35e7cb7a9b9344fc7103963e4e4c9e45d89a