Searched defs:newPos (Results 1 - 2 of 2) 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/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java139 protected ObjectAnimator createTranslationAnimation(View v, float newPos) { argument
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));

Completed in 111 milliseconds