/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));
|
/packages/inputmethods/LatinIME/java/res/values/ |
themes-common.xml | 28 <item name="keyboardLeftPadding">@fraction/keyboard_left_padding</item> 29 <item name="keyboardRightPadding">@fraction/keyboard_right_padding</item> 34 <item name="keyLetterSize">@fraction/key_letter_ratio</item> 35 <item name="keyLargeLetterRatio">@fraction/key_large_letter_ratio</item> 36 <item name="keyLabelSize">@fraction/key_label_ratio</item> 37 <item name="keyLargeLabelRatio">@fraction/key_large_label_ratio</item> 38 <item name="keyHintLetterRatio">@fraction/key_hint_letter_ratio</item> 39 <item name="keyHintLabelRatio">@fraction/key_hint_label_ratio</item> 40 <item name="keyShiftedLetterHintRatio">@fraction/key_uppercase_letter_ratio</item> 46 <item name="keyPreviewTextRatio">@fraction/key_preview_text_ratio</item [all...] |
config.xml | 84 <fraction name="config_gesture_detect_fast_move_speed_threshold">150%</fraction> 91 <fraction name="config_gesture_dynamic_distance_threshold_from">600%</fraction> 92 <fraction name="config_gesture_dynamic_distance_threshold_to">50%</fraction> 94 <fraction name="config_gesture_sampling_minimum_distance">16.6666%</fraction> 98 <fraction name="config_gesture_recognition_speed_threshold">550%</fraction> [all...] |
/frameworks/base/core/java/android/animation/ |
KeyframeSet.java | 165 * Gets the animated value, given the elapsed fraction of the animation (interpolated by the 167 * function maps the input fraction to the appropriate keyframe interval and a fraction 168 * between them and returns the interpolated value. Note that the input fraction may fall 170 * spring interpolation that might send the fraction past 1.0). We handle this situation by 173 * @param fraction The elapsed fraction of the animation 176 public Object getValue(float fraction) { 181 fraction = mInterpolator.getInterpolation(fraction); [all...] |
Keyframe.java | 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 [all...] |
ArgbEvaluator.java | 31 * @param fraction The fraction from the starting to the ending values 41 public Object evaluate(float fraction, Object startValue, Object endValue) { 54 return (int)((startA + (int)(fraction * (endA - startA))) << 24) | 55 (int)((startR + (int)(fraction * (endR - startR))) << 16) | 56 (int)((startG + (int)(fraction * (endG - startG))) << 8) | 57 (int)((startB + (int)(fraction * (endB - startB))));
|
/external/chromium_org/cc/scheduler/ |
rolling_time_delta_history.cc | 40 double fraction = percent / 100.0; local 42 if (fraction <= 0.0) 45 if (fraction >= 1.0) 49 static_cast<size_t>(std::ceil(fraction * sample_set_.size())) - 1;
|
/external/chromium_org/third_party/skia/src/core/ |
SkTextFormatParams.h | 16 // Fraction of the text size to lower a strike through line below the baseline. 18 // Fraction of the text size to lower a underline below the baseline. 20 // Fraction of the text size to use for a strike through or under-line. 23 // The fraction of text size to embolden fake bold text scales with text size.
|
/external/skia/src/core/ |
SkTextFormatParams.h | 16 // Fraction of the text size to lower a strike through line below the baseline. 18 // Fraction of the text size to lower a underline below the baseline. 20 // Fraction of the text size to use for a strike through or under-line. 23 // The fraction of text size to embolden fake bold text scales with text size.
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
AnimatableImage.cpp | 40 PassRefPtr<AnimatableValue> AnimatableImage::interpolateTo(const AnimatableValue* value, double fraction) const 42 if (fraction <= 0 || fraction >= 1) 43 return defaultInterpolateTo(this, value, fraction); 47 return defaultInterpolateTo(this, value, fraction); 50 return defaultInterpolateTo(this, value, fraction); 58 return defaultInterpolateTo(this, value, fraction); 61 return defaultInterpolateTo(this, value, fraction); 66 crossfadeValue->setPercentage(CSSPrimitiveValue::create(fraction, CSSPrimitiveValue::CSS_NUMBER));
|
AnimatableColor.cpp | 62 AnimatableColorImpl AnimatableColorImpl::interpolateTo(const AnimatableColorImpl& to, double fraction) const 64 return AnimatableColorImpl(blend(m_red, to.m_red, fraction), 65 blend(m_green, to.m_green, fraction), 66 blend(m_blue, to.m_blue, fraction), 67 blend(m_alpha, to.m_alpha, fraction)); 91 PassRefPtr<AnimatableValue> AnimatableColor::interpolateTo(const AnimatableValue* value, double fraction) const 94 return create(m_color.interpolateTo(color->m_color, fraction), 95 m_visitedLinkColor.interpolateTo(color->m_visitedLinkColor, fraction));
|
AnimatableVisibility.cpp | 36 PassRefPtr<AnimatableValue> AnimatableVisibility::interpolateTo(const AnimatableValue* value, double fraction) const 41 return defaultInterpolateTo(this, value, fraction); 42 if (fraction <= 0) 44 if (fraction >= 1)
|
AnimatableLengthBox.cpp | 36 PassRefPtr<AnimatableValue> AnimatableLengthBox::interpolateTo(const AnimatableValue* value, double fraction) const 40 AnimatableValue::interpolate(this->left(), lengthBox->left(), fraction), 41 AnimatableValue::interpolate(this->right(), lengthBox->right(), fraction), 42 AnimatableValue::interpolate(this->top(), lengthBox->top(), fraction), 43 AnimatableValue::interpolate(this->bottom(), lengthBox->bottom(), fraction));
|
AnimatableValue.cpp | 45 PassRefPtr<AnimatableValue> AnimatableValue::interpolate(const AnimatableValue* left, const AnimatableValue* right, double fraction) 52 if (fraction && fraction != 1 && left->isSameType(right)) 53 return left->interpolateTo(right, fraction); 55 return defaultInterpolateTo(left, right, fraction);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
anim1-expected-completion55.txt | 2 android:fromXDelta : [float, fraction] 3 android:toXDelta : [float, fraction] 4 android:fromYDelta : [float, fraction] 5 android:toYDelta : [float, fraction]
|
/packages/inputmethods/LatinIME/java/res/xml/ |
kbd_armenian_phonetic.xml | 24 latin:verticalGap="@fraction/key_bottom_gap_5row" 25 latin:keyLetterSize="@fraction/key_letter_ratio_5row" 26 latin:keyShiftedLetterHintRatio="@fraction/key_uppercase_letter_ratio_5row"
|
kbd_emoji_recents.xml | 23 latin:keyWidth="@fraction/emoji_keyboard_key_width" 24 latin:keyLetterSize="@fraction/emoji_keyboard_key_letter_size" 26 latin:rowHeight="@fraction/emoji_keyboard_row_height"
|
kbd_khmer.xml | 24 latin:verticalGap="@fraction/key_bottom_gap_5row" 25 latin:keyLetterSize="@fraction/key_letter_ratio_5row" 26 latin:keyShiftedLetterHintRatio="@fraction/key_uppercase_letter_ratio_5row"
|
kbd_lao.xml | 24 latin:verticalGap="@fraction/key_bottom_gap_5row" 25 latin:keyLetterSize="@fraction/key_letter_ratio_5row" 26 latin:keyShiftedLetterHintRatio="@fraction/key_uppercase_letter_ratio_5row"
|
kbd_pcqwerty.xml | 24 latin:verticalGap="@fraction/key_bottom_gap_5row" 25 latin:keyLetterSize="@fraction/key_letter_ratio_5row" 26 latin:keyShiftedLetterHintRatio="@fraction/key_uppercase_letter_ratio_5row"
|
kbd_thai.xml | 24 latin:verticalGap="@fraction/key_bottom_gap_5row" 25 latin:keyLetterSize="@fraction/key_letter_ratio_5row" 26 latin:keyShiftedLetterHintRatio="@fraction/key_uppercase_letter_ratio_5row"
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
log2.c | 52 * 5- fraction = table[i]<<16 - (table[i] - table[i+1]) * a * 2 60 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */ 68 *fraction = 0; 75 a = (Word16)(L_x); /* Extract b10-b24 of fraction */ 81 *fraction = extract_h (L_y); 101 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */ 107 Log2_norm ((L_x << exp), exp, exponent, fraction);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/sound/ |
ainstr_simple.h | 83 unsigned int start; /* start offset in samples * 16 (lowest 4 bits - fraction) */ 84 unsigned int loop_start; /* loop start offset in samples * 16 (lowest 4 bits - fraction) */ 85 unsigned int loop_end; /* loop end offset in samples * 16 (lowest 4 bits - fraction) */ 119 __u32 start; /* start offset in samples * 16 (lowest 4 bits - fraction) */ 120 __u32 loop_start; /* bits loop start offset in samples * 16 (lowest 4 bits - fraction) */ 121 __u32 loop_end; /* loop start offset in samples * 16 (lowest 4 bits - fraction) */
|