Home
last modified time | relevance | path

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

/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1348 private float mTranslateX; field in PhotoView.SnapRunnable
1368 mTranslateX = translateX; in start()
1402 transX = mTranslateX; in run()
1405 transX = (mTranslateX / (SNAP_DURATION - delta)) * 10f; in run()
1407 if (Math.abs(transX) > Math.abs(mTranslateX) || Float.isNaN(transX)) { in run()
1408 transX = mTranslateX; in run()
1416 mTranslateX -= transX; in run()
1419 if (mTranslateX == 0 && mTranslateY == 0) { in run()
/frameworks/base/libs/hwui/
DDisplayListCanvas.cpp39 , mTranslateX(0.0f) in DisplayListCanvas()
144 mTranslateX += dx; in translate()
505 if (mTranslateX != 0.0f || mTranslateY != 0.0f) { in flushTranslate()
506 addOpAndUpdateChunk(new (alloc()) TranslateOp(mTranslateX, mTranslateY)); in flushTranslate()
507 mTranslateX = mTranslateY = 0.0f; in flushTranslate()
DDisplayListCanvas.h342 float mTranslateX; variable
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java822 private float mTranslateX = 0; field in VectorDrawable_Delegate.VGroup_Delegate
833 mTranslateX = copy.mTranslateX; in VGroup_Delegate()
877 mLocalMatrix.postTranslate(mTranslateX + mPivotX, mTranslateY + mPivotY); in updateLocalMatrix()
937 return mTranslateX; in getTranslateX()
941 if (translateX != mTranslateX) { in setTranslateX()
942 mTranslateX = translateX; in setTranslateX()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java1133 private float mTranslateX = 0; field in VectorDrawableCompat.VGroup
1149 mTranslateX = copy.mTranslateX; in VGroup()
1223 mTranslateX = TypedArrayUtils.getNamedFloat(a, parser, "translateX", in updateStateFromTypedArray()
1224 AndroidResources.styleable_VectorDrawableGroup_translateX, mTranslateX); in updateStateFromTypedArray()
1244 mLocalMatrix.postTranslate(mTranslateX + mPivotX, mTranslateY + mPivotY); in updateLocalMatrix()
1315 return mTranslateX; in getTranslateX()
1320 if (translateX != mTranslateX) { in setTranslateX()
1321 mTranslateX = translateX; in setTranslateX()