OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mXCoords
(Results
1 - 2
of
2
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
HermiteInterpolator.java
23
private int[]
mXCoords
;
57
mXCoords
= xCoords;
80
mP1X =
mXCoords
[p1];
82
mP2X =
mXCoords
[p2];
92
mSlope1X = (mP2X -
mXCoords
[p0]) / 2.0f;
97
final float bx = (
mXCoords
[p3] - mP1X) / 2.0f;
116
mSlope2X = (
mXCoords
[p3] - mP1X) / 2.0f;
121
final float bx = (mP2X -
mXCoords
[p0]) / 2.0f;
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
HermiteInterpolatorTests.java
53
private final int[]
mXCoords
= { 0, 1, 3, 2 };
62
mInterpolator.reset(
mXCoords
, mYCoords, p0, p3 + 1);
64
assertEquals("p0x",
mXCoords
[p0], mInterpolator.mP1X);
66
assertEquals("p1x",
mXCoords
[p1], mInterpolator.mP2X);
98
mInterpolator.reset(
mXCoords
, mYCoords, p0, p3 + 1);
100
assertEquals("p1x",
mXCoords
[p1], mInterpolator.mP1X);
102
assertEquals("p2x",
mXCoords
[p2], mInterpolator.mP2X);
134
mInterpolator.reset(
mXCoords
, mYCoords, p0, p3 + 1);
136
assertEquals("p2x",
mXCoords
[p2], mInterpolator.mP1X);
138
assertEquals("p3x",
mXCoords
[p3], mInterpolator.mP2X)
[
all
...]
Completed in 195 milliseconds