Lines Matching refs:fraction

76      * @param fraction The time, expressed as a value between 0 and 1, representing the fraction
82 public static Keyframe ofInt(float fraction, int value) {
83 return new IntKeyframe(fraction, value);
95 * @param fraction The time, expressed as a value between 0 and 1, representing the fraction
98 public static Keyframe ofInt(float fraction) {
99 return new IntKeyframe(fraction);
108 * @param fraction The time, expressed as a value between 0 and 1, representing the fraction
114 public static Keyframe ofFloat(float fraction, float value) {
115 return new FloatKeyframe(fraction, value);
127 * @param fraction The time, expressed as a value between 0 and 1, representing the fraction
130 public static Keyframe ofFloat(float fraction) {
131 return new FloatKeyframe(fraction);
140 * @param fraction The time, expressed as a value between 0 and 1, representing the fraction
146 public static Keyframe ofObject(float fraction, Object value) {
147 return new ObjectKeyframe(fraction, value);
159 * @param fraction The time, expressed as a value between 0 and 1, representing the fraction
162 public static Keyframe ofObject(float fraction) {
163 return new ObjectKeyframe(fraction, null);
206 * Gets the time for this keyframe, as a fraction of the overall animation duration.
208 * @return The time associated with this keyframe, as a fraction of the overall animation
216 * Sets the time for this keyframe, as a fraction of the overall animation duration.
218 * @param fraction time associated with this keyframe, as a fraction of the overall animation
221 public void setFraction(float fraction) {
222 mFraction = fraction;
269 ObjectKeyframe(float fraction, Object value) {
270 mFraction = fraction;
304 IntKeyframe(float fraction, int value) {
305 mFraction = fraction;
311 IntKeyframe(float fraction) {
312 mFraction = fraction;
351 FloatKeyframe(float fraction, float value) {
352 mFraction = fraction;
358 FloatKeyframe(float fraction) {
359 mFraction = fraction;