OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:keyFrame
(Results
1 - 4
of
4
) 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
...]
/external/chromium_org/third_party/WebKit/Source/core/frame/animation/
KeyframeAnimation.cpp
54
// Get the
keyframe
RenderStyles
94
// Find
keyframe
that is closest to elapsed time.
112
// Iterate forward to find next
keyframe
that is used to animate CSS property.
114
const KeyframeValue&
keyFrame
= m_keyframes[i];
115
if (
keyFrame
.key() > fractionalTime &&
keyFrame
.containsProperty(property)) {
121
// Iterate backward to find previous
keyframe
.
123
const KeyframeValue&
keyFrame
= m_keyframes[i];
124
if (
keyFrame
.key() <= fractionalTime &&
keyFrame
.containsProperty(property))
[
all
...]
Completed in 1635 milliseconds