/external/lzma/CPP/7zip/Common/ |
LimitedStreams.cpp | 34 UInt64 newPos = _startOffset + _virtPos;
35 if (newPos != _physPos)
37 _physPos = newPos;
75 UInt64 newPos = StartOffset + ((UInt64)phyBlock << BlockSizeLog) + offsetInBlock;
76 if (newPos != _physPos)
78 _physPos = newPos;
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
ScrollAnimator.cpp | 57 float newPos = clampScrollPosition(orientation, currentPos + step * delta); 58 if (currentPos == newPos) 60 currentPos = newPos;
|
/frameworks/wilhelm/tests/listening/ |
seekTorture.c | 124 SLmillisecond newPos = duration * ((rand() & 65535) / 65536.0); 125 printf("seek %u\n", (unsigned) newPos); 126 result = (*playerSeek)->SetPosition(playerSeek, newPos, SL_SEEKMODE_ACCURATE); 131 printf("now %u\n", (unsigned) newPos);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderMarquee.cpp | 292 int newPos; 294 newPos = m_end; 308 newPos = currentPos + (addIncrement ? increment : -increment); 310 newPos = min(newPos, endPoint); 312 newPos = max(newPos, endPoint); 315 if (newPos == endPoint) { 324 layer()->scrollableArea()->scrollToXOffset(newPos); 326 layer()->scrollableArea()->scrollToYOffset(newPos); [all...] |
/external/pdfium/core/src/fxcrt/ |
fxcrt_windows.cpp | 120 LARGE_INTEGER newPos = {0, 0};
121 if (!::SetFilePointerEx(m_hFile, dist, &newPos, FILE_CURRENT)) {
124 return (FX_FILESIZE)newPos.QuadPart;
133 LARGE_INTEGER newPos = {0, 0};
134 if (!::SetFilePointerEx(m_hFile, dist, &newPos, FILE_BEGIN)) {
137 return (FX_FILESIZE)newPos.QuadPart;
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
ScrollAnimatorNoneTest.cpp | 362 double newPos = attackCurve(curve, t, time, 0, kPosition); 363 double delta = newPos - oldPos; 367 accumulate += (oldPos + newPos) / 2 * (step / time); 368 oldPos = newPos; 384 double newPos = releaseCurve(curve, t, time, 0, kPosition); 385 double delta = newPos - oldPos; 389 accumulate -= (kPosition - (oldPos + newPos) / 2) * (step / time); 390 oldPos = newPos; [all...] |
/external/javassist/src/main/javassist/expr/ |
NewExpr.java | 28 int newPos; 37 newPos = np; 141 int op = iterator.byteAt(newPos + 3); 145 && iterator.byteAt(newPos + 4) == Opcode.SWAP) 165 int pos = newPos;
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
FragmentStatePagerAdapter2.java | 138 final int newPos = getItemPosition(f); 140 if (newPos != POSITION_NONE) { 141 final int pos = (newPos >= 0) ? newPos : oldPos;
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
FragmentStatePagerAdapter2.java | 221 final int newPos = getItemPosition(f); 223 if (newPos != POSITION_NONE) { 224 final int pos = (newPos >= 0) ? newPos : oldPos;
|
/external/icu/icu4c/source/i18n/ |
tmutfmt.cpp | 177 int32_t newPos = -1; 242 newPos = pos.getIndex(); 276 pos.setIndex(newPos);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
SwipeHelper.java | 127 private ObjectAnimator createTranslationAnimation(View v, float newPos) { 129 mSwipeDirection == X ? "translationX" : "translationY", newPos); 313 float newPos; 319 newPos = -getSize(animView); 321 newPos = getSize(animView); 328 (int) (Math.abs(newPos - getTranslation(animView)) * 1000f / Math 339 ObjectAnimator anim = createTranslationAnimation(animView, newPos);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
SwipeHelper.java | 124 private ObjectAnimator createTranslationAnimation(View v, float newPos) { 126 mSwipeDirection == X ? View.TRANSLATION_X : View.TRANSLATION_Y, newPos); 223 float newPos; 228 newPos = -getSize(view); 230 newPos = getSize(view); 235 (int) (Math.abs(newPos - getTranslation(view)) * 241 ValueAnimator anim = createTranslationAnimation(view, newPos);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
SwipeHelper.java | 115 private ObjectAnimator createTranslationAnimation(View v, float newPos) { 117 mSwipeDirection == X ? "translationX" : "translationY", newPos); 121 private ObjectAnimator createDismissAnimation(View v, float newPos, int duration) { 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) { 298 (int) (Math.abs(newPos - animView.getTranslationX()) * 1000f / Math 307 final float newPos; [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
tmutfmt.cpp | 243 int32_t newPos = -1; 312 newPos = pos.getIndex(); 346 pos.setIndex(newPos); [all...] |
/frameworks/base/core/java/android/widget/ |
AdapterView.java | [all...] |
Gallery.java | 606 int newPos = mFirstPosition + newSelectedChildIndex; 608 if (newPos != mSelectedPosition) { 609 setSelectedPositionInt(newPos); 610 setNextSelectedPositionInt(newPos); [all...] |
Switch.java | 754 final float newPos = MathUtils.constrain(mThumbPosition + dPos, 0, 1); 755 if (newPos != mThumbPosition) { 757 setThumbPosition(newPos); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
AdapterViewCompat.java | 927 int newPos; 937 newPos = findSyncPosition(); 938 if (newPos >= 0) { 940 int selectablePos = lookForSelectablePosition(newPos, true); 941 if (selectablePos == newPos) { 943 setNextSelectedPositionInt(newPos); 950 newPos = getSelectedItemPosition(); 953 if (newPos >= count) { 954 newPos = count - 1; 956 if (newPos < 0) [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
Switch.java | 261 float newPos = Math.max(0, 263 if (newPos != mThumbPosition) { 264 mThumbPosition = newPos;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
Switch.java | 252 float newPos = Math.max(0, 254 if (newPos != mThumbPosition) { 255 mThumbPosition = newPos;
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
SwipeHelper.java | 137 private ObjectAnimator createTranslationAnimation(View v, float newPos) { 139 mSwipeDirection == X ? "translationX" : "translationY", newPos); 143 private ObjectAnimator createDismissAnimation(View v, float newPos, int duration) { 144 ObjectAnimator anim = createTranslationAnimation(v, newPos); 276 float newPos = determinePos(animView, velocity); 277 int duration = determineDuration(animView, newPos, velocity); 280 ObjectAnimator anim = createDismissAnimation(animView, newPos, duration); 300 private int determineDuration(View animView, float newPos, float velocity) { 305 (int) (Math.abs(newPos - animView.getTranslationX()) * 1000f / Math 314 float newPos = 0 [all...] |
/packages/apps/Music/src/com/android/music/ |
VerticalTextSpinner.java | 91 VerticalTextSpinner spinner, int oldPos, int newPos, String[] items); 351 int newPos = getNewIndex(1); 352 if (newPos >= 0) { 353 mCurrentSelectedPos = newPos; 358 if (newPos < 0 || ((newPos >= mTextList.length - 1) && !mWrapAround)) { 364 int newPos = getNewIndex(-1); 365 if (newPos >= 0) { 366 mCurrentSelectedPos = newPos; 371 if (newPos < 0 || (newPos == 0 && !mWrapAround)) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
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);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowParcel.java | 805 int newPos = dataPosition(); 809 int N = newPos - oldPos; 811 setDataPosition(newPos);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
SwitchCompat.java | 642 final float newPos = constrain(mThumbPosition + dPos, 0, 1); 643 if (newPos != mThumbPosition) { 645 setThumbPosition(newPos); [all...] |