History log of /packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8ff9e1d6790d64eb5f8ad9e9721e607978b50583 09-Aug-2017 Mario Bertschler <bmario@google.com> Integrating suggested app by handling new status flags for shortcut items.

Guarded via feature flag SUGGESTED_APP.

Bug: 62483883

Change-Id: I7e0c8a9875bc37c435aa4316b44322a628cd4826
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
b23980cc0e56b5d3f5ac0ca7714eca6479e502ae 17-Aug-2017 Sunny Goyal <sunnygoyal@google.com> Fixing duplicate/inconsistent definitions for model and callbacks

> 2 implementations for filtering workspace items
> 2 implementations for binding widgets
> duplicate logic for add and update appInfo

Change-Id: Id68a49926af398478deca8ac85ab1f22341a9449
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
bb10fa8fc2f125245163a50bf6cd04ff03bdfac4 14-Aug-2017 Jon Miranda <jonmiranda@google.com> Fix bug where all apps scrollbar jumps.

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
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
7653a60c74e9babfda1c3754eb4f3060b6e40990 28-Jul-2017 Jon Miranda <jonmiranda@google.com> Optimize updating All Apps Predictions.

* 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
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
89d5c5a31bd6cf4caf815b680ec670896b91803d 24-Jun-2017 Sunny Goyal <sunnygoyal@google.com> Updating fast scrollbar UI in Landscape

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
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
d36ed7d982aaa8f682df408548bb5aadb666a066 21-Jun-2017 Sunny Goyal <sunnygoyal@google.com> Adding utility method to find an app from a component key

Change-Id: I445b512f29a0a45910c523f2f905c0a9e3c241f1
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
4e11c2738a346fe2859c2d03e3133671e5da49ec 20-Apr-2017 Jon Miranda <jonmiranda@google.com> Add physics motion to items in all apps.

Motion applied to:
- Icons
- Prediction icons
- Prediction divider

Bug: 38349031
Change-Id: I376e6e39080c8c80463a0ce8b104b05e4d576f17
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
60820d796f5789ac0d1d478f1d3c8e403fd0a56f 09-May-2017 Sunny Goyal <sunnygoyal@google.com> Adding listener support for color extraction changes
Changing the apps-search layout to use theme attribute instead of hard
coded layout id

Bug: 37616877
Change-Id: Iae601758303f83a2774635f0d88f74d99fc643c3
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
b3cbd7c87d743d978eb11404e1157c146c6fbc04 05-May-2017 Mario Bertschler <bmario@google.com> Revert "Adding suggested app as part of app discovery."

This reverts commit c0372a42a256421199e5d41592b69a6f4c2e9ef1.

Change-Id: Iebfb5bdbe042cb17f3d3657e0caa2fc7e9913ac6
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
c0372a42a256421199e5d41592b69a6f4c2e9ef1 02-May-2017 Mario Bertschler <bmario@google.com> Adding suggested app as part of app discovery.

It will replace the least prioritized predicted app
with the suggested app from app discovery.

Dogfood only!

Change-Id: I7713759c70ab6eaacfec2c45d3f78335c40dac79
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
d6756af62333678e343be13fd73b6c16ba88e0ef 24-Mar-2017 Mario Bertschler <bmario@google.com> Show recently used instant apps provided by the app discovery service in the same section as installed apps.
am: 853c13d427

Change-Id: I852e85f5b715d7f9ecc903bb0b9020e87c19cd99
853c13d427c638899cd0205aa01bcce7ae4a1e41 23-Mar-2017 Mario Bertschler <bmario@google.com> Show recently used instant apps provided by the app discovery service
in the same section as installed apps.

Change-Id: I2efd41c69960c4982523c58893aacfc7a5d0bb2e
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
3d706ad70365052e3224fc4f4b0e7d1f5e8abf22 07-Mar-2017 Sunny Goyal <sunnygoyal@google.com> Separating the config and flags in different directories so that
it is easier to override one or the other

Bug: 36001650
Change-Id: I713f4f5dbcf902614ce9f6c7a73bdace7bdf1ea0
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
0fc6f684e730b0137900fe317f2c759c1b3909c7 17-Feb-2017 Mario Bertschler <bmario@google.com> App discovery integration in All Apps search

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
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
7c74e4ae641e76f73d74348e293c244a157f6585 16-Dec-2016 Sunny Goyal <sunnygoyal@google.com> No more UserHandleCompat

Bug: 32745285
Change-Id: I762fb4e268c1afe48a1860ab12a4ccb3f626aa95
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
d164b7f4abcba6cc965c2264257569f88ad5e4a5 13-Oct-2016 Sunny Goyal <sunnygoyal@google.com> Fixing static instance of Indexer being created in the model

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
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
2a65020da135037b8ee9408e7efb992eef02a896 13-Oct-2016 Sunny Goyal <sunnygoyal@google.com> Removing the section break UI support

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
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
6982de2485ae516f02758bffd0cb0fdc4b127fef 12-Oct-2016 Tony Wickham <twickham@google.com> resolve merge conflicts of 2fd0208 to ub-launcher3-master

Change-Id: I20ad6eaace81786be080e28d6eb551908add6d90
2fd020860533e18c64a93d14d11cb2d34bc9cbaf 07-Oct-2016 Tony <twickham@google.com> Use Launcher.getLauncher(Context) instead of type-casting.

Bug: 32010039
Change-Id: Icb80d3e547a706740b84df2cb80f99e4a7f81c43
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
0de011705b132eacdd10f7bfb5cdc4bd79a147e8 06-Oct-2016 Hyunyoung Song <hyunyoungs@google.com> Code sanitization

- Removed bad method/class name typos

Change-Id: Ie6900e9e3d9ce9b550d2a2442a5dac3f7050a573
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
860538df1d72b3840811b7a39940a224f3326066 20-Jul-2016 Sunny Goyal <sunnygoyal@google.com> Fixing missing user check when updating shortcuts for an app

Change-Id: I889c555d3402fd71098af29b78eb6d959a071080
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
c2a20ff0a87f58b2be66f067b0024db7ff5185d3 07-Jul-2016 Peter Schiller <peterschiller@google.com> Consolidate all the dividers to provide same look and feel

Bug: 30017936
Change-Id: I072cb116dba1df555a63f3f67b730f7f9c3a235a
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
cb1edd20e1072ff00992c09ca99ab412e1252761 11-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Fixing crash during rotation
am: bb702584fa

* commit 'bb702584fa551fab8cffbb0ae5459d9efd16ce2a':
Fixing crash during rotation
bb702584fa551fab8cffbb0ae5459d9efd16ce2a 11-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Fixing crash during rotation

> Different views with same IDs were saving state
> Fixing scroll getting reset on rotation

Change-Id: Iae42419b83ee5ffa1bb43959f0931c8dfb761f32
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
7b7d6d09eec6b9f65273f597b2d93fc53a9069ff 20-Aug-2015 Winson Chung <winsonc@google.com> am a67cce2c: Merge "Tweaking fast scroller to follow touch closer." into ub-launcher3-burnaby

* commit 'a67cce2cb3b7d6fcf53ce1390238130194c393e5':
Tweaking fast scroller to follow touch closer.
d2eb49e4c3bb37d35e72c36d8a308262b690075f 19-Aug-2015 Winson <winsonc@google.com> Tweaking fast scroller to follow touch closer.

- 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
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
42e28092b336bf89bee94c61e2cd327e1d8ec882 17-Aug-2015 Sunny Goyal <sunnygoyal@google.com> Removing some eclipse warnings

Change-Id: I160feaee81b262be02446885fae643c0be71b7af
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
0396828d05a9f25791a4b9324ee5a23b7481b2e2 11-Aug-2015 Winson Chung <winsonc@google.com> am a1ee659e: Merge "Adding market search." into ub-launcher3-burnaby

* commit 'a1ee659e748b02ed74d8cafd3796a5c8ce5f1c44':
Adding market search.
bedf9232eb67a420f0372d3ca135ca13194e603b 10-Jul-2015 Winson Chung <winsonc@google.com> Adding market search.

Change-Id: Id41615653cd4fa76213add4595418ad0cc6e7852
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
6c56c68555dcb3d99b05d5faecd582a1f683cc92 16-Jul-2015 Sunny Goyal <sunnygoyal@google.com> Changing the dogfood check to a static boolean to better handle proguard optimizations

Change-Id: I892b88ce1a007fafc23a73ad4193c5c4aa411d1b
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
1ae7a5018b48dba562bc18821f0f1e778192ee85 07-Jul-2015 Winson Chung <winsonc@google.com> Moving prediction icons back into recycler view.

- 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
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
b1777447d9b9700b48f8060f8b318f2363c43e8d 16-Jun-2015 Winson Chung <winsonc@google.com> Refactoring fast scroller.

- 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
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
6b1c73f50a99a215c923aa0caca8e63c593a4eb2 18-Jun-2015 Winson Chung <winsonc@google.com> Moving predicted apps callbacks to use ComponentKey.

Bug: 21270185

Change-Id: If2d9dd77235e7a96de96a1a5441a589ef8a72a7f
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
5183285847816cee9d0db6a8a7ab1a5929163e4e 16-Jun-2015 Sunny Goyal <sunnygoyal@google.com> Using component key for app search results

Change-Id: Idc610cde340331892a5fabfa8bf952d136675f81
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
fbc5b18626ae2e158e39c59606455124cfa8127d 12-Jun-2015 Winson Chung <winsonc@google.com> Refactored section names to only draw when there is space.

- 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
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
ef7f874a889b609bd34e692b9c9a1f8cefd1ea95 05-Jun-2015 Winson Chung <winsonc@google.com> Refactoring all apps search to support external search bar.

- 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
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
ca51aaad671f1999dff135b1253fecf0869a3763 03-Jun-2015 Winson Chung <winsonc@google.com> Merge "Adding context for app launches." into ub-launcher3-burnaby
8f1eff7b6cc8621888ee46605c32e601f80a890b 29-May-2015 Winson Chung <winsonc@google.com> Adding context for app launches.

Bug: 21492784
Change-Id: I1b28ac8f44498e1d9770e770b074f19c721c3f10
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
59caa60222e55212c13110ca0890023b47356fa5 02-Jun-2015 Winson Chung <winsonc@google.com> Remove use of API level 19 classes.

Bug: 21583308
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
316490e636aad788fcfbfc2e04dd4f0e145bdd00 02-Jun-2015 Sunny Goyal <sunnygoyal@google.com> Removing some synthetic method creation

> Make package-private and @Thunk all private methods and constructors accessed from inner classes.

Change-Id: Ie5913860a0c33e48e9bf68f9b5b1699f64c2f174
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
5683f871722254e4e357cf3fb77cd28156278e51 29-May-2015 Sunny Goyal <sunnygoyal@google.com> Adding an asynchronous search interface for apps search

Change-Id: Ib09df0a3d587dc60ed888ddbd0edf058e4a1cc3e
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
dd5814c471c316091f59febcffedb8d58d693492 02-Jun-2015 Winson Chung <winsonc@google.com> Fixing crash on tablets from merging scheme changes.
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
51b1c83946b390eb0861a899e26f77319c3f45ad 01-Jun-2015 Winson Chung <winsonc@google.com> Avoid merging app sections across scripts.

Bug: 20222023
Change-Id: I171d75a33694fc2cb347a32cff209f64fe3bf7c3
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
1612d110b6e7759d592e0294bd969c581b0108e8 01-Jun-2015 Winson Chung <winsonc@google.com> Revert "Avoid merging sections across scripts."

This reverts commit 595395d84f0507a1c5c163ad4722fa4345376079.

Change-Id: I44913141f6cb3af29b4509d6b7c317247d1f24c9
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
595395d84f0507a1c5c163ad4722fa4345376079 01-Jun-2015 Winson Chung <winsonc@google.com> Avoid merging sections across scripts.

Bug: 20222023
Change-Id: I6f6577112845fec14ae2e9c6e88ff3569bd2f1af
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
5f4e0fdd2e4edeb9211e2dcd1c99497f175731f8 22-May-2015 Winson Chung <winsonc@google.com> Moving all apps code into sub package.

- Renaming resources, dimens, etc to be more consistent
- Removing old AppsCustomize resources and other unused code

Change-Id: I15ce35e7cb7a9b9344fc7103963e4e4c9e45d89a
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java