/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/Dialer/src/com/android/dialer/list/ |
D | SwipeHelper.java | 137 private ObjectAnimator createTranslationAnimation(View v, float newPos) { in createTranslationAnimation() argument 139 mSwipeDirection == X ? "translationX" : "translationY", newPos); in createTranslationAnimation() 143 private ObjectAnimator createDismissAnimation(View v, float newPos, int duration) { in createDismissAnimation() argument 144 ObjectAnimator anim = createTranslationAnimation(v, newPos); in createDismissAnimation() 276 float newPos = determinePos(animView, velocity); in dismissChild() local 277 int duration = determineDuration(animView, newPos, velocity); in dismissChild() 280 ObjectAnimator anim = createDismissAnimation(animView, newPos, duration); in dismissChild() 300 private int determineDuration(View animView, float newPos, float velocity) { in determineDuration() argument 305 (int) (Math.abs(newPos - animView.getTranslationX()) * 1000f / Math in determineDuration() 314 float newPos = 0; in determinePos() local [all …]
|
/packages/apps/Music/src/com/android/music/ |
D | VerticalTextSpinner.java | 91 VerticalTextSpinner spinner, int oldPos, int newPos, String[] items); in onChanged() argument 351 int newPos = getNewIndex(1); in onDraw() local 352 if (newPos >= 0) { in onDraw() 353 mCurrentSelectedPos = newPos; in onDraw() 358 if (newPos < 0 || ((newPos >= mTextList.length - 1) && !mWrapAround)) { in onDraw() 364 int newPos = getNewIndex(-1); in onDraw() local 365 if (newPos >= 0) { in onDraw() 366 mCurrentSelectedPos = newPos; in onDraw() 371 if (newPos < 0 || (newPos == 0 && !mWrapAround)) { in onDraw()
|
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | EmojiPalettesView.java | 509 final Pair<Integer, Integer> newPos = in onPageSelected() local 511 setCurrentCategoryId(newPos.first /* categoryId */, false /* force */); in onPageSelected() 512 mEmojiCategory.setCurrentCategoryPageId(newPos.second /* categoryPageId */); in onPageSelected() 525 final Pair<Integer, Integer> newPos = in onPageScrolled() local 527 final int newCategoryId = newPos.first; in onPageScrolled() 534 newCategorySize, newPos.second, positionOffset); in onPageScrolled()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | Switch.java | 252 float newPos = Math.max(0, in onTouchEvent() local 254 if (newPos != mThumbPosition) { in onTouchEvent() 255 mThumbPosition = newPos; in onTouchEvent()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | Switch.java | 261 float newPos = Math.max(0, in onTouchEvent() local 263 if (newPos != mThumbPosition) { in onTouchEvent() 264 mThumbPosition = newPos; in onTouchEvent()
|
/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/java/src/com/android/inputmethod/latin/makedict/ |
D | Ver3DictDecoder.java | 207 public void setPosition(int newPos) { in setPosition() argument 208 mDictBuffer.position(newPos); in setPosition()
|
D | Ver4DictDecoder.java | 305 public void setPosition(int newPos) { in setPosition() argument 306 mDictBuffer.position(newPos); in setPosition()
|
D | BinaryDictDecoderUtils.java | 104 public void position(int newPos) { in position() argument 105 mBuffer.position(newPos); in position()
|
D | DictDecoder.java | 104 public void setPosition(final int newPos); in setPosition() argument
|