Searched refs:transY (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/text/style/ |
D | DynamicDrawableSpan.java | 165 int transY = bottom - b.getBounds().bottom; in draw() local 167 transY -= paint.getFontMetricsInt().descent; in draw() 169 transY = (bottom - top) / 2 - b.getBounds().height() / 2; in draw() 172 canvas.translate(x, transY); in draw()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 164 int transY = -sy; 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/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockImageSpan.java | 56 float transY = (bottom - drawable.getBounds().bottom) / 2.0f; in draw() local 58 canvas.translate(transX, transY); in draw()
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
D | ReplacementDrawableSpan.java | 54 int transY = (bottom - mDrawable.getBounds().bottom + top) / 2; in draw() local 55 canvas.translate(x, transY); in draw()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 1400 float transY; in run() local 1403 transY = mTranslateY; in run() 1406 transY = (mTranslateY / (SNAP_DURATION - delta)) * 10f; in run() 1410 if (Math.abs(transY) > Math.abs(mTranslateY) || Float.isNaN(transY)) { in run() 1411 transY = mTranslateY; in run() 1415 mHeader.translate(transX, transY); in run() 1417 mTranslateY -= transY; in run()
|
/frameworks/base/core/java/android/widget/ |
D | StackView.java | 339 final float transY = perspectiveTranslationY + scaleShiftCorrectionY; in transformViewAtIndex() local 354 … PropertyValuesHolder translationY = PropertyValuesHolder.ofFloat("translationY", transY); in transformViewAtIndex() 367 view.setTranslationY(transY); in transformViewAtIndex()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 21760 int transY = 0; in draw() local 21764 transY = -sy; 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()
|