Searched refs:newPos (Results 1 – 8 of 8) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
D | EmojiPalettesView.java | 253 final Pair<Integer, Integer> newPos = in onPageSelected() local 255 setCurrentCategoryId(newPos.first /* categoryId */, false /* force */); in onPageSelected() 256 mEmojiCategory.setCurrentCategoryPageId(newPos.second /* categoryPageId */); in onPageSelected() 270 final Pair<Integer, Integer> newPos = in onPageScrolled() local 272 final int newCategoryId = newPos.first; in onPageScrolled() 279 newCategorySize, newPos.second, positionOffset); in onPageScrolled()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/ |
D | ResolverDrawerLayout.java | 602 final float newPos = Math.max(0, Math.min(mCollapseOffset + dy, mHeightUsed)); 603 if (newPos != mCollapseOffset) { 604 dy = newPos - mCollapseOffset; 644 mCollapseOffset = newPos; 646 final boolean isCollapsedNew = newPos != 0; 653 onScrollChanged(0, (int) newPos, 0, (int) (newPos - dy));
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
D | MainPanel.java | 132 private boolean isRightAnimation(int newPos) { in isRightAnimation() argument 133 if (newPos < mCurrentSelected) { in isRightAnimation()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | AbstractDictDecoder.java | 92 public void setPosition(int newPos) { in setPosition() argument
|
D | BinaryDictDecoderUtils.java | 93 public void position(int newPos) { in position() argument 94 mBuffer.position(newPos); in position()
|
D | DictDecoder.java | 99 public void setPosition(final int newPos); in setPosition() argument
|
/packages/modules/StatsD/statsd/src/matchers/ |
D | matcher_util.cpp | 264 int newPos = values[i].mField.getPosAtDepth(depth); in computeRanges() local 265 if (newPos != currentPos) { in computeRanges() 268 currentPos = newPos; in computeRanges()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedView.java | 564 int newPos = mScroller.getCurrX(); in computeScrollHelper() local 565 if (oldPos != newPos) { in computeScrollHelper() 570 if (newPos < mMinScroll && oldPos >= mMinScroll) { in computeScrollHelper() 574 } else if (newPos > mMaxScroll && oldPos <= mMaxScroll) { in computeScrollHelper() 585 if (newPos == finalPos && mEdgeGlowLeft.isFinished() && mEdgeGlowRight.isFinished()) { in computeScrollHelper()
|