/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/apps/Music/src/com/android/music/ |
D | VerticalTextSpinner.java | 88 void onChanged(VerticalTextSpinner spinner, int oldPos, int newPos, String[] items); in onChanged() argument 333 int newPos = getNewIndex(1); in onDraw() local 334 if (newPos >= 0) { in onDraw() 335 mCurrentSelectedPos = newPos; in onDraw() 340 if (newPos < 0 || ((newPos >= mTextList.length - 1) && !mWrapAround)) { in onDraw() 346 int newPos = getNewIndex(-1); in onDraw() local 347 if (newPos >= 0) { in onDraw() 348 mCurrentSelectedPos = newPos; in onDraw() 353 if (newPos < 0 || (newPos == 0 && !mWrapAround)) { in onDraw()
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | SwipeHelper.java | 139 protected ObjectAnimator createTranslationAnimation(View v, float newPos) { in createTranslationAnimation() argument 141 mSwipeDirection == X ? View.TRANSLATION_X : View.TRANSLATION_Y, newPos); in createTranslationAnimation() 346 float newPos; in dismissChild() local 359 newPos = -getSize(animView); in dismissChild() 361 newPos = getSize(animView); in dismissChild() 368 (int) (Math.abs(newPos - getTranslation(animView)) * 1000f / Math in dismissChild() 387 Animator anim = getViewTranslationAnimator(animView, newPos, updateListener); in dismissChild() 396 newPos, velocity, getSize(animView)); in dismissChild()
|
/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/experimental/DreamTheater/src/com/android/dreamtheater/ |
D | BouncyDroid.java | 237 World.Vec newPos = finger.add(mGrabSpot); in reset() 238 mBody.v = mBody.v.add(newPos.sub(mBody.p).mul(dt)); in reset() 239 mBody.p = newPos; in reset()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | UserDictionaryToolsList.java | 429 int newPos = (mWordCount - MAX_LIST_WORD_COUNT); 430 mWordCount = (0 <= newPos) ? newPos : 0;
|
/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
|