Lines Matching defs:fraction

67      * @param fraction The time, expressed as a value between 0 and 1, representing the fraction
73 public static Keyframe ofInt(float fraction, int value) {
74 return new IntKeyframe(fraction, value);
86 * @param fraction The time, expressed as a value between 0 and 1, representing the fraction
89 public static Keyframe ofInt(float fraction) {
90 return new IntKeyframe(fraction);
99 * @param fraction The time, expressed as a value between 0 and 1, representing the fraction
105 public static Keyframe ofFloat(float fraction, float value) {
106 return new FloatKeyframe(fraction, value);
118 * @param fraction The time, expressed as a value between 0 and 1, representing the fraction
121 public static Keyframe ofFloat(float fraction) {
122 return new FloatKeyframe(fraction);
131 * @param fraction The time, expressed as a value between 0 and 1, representing the fraction
137 public static Keyframe ofObject(float fraction, Object value) {
138 return new ObjectKeyframe(fraction, value);
150 * @param fraction The time, expressed as a value between 0 and 1, representing the fraction
153 public static Keyframe ofObject(float fraction) {
154 return new ObjectKeyframe(fraction, null);
183 * Gets the time for this keyframe, as a fraction of the overall animation duration.
185 * @return The time associated with this keyframe, as a fraction of the overall animation
193 * Sets the time for this keyframe, as a fraction of the overall animation duration.
195 * @param fraction time associated with this keyframe, as a fraction of the overall animation
198 public void setFraction(float fraction) {
199 mFraction = fraction;
246 ObjectKeyframe(float fraction, Object value) {
247 mFraction = fraction;
280 IntKeyframe(float fraction, int value) {
281 mFraction = fraction;
287 IntKeyframe(float fraction) {
288 mFraction = fraction;
326 FloatKeyframe(float fraction, float value) {
327 mFraction = fraction;
333 FloatKeyframe(float fraction) {
334 mFraction = fraction;