HomeSort by relevance Sort by last modified time
    Searched full:fraction (Results 26 - 50 of 1336) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/base/packages/SystemUI/res/anim/
ic_qs_signal_blink_2.xml 25 android:fraction="0.0"
28 android:fraction="0.32"
31 android:fraction="0.33"
34 android:fraction="0.66"
37 android:fraction="0.67"
40 android:fraction="1.0"
ic_signal_blink_2.xml 25 android:fraction="0.0"
28 android:fraction="0.32"
31 android:fraction="0.33"
34 android:fraction="0.66"
37 android:fraction="0.67"
40 android:fraction="1.0"
  /packages/inputmethods/LatinIME/java/res/values/
themes-holo.xml 32 <item name="keyLetterSize">@fraction/config_key_letter_ratio_holo</item>
33 <item name="keyLabelSize">@fraction/config_key_label_ratio_holo</item>
34 <item name="keyHintLetterRatio">@fraction/config_key_hint_letter_ratio_holo</item>
35 <item name="keyShiftedLetterHintRatio">@fraction/config_key_shifted_letter_hint_ratio_holo</item>
36 <item name="keyLargeLetterRatio">@fraction/config_key_large_letter_ratio_holo</item>
38 <item name="keyHintLabelRatio">@fraction/config_key_hint_label_ratio_holo</item>
themes-lxx.xml 32 <item name="keyLetterSize">@fraction/config_key_letter_ratio_lxx</item>
33 <item name="keyLabelSize">@fraction/config_key_label_ratio_lxx</item>
34 <item name="keyHintLetterRatio">@fraction/config_key_hint_letter_ratio_lxx</item>
35 <item name="keyShiftedLetterHintRatio">@fraction/config_key_shifted_letter_hint_ratio_lxx</item>
36 <item name="keyLargeLetterRatio">@fraction/config_key_large_letter_ratio_lxx</item>
38 <item name="keyHintLabelRatio">@fraction/config_key_hint_label_ratio_lxx</item>
config-common.xml 37 <fraction name="config_key_preview_show_up_start_scale">98%</fraction>
38 <fraction name="config_key_preview_dismiss_end_scale">94%</fraction>
78 <fraction name="config_gesture_detect_fast_move_speed_threshold">150%</fraction>
85 <fraction name="config_gesture_dynamic_distance_threshold_from">600%</fraction>
86 <fraction name="config_gesture_dynamic_distance_threshold_to">50%</fraction>
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
BigFraction.java 17 package org.apache.commons.math.fraction;
40 /** A fraction representing "2 / 1". */
43 /** A fraction representing "1". */
46 /** A fraction representing "0". */
49 /** A fraction representing "-1 / 1". */
52 /** A fraction representing "4/5". */
55 /** A fraction representing "1/5". */
58 /** A fraction representing "1/2". */
61 /** A fraction representing "1/4". */
64 /** A fraction representing "1/3". *
    [all...]
FractionField.java 18 package org.apache.commons.math.fraction;
29 * @see Fraction
33 public class FractionField implements Field<Fraction>, Serializable {
51 public Fraction getOne() {
52 return Fraction.ONE;
56 public Fraction getZero() {
57 return Fraction.ZERO;
FractionFormat.java 18 package org.apache.commons.math.fraction;
31 * Formats a Fraction number in proper format or improper format. The number
83 * @param f Fraction object to format
84 * @return A formatted fraction in proper form.
86 public static String formatFraction(Fraction f) {
127 * customizing is the maximum number of fraction digits, which is set to 0.
135 * Formats a {@link Fraction} object to produce a string. The fraction is
138 * @param fraction the object to format.
144 public StringBuffer format(final Fraction fraction
    [all...]
  /frameworks/base/core/java/android/animation/
Keyframes.java 42 * Gets the animated value, given the elapsed fraction of the animation (interpolated by the
44 * function maps the input fraction to the appropriate keyframe interval and a fraction
45 * between them and returns the interpolated value. Note that the input fraction may fall
47 * spring interpolation that might send the fraction past 1.0). We handle this situation by
50 * @param fraction The elapsed fraction of the animation
53 Object getValue(float fraction);
76 * @param fraction The elapsed fraction of the animatio
    [all...]
FloatEvaluator.java 26 * <code>fraction</code> representing the proportion between the start and end values. The
29 * and <code>t</code> is <code>fraction</code>.
31 * @param fraction The fraction from the starting to the ending values
36 * <code>fraction</code> parameter.
38 public Float evaluate(float fraction, Number startValue, Number endValue) {
40 return startFloat + fraction * (endValue.floatValue() - startFloat);
IntEvaluator.java 26 * <code>fraction</code> representing the proportion between the start and end values. The
29 * and <code>t</code> is <code>fraction</code>.
31 * @param fraction The fraction from the starting to the ending values
36 * <code>fraction</code> parameter.
38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) {
40 return (int)(startInt + fraction * (endValue - startInt));
TypeEvaluator.java 31 * <code>fraction</code> representing the proportion between the start and end values. The
34 * and <code>t</code> is <code>fraction</code>.
36 * @param fraction The fraction from the starting to the ending values
40 * <code>fraction</code> parameter.
42 public T evaluate(float fraction, T startValue, T endValue);
FloatKeyframeSet.java 44 public Object getValue(float fraction) {
45 return getFloatValue(fraction);
66 public float getFloatValue(float fraction) {
75 fraction = mInterpolator.getInterpolation(fraction);
78 return firstValue + fraction * deltaValue;
80 return ((Number)mEvaluator.evaluate(fraction, firstValue, lastValue)).floatValue();
83 if (fraction <= 0f) {
92 fraction = interpolator.getInterpolation(fraction);
    [all...]
IntKeyframeSet.java 44 public Object getValue(float fraction) {
45 return getIntValue(fraction);
66 public int getIntValue(float fraction) {
75 fraction = mInterpolator.getInterpolation(fraction);
78 return firstValue + (int)(fraction * deltaValue);
80 return ((Number)mEvaluator.evaluate(fraction, firstValue, lastValue)).intValue();
83 if (fraction <= 0f) {
92 fraction = interpolator.getInterpolation(fraction);
    [all...]
KeyframeSet.java 192 * Gets the animated value, given the elapsed fraction of the animation (interpolated by the
194 * function maps the input fraction to the appropriate keyframe interval and a fraction
195 * between them and returns the interpolated value. Note that the input fraction may fall
197 * spring interpolation that might send the fraction past 1.0). We handle this situation by
200 * @param fraction The elapsed fraction of the animation
203 public Object getValue(float fraction) {
207 fraction = mInterpolator.getInterpolation(fraction);
    [all...]
Keyframe.java 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
    [all...]
  /frameworks/base/packages/SystemUI/res/values-sw720dp-land/
dimens.xml 18 <!-- The fraction of the screen height where the clock on the Keyguard has its center. The
21 <fraction name="keyguard_clock_y_fraction_max">35%</fraction>
22 <fraction name="keyguard_clock_y_fraction_min">24%</fraction>
  /frameworks/support/design/base/android/support/design/widget/
AnimationUtils.java 32 * Linear interpolation between {@code startValue} and {@code endValue} by {@code fraction}.
34 static float lerp(float startValue, float endValue, float fraction) {
35 return startValue + (fraction * (endValue - startValue));
38 static int lerp(int startValue, int endValue, float fraction) {
39 return startValue + Math.round(fraction * (endValue - startValue));
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
fractions.py 13 __all__ = ['Fraction', 'gcd']
44 class Fraction(Rational):
47 In the two-argument form of the constructor, Fraction(8, 6) will
50 defaults to 1 so that Fraction(3) == 3 and Fraction() == 0.
69 """Constructs a Fraction.
77 >>> Fraction(10, -8)
78 Fraction(-5, 4)
79 >>> Fraction(Fraction(1, 7), 5
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
fractions.py 13 __all__ = ['Fraction', 'gcd']
44 class Fraction(Rational):
47 In the two-argument form of the constructor, Fraction(8, 6) will
50 defaults to 1 so that Fraction(3) == 3 and Fraction() == 0.
69 """Constructs a Fraction.
77 >>> Fraction(10, -8)
78 Fraction(-5, 4)
79 >>> Fraction(Fraction(1, 7), 5
    [all...]
  /frameworks/opt/bitmap/src/com/android/bitmap/drawable/
Parallaxable.java 23 * implement this interface to receive the current parallax fraction to use when
28 * @param fraction the vertical center point for the viewport, in the range [0,1]
30 void setParallaxFraction(float fraction);
  /cts/tests/tests/animation/src/android/animation/cts/
KeyframeTest.java 27 float fraction = keyFrame.getFraction(); local
28 assertTrue(fraction == 0.0f);
34 float fraction = keyFrame.getFraction(); local
35 assertTrue(fraction == 0.5f);
40 float fraction = keyFrame.getFraction(); local
41 assertEquals(fraction, 0.0f);
58 float fraction = keyFrame.getFraction(); local
59 assertEquals(fraction, 0.0f);
FloatEvaluatorTest.java 26 float fraction = 0.5f; local
28 float result = floatEvaluator.evaluate(fraction, start, end);
29 assertTrue(result >= (fraction*start));
30 assertTrue(result <= (fraction*end));
IntEvaluatorTest.java 26 final float fraction = 0.5f; local
31 result = intEvaluator.evaluate(fraction, start, end);
38 assertTrue(result >= (fraction*start));
39 assertTrue(result <= (fraction*end));
  /development/samples/ApiDemos/res/anim/
object_animator_pvh_kf.xml 22 <keyframe android:fraction="0" android:value="800" />
23 <keyframe android:fraction=".2" android:value="1000" />
24 <keyframe android:fraction="1" android:value="400" />
28 <keyframe android:fraction=".2" android:value="300" />

Completed in 109 milliseconds

12 3 4 5 6 7 8 91011>>