Home
last modified time | relevance | path

Searched refs:mTranslateX (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1201 private float mTranslateX; field in PhotoView.SnapRunnable
1221 mTranslateX = translateX; in start()
1255 transX = mTranslateX; in run()
1258 transX = (mTranslateX / (SNAP_DURATION - delta)) * 10f; in run()
1260 if (Math.abs(transX) > Math.abs(mTranslateX) || transX == Float.NaN) { in run()
1261 transX = mTranslateX; in run()
1269 mTranslateX -= transX; in run()
1272 if (mTranslateX == 0 && mTranslateY == 0) { in run()
/frameworks/base/libs/hwui/
DDisplayListRenderer.cpp36 mTranslateX(0.0f), mTranslateY(0.0f), mHasTranslate(false), in DisplayListRenderer()
191 mTranslateX += dx; in translate()
493 if (mTranslateX != 0.0f || mTranslateY != 0.0f) { in insertTranslate()
494 DisplayListOp* op = new (alloc()) TranslateOp(mTranslateX, mTranslateY); in insertTranslate()
496 mTranslateX = mTranslateY = 0.0f; in insertTranslate()
DDisplayListRenderer.h359 float mTranslateX; variable