Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DHermiteInterpolator.java30 public int mP1X, mP1Y; field in HermiteInterpolator
81 mP1Y = mYCoords[p1]; in setInterval()
86 final int ay = mP2Y - mP1Y; in setInterval()
98 final float by = (mYCoords[p3] - mP1Y) / 2.0f; in setInterval()
117 mSlope2Y = (mYCoords[p3] - mP1Y) / 2.0f; in setInterval()
159 mInterpolatedY = (k1 * mP1Y + t * mSlope1Y) * omt2 + (k2 * mP2Y - omt * mSlope2Y) * t2; in interpolate()
DGestureStrokeDrawingPoints.java149 mInterpolator.mP1Y - mInterpolator.mP2Y); in interpolateStrokeAndReturnStartIndexOfLastSegment()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DHermiteInterpolatorTests.java61 assertEquals("p0y", mYCoords[p0], mInterpolator.mP1Y); in testP0P1()
98 assertEquals("p1y", mYCoords[p1], mInterpolator.mP1Y); in testP1P2()
135 assertEquals("p2y", mYCoords[p2], mInterpolator.mP1Y); in testP2P3()
172 assertEquals("p1y", mYCoords[p1], mInterpolator.mP1Y); in testJustP1P2()