Searched refs:mP1X (Results 1 – 3 of 3) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | HermiteInterpolator.java | 30 public int mP1X, mP1Y; field in HermiteInterpolator 80 mP1X = mXCoords[p1]; in setInterval() 85 final int ax = mP2X - mP1X; in setInterval() 97 final float bx = (mXCoords[p3] - mP1X) / 2.0f; in setInterval() 116 mSlope2X = (mXCoords[p3] - mP1X) / 2.0f; in setInterval() 158 mInterpolatedX = (k1 * mP1X + t * mSlope1X) * omt2 + (k2 * mP2X - omt * mSlope2X) * t2; in interpolate()
|
D | GestureStrokeDrawingPoints.java | 148 final double deltaDistance = Math.hypot(mInterpolator.mP1X - mInterpolator.mP2X, in interpolateStrokeAndReturnStartIndexOfLastSegment()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | HermiteInterpolatorTests.java | 64 assertEquals("p0x", mXCoords[p0], mInterpolator.mP1X); in testP0P1() 100 assertEquals("p1x", mXCoords[p1], mInterpolator.mP1X); in testP1P2() 136 assertEquals("p2x", mXCoords[p2], mInterpolator.mP1X); in testP2P3() 172 assertEquals("p1x", mXCoords[p1], mInterpolator.mP1X); in testJustP1P2()
|