Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DHermiteInterpolator.java36 public float mSlope2X, mSlope2Y; field in HermiteInterpolator
117 mSlope2Y = (mYCoords[p3] - mP1Y) / 2.0f; in setInterval()
129 mSlope2Y = invHalfNormASquare * (dotProdAB * ay - crossProdAB * ax); in setInterval()
133 mSlope2Y = ay; in setInterval()
159 mInterpolatedY = (k1 * mP1Y + t * mSlope1Y) * omt2 + (k2 * mP2Y - omt * mSlope2Y) * t2; in interpolate()
DGestureStrokeDrawingPoints.java144 final double m2 = Math.atan2(mInterpolator.mSlope2Y, mInterpolator.mSlope2X); in interpolateStrokeAndReturnStartIndexOfLastSegment()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DHermiteInterpolatorTests.java73 assertFloatEquals("slope y p1", 0.50f, mInterpolator.mSlope2Y); in testP0P1()
109 assertFloatEquals("slope y p2", 1.50f, mInterpolator.mSlope2Y); in testP1P2()
145 assertFloatEquals("slope y p3", -0.25f, mInterpolator.mSlope2Y); in testP2P3()
181 assertFloatEquals("slope y p2", 2.00f, mInterpolator.mSlope2Y); in testJustP1P2()