Home
last modified time | relevance | path

Searched refs:newPos (Results 1 – 8 of 8) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DSwipeHelper.java115 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/
DEmojiPalettesView.java253 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/
DFragmentStatePagerAdapter2.java221 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/
DMainPanel.java132 private boolean isRightAnimation(int newPos) { in isRightAnimation() argument
133 if (newPos < mCurrentSelected) { in isRightAnimation()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderUtils.java93 public void position(int newPos) { in position() argument
94 mBuffer.position(newPos); in position()
DAbstractDictDecoder.java92 public void setPosition(int newPos) { in setPosition() argument
DDictDecoder.java99 public void setPosition(final int newPos); in setPosition() argument
/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java189 public void setFinalPos(int newPos) { in setFinalPos() argument
190 mScroller.setFinalPosition(newPos); in setFinalPos()