OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mSlope1Y
(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}.
93
mSlope1Y
= (mP2Y - mYCoords[p0]) / 2.0f;
105
mSlope1Y
= invHalfNormASquare * (dotProdAB * ay - crossProdAB * ax);
109
mSlope1Y
= ay;
159
mInterpolatedY = (k1 * mP1Y + t *
mSlope1Y
) * omt2 + (k2 * mP2Y - omt * mSlope2Y) * 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
70
assertFloatEquals("slope y p0", -0.75f, mInterpolator.
mSlope1Y
);
106
assertFloatEquals("slope y p1", 0.50f, mInterpolator.
mSlope1Y
);
142
assertFloatEquals("slope y p2", 1.50f, mInterpolator.
mSlope1Y
);
178
assertFloatEquals("slope y p1", 2.00f, mInterpolator.
mSlope1Y
);
Completed in 192 milliseconds