Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java134 int transX = -sx; in transformCanvas() local
141 canvas.translate(-transX, -transY); in transformCanvas()
143 canvas.translate(transX, transY); in transformCanvas()
146 canvas.translate(-transX, -transY); in transformCanvas()
148 canvas.translate(transX, transY); in transformCanvas()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockImageSpan.java55 float transX = x + mExtraPadding; in draw() local
58 canvas.translate(transX, transY); in draw()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java416 final float transX = mValues[Matrix.MTRANS_X]; in interceptMoveLeft() local
422 } else if (transX == 0) { in interceptMoveLeft()
425 } else if (viewWidth >= drawWidth + transX) { in interceptMoveLeft()
449 final float transX = mValues[Matrix.MTRANS_X]; in interceptMoveRight() local
455 } else if (transX == 0) { in interceptMoveRight()
458 } else if (viewWidth >= drawWidth + transX) { in interceptMoveRight()
1399 float transX; in run() local
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()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMenuRow.java541 final float transX = mTranslation;
548 final float absTrans = Math.abs(transX);
550 boolean pastMenu = (fromLeft && transX <= notiThreshold)
/frameworks/base/core/java/android/widget/
DStackView.java343 final float transX = perspectiveTranslationX + scaleShiftCorrectionX; in transformViewAtIndex() local
352 … PropertyValuesHolder translationX = PropertyValuesHolder.ofFloat("translationX", transX); in transformViewAtIndex()
365 view.setTranslationX(transX); in transformViewAtIndex()
/frameworks/base/core/java/android/view/
DView.java18895 int transX = 0;
18899 transX = -sx;
18910 canvas.translate(-transX, -transY);
18912 canvas.translate(transX, transY);
18925 canvas.translate(-transX, -transY);
18927 canvas.translate(transX, transY);