Searched refs:newPos (Results 1 – 7 of 7) sorted by relevance
253 final Pair<Integer, Integer> newPos = in onPageSelected() local255 setCurrentCategoryId(newPos.first /* categoryId */, false /* force */); in onPageSelected()256 mEmojiCategory.setCurrentCategoryPageId(newPos.second /* categoryPageId */); in onPageSelected()270 final Pair<Integer, Integer> newPos = in onPageScrolled() local272 final int newCategoryId = newPos.first; in onPageScrolled()279 newCategorySize, newPos.second, positionOffset); in onPageScrolled()
177 int newPos = values[i].mField.getPosAtDepth(depth); in matchesSimple() local178 if (newPos != currentPos) { in matchesSimple()181 currentPos = newPos; in matchesSimple()
132 private boolean isRightAnimation(int newPos) { in isRightAnimation() argument133 if (newPos < mCurrentSelected) { in isRightAnimation()
93 public void position(int newPos) { in position() argument94 mBuffer.position(newPos); in position()
92 public void setPosition(int newPos) { in setPosition() argument
99 public void setPosition(final int newPos); in setPosition() argument
482 int newPos = mScroller.getCurrX(); in computeScrollHelper() local483 if (oldPos != newPos) { in computeScrollHelper()488 if (newPos < mMinScroll && oldPos >= mMinScroll) { in computeScrollHelper()491 } else if (newPos > mMaxScroll && oldPos <= mMaxScroll) { in computeScrollHelper()501 if (newPos == finalPos && mEdgeGlowLeft.isFinished() && mEdgeGlowRight.isFinished()) { in computeScrollHelper()