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

1 2 3 4

  /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;
  /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/pdfium/core/src/fxcrt/
fxcrt_windows.cpp 112 LARGE_INTEGER newPos = {0, 0};
113 if (!::SetFilePointerEx(m_hFile, dist, &newPos, FILE_CURRENT)) {
116 return (FX_FILESIZE)newPos.QuadPart;
125 LARGE_INTEGER newPos = {0, 0};
126 if (!::SetFilePointerEx(m_hFile, dist, &newPos, FILE_BEGIN)) {
129 return (FX_FILESIZE)newPos.QuadPart;
extension.h 235 FX_SAFE_SIZE_T newPos = size;
236 newPos += offset;
237 if (!newPos.IsValid() || newPos.ValueOrDefault(0) == 0 || newPos.ValueOrDie() > m_nCurSize) {
241 m_nCurPos = newPos.ValueOrDie();
287 FX_SAFE_SIZE_T newPos = size;
288 newPos += offset;
289 if (!newPos.IsValid())
292 m_nCurPos = newPos.ValueOrDie()
    [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;
  /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);
SimpleDateFormat.java     [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;
  /external/icu/icu4c/source/i18n/
tmutfmt.cpp 178 int32_t newPos = -1;
243 newPos = pos.getIndex();
277 pos.setIndex(newPos);
  /external/pdfium/fpdfsdk/src/
fpdfview.cpp 28 FX_SAFE_FILESIZE newPos = pdfium::base::checked_cast<FX_FILESIZE, size_t>(size);
29 newPos += offset;
30 if (!newPos.IsValid() || newPos.ValueOrDie() > m_FileAccess.m_FileLen) {
214 FX_SAFE_FILESIZE newPos = pdfium::base::checked_cast<FX_FILESIZE, size_t>(size);
215 newPos += offset;
216 if (!newPos.IsValid() || newPos.ValueOrDie() > (FX_DWORD)m_size) {
  /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;
322 newPos = -getSize(animView);
324 newPos = getSize(animView);
331 (int) (Math.abs(newPos - getTranslation(animView)) * 1000f / Math
342 ObjectAnimator anim = createTranslationAnimation(animView, newPos);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
SwipeHelper.java 123 private ObjectAnimator createTranslationAnimation(View v, float newPos) {
125 mSwipeDirection == X ? View.TRANSLATION_X : View.TRANSLATION_Y, newPos);
222 float newPos;
227 newPos = -getSize(view);
229 newPos = getSize(view);
234 (int) (Math.abs(newPos - getTranslation(view)) *
240 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...]
  /frameworks/base/core/java/android/widget/
AdapterView.java     [all...]
Gallery.java 605 int newPos = mFirstPosition + newSelectedChildIndex;
607 if (newPos != mSelectedPosition) {
608 setSelectedPositionInt(newPos);
609 setNextSelectedPositionInt(newPos);
    [all...]
Switch.java     [all...]
AbsListView.java     [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/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/jmonkeyengine/engine/src/core/com/jme3/scene/
Mesh.java 274 VertexBuffer newPos = oldPos.clone();
276 clone.setBuffer(newPos);
    [all...]
  /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 683 final float newPos = constrain(mThumbPosition + dPos, 0, 1);
684 if (newPos != mThumbPosition) {
686 setThumbPosition(newPos);
    [all...]
  /frameworks/support/v4/java/android/support/v4/widget/
DrawerLayout.java 820 final int newPos = (int) (width * slideOffset);
821 final int dx = newPos - oldPos;
    [all...]

Completed in 1726 milliseconds

1 2 3 4