History log of /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/CacheUtils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3104d446bcf3da9ffb7a761fd30f0506c30f0cc9 21-Nov-2016 Chris Craik <ccraik@google.com> Make RecyclerView prefetch APIs public

Bug: 27106058
Test: @SmallTests still pass

Change-Id: I086b17fb8ba8164a680d03a5b6255670334784a5
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/CacheUtils.java
1e0a453dff8d7bb7a966d006541454c770d1ed05 25-Oct-2016 Chris Craik <ccraik@google.com> Nested RecyclerView Prefetch

Bug: 27106058
Fixes: 32343355
Test: tests added, existing @SmallTests pass

- Stash RecyclerView if found within ViewHolder
- Prefetch nested LinearLayout content based on anchor
- Avoid double query of Display#getRefreshRate()
- Avoid dispatching recycled callbacks for unbound holders
- Reorganized State members based on lifecycle.

Change-Id: I51701576d8f5985e3cab7b684694c50bf03ef280
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/CacheUtils.java
dbf84daff4f8c5a9e1b8cfa63ab14106dbab9038 11-Oct-2016 Chris Craik <ccraik@google.com> Prevent prefetch of attached views.

Bug: 32064637
Test: new test, existing cache tests still pass.

Prevents prefetch from stealing animating/disappearing views.

Manual rebase of 923857de8d8ee9029a80abf808f8dcfa98ade1ee

Change-Id: I42f4821e522c27f4b65679ccfd6808ae85b58cf1
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/CacheUtils.java
356880d3de117b067522ad452f4e3eed85ce444c 04-Oct-2016 Chris Craik <ccraik@google.com> Add GapWorker task prioritization

Bug: 27106058
Test: new tests, existing caching tests still pass

GapWorker now breaks down all scheduled works (each prefetch itemview
from each RecyclerView) into tasks, which it sorts before starting.

In addition, ignore deadlines for items we expect to need next frame.

Change-Id: I23b5a37925bbf1e392d6c48f5341e1382f5fb89b
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/CacheUtils.java