Searched refs:newPos (Results 1 – 8 of 8) sorted by relevance
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | SwipeHelper.java | 115 private ObjectAnimator createTranslationAnimation(View v, float newPos) { in createTranslationAnimation() argument 117 mSwipeDirection == X ? "translationX" : "translationY", newPos); in createTranslationAnimation() 121 private ObjectAnimator createDismissAnimation(View v, float newPos, int duration) { in createDismissAnimation() argument 122 ObjectAnimator anim = createTranslationAnimation(v, newPos); in createDismissAnimation() 269 float newPos = determinePos(animView, velocity); in dismissChild() local 270 int duration = determineDuration(animView, newPos, velocity); in dismissChild() 273 ObjectAnimator anim = createDismissAnimation(animView, newPos, duration); in dismissChild() 293 private static int determineDuration(View animView, float newPos, float velocity) { in determineDuration() argument 298 (int) (Math.abs(newPos - animView.getTranslationX()) * 1000f / Math in determineDuration() 307 final float newPos; in determinePos() local [all …]
|
/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/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | FragmentStatePagerAdapter2.java | 221 final int newPos = getItemPosition(f); in notifyDataSetChanged() local 223 if (newPos != POSITION_NONE) { in notifyDataSetChanged() 224 final int pos = (newPos >= 0) ? newPos : oldPos; in notifyDataSetChanged()
|
/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 | BinaryDictDecoderUtils.java | 93 public void position(int newPos) { in position() argument 94 mBuffer.position(newPos); in position()
|
D | AbstractDictDecoder.java | 92 public void setPosition(int newPos) { in setPosition() argument
|
D | DictDecoder.java | 99 public void setPosition(final int newPos); in setPosition() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | OverScroller.java | 189 public void setFinalPos(int newPos) { in setFinalPos() argument 190 mScroller.setFinalPosition(newPos); in setFinalPos()
|