Home
last modified time | relevance | path

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

/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1331 private float mTranslateX; field in PhotoView.SnapRunnable
1351 mTranslateX = translateX; in start()
1385 transX = mTranslateX; in run()
1388 transX = (mTranslateX / (SNAP_DURATION - delta)) * 10f; in run()
1390 if (Math.abs(transX) > Math.abs(mTranslateX) || Float.isNaN(transX)) { in run()
1391 transX = mTranslateX; in run()
1399 mTranslateX -= transX; in run()
1402 if (mTranslateX == 0 && mTranslateY == 0) { in run()
/frameworks/base/libs/hwui/
DDisplayListRenderer.cpp38 , mTranslateX(0.0f) in DisplayListRenderer()
132 mTranslateX += dx; in translate()
466 if (mTranslateX != 0.0f || mTranslateY != 0.0f) { in flushTranslate()
467 addOpAndUpdateChunk(new (alloc()) TranslateOp(mTranslateX, mTranslateY)); in flushTranslate()
468 mTranslateX = mTranslateY = 0.0f; in flushTranslate()
DDisplayListRenderer.h301 float mTranslateX; variable
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java1033 private float mTranslateX = 0; field in VectorDrawable.VGroup
1049 mTranslateX = copy.mTranslateX; in VGroup()
1113 mTranslateX = a.getFloat(R.styleable.VectorDrawableGroup_translateX, mTranslateX); in updateStateFromTypedArray()
1145 mLocalMatrix.postTranslate(mTranslateX + mPivotX, mTranslateY + mPivotY); in updateLocalMatrix()
1216 return mTranslateX; in getTranslateX()
1221 if (translateX != mTranslateX) { in setTranslateX()
1222 mTranslateX = translateX; in setTranslateX()