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

/frameworks/wilhelm/tests/listening/
H A DseekTorture.c124 SLmillisecond newPos = duration * ((rand() & 65535) / 65536.0); local
125 printf("seek %u\n", (unsigned) newPos);
126 result = (*playerSeek)->SetPosition(playerSeek, newPos, SL_SEEKMODE_ACCURATE);
131 printf("now %u\n", (unsigned) newPos);
/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.java116 private ObjectAnimator createTranslationAnimation(View v, float newPos) { argument
118 mSwipeDirection == X ? "translationX" : "translationY", newPos);
262 float newPos;
268 newPos = -getSize(animView);
270 newPos = getSize(animView);
275 (int) (Math.abs(newPos - getTranslation(animView)) * 1000f / Math
282 ObjectAnimator anim = createTranslationAnimation(animView, newPos);

Completed in 1168 milliseconds