Searched refs:mGapWorker (Results 1 - 7 of 7) sorted by relevance

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecyclerViewCacheTest.java167 mRecyclerView.mGapWorker.prefetch(RecyclerView.FOREVER_NS);
202 mRecyclerView.mGapWorker.prefetch(RecyclerView.FOREVER_NS);
259 mRecyclerView.mGapWorker.prefetch(RecyclerView.FOREVER_NS);
300 mRecyclerView.mGapWorker.prefetch(RecyclerView.FOREVER_NS);
339 mRecyclerView.mGapWorker.prefetch(RecyclerView.FOREVER_NS);
450 mRecyclerView.mGapWorker.prefetch(deadlineNs);
460 mRecyclerView.mGapWorker.prefetch(RecyclerView.FOREVER_NS);
515 mRecyclerView.mGapWorker.prefetch(deadlineNs);
700 mRecyclerView.mGapWorker.prefetch(RecyclerView.FOREVER_NS);
878 mRecyclerView.mGapWorker
[all...]
H A DGridLayoutManagerCacheTest.java103 mRecyclerView.mGapWorker.postFromTraversal(mRecyclerView, mDx, mDy);
106 mRecyclerView.mGapWorker.mPostTimeNs += TimeUnit.SECONDS.toNanos(5);
H A DLinearLayoutManagerCacheTest.java92 mRecyclerView.mGapWorker.postFromTraversal(mRecyclerView, mDx, mDy);
95 mRecyclerView.mGapWorker.mPostTimeNs += TimeUnit.SECONDS.toNanos(5);
H A DStaggeredGridLayoutManagerCacheTest.java117 mRecyclerView.mGapWorker.postFromTraversal(mRecyclerView, mDx, mDy);
120 mRecyclerView.mGapWorker.mPostTimeNs += TimeUnit.SECONDS.toNanos(5);
H A DGapWorkerTest.java179 recyclerView.mGapWorker.prefetch(RecyclerView.FOREVER_NS);
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DRecyclerView.java498 GapWorker mGapWorker; field in class:RecyclerView
2754 mGapWorker = GapWorker.sGapWorker.get();
2755 if (mGapWorker == null) {
2756 mGapWorker = new GapWorker();
2768 mGapWorker.mFrameIntervalNs = (long) (1000000000 / refreshRate);
2769 GapWorker.sGapWorker.set(mGapWorker);
2771 mGapWorker.add(this);
2790 if (ALLOW_THREAD_GAP_WORK && mGapWorker != null) {
2792 mGapWorker.remove(this);
2793 mGapWorker
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java436 GapWorker mGapWorker; field in class:RecyclerView
2445 mGapWorker = GapWorker.sGapWorker.get();
2446 if (mGapWorker == null) {
2447 mGapWorker = new GapWorker();
2459 mGapWorker.mFrameIntervalNs = (long) (1000000000 / refreshRate);
2460 GapWorker.sGapWorker.set(mGapWorker);
2462 mGapWorker.add(this);
2483 mGapWorker.remove(this);
2484 mGapWorker = null;
2837 if (mGapWorker !
[all...]

Completed in 106 milliseconds