summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
Commit message (Collapse)AuthorAgeFilesLines
* Moving section names to model, to avoid an unnecessary hashmapSunny Goyal2019-08-061-28/+2
| | | | Change-Id: I9620367e0c2203b2290a4a188411ccb9174ae130
* Remove tracing for a fixed bugvadimt2019-07-111-5/+0
| | | | | Bug: 132900132 Change-Id: Ic4ce3669f88c932e392b7517ec9fda11384dc334
* More logging for lab-only flake when an app doesn't startvadimt2019-05-281-0/+6
| | | | | | | I suspect that All Apps gets refreshed around the time of the click. Bug: 132900132 Change-Id: I6d3053f7d8f998e08ca495c005e14ddece634164
* Removing support for app prediction from Launcher3Sunny Goyal2018-01-301-162/+4
| | | | | | | Derivative projects can extend the FloatingHeader to add support to custom content in all-apps screen. Change-Id: I4e29221a72e5a077a756713a6774cda7ecde8f1b
* Adding AppsStore for handling various app updatesSunny Goyal2018-01-251-13/+11
| | | | Change-Id: Ia2242ce583576ace0924ef7142793ba37f4adcb9
* Removing unused app discovery supportSunny Goyal2018-01-231-82/+5
| | | | Change-Id: I670be29851b232caa5c05624ae37ae5e92a8b65f
* Consume work mode APITony Mak2018-01-041-1/+11
| | | | | | Fix: 69905244 Change-Id: I5958b3a2ebba2fa0e0f69448d5526dc72ed6a97b
* Make work footer stick to the bottom if there are only a few apps #2Tony Mak2017-12-151-1/+0
| | | | | | | | | | | | | | | | | 1. Move the work footer divider into the container, so it is translated with the rest of the footer. 2. Fixed the scrollbar issue in work tab by putting the footer height in AllAppsRecyclerView 3. We planned to drop the company name, and decided to use "Managed by your organisation". 4. Rename WorkModeToggleContainer to WorkFooterContainer as we are using work footer in else where. BUG: 70571983 Change-Id: I218fe7d9970780a1a457ee450f1a32e7a46d9766
* Enables searching when using work tabs together with fallback search.Mario Bertschler2017-12-011-2/+2
| | | | | | Bug: 69966634 Bug: 68713881 Change-Id: I972696575b7559b5baf80b949437dcb2dc885f66
* Add work profile footer in work tabTony Mak2017-11-291-4/+24
| | | | | | | | | | | | | | | Screenshot(work mode is on): https://hsv.googleplex.com/6279751685636096 Screenshot (work mode is off): https://hsv.googleplex.com/6279751685636096 TODO: It is just the UX bit, once the platform change is in, we should then consume the new API to 1. Turn on / off work mode 2. Get the organization name and set the textview accordingly. BUG=69905244 Change-Id: Id94ae57625d6b629dac89c1c28f8d65f395fff6c
* Implementation of PredictionRowView.Mario Bertschler2017-11-161-1/+1
| | | | | | | | | > Enable to use floating for prediction row even without tabs. > Behind ALL_APPS_PREDICTION_ROW_VIEW feature flag. > Expand/Collapse personal/work tabs in stopped intermediate state. Bug: 68713881 Change-Id: I7817e7b7c6f572358f2b9a7a347339a9081708ee
* Enable work profile tab in all apps.Mario Bertschler2017-11-141-68/+52
| | | | | | | | | | This CL will bring two tabs to all apps: Personal and Work, currently only if the user has a workfile set up and behind a feature flag defaulting to disabled. Bug: 68713881 Change-Id: Ib5a558281ef3593359db3ad593ee1d0cf279f547
* Remove assumptions from swap prediction logic.Jon Miranda2017-09-201-3/+6
| | | | | Bug: 64689250 Change-Id: If54ac03dec7d8c09f951b3ffeb7732202e3f1562
* Integrating suggested app by handling new status flags for shortcut items.Mario Bertschler2017-08-241-16/+17
| | | | | | | | Guarded via feature flag SUGGESTED_APP. Bug: 62483883 Change-Id: I7e0c8a9875bc37c435aa4316b44322a628cd4826
* Fixing duplicate/inconsistent definitions for model and callbacksSunny Goyal2017-08-171-10/+3
| | | | | | | | > 2 implementations for filtering workspace items > 2 implementations for binding widgets > duplicate logic for add and update appInfo Change-Id: Id68a49926af398478deca8ac85ab1f22341a9449
* Fix bug where all apps scrollbar jumps.Jon Miranda2017-08-141-0/+1
| | | | | | | | | | The problem is that rowAppIndex is not being set when we swap in the new predictions. So when we call AllAppsRecyclerView#getCurrentScrollY, the "item.rowAppIndex == 0" clause returns true for every predicted app, which results in a larger than expected value. Bug: 64628968 Change-Id: I37ca660522b5a99666de2ea0b9c0aa8cd3732aca
* Optimize updating All Apps Predictions.Jon Miranda2017-07-301-17/+64
| | | | | | | | | | | | * Prefetch existing predictions in onResume. * Only update predictions if something has been changed. * Swap predictions in place (if possible) -- this avoids having to relayout all of All Apps when just the predictions change. Bug: 64126588 Bug: 63711551 Change-Id: Iffa0d9d7d6f99f606dd68b7df5893d6eba1574f5
* Updating fast scrollbar UI in LandscapeSunny Goyal2017-06-261-18/+0
| | | | | | | | | | | Creating a separate view for FastScrollBar and moving all the relavant logic in the view. For protrait, the touch handling is delegated by the recycler view just like before. For landscape, the dcrollbar does not overlay with recyclerView and handles the touch itself Bug: 37015359 Change-Id: Ie1981326457ba739bdf0ac8063db1065f395f133
* Adding utility method to find an app from a component keySunny Goyal2017-06-201-0/+4
| | | | Change-Id: I445b512f29a0a45910c523f2f905c0a9e3c241f1
* Add physics motion to items in all apps.Jon Miranda2017-05-231-0/+7
| | | | | | | | | | Motion applied to: - Icons - Prediction icons - Prediction divider Bug: 38349031 Change-Id: I376e6e39080c8c80463a0ce8b104b05e4d576f17
* Adding listener support for color extraction changesSunny Goyal2017-05-091-2/+10
| | | | | | | | Changing the apps-search layout to use theme attribute instead of hard coded layout id Bug: 37616877 Change-Id: Iae601758303f83a2774635f0d88f74d99fc643c3
* Revert "Adding suggested app as part of app discovery."Mario Bertschler2017-05-051-13/+1
| | | | | | This reverts commit c0372a42a256421199e5d41592b69a6f4c2e9ef1. Change-Id: Iebfb5bdbe042cb17f3d3657e0caa2fc7e9913ac6
* Adding suggested app as part of app discovery.Mario Bertschler2017-05-041-1/+13
| | | | | | | | | It will replace the least prioritized predicted app with the suggested app from app discovery. Dogfood only! Change-Id: I7713759c70ab6eaacfec2c45d3f78335c40dac79
* Show recently used instant apps provided by the app discovery service in the ↵Mario Bertschler2017-03-231-2/+16
|\ | | | | | | | | | | | | | | same section as installed apps. am: 853c13d427 Change-Id: I852e85f5b715d7f9ecc903bb0b9020e87c19cd99
| * Show recently used instant apps provided by the app discovery serviceMario Bertschler2017-03-231-2/+16
| | | | | | | | | | | | in the same section as installed apps. Change-Id: I2efd41c69960c4982523c58893aacfc7a5d0bb2e
* | Separating the config and flags in different directories so thatSunny Goyal2017-03-071-2/+2
|/ | | | | | | it is easier to override one or the other Bug: 36001650 Change-Id: I713f4f5dbcf902614ce9f6c7a73bdace7bdf1ea0
* App discovery integration in All Apps searchMario Bertschler2017-03-031-15/+88
| | | | | | | | | This is the basis for app discovery integration while searching in all apps. This does NOT include binding to the actual service and retrieving results, but instead provides all the UI to show suggested instant apps and apps from a store with star rating and pricing. Change-Id: I1605b52848491acee4ac1d15c0112e6a768363f6
* No more UserHandleCompatSunny Goyal2016-12-151-5/+5
| | | | | Bug: 32745285 Change-Id: I762fb4e268c1afe48a1860ab12a4ccb3f626aa95
* Fixing static instance of Indexer being created in the modelSunny Goyal2016-10-191-12/+8
| | | | | | | | | | | | Indexer depends on the locale and should be created when ever the config changes. Moving the widget indexing to the adapter (similar to allApps) which gets created whenever the activity is recreated. This fixes the bug where widgets indexing breaks if locale changes while launcher process is alive Also fixing the bug in widget model cloning where the HashMap was not cloning the underlying ArrayList Change-Id: I7dbe6290e73299c4c07aa7fa564077a2649e1a4c
* Removing the section break UI supportSunny Goyal2016-10-131-136/+12
| | | | | | | This was an exploration for an alternative UI in all apps, where we show section headers before every section. This was never released. Change-Id: I2d36f1d078cc9a6f3ba6f0ec9655412182c9b016
* resolve merge conflicts of 2fd0208 to ub-launcher3-masterTony Wickham2016-10-121-1/+1
|\ | | | | | | Change-Id: I20ad6eaace81786be080e28d6eb551908add6d90
| * Use Launcher.getLauncher(Context) instead of type-casting.Tony2016-10-071-1/+1
| | | | | | | | | | Bug: 32010039 Change-Id: Icb80d3e547a706740b84df2cb80f99e4a7f81c43
* | Code sanitizationHyunyoung Song2016-10-061-2/+2
|/ | | | | | - Removed bad method/class name typos Change-Id: Ie6900e9e3d9ce9b550d2a2442a5dac3f7050a573
* Fixing missing user check when updating shortcuts for an appSunny Goyal2016-07-201-1/+1
| | | | Change-Id: I889c555d3402fd71098af29b78eb6d959a071080
* Consolidate all the dividers to provide same look and feelPeter Schiller2016-07-081-15/+31
| | | | | Bug: 30017936 Change-Id: I072cb116dba1df555a63f3f67b730f7f9c3a235a
* Fixing crash during rotationSunny Goyal2016-02-111-1/+4
|\ | | | | | | | | | | | | am: bb702584fa * commit 'bb702584fa551fab8cffbb0ae5459d9efd16ce2a': Fixing crash during rotation
| * Fixing crash during rotationSunny Goyal2016-02-111-1/+4
| | | | | | | | | | | | | | > Different views with same IDs were saving state > Fixing scroll getting reset on rotation Change-Id: Iae42419b83ee5ffa1bb43959f0931c8dfb761f32
* | am a67cce2c: Merge "Tweaking fast scroller to follow touch closer." into ↵Winson Chung2015-08-201-14/+37
|\| | | | | | | | | | | | | ub-launcher3-burnaby * commit 'a67cce2cb3b7d6fcf53ce1390238130194c393e5': Tweaking fast scroller to follow touch closer.
| * Tweaking fast scroller to follow touch closer.Winson2015-08-201-22/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Removing some eclipse warningsSunny Goyal2015-08-171-11/+2
| | | | | | | | Change-Id: I160feaee81b262be02446885fae643c0be71b7af
* | am a1ee659e: Merge "Adding market search." into ub-launcher3-burnabyWinson Chung2015-08-101-10/+49
|\| | | | | | | | | * commit 'a1ee659e748b02ed74d8cafd3796a5c8ce5f1c44': Adding market search.
| * Adding market search.Winson Chung2015-08-061-10/+49
| | | | | | | | Change-Id: Id41615653cd4fa76213add4595418ad0cc6e7852
* | Changing the dogfood check to a static boolean to better handle proguard ↵Sunny Goyal2015-07-161-2/+3
|/ | | | | | optimizations Change-Id: I892b88ce1a007fafc23a73ad4193c5c4aa411d1b
* Moving prediction icons back into recycler view.Winson Chung2015-07-061-42/+28
| | | | | | | | - 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
* Refactoring fast scroller.Winson Chung2015-06-231-13/+63
| | | | | | | | | | | | | - 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
* Moving predicted apps callbacks to use ComponentKey.Winson Chung2015-06-181-13/+19
| | | | | | Bug: 21270185 Change-Id: If2d9dd77235e7a96de96a1a5441a589ef8a72a7f
* Using component key for app search resultsSunny Goyal2015-06-161-64/+19
| | | | Change-Id: Idc610cde340331892a5fabfa8bf952d136675f81
* Refactored section names to only draw when there is space.Winson Chung2015-06-161-79/+8
| | | | | | | | | - 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
* Refactoring all apps search to support external search bar.Winson Chung2015-06-151-7/+14
| | | | | | | | | | | | | | | | | | | | | - 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 "Adding context for app launches." into ub-launcher3-burnabyWinson Chung2015-06-021-0/+10
|\