/packages/inputmethods/LatinIME/java/res/values-sw600dp-land/ |
config.xml | 26 <fraction name="config_min_keyboard_height">40%p</fraction> 30 <fraction name="config_keyboard_top_padding_holo">2.727%p</fraction> 31 <fraction name="config_keyboard_bottom_padding_holo">0.0%p</fraction> 32 <fraction name="config_key_vertical_gap_holo">4.5%p</fraction> 33 <fraction name="config_key_horizontal_gap_holo">0.9%p</fraction> [all...] |
/packages/inputmethods/LatinIME/java/res/values-sw768dp-land/ |
config.xml | 26 <fraction name="config_min_keyboard_height">35%p</fraction> 28 <fraction name="config_keyboard_top_padding_holo">1.896%p</fraction> 29 <fraction name="config_keyboard_bottom_padding_holo">0.0%p</fraction> 30 <fraction name="config_key_vertical_gap_holo">3.690%p</fraction> 31 <fraction name="config_key_horizontal_gap_holo">1.030%p</fraction> [all...] |
/packages/inputmethods/LatinIME/java/res/values-sw600dp/ |
config.xml | 28 <fraction name="config_max_keyboard_height">46%p</fraction> 29 <fraction name="config_min_keyboard_height">-35.0%p</fraction> 37 <fraction name="config_keyboard_top_padding_holo">2.335%p</fraction> 38 <fraction name="config_keyboard_bottom_padding_holo">4.0%p</fraction> 39 <fraction name="config_key_vertical_gap_holo">4.5%p</fraction> [all...] |
/packages/inputmethods/LatinIME/java/res/values-sw768dp/ |
config.xml | 26 <fraction name="config_max_keyboard_height">46%p</fraction> 27 <fraction name="config_min_keyboard_height">-35.0%p</fraction> 29 <fraction name="config_keyboard_top_padding_holo">2.335%p</fraction> 30 <fraction name="config_keyboard_bottom_padding_holo">0.0%p</fraction> 31 <fraction name="config_key_vertical_gap_holo">3.312%p</fraction> [all...] |
/packages/inputmethods/LatinIME/java/res/values-land/ |
config.xml | 28 <fraction name="config_min_keyboard_height">45%p</fraction> 36 <fraction name="config_keyboard_top_padding_holo">2.727%p</fraction> 37 <fraction name="config_keyboard_bottom_padding_holo">0.0%p</fraction> 38 <fraction name="config_key_vertical_gap_holo">5.368%p</fraction> 39 <fraction name="config_key_horizontal_gap_holo">1.020%p</fraction> [all...] |
/frameworks/base/libs/hwui/ |
PropertyValuesHolder.cpp | 28 inline U8CPU lerp(U8CPU fromValue, U8CPU toValue, float fraction) { 29 return (U8CPU) (fromValue * (1 - fraction) + toValue * fraction); 34 const SkColor& fromColor, const SkColor& toColor, float fraction) const { 35 U8CPU alpha = lerp(SkColorGetA(fromColor), SkColorGetA(toColor), fraction); 36 U8CPU red = lerp(SkColorGetR(fromColor), SkColorGetR(toColor), fraction); 37 U8CPU green = lerp(SkColorGetG(fromColor), SkColorGetG(toColor), fraction); 38 U8CPU blue = lerp(SkColorGetB(fromColor), SkColorGetB(toColor), fraction); 43 const PathData& from, const PathData& to, float fraction) const { 44 VectorDrawableUtils::interpolatePaths(out, from, to, fraction); [all...] |
/packages/inputmethods/LatinIME/java/res/values/ |
config.xml | 30 <fraction name="config_max_keyboard_height">46%p</fraction> 31 <fraction name="config_min_keyboard_height">-61.8%p</fraction> 39 <fraction name="config_keyboard_top_padding_holo">2.335%p</fraction> 40 <fraction name="config_keyboard_bottom_padding_holo">4.669%p</fraction> 41 <fraction name="config_key_vertical_gap_holo">6.127%p</fraction> [all...] |
/cts/tests/tests/content/res/values/ |
dimens.xml | 19 <item name="frac100perc" type="dimen" format="fraction">100%</item> 20 <item name="frac1perc" type="dimen" format="fraction">1%</item> 21 <item name="fracp1perc" type="dimen" format="fraction">.1%</item> 22 <item name="fracp01perc" type="dimen" format="fraction">.01%</item> 23 <item name="frac0perc" type="dimen" format="fraction">0%</item> 24 <item name="frac1p1perc" type="dimen" format="fraction">1.1%</item> 25 <item name="frac100p1perc" type="dimen" format="fraction">100.1%</item> 26 <item name="frac25510perc" type="dimen" format="fraction">25510%</item> 27 <item name="frac25610perc" type="dimen" format="fraction">25610%</item> 28 <item name="frac6553510perc" type="dimen" format="fraction">6553510%</item [all...] |
/cts/tests/tests/graphics/res/values/ |
dimens.xml | 19 <item name="frac100perc" type="dimen" format="fraction">100%</item> 20 <item name="frac1perc" type="dimen" format="fraction">1%</item> 21 <item name="fracp1perc" type="dimen" format="fraction">.1%</item> 22 <item name="fracp01perc" type="dimen" format="fraction">.01%</item> 23 <item name="frac0perc" type="dimen" format="fraction">0%</item> 24 <item name="frac1p1perc" type="dimen" format="fraction">1.1%</item> 25 <item name="frac100p1perc" type="dimen" format="fraction">100.1%</item> 26 <item name="frac25510perc" type="dimen" format="fraction">25510%</item> 27 <item name="frac25610perc" type="dimen" format="fraction">25610%</item> 28 <item name="frac6553510perc" type="dimen" format="fraction">6553510%</item [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
Fraction.java | 17 package org.apache.commons.math.fraction; 37 public class Fraction 39 implements FieldElement<Fraction>, Comparable<Fraction>, Serializable { 41 /** A fraction representing "2 / 1". */ 42 public static final Fraction TWO = new Fraction(2, 1); 44 /** A fraction representing "1". */ 45 public static final Fraction ONE = new Fraction(1, 1) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
fpformat.py | 26 # \3 fraction (empty or begins with point) 36 """Return (sign, intpart, fraction, expo) or raise an exception: 39 fraction is 0 or more digits 43 sign, intpart, fraction, exppart = res.group(1,2,3,4) 45 if fraction: fraction = fraction[1:] 48 return sign, intpart, fraction, expo 50 def unexpo(intpart, fraction, expo): 51 """Remove the exponent by changing intpart and fraction."" [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
fpformat.py | 26 # \3 fraction (empty or begins with point) 36 """Return (sign, intpart, fraction, expo) or raise an exception: 39 fraction is 0 or more digits 43 sign, intpart, fraction, exppart = res.group(1,2,3,4) 45 if fraction: fraction = fraction[1:] 48 return sign, intpart, fraction, expo 50 def unexpo(intpart, fraction, expo): 51 """Remove the exponent by changing intpart and fraction."" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
fpformat.py | 26 # \3 fraction (empty or begins with point) 36 """Return (sign, intpart, fraction, expo) or raise an exception: 39 fraction is 0 or more digits 43 sign, intpart, fraction, exppart = res.group(1,2,3,4) 45 if fraction: fraction = fraction[1:] 48 return sign, intpart, fraction, expo 50 def unexpo(intpart, fraction, expo): 51 """Remove the exponent by changing intpart and fraction."" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
fpformat.py | 26 # \3 fraction (empty or begins with point) 36 """Return (sign, intpart, fraction, expo) or raise an exception: 39 fraction is 0 or more digits 43 sign, intpart, fraction, exppart = res.group(1,2,3,4) 45 if fraction: fraction = fraction[1:] 48 return sign, intpart, fraction, expo 50 def unexpo(intpart, fraction, expo): 51 """Remove the exponent by changing intpart and fraction."" [all...] |
/frameworks/support/percent/res/values/ |
attrs.xml | 19 <attr name="layout_widthPercent" format="fraction"/> 21 <attr name="layout_heightPercent" format="fraction"/> 23 <attr name="layout_marginPercent" format="fraction"/> 24 <attr name="layout_marginLeftPercent" format="fraction"/> 25 <attr name="layout_marginTopPercent" format="fraction"/> 26 <attr name="layout_marginRightPercent" format="fraction"/> 27 <attr name="layout_marginBottomPercent" format="fraction"/> 28 <attr name="layout_marginStartPercent" format="fraction"/> 29 <attr name="layout_marginEndPercent" format="fraction"/> 30 <attr name="layout_aspectRatio" format="fraction" /> [all...] |
/prebuilts/sdk/current/support/percent/res/values/ |
attrs.xml | 19 <attr name="layout_widthPercent" format="fraction"/> 21 <attr name="layout_heightPercent" format="fraction"/> 23 <attr name="layout_marginPercent" format="fraction"/> 24 <attr name="layout_marginLeftPercent" format="fraction"/> 25 <attr name="layout_marginTopPercent" format="fraction"/> 26 <attr name="layout_marginRightPercent" format="fraction"/> 27 <attr name="layout_marginBottomPercent" format="fraction"/> 28 <attr name="layout_marginStartPercent" format="fraction"/> 29 <attr name="layout_marginEndPercent" format="fraction"/> 30 <attr name="layout_aspectRatio" format="fraction" /> [all...] |
/frameworks/base/packages/SystemUI/res/values-xhdpi/ |
dimens.xml | 21 <!-- Fraction value to smooth the edges of the battery icon. The path will be inset by this 22 fraction of a pixel.--> 23 <fraction name="battery_subpixel_smoothing_left">25%</fraction> 24 <fraction name="battery_subpixel_smoothing_right">12.5%</fraction>
|
/frameworks/base/packages/SystemUI/res/values-xxhdpi/ |
dimens.xml | 21 <!-- Fraction value to smooth the edges of the battery icon. The path will be inset by this 22 fraction of a pixel.--> 23 <fraction name="battery_subpixel_smoothing_left">33%</fraction> 24 <fraction name="battery_subpixel_smoothing_right">33%</fraction>
|
/frameworks/base/packages/SystemUI/res/values-hdpi/ |
dimens.xml | 20 <fraction name="battery_button_height_fraction">10.5%</fraction> 22 <!-- Fraction value to smooth the edges of the battery icon. The path will be inset by this 23 fraction of a pixel.--> 24 <fraction name="battery_subpixel_smoothing_left">20%</fraction> 25 <fraction name="battery_subpixel_smoothing_right">12%</fraction>
|
/frameworks/base/packages/SystemUI/res/values-mdpi/ |
dimens.xml | 19 <fraction name="battery_button_height_fraction">12%</fraction> 21 <!-- Fraction value to smooth the edges of the battery icon. The path will be inset by this 22 fraction of a pixel.--> 23 <fraction name="battery_subpixel_smoothing_left">10%</fraction> 24 <fraction name="battery_subpixel_smoothing_right">10%</fraction>
|
/frameworks/base/packages/SystemUI/res/values-tvdpi/ |
dimens.xml | 19 <fraction name="battery_button_height_fraction">12%</fraction> 21 <!-- Fraction value to smooth the edges of the battery icon. The path will be inset by this 22 fraction of a pixel.--> 23 <fraction name="battery_subpixel_smoothing_left">10%</fraction> 24 <fraction name="battery_subpixel_smoothing_right">10%</fraction>
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
anim1-expected-completion57.txt | 2 100% : <b>Fraction</b> - a percentage of the base size 3 100%p : <b>Fraction</b> - a percentage relative to parent container
|
/frameworks/base/core/java/android/animation/ |
PathKeyframes.java | 66 public Object getValue(float fraction) { 68 if (fraction < 0) { 69 return interpolateInRange(fraction, 0, 1); 70 } else if (fraction > 1) { 71 return interpolateInRange(fraction, numPoints - 2, numPoints - 1); 72 } else if (fraction == 0) { 74 } else if (fraction == 1) { 85 if (fraction < midFraction) { 87 } else if (fraction > midFraction) { 94 // now high is below the fraction and low is above the fractio [all...] |
/frameworks/base/core/res/res/values-notround-watch/ |
dimens.xml | 19 <item name="input_extract_layout_height" type="fraction">17.5%</item> 20 <item name="input_extract_layout_padding_left" type="fraction">3.6%</item> 21 <item name="input_extract_layout_padding_left_no_action" type="fraction">@fraction/input_extract_layout_padding_right</item> 22 <item name="input_extract_layout_padding_right" type="fraction">2.5%</item> 23 <item name="input_extract_text_margin_bottom" type="fraction">0%</item> 24 <item name="input_extract_action_margin_bottom" type="fraction">0%</item>
|
/frameworks/base/core/res/res/values-round-watch/ |
dimens.xml | 19 <item name="input_extract_layout_height" type="fraction">25.2%</item> 20 <item name="input_extract_layout_padding_left" type="fraction">7.5%</item> 21 <item name="input_extract_layout_padding_left_no_action" type="fraction">@fraction/input_extract_layout_padding_right</item> 22 <item name="input_extract_layout_padding_right" type="fraction">21.4%</item> 23 <item name="input_extract_text_margin_bottom" type="fraction">5.5%</item> 24 <item name="input_extract_action_margin_bottom" type="fraction">2.1%</item>
|