Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java163 int transX = -sx; in transformCanvas() local
170 canvas.translate(-transX, -transY); in transformCanvas()
172 canvas.translate(transX, transY); in transformCanvas()
176 canvas.translate(-transX, -transY); in transformCanvas()
178 canvas.translate(transX, transY); in transformCanvas()
/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/SettingsLib/src/com/android/settingslib/
DRestrictedLockImageSpan.java55 float transX = x + mExtraPadding; in draw() local
58 canvas.translate(transX, transY); in draw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java587 final float transX = mTranslation; in fadeInMenu() local
594 final float absTrans = Math.abs(transX); in fadeInMenu()
596 boolean pastMenu = (fromLeft && transX <= notiThreshold) in fadeInMenu()
/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.java21759 int transX = 0; in draw() local
21763 transX = -sx; in draw()
21774 canvas.translate(-transX, -transY); in draw()
21776 canvas.translate(transX, transY); in draw()
21789 canvas.translate(-transX, -transY); in draw()
21791 canvas.translate(transX, transY); in draw()