Home
last modified time | relevance | path

Searched refs:currentPage (Results 1 – 4 of 4) sorted by relevance

/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp70 uint32_t currentPage = 0; in initFromRanges() local
79 mZeroPageIndex = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
85 mIndices[startPage] = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
88 size_t index = ((currentPage - 1) << (kLogValuesPerPage - kLogBitsPerEl)) + in initFromRanges()
102 mIndices[j] = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java1682 final int currentPage = ii.position;
1688 onPageScrolled(currentPage, pageOffset, offsetPixels);
2095 final int currentPage = ii.position;
2101 int nextPage = determineTargetPage(currentPage, pageOffset, initialVelocity,
2237 private int determineTargetPage(int currentPage, float pageOffset, int velocity, int deltaX) {
2240 targetPage = velocity > 0 ? currentPage : currentPage + 1;
2242 final float truncator = currentPage >= mCurItem ? 0.4f : 0.6f;
2243 targetPage = (int) (currentPage + pageOffset + truncator);
2399 final int currentPage = ii.position;
2402 int nextPage = determineTargetPage(currentPage, pageOffset, initialVelocity,
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1674 final int currentPage = ii.position;
1680 onPageScrolled(currentPage, pageOffset, offsetPixels);
2029 final int currentPage = ii.position;
2041 currentPage, nextPageOffset, initialVelocity, totalDelta);
2232 private int determineTargetPage(int currentPage, float pageOffset, int velocity, int deltaX) {
2235 targetPage = currentPage - (velocity < 0 ? mLeftIncr : 0);
2237 final float truncator = currentPage >= mCurItem ? 0.4f : 0.6f;
2238 targetPage = (int) (currentPage - mLeftIncr * (pageOffset + truncator));
/frameworks/base/docs/html/training/animation/
Dcardflip.jd364 // representing the next page (indicated by the just-incremented currentPage