List of usage examples for android.animation Keyframe getValue
public abstract Object getValue();
From source file:android.support.graphics.drawable.AnimatorInflaterCompat.java
private static void dumpKeyframes(Object[] keyframes, String header) { if (keyframes == null || keyframes.length == 0) { return;/*from www .j a va2s. c om*/ } Log.d(TAG, header); int count = keyframes.length; for (int i = 0; i < count; ++i) { Keyframe keyframe = (Keyframe) keyframes[i]; Log.d(TAG, "Keyframe " + i + ": fraction " + (keyframe.getFraction() < 0 ? "null" : keyframe.getFraction()) + ", " + ", value : " + ((keyframe.hasValue()) ? keyframe.getValue() : "null")); } }