Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DHermiteInterpolator.java34 public float mSlope1X, mSlope1Y; field in HermiteInterpolator
93 mSlope1Y = (mP2Y - mYCoords[p0]) / 2.0f; in setInterval()
105 mSlope1Y = invHalfNormASquare * (dotProdAB * ay - crossProdAB * ax); in setInterval()
109 mSlope1Y = ay; in setInterval()
159 mInterpolatedY = (k1 * mP1Y + t * mSlope1Y) * omt2 + (k2 * mP2Y - omt * mSlope2Y) * t2; in interpolate()
DGestureStrokeDrawingPoints.java143 final double m1 = Math.atan2(mInterpolator.mSlope1Y, mInterpolator.mSlope1X); in interpolateStrokeAndReturnStartIndexOfLastSegment()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DHermiteInterpolatorTests.java66 assertEquals("slope y p0", -0.75f, mInterpolator.mSlope1Y, EPSILON); in testP0P1()
103 assertEquals("slope y p1", 0.50f, mInterpolator.mSlope1Y, EPSILON); in testP1P2()
140 assertEquals("slope y p2", 1.50f, mInterpolator.mSlope1Y, EPSILON); in testP2P3()
177 assertEquals("slope y p1", 2.00f, mInterpolator.mSlope1Y, EPSILON); in testJustP1P2()