Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp71 uint32_t currentPage = 0; in initFromRanges() local
81 mZeroPageIndex = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
87 mIndices[startPage] = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
90 size_t index = ((currentPage - 1) << (kLogValuesPerPage - kLogBitsPerEl)) + in initFromRanges()
104 mIndices[j] = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java1820 final int currentPage = ii.position;
1826 onPageScrolled(currentPage, pageOffset, offsetPixels);
2236 final int currentPage = ii.position;
2243 int nextPage = determineTargetPage(currentPage, pageOffset, initialVelocity,
2383 private int determineTargetPage(int currentPage, float pageOffset, int velocity, int deltaX) {
2386 targetPage = velocity > 0 ? currentPage : currentPage + 1;
2388 final float truncator = currentPage >= mCurItem ? 0.4f : 0.6f;
2389 targetPage = currentPage + (int) (pageOffset + truncator);
2546 final int currentPage = ii.position;
2549 int nextPage = determineTargetPage(currentPage, pageOffset, initialVelocity,
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1690 final int currentPage = ii.position;
1696 onPageScrolled(currentPage, pageOffset, offsetPixels);
2045 final int currentPage = ii.position;
2057 currentPage, nextPageOffset, initialVelocity, totalDelta);
2248 private int determineTargetPage(int currentPage, float pageOffset, int velocity, int deltaX) {
2251 targetPage = currentPage - (velocity < 0 ? mLeftIncr : 0);
2253 final float truncator = currentPage >= mCurItem ? 0.4f : 0.6f;
2254 targetPage = (int) (currentPage - mLeftIncr * (pageOffset + truncator));
/frameworks/base/docs/html/training/animation/
Dcardflip.jd388 // just-incremented currentPage variable).