History log of /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/LinearLayoutManagerCacheTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
42e7d6fafcde7bfe261dd7d8d75ee53ca0cd6790 28-Sep-2016 Aurimas Liutikas <aurimas@google.com> Replace usage of Instrumentation#runOnMainSync with ActivityTestRule#runOnUiThread.

ActivityTestRule#runOnUiThread handles exceptions correctly and thus should be used
in place of Instrumentation#runOnMainSync. This changes most of these use-cases
except for tricky cases.

Bug: 31801302
Test: ran support-design:connectedCheck and support-appcompat:connectedCheck
Change-Id: I70904aef89e6bbc2a3cff1b3be697258d666e316
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/LinearLayoutManagerCacheTest.java
754cb29c50f09a83251dd4bb633ba445b2411adb 27-Sep-2016 Aurimas Liutikas <aurimas@google.com> Switch from deprecated size annotations to new ones.

Switching from android.test.suitebuilder.annotation.*Test
to android.support.test.filters.*Test.

Bug: 30074170
Test: manual - ran small appcompat tests, they still run and pass
Change-Id: Idce58b988c8e1a809f7f5fae67e0e235159d9fc5
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/LinearLayoutManagerCacheTest.java
07b2e072ee7e8f424eb95abc77695dc2c5a786bb 24-Sep-2016 Chris Craik <ccraik@google.com> Refactor ViewPrefetcher into GapWorker

Bug: 27106058
Test: Existing caching tests still pass.

Also time bind/create, to know how much gap time we have.

Change-Id: Iaaaf0d59032db4b87370b1a6b3e114a41c4da844
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/LinearLayoutManagerCacheTest.java
e9f9cd8d0e9008340985d17a2541ab24b3adb391 23-Sep-2016 Aurimas Liutikas <aurimas@google.com> Continuing the game of whack-a-mole with removing spaces in RV tests.

Test: did not test
Change-Id: I08f517f0d0419c34e15ffc3a73f8e533d0ba87e1
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/LinearLayoutManagerCacheTest.java
ec4b5429886bfe93707a85823cf40de107bd9dc6 16-Aug-2016 Chris Craik <ccraik@google.com> RecyclerView item prefetching

bug:27106058

If item inflation or binding are expensive, having them block the
production of a frame can lead to jank/stuttering as frames with such
work fail to meet rendering deadlines.

RecyclerView will now query LayoutManagers for views in advance of them
coming onscreen during scrolls and flings. These views are prefetched
into the Recycler cache during the UI thread's idle time between handing
a frame off to RenderThread, and the start of the next frame.

Change-Id: If3e485231243c188efd4cf3e512b9e8e13a50d47
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/LinearLayoutManagerCacheTest.java