Home
last modified time | relevance | path

Searched refs:windowSize (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DPageIndicator.java99 int windowSize = Math.min(mMarkers.size(), mMaxWindowSize); in offsetWindowCenterTo() local
100 int hWindowSize = (int) windowSize / 2; in offsetWindowCenterTo()
101 float hfWindowSize = windowSize / 2f; in offsetWindowCenterTo()
104 windowStart = windowEnd - Math.min(mMarkers.size(), windowSize); in offsetWindowCenterTo()
143 if (mMarkers.size() > windowSize) { in offsetWindowCenterTo()
DAppsCustomizePagedView.java1702 int windowSize = Math.min(count, sLookBehindPageCount + sLookAheadPageCount + 1);
1703 int windowMinIndex = Math.max(Math.min(page - sLookBehindPageCount, count - windowSize), 0);
1708 int windowSize = Math.min(count, sLookBehindPageCount + sLookAheadPageCount + 1);
1709 int windowMaxIndex = Math.min(Math.max(page + sLookAheadPageCount, windowSize - 1),
/packages/apps/Exchange/src/com/android/exchange/eas/
DEasSyncMail.java73 final int windowSize = numWindows * EMAIL_WINDOW_SIZE; in setSyncOptions() local
74 if (windowSize > MAX_WINDOW_SIZE + EMAIL_WINDOW_SIZE) { in setSyncOptions()
78 String.valueOf(windowSize < MAX_WINDOW_SIZE ? windowSize : MAX_WINDOW_SIZE)); in setSyncOptions()
DEasSyncCollectionTypeBase.java80 final double protocolVersion, int windowSize) throws IOException { in setPimSyncOptions() argument
83 s.data(Tags.SYNC_WINDOW_SIZE, String.valueOf(windowSize)); in setPimSyncOptions()
DEasSyncContacts.java174 final int windowSize = numWindows * PIM_WINDOW_SIZE_CONTACTS; in setSyncOptions() local
175 if (windowSize > MAX_WINDOW_SIZE + PIM_WINDOW_SIZE_CONTACTS) { in setSyncOptions()
179 windowSize < MAX_WINDOW_SIZE ? windowSize : MAX_WINDOW_SIZE); in setSyncOptions()
DEasSyncCalendar.java245 final int windowSize = numWindows * PIM_WINDOW_SIZE_CALENDAR; in setNonInitialSyncOptions() local
246 if (windowSize > MAX_WINDOW_SIZE + PIM_WINDOW_SIZE_CALENDAR) { in setNonInitialSyncOptions()
250 windowSize < MAX_WINDOW_SIZE ? windowSize : MAX_WINDOW_SIZE); in setNonInitialSyncOptions()
/packages/apps/Launcher2/src/com/android/launcher2/
DAppsCustomizePagedView.java1681 int windowSize = Math.min(count, sLookBehindPageCount + sLookAheadPageCount + 1);
1682 int windowMinIndex = Math.max(Math.min(page - sLookBehindPageCount, count - windowSize), 0);
1687 int windowSize = Math.min(count, sLookBehindPageCount + sLookAheadPageCount + 1);
1688 int windowMaxIndex = Math.min(Math.max(page + sLookAheadPageCount, windowSize - 1),