OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mYCoords
(Results
1 - 2
of
2
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
HermiteInterpolator.java
24
private int[]
mYCoords
;
58
mYCoords
= yCoords;
81
mP1Y =
mYCoords
[p1];
83
mP2Y =
mYCoords
[p2];
93
mSlope1Y = (mP2Y -
mYCoords
[p0]) / 2.0f;
98
final float by = (
mYCoords
[p3] - mP1Y) / 2.0f;
117
mSlope2Y = (
mYCoords
[p3] - mP1Y) / 2.0f;
122
final float by = (mP2Y -
mYCoords
[p0]) / 2.0f;
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
HermiteInterpolatorTests.java
54
private final int[]
mYCoords
= { 1, 0, 2, 3 };
62
mInterpolator.reset(mXCoords,
mYCoords
, p0, p3 + 1);
65
assertEquals("p0y",
mYCoords
[p0], mInterpolator.mP1Y);
67
assertEquals("p1y",
mYCoords
[p1], mInterpolator.mP2Y);
98
mInterpolator.reset(mXCoords,
mYCoords
, p0, p3 + 1);
101
assertEquals("p1y",
mYCoords
[p1], mInterpolator.mP1Y);
103
assertEquals("p2y",
mYCoords
[p2], mInterpolator.mP2Y);
134
mInterpolator.reset(mXCoords,
mYCoords
, p0, p3 + 1);
137
assertEquals("p2y",
mYCoords
[p2], mInterpolator.mP1Y);
139
assertEquals("p3y",
mYCoords
[p3], mInterpolator.mP2Y)
[
all
...]
Completed in 139 milliseconds