Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DHermiteInterpolator.java32 public int mP2X, mP2Y; field in HermiteInterpolator
83 mP2Y = mYCoords[p2]; in setInterval()
86 final int ay = mP2Y - mP1Y; in setInterval()
93 mSlope1Y = (mP2Y - mYCoords[p0]) / 2.0f; in setInterval()
122 final float by = (mP2Y - mYCoords[p0]) / 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.java67 assertEquals("p1y", mYCoords[p1], mInterpolator.mP2Y); in testP0P1()
103 assertEquals("p2y", mYCoords[p2], mInterpolator.mP2Y); in testP1P2()
139 assertEquals("p3y", mYCoords[p3], mInterpolator.mP2Y); in testP2P3()
175 assertEquals("p2y", mYCoords[p2], mInterpolator.mP2Y); in testJustP1P2()