/packages/inputmethods/LatinIME/java/res/xml/ |
kbd_emoji_category6.xml | 23 latin:keyWidth="@fraction/config_emoji_keyboard_key_width" 26 latin:rowHeight="@fraction/config_emoji_keyboard_row_height"
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
pitch_f4.c | 62 Word32 frac /* (i) : fraction (-4..+3) */ 72 Word16 * pit_frac, /* (o) : chosen fraction (0, 1, 2 or 3). */ 79 Word32 fraction, i; local 122 fraction = -3; 126 fraction = -2; 130 fraction = 0; 132 max = Interpol_4(&corr[t0], fraction); 134 for (i = fraction + step; i <= 3; i += step) 140 fraction = i; 143 /* limit the fraction value in the interval [0,1,2,3] * [all...] |
math_op.c | 83 | 1- If exponant is odd then shift fraction right once. | 85 | 3- i = bit25-b30 of fraction, 16 <= i <= 63 ->because of normalization. | 88 | 6- fraction = table[i]<<16 - (table[i] - table[i+1]) * a * 2 | 136 | L_x = pow(2.0, exponant.fraction) (exponant = interger part) | 137 | = pow(2.0, 0.fraction) << exponant | 144 | 1- i = bit10-b15 of fraction, 0 <= i <= 31 | 145 | 2- a = bit0-b9 of fraction | 160 Word16 fraction /* (i) Q15 : Fractionnal part. (range: 0.0<=val<1.0) */ 166 L_x = vo_L_mult(fraction, 32); /* L_x = fraction<<6 * [all...] |
/frameworks/base/packages/SystemUI/res/values-sw720dp/ |
dimens.xml | 68 <!-- The fraction of the screen height where the clock on the Keyguard has its center. The 71 <fraction name="keyguard_clock_y_fraction_max">35%</fraction> 72 <fraction name="keyguard_clock_y_fraction_min">25%</fraction>
|
/packages/apps/Dialer/src/com/android/dialer/widget/ |
SearchEditTextLayout.java | 292 final Float fraction = (Float) animation.getAnimatedValue(); 293 setMargins(fraction); 310 * Assigns margins to the search box as a fraction of its maximum margin size 312 * @param fraction How large the margins should be as a fraction of their full size 314 private void setMargins(float fraction) { 316 params.topMargin = (int) (mTopMargin * fraction); 317 params.bottomMargin = (int) (mBottomMargin * fraction); 318 params.leftMargin = (int) (mLeftMargin * fraction); 319 params.rightMargin = (int) (mRightMargin * fraction); [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_fractions.py | 13 F = fractions.Fraction 57 """Test comparison of Fraction with a naive rational implementation.""" 65 if isinstance(other, fractions.Fraction): 92 class DummyFraction(fractions.Fraction): 93 """Dummy Fraction subclass for copy and deepcopy testing.""" 147 self.assertRaisesMessage(ZeroDivisionError, "Fraction(12, 0)", 197 ZeroDivisionError, "Fraction(3, 0)", 200 ValueError, "Invalid literal for Fraction: '3/'", 203 ValueError, "Invalid literal for Fraction: '/2'", 206 ValueError, "Invalid literal for Fraction: '3 /2'" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_fractions.py | 13 F = fractions.Fraction 57 """Test comparison of Fraction with a naive rational implementation.""" 65 if isinstance(other, fractions.Fraction): 92 class DummyFraction(fractions.Fraction): 93 """Dummy Fraction subclass for copy and deepcopy testing.""" 147 self.assertRaisesMessage(ZeroDivisionError, "Fraction(12, 0)", 197 ZeroDivisionError, "Fraction(3, 0)", 200 ValueError, "Invalid literal for Fraction: '3/'", 203 ValueError, "Invalid literal for Fraction: '/2'", 206 ValueError, "Invalid literal for Fraction: '3 /2'" [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/ |
PcQwerty.java | 167 // U+00BD: "½" VULGAR FRACTION ONE HALF 168 // U+2153: "?" VULGAR FRACTION ONE THIRD 169 // U+00BC: "¼" VULGAR FRACTION ONE QUARTER 170 // U+215B: "?" VULGAR FRACTION ONE EIGHTH 174 // U+2154: "?" VULGAR FRACTION TWO THIRDS 177 // U+00BE: "¾" VULGAR FRACTION THREE QUARTERS 178 // U+215C: "?" VULGAR FRACTION THREE EIGHTHS 182 // U+215D: "?" VULGAR FRACTION FIVE EIGHTHS 185 // U+215E: "?" VULGAR FRACTION SEVEN EIGHTHS
|
Symbols.java | 123 // U+00BD: "½" VULGAR FRACTION ONE HALF 124 // U+2153: "?" VULGAR FRACTION ONE THIRD 125 // U+00BC: "¼" VULGAR FRACTION ONE QUARTER 126 // U+215B: "?" VULGAR FRACTION ONE EIGHTH 129 // U+2154: "?" VULGAR FRACTION TWO THIRDS 132 // U+00BE: "¾" VULGAR FRACTION THREE QUARTERS 133 // U+215C: "?" VULGAR FRACTION THREE EIGHTHS 137 // U+215D: "?" VULGAR FRACTION FIVE EIGHTHS 140 // U+215E: "?" VULGAR FRACTION SEVEN EIGHTHS
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_modf.c | 19 * return fraction part of x, and return x's integral part in *iptr. 56 } else if (j0>51) { /* no fraction part */ 66 } else { /* fraction part in low x */
|
/external/fdlibm/ |
s_modf.c | 16 * return fraction part of x, and return x's integral part in *iptr. 62 } else if (j0>51) { /* no fraction part */ 67 } else { /* fraction part in low x */
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/res/layout/ |
resource_test.xml | 44 android:text="@{`` + @fraction/myFraction}"/> 49 android:text="@{`` + @fraction/myFraction(base)}"/> 54 android:text="@{`` + @fraction/myParentFraction(base, pbase)}"/>
|
/external/toybox/toys/posix/ |
sleep.c | 25 Length can be a decimal fraction.
|
/frameworks/support/v4/donut/android/support/v4/animation/ |
DonutAnimatorCompatProvider.java | 58 float fraction = dt * 1f / mDuration; 59 if (fraction > 1f || mTarget.getParent() == null) { 60 fraction = 1f; 62 mFraction = fraction;
|
/packages/apps/Camera/src/com/android/camera/ |
CaptureAnimManager.java | 126 float fraction = (float) (timeDiff) / TIME_SLIDE; local 130 x = x + mDelta * mSlideInterpolator.getInterpolation(fraction); 132 y = y + mDelta * mSlideInterpolator.getInterpolation(fraction); 135 // canvas.setAlpha(fraction);
|
/frameworks/support/design/src/android/support/design/widget/ |
SwipeDismissBehavior.java | 140 * @param fraction the distance as a fraction of the view's width. 142 public void setStartAlphaSwipeDistance(float fraction) { 143 mAlphaStartSwipeDistance = clamp(0f, fraction, 1f); 149 * @param fraction the distance as a fraction of the view's width. 151 public void setEndAlphaSwipeDistance(float fraction) { 152 mAlphaEndSwipeDistance = clamp(0f, fraction, 1f); 319 final float distance = fraction(startAlphaDistance, endAlphaDistance, left); 373 * The fraction that {@code value} is between {@code startValue} and {@code endValue} 375 static float fraction(float startValue, float endValue, float value) { method in class:SwipeDismissBehavior [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
PixelUtils.java | 120 * @param fraction A float value between 0 and 1.
121 * @return Number of pixels fraction represents on the current device's display.
123 public static float fractionToPixH(float fraction) {
124 return metrics.heightPixels * fraction;
130 * @param fraction A float value between 0 and 1.
131 * @return Number of pixels fraction represents on the current device's display.
133 public static float fractionToPixW(float fraction) {
134 return metrics.widthPixels * fraction;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
BigFractionField.java | 18 package org.apache.commons.math.fraction; 29 * @see Fraction
|
FractionConversionException.java | 18 package org.apache.commons.math.fraction; 24 * Error thrown when a double value cannot be converted to a fraction
|
/cts/tests/tests/media/src/android/media/cts/ |
IvfWriter.java | 41 * Timebase fraction is in format scale/rate, e.g. 1/1000 48 * @param scale timebase scale (or numerator of the timebase fraction) 49 * @param rate timebase rate (or denominator of the timebase fraction) 102 * Timebase fraction is in format scale/rate, e.g. 1/1000 107 * @param scale timebase scale (or numerator of the timebase fraction) 108 * @param rate timebase rate (or denominator of the timebase fraction)
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
DerGeneralizedTimeEDTest.java | 65 assertEquals("2 fraction", "20041202093934.18Z", rep); 72 assertEquals("1 fraction", "20041202093934.1Z", rep); 79 assertEquals("no fraction", "20041202093934Z", rep); 136 assertEquals("2 fraction", myDate, gTime.decode(dis)); 145 assertEquals("1 fraction", myDate, gTime.decode(dis)); 154 assertEquals("no fraction", myDate, gTime.decode(dis));
|
/frameworks/base/packages/SystemUI/res/values-sw600dp/ |
dimens.xml | 39 <!-- Minimum fraction of the screen that should be taken up by the notification panel. --> 52 <!-- The fraction of the screen height where the clock on the Keyguard has its center. The 55 <fraction name="keyguard_clock_y_fraction_max">34%</fraction> 56 <fraction name="keyguard_clock_y_fraction_min">24%</fraction>
|
/frameworks/support/v7/appcompat/res/values/ |
dimens.xml | 49 (the screen is in landscape). This may be either a fraction or a dimension.--> 52 (the screen is in portrait). This may be either a fraction or a dimension.--> 55 (the screen is in portrait). This may be either a fraction or a dimension.--> 58 (the screen is in landscape). This may be either a fraction or a dimension.--> 92 be either a fraction or a dimension. --> 97 be either a fraction or a dimension. -->
|
/prebuilts/sdk/current/support/v7/appcompat/res/values/ |
dimens.xml | 49 (the screen is in landscape). This may be either a fraction or a dimension.--> 52 (the screen is in portrait). This may be either a fraction or a dimension.--> 55 (the screen is in portrait). This may be either a fraction or a dimension.--> 58 (the screen is in landscape). This may be either a fraction or a dimension.--> 92 be either a fraction or a dimension. --> 97 be either a fraction or a dimension. -->
|
/packages/inputmethods/LatinIME/java/res/values/ |
attrs.xml | 82 <attr name="languageOnSpacebarTextRatio" format="fraction" /> 166 <attr name="gestureDetectFastMoveSpeedThreshold" format="fraction" /> 173 <attr name="gestureDynamicDistanceThresholdFrom" format="fraction" /> 174 <attr name="gestureDynamicDistanceThresholdTo" format="fraction" /> 176 <attr name="gestureSamplingMinimumDistance" format="fraction" /> 180 <attr name="gestureRecognitionSpeedThreshold" format="fraction" /> 216 <attr name="alphaObsoleted" format="fraction" /> 218 <attr name="centerSuggestionPercentile" format="fraction" /> 235 <attr name="keyboardTopPadding" format="fraction" /> 236 <attr name="keyboardBottomPadding" format="fraction" /> [all...] |