List of usage examples for android.animation Keyframe hasValue
public boolean hasValue()
From source file:android.support.graphics.drawable.AnimatorInflaterCompat.java
private static void dumpKeyframes(Object[] keyframes, String header) { if (keyframes == null || keyframes.length == 0) { return;/* ww w. j a va 2 s . com*/ } 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")); } }