Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java172 int transX = -sx; in transformCanvas() local
179 canvas.translate(-transX, -transY); in transformCanvas()
181 canvas.translate(transX, transY); in transformCanvas()
184 canvas.translate(-transX, -transY); in transformCanvas()
186 canvas.translate(transX, transY); in transformCanvas()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java445 final float transX = mValues[Matrix.MTRANS_X]; in interceptMoveLeft() local
451 } else if (transX == 0) { in interceptMoveLeft()
454 } else if (viewWidth >= drawWidth + transX) { in interceptMoveLeft()
478 final float transX = mValues[Matrix.MTRANS_X]; in interceptMoveRight() local
484 } else if (transX == 0) { in interceptMoveRight()
487 } else if (viewWidth >= drawWidth + transX) { in interceptMoveRight()
1382 float transX; in run() local
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()
[all …]
/frameworks/base/core/java/android/widget/
DStackView.java344 final float transX = perspectiveTranslationX + scaleShiftCorrectionX; in transformViewAtIndex() local
353 … PropertyValuesHolder translationX = PropertyValuesHolder.ofFloat("translationX", transX); in transformViewAtIndex()
366 view.setTranslationX(transX); in transformViewAtIndex()
/frameworks/base/core/java/android/view/
DView.java15007 int transX = 0;
15011 transX = -sx;
15022 canvas.translate(-transX, -transY);
15024 canvas.translate(transX, transY);
15037 canvas.translate(-transX, -transY);
15039 canvas.translate(transX, transY);