Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/view/shadow/
DSpotShadowBitmapGenerator.java35 private float mTranslateX; field in SpotShadowBitmapGenerator
87 mTranslateX = 0; in populateShadow()
91 mTranslateX = shadowBounds[0] * -1; in populateShadow()
94 mTranslateX = shadowBounds[2] - mShadowConfig.getWidth(); in populateShadow()
102 Math3DHelper.translate(mStrips, mTranslateX, mTranslateY, 3); in populateShadow()
116 return mTranslateX; in getTranslateX()
DAmbientShadowBitmapGenerator.java34 private float mTranslateX; field in AmbientShadowBitmapGenerator
63 mTranslateX = shadowBounds[0] * -1; in populateShadow()
66 mTranslateX = shadowBounds[2] - mShadowConfig.getWidth(); in populateShadow()
75 Math3DHelper.translate(mCalculator.getVertex(), mTranslateX, mTranslateY, 2); in populateShadow() local
98 return mTranslateX; in getTranslateX()
/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/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java860 private float mTranslateX = 0; field in VectorDrawable_Delegate.VGroup_Delegate
871 mTranslateX = copy.mTranslateX; in VGroup_Delegate()
892 mLocalMatrix.postTranslate(mTranslateX + mPivotX, mTranslateY + mPivotY); in updateLocalMatrix()
952 return mTranslateX; in getTranslateX()
956 if (translateX != mTranslateX) { in setTranslateX()
957 mTranslateX = translateX; in setTranslateX()