/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
SuperTypesLastSorter.java | 38 int newPos = i; 43 newPos = j; 47 if (newPos == i) { 51 fields.add(newPos, f);
|
/external/pdfium/core/fxcrt/ |
cfx_memorystream.cpp | 66 FX_SAFE_SIZE_T newPos = size; 67 newPos += offset; 68 if (!newPos.IsValid() || newPos.ValueOrDefault(0) == 0 || 69 newPos.ValueOrDie() > m_nCurSize) { 73 m_nCurPos = newPos.ValueOrDie(); 110 FX_SAFE_SIZE_T newPos = size; 111 newPos += offset; 112 if (!newPos.IsValid()) 115 m_nCurPos = newPos.ValueOrDie() [all...] |
cfx_fileaccess_windows.cpp | 112 LARGE_INTEGER newPos = {}; 113 if (!::SetFilePointerEx(m_hFile, dist, &newPos, FILE_CURRENT)) 116 return (FX_FILESIZE)newPos.QuadPart; 125 LARGE_INTEGER newPos = {}; 126 if (!::SetFilePointerEx(m_hFile, dist, &newPos, FILE_BEGIN)) 129 return (FX_FILESIZE)newPos.QuadPart;
|
/external/lzma/CPP/7zip/Common/ |
LimitedStreams.cpp | 45 UInt64 newPos = _startOffset + _virtPos;
46 if (newPos != _physPos)
48 _physPos = newPos;
109 UInt64 newPos = StartOffset + ((UInt64)phyBlock << BlockSizeLog) + offsetInBlock;
110 if (newPos != _physPos)
112 _physPos = newPos;
291 UInt64 newPos = _startOffset + _virtPos;
292 UInt64 offsetInCache = newPos - _cachePhyPos;
294 if (newPos >= _cachePhyPos &&
303 if (newPos != _physPos) [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/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...] |
/frameworks/wilhelm/tests/listening/ |
seekTorture.c | 125 SLmillisecond newPos = duration * ((rand() & 65535) / 65536.0); 126 printf("seek %u\n", (unsigned) newPos); 127 result = (*playerSeek)->SetPosition(playerSeek, newPos, SL_SEEKMODE_ACCURATE); 132 printf("now %u\n", (unsigned) newPos);
|
/packages/apps/Music/src/com/android/music/ |
VerticalTextSpinner.java | 88 void onChanged(VerticalTextSpinner spinner, int oldPos, int newPos, String[] items); 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 < 0 || (newPos == 0 && !mWrapAround)) [all...] |
/frameworks/base/core/java/android/widget/ |
AdapterView.java | [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
PlaybackTransportRowPresenter.java | 105 long newPos; 114 newPos = mPositions[index + 1]; 117 newPos = mTotalTimeInMs; 124 newPos = mPositions[insertIndex]; 127 newPos = mTotalTimeInMs; 135 newPos = mPositions[index - 1]; 138 newPos = 0; 145 newPos = mPositions[insertIndex - 1]; 148 newPos = 0; 156 newPos = pos + (forward ? interval : -interval) [all...] |
/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;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
AbstractDictDecoder.java | 92 public void setPosition(int newPos) {
|
DictDecoder.java | 97 * @param newPos the new position 99 public void setPosition(final int newPos);
|
BinaryDictDecoderUtils.java | 93 public void position(int newPos) { 94 mBuffer.position(newPos);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
SwipeHelper.java | 147 protected ObjectAnimator createTranslationAnimation(View v, float newPos) { 149 mSwipeDirection == X ? View.TRANSLATION_X : View.TRANSLATION_Y, newPos); 367 float newPos; 379 newPos = -getSize(animView); 381 newPos = getSize(animView); 388 (int) (Math.abs(newPos - getTranslation(animView)) * 1000f / Math 408 Animator anim = getViewTranslationAnimator(animView, newPos, updateListener); 417 newPos, velocity, getSize(animView));
|
/external/zlib/src/contrib/minizip/ |
iowin32.c | 241 static BOOL MySetFilePointerEx(HANDLE hFile, LARGE_INTEGER pos, LARGE_INTEGER *newPos, DWORD dwMoveMethod) 244 return SetFilePointerEx(hFile, pos, newPos, dwMoveMethod); 252 if ((newPos != NULL) && (fOk)) 254 newPos->LowPart = dwNewPos; 255 newPos->HighPart = lHigh;
|
/toolchain/binutils/binutils-2.27/zlib/contrib/minizip/ |
iowin32.c | 240 static BOOL MySetFilePointerEx(HANDLE hFile, LARGE_INTEGER pos, LARGE_INTEGER *newPos, DWORD dwMoveMethod) 243 return SetFilePointerEx(hFile, pos, newPos, dwMoveMethod); 251 if ((newPos != NULL) && (fOk)) 253 newPos->LowPart = dwNewPos; 254 newPos->HighPart = lHigh;
|
/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);
|
/frameworks/base/cmds/statsd/src/matchers/ |
matcher_util.cpp | 178 int newPos = values[i].mField.getPosAtDepth(depth); 179 if (newPos != currentPos) { 182 currentPos = newPos;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
MainPanel.java | 132 private boolean isRightAnimation(int newPos) { 133 if (newPos < mCurrentSelected) {
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
ttProgram.py | 198 newPos = m.regs[0][1] 199 assert newPos >= pos 200 return newPos
|
/packages/experimental/DreamTheater/src/com/android/dreamtheater/ |
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/apps/Car/Media/src/com/android/car/media/browse/ |
BrowseAdapter.java | 444 public boolean areItemsTheSame(int oldPos, int newPos) { 446 BrowseViewData newItem = newList.get(newPos); 453 public boolean areContentsTheSame(int oldPos, int newPos) { 455 BrowseViewData newItem = newList.get(newPos);
|
/frameworks/base/core/java/com/android/internal/widget/ |
ResolverDrawerLayout.java | 481 final float newPos = Math.max(0, Math.min(mCollapseOffset + dy, 483 if (newPos != mCollapseOffset) { 484 dy = newPos - mCollapseOffset; 494 mCollapseOffset = newPos; 496 final boolean isCollapsedNew = newPos != 0; [all...] |
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
ConscryptEngineTest.java | 474 int newPos = decryptedBuffer.position(); 476 assertEquals(bytesProduced, newPos - prevPos); 484 decryptedBuffer.limit(newPos);
|