HomeSort by relevance Sort by last modified time
    Searched refs:mSlope1X (Results 1 - 3 of 3) sorted by null

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
HermiteInterpolator.java 34 public float mSlope1X, mSlope1Y;
68 * set in {@link #mSlope1X}, {@link #mSlope1Y}, {@link #mSlope2X}, and {@link #mSlope2Y}.
92 mSlope1X = (mP2X - mXCoords[p0]) / 2.0f;
104 mSlope1X = invHalfNormASquare * (dotProdAB * ax + crossProdAB * ay);
108 mSlope1X = ax;
158 mInterpolatedX = (k1 * mP1X + t * mSlope1X) * omt2 + (k2 * mP2X - omt * mSlope2X) * t2;
GestureStrokeWithPreviewPoints.java 187 final double m1 = Math.atan2(mInterpolator.mSlope1Y, mInterpolator.mSlope1X);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
HermiteInterpolatorTests.java 69 assertFloatEquals("slope x p0", -0.25f, mInterpolator.mSlope1X);
105 assertFloatEquals("slope x p1", 1.50f, mInterpolator.mSlope1X);
141 assertFloatEquals("slope x p2", 0.50f, mInterpolator.mSlope1X);
177 assertFloatEquals("slope x p1", 2.00f, mInterpolator.mSlope1X);

Completed in 922 milliseconds