HomeSort by relevance Sort by last modified time
    Searched refs:newPos (Results 1 - 25 of 98) sorted by null

1 2 3 4

  /external/pdfium/core/src/fxcrt/
extension.h 146 FX_SAFE_SIZE_T newPos = size;
147 newPos += offset;
148 if (!newPos.IsValid() || newPos.ValueOrDefault(0) == 0 ||
149 newPos.ValueOrDie() > m_nCurSize) {
153 m_nCurPos = newPos.ValueOrDie();
190 FX_SAFE_SIZE_T newPos = size;
191 newPos += offset;
192 if (!newPos.IsValid())
195 m_nCurPos = newPos.ValueOrDie()
    [all...]
fxcrt_windows.cpp 96 LARGE_INTEGER newPos = {};
97 if (!::SetFilePointerEx(m_hFile, dist, &newPos, FILE_CURRENT)) {
100 return (FX_FILESIZE)newPos.QuadPart;
108 LARGE_INTEGER newPos = {};
109 if (!::SetFilePointerEx(m_hFile, dist, &newPos, FILE_BEGIN)) {
112 return (FX_FILESIZE)newPos.QuadPart;
  /external/lzma/CPP/7zip/Common/
LimitedStreams.cpp 38 UInt64 newPos = _startOffset + _virtPos;
39 if (newPos != _physPos)
41 _physPos = newPos;
94 UInt64 newPos = StartOffset + ((UInt64)phyBlock << BlockSizeLog) + offsetInBlock;
95 if (newPos != _physPos)
97 _physPos = newPos;
276 UInt64 newPos = _startOffset + _virtPos;
277 UInt64 offsetInCache = newPos - _cachePhyPos;
279 if (newPos >= _cachePhyPos &&
285 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 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);
  /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...]
  /frameworks/base/core/java/android/widget/
AdapterView.java     [all...]
Gallery.java 613 int newPos = mFirstPosition + newSelectedChildIndex;
615 if (newPos != mSelectedPosition) {
616 setSelectedPositionInt(newPos);
617 setNextSelectedPositionInt(newPos);
    [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 139 protected ObjectAnimator createTranslationAnimation(View v, float newPos) {
141 mSwipeDirection == X ? View.TRANSLATION_X : View.TRANSLATION_Y, newPos);
346 float newPos;
359 newPos = -getSize(animView);
361 newPos = getSize(animView);
368 (int) (Math.abs(newPos - getTranslation(animView)) * 1000f / Math
387 Animator anim = getViewTranslationAnimator(animView, newPos, updateListener);
396 newPos, velocity, getSize(animView));
  /external/zlib/src/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);
  /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
  /external/icu/android_icu4j/src/main/java/android/icu/text/
TimeUnitFormat.java 266 int newPos = -1;
309 newPos = pos.getIndex();
339 pos.setIndex(newPos);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
TimeUnitFormat.java 264 int newPos = -1;
307 newPos = pos.getIndex();
337 pos.setIndex(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;
  /external/pdfium/fpdfsdk/src/
fpdfview.cpp 190 FX_SAFE_FILESIZE newPos =
192 newPos += offset;
193 if (!newPos.IsValid() || newPos.ValueOrDie() > m_FileAccess.m_FileLen) {
379 FX_SAFE_FILESIZE newPos =
381 newPos += offset;
382 if (!newPos.IsValid() || newPos.ValueOrDie() > (FX_DWORD)m_size) {
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
ResolverDrawerLayout.java 436 final float newPos = Math.max(0, Math.min(mCollapseOffset + dy,
438 if (newPos != mCollapseOffset) {
439 dy = newPos - mCollapseOffset;
449 mCollapseOffset = newPos;
451 final boolean isCollapsedNew = newPos != 0;
    [all...]
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
UserDictionaryToolsList.java 429 int newPos = (mWordCount - MAX_LIST_WORD_COUNT);
430 mWordCount = (0 <= newPos) ? newPos : 0;
  /external/icu/icu4c/source/i18n/
tmutfmt.cpp 178 int32_t newPos = -1;
243 newPos = pos.getIndex();
277 pos.setIndex(newPos);

Completed in 1350 milliseconds

1 2 3 4