OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mInterpolatedY
(Results
1 - 3
of
3
) sorted by null
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
HermiteInterpolatorTests.java
77
assertFloatEquals("t=0.0 y", 1.0f, mInterpolator.
mInterpolatedY
);
81
assertFloatEquals("t=0.2 y", 0.78400f, mInterpolator.
mInterpolatedY
);
85
assertFloatEquals("t=0.5 y", 0.34375f, mInterpolator.
mInterpolatedY
);
89
assertFloatEquals("t=0.8 y", 0.01600f, mInterpolator.
mInterpolatedY
);
93
assertFloatEquals("t=1.0 y", 0.0f, mInterpolator.
mInterpolatedY
);
113
assertFloatEquals("t=0.0 y", 0.0f, mInterpolator.
mInterpolatedY
);
117
assertFloatEquals("t=0.2 y", 0.224f, mInterpolator.
mInterpolatedY
);
121
assertFloatEquals("t=0.5 y", 0.875f, mInterpolator.
mInterpolatedY
);
125
assertFloatEquals("t=0.8 y", 1.616f, mInterpolator.
mInterpolatedY
);
129
assertFloatEquals("t=1.0 y", 2.0f, mInterpolator.
mInterpolatedY
);
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
HermiteInterpolator.java
40
public float mInterpolatedX,
mInterpolatedY
;
147
* {@link #
mInterpolatedY
}.
159
mInterpolatedY
= (k1 * mP1Y + t * mSlope1Y) * omt2 + (k2 * mP2Y - omt * mSlope2Y) * t2;
GestureStrokeWithPreviewPoints.java
206
yCoords.add(d1, (int)mInterpolator.
mInterpolatedY
);
Completed in 45 milliseconds