OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mInterpolatedX
(Results
1 - 3
of
3
) sorted by null
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
HermiteInterpolatorTests.java
76
assertFloatEquals("t=0.0 x", 0.0f, mInterpolator.
mInterpolatedX
);
80
assertFloatEquals("t=0.2 x", 0.02400f, mInterpolator.
mInterpolatedX
);
84
assertFloatEquals("t=0.5 x", 0.28125f, mInterpolator.
mInterpolatedX
);
88
assertFloatEquals("t=0.8 x", 0.69600f, mInterpolator.
mInterpolatedX
);
92
assertFloatEquals("t=1.0 x", 1.0f, mInterpolator.
mInterpolatedX
);
112
assertFloatEquals("t=0.0 x", 1.0f, mInterpolator.
mInterpolatedX
);
116
assertFloatEquals("t=0.2 x", 1.384f, mInterpolator.
mInterpolatedX
);
120
assertFloatEquals("t=0.5 x", 2.125f, mInterpolator.
mInterpolatedX
);
124
assertFloatEquals("t=0.8 x", 2.776f, mInterpolator.
mInterpolatedX
);
128
assertFloatEquals("t=1.0 x", 3.0f, mInterpolator.
mInterpolatedX
);
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
HermiteInterpolator.java
40
public float
mInterpolatedX
, mInterpolatedY;
146
* The interpolated XY-coordinates will be set in {@link #
mInterpolatedX
} and
158
mInterpolatedX
= (k1 * mP1X + t * mSlope1X) * omt2 + (k2 * mP2X - omt * mSlope2X) * t2;
GestureStrokeDrawingPoints.java
161
xCoords.addAt(d1, (int)mInterpolator.
mInterpolatedX
);
Completed in 62 milliseconds