Home
last modified time | relevance | path

Searched refs:mP2X (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
82 mP2X = mXCoords[p2]; in setInterval()
85 final int ax = mP2X - mP1X; in setInterval()
92 mSlope1X = (mP2X - mXCoords[p0]) / 2.0f; in setInterval()
121 final float bx = (mP2X - mXCoords[p0]) / 2.0f; in setInterval()
158 mInterpolatedX = (k1 * mP1X + t * mSlope1X) * omt2 + (k2 * mP2X - omt * mSlope2X) * t2; in interpolate()
DGestureStrokeDrawingPoints.java148 final double deltaDistance = Math.hypot(mInterpolator.mP1X - mInterpolator.mP2X, in interpolateStrokeAndReturnStartIndexOfLastSegment()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DHermiteInterpolatorTests.java66 assertEquals("p1x", mXCoords[p1], mInterpolator.mP2X); in testP0P1()
102 assertEquals("p2x", mXCoords[p2], mInterpolator.mP2X); in testP1P2()
138 assertEquals("p3x", mXCoords[p3], mInterpolator.mP2X); in testP2P3()
174 assertEquals("p2x", mXCoords[p2], mInterpolator.mP2X); in testJustP1P2()