/development/samples/browseable/Flashlight/src/com.example.android.wearable.flashlight/ |
PartyLightView.java | 102 private int getColor(float fraction, int colorStart, int colorEnd) { 115 return (startA + (int)(fraction * (endA - startA))) << 24 | 116 (startR + (int)(fraction * (endR - startR))) << 16 | 117 (startG + (int)(fraction * (endG - startG))) << 8 | 118 ((startB + (int)(fraction * (endB - startB))));
|
/frameworks/base/core/java/android/animation/ |
FloatArrayEvaluator.java | 52 * Interpolates the value at each index by the fraction. If 57 * @param fraction The fraction from the starting to the ending values 64 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { 73 array[i] = start + (fraction * (end - start));
|
IntArrayEvaluator.java | 52 * Interpolates the value at each index by the fraction. If {@link #IntArrayEvaluator(int[])} 56 * @param fraction The fraction from the starting to the ending values 63 public int[] evaluate(float fraction, int[] startValue, int[] endValue) { 71 array[i] = (int) (start + (fraction * (end - start)));
|
PointFEvaluator.java | 56 * end PointF values, with <code>fraction</code> representing the proportion 65 * @param fraction The fraction from the starting to the ending values 69 * <code>fraction</code> parameter. 72 public PointF evaluate(float fraction, PointF startValue, PointF endValue) { 73 float x = startValue.x + (fraction * (endValue.x - startValue.x)); 74 float y = startValue.y + (fraction * (endValue.y - startValue.y));
|
TimeInterpolator.java | 26 * Maps a value representing the elapsed fraction of an animation to a value that represents 27 * the interpolated fraction. This interpolated value is then multiplied by the change in
|
/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);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
FocusHighlightHelper.java | 41 return R.fraction.lb_focus_zoom_factor_small; 43 return R.fraction.lb_focus_zoom_factor_xsmall; 45 return R.fraction.lb_focus_zoom_factor_medium; 47 return R.fraction.lb_focus_zoom_factor_large; 119 float fraction; local 121 fraction = 1; 124 fraction = (float) (totalTime / (double) mDuration); 127 fraction = mInterpolator.getInterpolation(fraction); 129 setFocusLevel(mFocusLevelStart + fraction * mFocusLevelDelta) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
ContinuedFraction.java | 26 * provided the a and b coefficients to evaluate the continued fraction. 32 * Continued Fraction</a></li> 51 * Access the n-th a coefficient of the continued fraction. Since a can be 60 * Access the n-th b coefficient of the continued fraction. Since b can be 69 * Evaluates the continued fraction at the value x. 71 * @return the value of the continued fraction evaluated at x. 79 * Evaluates the continued fraction at the value x. 82 * @return the value of the continued fraction evaluated at x. 90 * Evaluates the continued fraction at the value x. 93 * @return the value of the continued fraction evaluated at x [all...] |
/packages/inputmethods/LatinIME/java/res/values/ |
themes-common.xml | 27 <item name="horizontalGap">@fraction/config_key_horizontal_gap_holo</item> 28 <item name="verticalGap">@fraction/config_key_vertical_gap_holo</item> 30 <item name="keyboardTopPadding">@fraction/config_keyboard_top_padding_holo</item> 31 <item name="keyboardBottomPadding">@fraction/config_keyboard_bottom_padding_holo</item> 32 <item name="keyboardLeftPadding">@fraction/config_keyboard_left_padding</item> 33 <item name="keyboardRightPadding">@fraction/config_keyboard_right_padding</item> 47 <item name="keyPreviewTextRatio">@fraction/config_key_preview_text_ratio</item> 83 <item name="languageOnSpacebarTextRatio">@fraction/config_language_on_spacebar_text_ratio</item> 93 <item name="gestureDetectFastMoveSpeedThreshold">@fraction/config_gesture_detect_fast_move_speed_threshold</item> 97 <item name="gestureDynamicDistanceThresholdFrom">@fraction/config_gesture_dynamic_distance_threshold_from</item [all...] |
/frameworks/support/v7/appcompat/res/values-large/ |
dimens.xml | 26 (the screen is in landscape). This may be either a fraction or a dimension.--> 29 (the screen is in portrait). This may be either a fraction or a dimension.--> 32 (the screen is in portrait). This may be either a fraction or a dimension.--> 35 (the screen is in landscape). This may be either a fraction or a dimension.-->
|
/frameworks/support/v7/appcompat/res/values-xlarge/ |
dimens.xml | 28 (the screen is in landscape). This may be either a fraction or a dimension.--> 31 (the screen is in portrait). This may be either a fraction or a dimension.--> 34 (the screen is in portrait). This may be either a fraction or a dimension.--> 37 (the screen is in landscape). This may be either a fraction or a dimension.-->
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
EmojiLayoutParams.java | 43 mKeyVerticalGap = (int) res.getFraction(R.fraction.config_key_vertical_gap_holo, 45 mBottomPadding = (int) res.getFraction(R.fraction.config_keyboard_bottom_padding_holo, 47 mTopPadding = (int) res.getFraction(R.fraction.config_keyboard_top_padding_holo, 49 mKeyHorizontalGap = (int) (res.getFraction(R.fraction.config_key_horizontal_gap_holo,
|
/prebuilts/sdk/current/support/v7/appcompat/res/values-large/ |
dimens.xml | 26 (the screen is in landscape). This may be either a fraction or a dimension.--> 29 (the screen is in portrait). This may be either a fraction or a dimension.--> 32 (the screen is in portrait). This may be either a fraction or a dimension.--> 35 (the screen is in landscape). This may be either a fraction or a dimension.-->
|
/prebuilts/sdk/current/support/v7/appcompat/res/values-xlarge/ |
dimens.xml | 28 (the screen is in landscape). This may be either a fraction or a dimension.--> 31 (the screen is in portrait). This may be either a fraction or a dimension.--> 34 (the screen is in portrait). This may be either a fraction or a dimension.--> 37 (the screen is in landscape). This may be either a fraction or a dimension.-->
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
completion1-expected-completion6.txt | 12 @android:fraction/
|
/frameworks/support/design/src/android/support/design/widget/ |
CollapsingTextHelper.java | 239 void setExpansionFraction(float fraction) { 240 fraction = MathUtils.constrain(fraction, 0f, 1f); 242 if (fraction != mExpandedFraction) { 243 mExpandedFraction = fraction; 261 final float fraction = mExpandedFraction; local 263 interpolateBounds(fraction); 264 mCurrentDrawX = lerp(mExpandedDrawX, mCollapsedDrawX, fraction, 266 mCurrentDrawY = lerp(mExpandedDrawY, mCollapsedDrawY, fraction, 270 fraction, mTextSizeInterpolator)) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
package.html | 20 Fraction number type and fraction number formatting.
|
/external/linux-tools-perf/src/tools/perf/ui/gtk/ |
progress.c | 12 double fraction = total ? 1.0 * curr / total : 0.0; local 34 gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(progress), fraction); local
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
log2.h | 50 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1)*/ 57 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */
|
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
BitmapView.java | 59 float fraction = (float) getBottom() / (mListView.getHeight() + getHeight()); local 60 drawable.setParallaxFraction(fraction);
|
/packages/inputmethods/LatinIME/java/res/xml/ |
kbd_emoji_category1.xml | 23 latin:keyWidth="@fraction/config_emoji_keyboard_key_width" 25 latin:rowHeight="@fraction/config_emoji_keyboard_row_height"
|
kbd_emoji_category2.xml | 23 latin:keyWidth="@fraction/config_emoji_keyboard_key_width" 25 latin:rowHeight="@fraction/config_emoji_keyboard_row_height"
|
kbd_emoji_category3.xml | 23 latin:keyWidth="@fraction/config_emoji_keyboard_key_width" 25 latin:rowHeight="@fraction/config_emoji_keyboard_row_height"
|
kbd_emoji_category4.xml | 23 latin:keyWidth="@fraction/config_emoji_keyboard_key_width" 25 latin:rowHeight="@fraction/config_emoji_keyboard_row_height"
|
kbd_emoji_category5.xml | 23 latin:keyWidth="@fraction/config_emoji_keyboard_key_width" 25 latin:rowHeight="@fraction/config_emoji_keyboard_row_height"
|