Home
last modified time | relevance | path

Searched refs:ey (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/transition/tests/src/android/support/transition/
DArcMotionTest.java115 float ey = ex; in testMaximumAngle() local
117 Path expected = arcWithPoint(0, 100, 100, 0, ex, ey); in testMaximumAngle()
129 float ey = (float) (Math.tan(Math.PI / 4) * 50); in testMinimumHorizontalAngle() local
130 Path expected = arcWithPoint(0, 0, 100, 50, ex, ey); in testMinimumHorizontalAngle()
135 expected = arcWithPoint(0, 0, 100.001f, 50, ex, ey); in testMinimumHorizontalAngle()
140 expected = arcWithPoint(100, 50, 0, 0, ex, ey); in testMinimumHorizontalAngle()
146 ey = (float) (Math.tan(Math.PI / 4) * 62.5f); in testMinimumHorizontalAngle()
147 expected = arcWithPoint(0, 0, 50, 100, ex, ey); in testMinimumHorizontalAngle()
152 expected = arcWithPoint(0, 0, 50, 100.001f, ex, ey); in testMinimumHorizontalAngle()
157 expected = arcWithPoint(50, 100, 0, 0, ex, ey); in testMinimumHorizontalAngle()
[all …]
/frameworks/base/core/java/android/transition/
DArcMotion.java201 float ey; in getPath() local
227 ey = endY + eDistY; in getPath()
230 ey = startY + eDistY; in getPath()
241 ey = startY; in getPath()
244 ey = endY; in getPath()
251 float arcDistY = dy - ey; in getPath()
266 ey = dy + (ratio * (ey - dy)); in getPath()
269 float control1Y = (startY + ey) / 2; in getPath()
271 float control2Y = (ey + endY) / 2; in getPath()
/frameworks/support/transition/src/android/support/transition/
DArcMotion.java201 float ey; in getPath() local
227 ey = endY + eDistY; in getPath()
230 ey = startY + eDistY; in getPath()
241 ey = startY; in getPath()
244 ey = endY; in getPath()
251 float arcDistY = dy - ey; in getPath()
266 ey = dy + (ratio * (ey - dy)); in getPath()
269 float control1Y = (startY + ey) / 2; in getPath()
271 float control2Y = (ey + endY) / 2; in getPath()