Searched defs:newPos (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_file.c632 off_t newPos; local
656 newPos = lseek( (int)handle, (off_t)value, SEEK_SET);
657 if ( newPos == (off_t)-1 )
664 if ( newPos > sbuf.st_size )
666 availableSize -= (int)(newPos - sbuf.st_size);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java99 private ObjectAnimator createTranslationAnimation(View v, float newPos) { argument
101 mSwipeDirection == X ? "translationX" : "translationY", newPos);
212 float newPos;
218 newPos = -getSize(animView);
220 newPos = getSize(animView);
225 (int) (Math.abs(newPos - getTranslation(animView)) * 1000f / Math
232 ObjectAnimator anim = createTranslationAnimation(animView, newPos);

Completed in 246 milliseconds