Searched refs:deadlineNs (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/com/android/internal/widget/ |
D | GapWorker.java | 264 int position, long deadlineNs) { in prefetchPositionWithDeadline() argument 272 position, false, deadlineNs); in prefetchPositionWithDeadline() 291 long deadlineNs) { in prefetchInnerRecyclerViewWithDeadline() argument 315 prefetchPositionWithDeadline(innerView, innerPosition, deadlineNs); in prefetchInnerRecyclerViewWithDeadline() 323 private void flushTaskWithDeadline(Task task, long deadlineNs) { in flushTaskWithDeadline() argument 324 long taskDeadlineNs = task.immediate ? RecyclerView.FOREVER_NS : deadlineNs; in flushTaskWithDeadline() 328 prefetchInnerRecyclerViewWithDeadline(holder.mNestedRecyclerView.get(), deadlineNs); in flushTaskWithDeadline() local 332 private void flushTasksWithDeadline(long deadlineNs) { in flushTasksWithDeadline() argument 338 flushTaskWithDeadline(task, deadlineNs); in flushTasksWithDeadline() 343 void prefetch(long deadlineNs) { in prefetch() argument [all …]
|
D | RecyclerView.java | 5044 boolean willCreateInTime(int viewType, long approxCurrentNs, long deadlineNs) { in willCreateInTime() argument 5046 return expectedDurationNs == 0 || (approxCurrentNs + expectedDurationNs < deadlineNs); in willCreateInTime() 5049 boolean willBindInTime(int viewType, long approxCurrentNs, long deadlineNs) { in willBindInTime() argument 5051 return expectedDurationNs == 0 || (approxCurrentNs + expectedDurationNs < deadlineNs); in willBindInTime() 5274 int position, long deadlineNs) { in tryBindViewHolderByDeadline() argument 5278 if (deadlineNs != FOREVER_NS in tryBindViewHolderByDeadline() 5279 && !mRecyclerPool.willBindInTime(viewType, startBindNs, deadlineNs)) { in tryBindViewHolderByDeadline() 5411 boolean dryRun, long deadlineNs) { in tryGetViewHolderForPositionByDeadline() argument 5498 if (deadlineNs != FOREVER_NS in tryGetViewHolderForPositionByDeadline() 5499 && !mRecyclerPool.willCreateInTime(type, start, deadlineNs)) { in tryGetViewHolderForPositionByDeadline() [all …]
|