Home
last modified time | relevance | path

Searched refs:rangeStart (Results 1 – 11 of 11) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DAsyncListUtilLayoutTest.java77 int rangeStart = 0; in asyncListUtil() local
78 assertEquals(rangeStart, mLayoutManager.findFirstVisibleItemPosition()); in asyncListUtil()
89 mDataCallback.expectTilesInRange(rangeStart, rangeSize); in asyncListUtil()
90 mAdapter.expectItemsInRange(rangeStart, rangeSize); in asyncListUtil()
108 rangeStart = roundUp(rangeSize); in asyncListUtil()
109 scrollAndAssert("Scroll with no prefetch", rangeStart, rangeSize); in asyncListUtil()
111 rangeStart = roundUp(rangeStart + rangeSize); in asyncListUtil()
113 scrollAndAssert("Scroll with prefetch", rangeStart, rangeSize); in asyncListUtil()
115 rangeStart += mEndPrefetch; in asyncListUtil()
117 scrollAndAssert("Scroll a little down, no prefetch", rangeStart, 0); in asyncListUtil()
[all …]
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DRecurrenceProcessorTest.java90 Time rangeStart = new Time(tz); in verifyRecurrence() local
96 rangeStart.parse(rangeStartStr); in verifyRecurrence()
109 long[] out = rp.expand(dtstart, recur, rangeStart.toMillis(false /* use isDst */), in verifyRecurrence()
2456 Time rangeStart = new Time(tz); in performanceTextExpand() local
2461 rangeStart.parse("20010101T000000"); in performanceTextExpand()
2463 long rangeStartMillis = rangeStart.toMillis(false /* use isDst */); in performanceTextExpand()
DRRuleTest.java99 Time rangeStart = new Time(tz); in runRecurrenceIteratorTest() local
111 rangeStart.parse(advanceTo); in runRecurrenceIteratorTest()
118 long[] out = rp.expand(dtstart, recur, rangeStart.toMillis(false /* use isDst */), in runRecurrenceIteratorTest()
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DAsyncListUtil.java311 public void updateRange(int rangeStart, int rangeEnd, int extRangeStart, int extRangeEnd,
315 rangeStart, rangeEnd, extRangeStart, extRangeEnd, scrollHint);
318 if (rangeStart > rangeEnd) {
322 final int firstVisibleTileStart = getTileStart(rangeStart);
DSortedList.java230 int rangeStart = 0; in deduplicate() local
236 int compare = mCallback.compare(items[rangeStart], currentItem); in deduplicate()
243 final int sameItemPos = findSameItem(currentItem, items, rangeStart, rangeEnd); in deduplicate()
259 rangeStart = rangeEnd++; in deduplicate()
DThreadUtil.java34 void updateRange(int rangeStart, int rangeEnd, int extRangeStart, int extRangeEnd, in updateRange() argument
DMessageThreadUtil.java103 public void updateRange(int rangeStart, int rangeEnd, in getBackgroundProxy() argument
106 rangeStart, rangeEnd, extRangeStart, extRangeEnd, scrollHint, null)); in getBackgroundProxy()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DThreadUtilTest.java81 public void updateRange(int rangeStart, int rangeEnd, int extRangeStart, in setUpUi()
84 setResultData("updateRange", rangeStart, rangeEnd, in setUpUi()
/frameworks/base/core/java/android/widget/
DAdapterViewAnimator.java486 int rangeStart = modulo(newWindowStart, getWindowSize()); in showOnly() local
490 if (rangeStart > rangeEnd) { in showOnly()
500 if (!wrap && (index < rangeStart || index > rangeEnd)) { in showOnly()
502 } else if (wrap && (index > rangeEnd && index < rangeStart)) { in showOnly()
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
DSortedListTest.java306 int rangeStart = 0; in assertIntegrity() local
319 for (int j = rangeStart; j < i; j++) { in assertIntegrity()
324 rangeStart = i; in assertIntegrity()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java893 final int rangeStart = pageRange.getStart(); in onAdvancedPrintOptionsActivityResult() local
895 if (rangeStart <= rangeEnd) { in onAdvancedPrintOptionsActivityResult()
896 pageRange = new PageRange(rangeStart, rangeEnd); in onAdvancedPrintOptionsActivityResult()