Searched refs:newPos (Results 1 - 10 of 10) sorted by relevance
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | SwipeHelper.java | 115 private ObjectAnimator createTranslationAnimation(View v, float newPos) { argument 117 mSwipeDirection == X ? "translationX" : "translationY", newPos); 121 private ObjectAnimator createDismissAnimation(View v, float newPos, int duration) { argument 122 ObjectAnimator anim = createTranslationAnimation(v, newPos); 269 float newPos = determinePos(animView, velocity); 270 int duration = determineDuration(animView, newPos, velocity); 273 ObjectAnimator anim = createDismissAnimation(animView, newPos, duration); 293 private static int determineDuration(View animView, float newPos, float velocity) { argument 298 (int) (Math.abs(newPos - animView.getTranslationX()) * 1000f / Math 307 final float newPos; [all...] |
/packages/apps/Music/src/com/android/music/ |
H A D | VerticalTextSpinner.java | 88 void onChanged(VerticalTextSpinner spinner, int oldPos, int newPos, String[] items); argument 333 int newPos = getNewIndex(1); 334 if (newPos >= 0) { 335 mCurrentSelectedPos = newPos; 340 if (newPos < 0 || ((newPos >= mTextList.length - 1) && !mWrapAround)) { 346 int newPos = getNewIndex(-1); 347 if (newPos >= 0) { 348 mCurrentSelectedPos = newPos; 353 if (newPos < [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | FragmentStatePagerAdapter2.java | 221 final int newPos = getItemPosition(f); 223 if (newPos != POSITION_NONE) { 224 final int pos = (newPos >= 0) ? newPos : oldPos;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
H A D | AbstractDictDecoder.java | 92 public void setPosition(int newPos) { argument
|
H A D | DictDecoder.java | 97 * @param newPos the new position 99 public void setPosition(final int newPos); argument
|
H A D | BinaryDictDecoderUtils.java | 93 public void position(int newPos) { argument 94 mBuffer.position(newPos);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
H A D | EmojiPalettesView.java | 253 final Pair<Integer, Integer> newPos = 255 setCurrentCategoryId(newPos.first /* categoryId */, false /* force */); 256 mEmojiCategory.setCurrentCategoryPageId(newPos.second /* categoryPageId */); 270 final Pair<Integer, Integer> newPos = 272 final int newCategoryId = newPos.first; 279 newCategorySize, newPos.second, positionOffset);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
H A D | MainPanel.java | 132 private boolean isRightAnimation(int newPos) { argument 133 if (newPos < mCurrentSelected) {
|
/packages/experimental/DreamTheater/src/com/android/dreamtheater/ |
H A D | BouncyDroid.java | 237 World.Vec newPos = finger.add(mGrabSpot); 238 mBody.v = mBody.v.add(newPos.sub(mBody.p).mul(dt)); 239 mBody.p = newPos;
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | UserDictionaryToolsList.java | 429 int newPos = (mWordCount - MAX_LIST_WORD_COUNT); 430 mWordCount = (0 <= newPos) ? newPos : 0;
|
Completed in 364 milliseconds