OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:keyFrame
(Results
1 - 3
of
3
) sorted by null
/cts/tests/tests/animation/src/android/animation/cts/
KeyframeTest.java
19
import android.animation.
Keyframe
;
26
Keyframe
keyFrame
=
Keyframe
.ofInt(0.0f);
27
float fraction =
keyFrame
.getFraction();
32
Keyframe
keyFrame
=
Keyframe
.ofInt(0.0f);
33
keyFrame
.setFraction(0.5f);
34
float fraction =
keyFrame
.getFraction()
[
all
...]
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/
TimeLine.java
45
public class TimeLine extends HashMap<Integer,
KeyFrame
> implements Savable {
54
public
KeyFrame
getKeyFrameAtTime(float time) {
58
public
KeyFrame
getKeyFrameAtIndex(int keyFrameIndex) {
62
public void addKeyFrameAtTime(float time,
KeyFrame
keyFrame
) {
63
addKeyFrameAtIndex(getKeyFrameIndexFromTime(time),
keyFrame
);
66
public void addKeyFrameAtIndex(int keyFrameIndex,
KeyFrame
keyFrame
) {
67
put(keyFrameIndex,
keyFrame
);
68
keyFrame
.setIndex(keyFrameIndex)
[
all
...]
Cinematic.java
209
KeyFrame
keyFrame
= timeLine.get(i);
210
if (
keyFrame
!= null) {
211
keyFrame
.trigger();
226
KeyFrame
keyFrame
= timeLine.get(i);
227
if (
keyFrame
!= null) {
228
for (CinematicEvent ce :
keyFrame
.getCinematicEvents()) {
230
ce.setTime(time - timeLine.getKeyFrameTime(
keyFrame
));
241
public
KeyFrame
addCinematicEvent(float timeStamp, CinematicEvent cinematicEvent)
[
all
...]
Completed in 1452 milliseconds