Java 类com.nineoldandroids.animation.Keyframe.ObjectKeyframe 实例源码

项目:exciting-app    文件:KeyframeSet.java   
public static KeyframeSet ofObject(Object... values) {
    int numKeyframes = values.length;
    ObjectKeyframe keyframes[] = new ObjectKeyframe[Math.max(numKeyframes,2)];
    if (numKeyframes == 1) {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f);
        keyframes[1] = (ObjectKeyframe) Keyframe.ofObject(1f, values[0]);
    } else {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f, values[0]);
        for (int i = 1; i < numKeyframes; ++i) {
            keyframes[i] = (ObjectKeyframe) Keyframe.ofObject((float) i / (numKeyframes - 1), values[i]);
        }
    }
    return new KeyframeSet(keyframes);
}
项目:TheSceneryAlong    文件:KeyframeSet.java   
public static KeyframeSet ofObject(Object... values) {
    int numKeyframes = values.length;
    ObjectKeyframe keyframes[] = new ObjectKeyframe[Math.max(numKeyframes,2)];
    if (numKeyframes == 1) {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f);
        keyframes[1] = (ObjectKeyframe) Keyframe.ofObject(1f, values[0]);
    } else {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f, values[0]);
        for (int i = 1; i < numKeyframes; ++i) {
            keyframes[i] = (ObjectKeyframe) Keyframe.ofObject((float) i / (numKeyframes - 1), values[i]);
        }
    }
    return new KeyframeSet(keyframes);
}
项目:WeiboWeiBaTong    文件:KeyframeSet.java   
public static KeyframeSet ofObject(Object... values) {
    int numKeyframes = values.length;
    ObjectKeyframe keyframes[] = new ObjectKeyframe[Math.max(numKeyframes,2)];
    if (numKeyframes == 1) {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f);
        keyframes[1] = (ObjectKeyframe) Keyframe.ofObject(1f, values[0]);
    } else {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f, values[0]);
        for (int i = 1; i < numKeyframes; ++i) {
            keyframes[i] = (ObjectKeyframe) Keyframe.ofObject((float) i / (numKeyframes - 1), values[i]);
        }
    }
    return new KeyframeSet(keyframes);
}
项目:CouldBooks    文件:KeyframeSet.java   
public static KeyframeSet ofObject(Object... values) {
    int numKeyframes = values.length;
    ObjectKeyframe keyframes[] = new ObjectKeyframe[Math.max(numKeyframes,2)];
    if (numKeyframes == 1) {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f);
        keyframes[1] = (ObjectKeyframe) Keyframe.ofObject(1f, values[0]);
    } else {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f, values[0]);
        for (int i = 1; i < numKeyframes; ++i) {
            keyframes[i] = (ObjectKeyframe) Keyframe.ofObject((float) i / (numKeyframes - 1), values[i]);
        }
    }
    return new KeyframeSet(keyframes);
}
项目:PaperOrPlastic    文件:KeyframeSet.java   
public static KeyframeSet ofObject(Object... values) {
    int numKeyframes = values.length;
    ObjectKeyframe keyframes[] = new ObjectKeyframe[Math.max(numKeyframes,2)];
    if (numKeyframes == 1) {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f);
        keyframes[1] = (ObjectKeyframe) Keyframe.ofObject(1f, values[0]);
    } else {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f, values[0]);
        for (int i = 1; i < numKeyframes; ++i) {
            keyframes[i] = (ObjectKeyframe) Keyframe.ofObject((float) i / (numKeyframes - 1), values[i]);
        }
    }
    return new KeyframeSet(keyframes);
}
项目:NineOldAndroids-master    文件:KeyframeSet.java   
public static KeyframeSet ofObject(Object... values) {
    int numKeyframes = values.length;
    ObjectKeyframe keyframes[] = new ObjectKeyframe[Math.max(numKeyframes,2)];
    if (numKeyframes == 1) {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f);
        keyframes[1] = (ObjectKeyframe) Keyframe.ofObject(1f, values[0]);
    } else {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f, values[0]);
        for (int i = 1; i < numKeyframes; ++i) {
            keyframes[i] = (ObjectKeyframe) Keyframe.ofObject((float) i / (numKeyframes - 1), values[i]);
        }
    }
    return new KeyframeSet(keyframes);
}
项目:mc_backup    文件:KeyframeSet.java   
public static KeyframeSet ofObject(Object... values) {
    int numKeyframes = values.length;
    ObjectKeyframe keyframes[] = new ObjectKeyframe[Math.max(numKeyframes,2)];
    if (numKeyframes == 1) {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f);
        keyframes[1] = (ObjectKeyframe) Keyframe.ofObject(1f, values[0]);
    } else {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f, values[0]);
        for (int i = 1; i < numKeyframes; ++i) {
            keyframes[i] = (ObjectKeyframe) Keyframe.ofObject((float) i / (numKeyframes - 1), values[i]);
        }
    }
    return new KeyframeSet(keyframes);
}
项目:Mover    文件:KeyframeSet.java   
public static KeyframeSet ofObject(Object... values) {
    int numKeyframes = values.length;
    ObjectKeyframe keyframes[] = new ObjectKeyframe[Math.max(numKeyframes,2)];
    if (numKeyframes == 1) {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f);
        keyframes[1] = (ObjectKeyframe) Keyframe.ofObject(1f, values[0]);
    } else {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f, values[0]);
        for (int i = 1; i < numKeyframes; ++i) {
            keyframes[i] = (ObjectKeyframe) Keyframe.ofObject((float) i / (numKeyframes - 1), values[i]);
        }
    }
    return new KeyframeSet(keyframes);
}
项目:WeiboWeiBaTong    文件:KeyframeSet.java   
public static KeyframeSet ofObject(Object... values) {
    int numKeyframes = values.length;
    ObjectKeyframe keyframes[] = new ObjectKeyframe[Math.max(numKeyframes,2)];
    if (numKeyframes == 1) {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f);
        keyframes[1] = (ObjectKeyframe) Keyframe.ofObject(1f, values[0]);
    } else {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f, values[0]);
        for (int i = 1; i < numKeyframes; ++i) {
            keyframes[i] = (ObjectKeyframe) Keyframe.ofObject((float) i / (numKeyframes - 1), values[i]);
        }
    }
    return new KeyframeSet(keyframes);
}
项目:OurDailyBread    文件:KeyframeSet.java   
public static KeyframeSet ofObject(Object... values) {
    int numKeyframes = values.length;
    ObjectKeyframe keyframes[] = new ObjectKeyframe[Math.max(numKeyframes,2)];
    if (numKeyframes == 1) {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f);
        keyframes[1] = (ObjectKeyframe) Keyframe.ofObject(1f, values[0]);
    } else {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f, values[0]);
        for (int i = 1; i < numKeyframes; ++i) {
            keyframes[i] = (ObjectKeyframe) Keyframe.ofObject((float) i / (numKeyframes - 1), values[i]);
        }
    }
    return new KeyframeSet(keyframes);
}
项目:rpgpack-android    文件:KeyframeSet.java   
public static KeyframeSet ofObject(Object... values) {
    int numKeyframes = values.length;
    ObjectKeyframe keyframes[] = new ObjectKeyframe[Math.max(numKeyframes,2)];
    if (numKeyframes == 1) {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f);
        keyframes[1] = (ObjectKeyframe) Keyframe.ofObject(1f, values[0]);
    } else {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f, values[0]);
        for (int i = 1; i < numKeyframes; ++i) {
            keyframes[i] = (ObjectKeyframe) Keyframe.ofObject((float) i / (numKeyframes - 1), values[i]);
        }
    }
    return new KeyframeSet(keyframes);
}
项目:expandingList    文件:KeyframeSet.java   
public static KeyframeSet ofObject(Object... values) {
    int numKeyframes = values.length;
    ObjectKeyframe keyframes[] = new ObjectKeyframe[Math.max(numKeyframes,2)];
    if (numKeyframes == 1) {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f);
        keyframes[1] = (ObjectKeyframe) Keyframe.ofObject(1f, values[0]);
    } else {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f, values[0]);
        for (int i = 1; i < numKeyframes; ++i) {
            keyframes[i] = (ObjectKeyframe) Keyframe.ofObject((float) i / (numKeyframes - 1), values[i]);
        }
    }
    return new KeyframeSet(keyframes);
}
项目:Qmusic    文件:KeyframeSet.java   
public static KeyframeSet ofObject(Object... values) {
    int numKeyframes = values.length;
    ObjectKeyframe keyframes[] = new ObjectKeyframe[Math.max(numKeyframes,2)];
    if (numKeyframes == 1) {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f);
        keyframes[1] = (ObjectKeyframe) Keyframe.ofObject(1f, values[0]);
    } else {
        keyframes[0] = (ObjectKeyframe) Keyframe.ofObject(0f, values[0]);
        for (int i = 1; i < numKeyframes; ++i) {
            keyframes[i] = (ObjectKeyframe) Keyframe.ofObject((float) i / (numKeyframes - 1), values[i]);
        }
    }
    return new KeyframeSet(keyframes);
}