HomeSort by relevance Sort by last modified time
    Searched full:fraction (Results 151 - 175 of 2010) sorted by null

1 2 3 4 5 67 8 91011>>

  /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/av/media/libstagefright/codecs/amrwbenc/src/
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/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/autotest/client/site_tests/cellular_Throughput/
control 8 CRITERIA = """Bandwidth a reasonable fraction of max for the technology."""
  /external/toybox/toys/posix/
sleep.c 25 Length can be a decimal fraction.
  /frameworks/base/core/res/res/values-w170dp-notround-watch/
dimens.xml 19 <item name="input_extract_layout_padding_right" type="fraction">7.5%</item>
  /frameworks/support/compat/gingerbread/android/support/v4/animation/
GingerbreadAnimatorCompatProvider.java 56 float fraction = dt * 1f / mDuration;
57 if (fraction > 1f || mTarget.getParent() == null) {
58 fraction = 1f;
60 mFraction = fraction;
  /frameworks/support/design/src/android/support/design/widget/
CollapsingTextHelper.java 307 void setExpansionFraction(float fraction) {
308 fraction = MathUtils.constrain(fraction, 0f, 1f);
310 if (fraction != mExpandedFraction) {
311 mExpandedFraction = fraction;
348 private void calculateOffsets(final float fraction) {
349 interpolateBounds(fraction);
350 mCurrentDrawX = lerp(mExpandedDrawX, mCollapsedDrawX, fraction,
352 mCurrentDrawY = lerp(mExpandedDrawY, mCollapsedDrawY, fraction,
356 fraction, mTextSizeInterpolator))
362 getCurrentExpandedTextColor(), getCurrentCollapsedTextColor(), fraction)); local
    [all...]
SwipeDismissBehavior.java 146 * @param fraction the distance as a fraction of the view's width.
148 public void setStartAlphaSwipeDistance(float fraction) {
149 mAlphaStartSwipeDistance = clamp(0f, fraction, 1f);
155 * @param fraction the distance as a fraction of the view's width.
157 public void setEndAlphaSwipeDistance(float fraction) {
158 mAlphaEndSwipeDistance = clamp(0f, fraction, 1f);
353 final float distance = fraction(startAlphaDistance, endAlphaDistance, left);
407 * The fraction that {@code value} is between {@code startValue} and {@code endValue}
409 static float fraction(float startValue, float endValue, float value) { method in class:SwipeDismissBehavior
    [all...]
  /toolchain/binutils/binutils-2.25/gprof/
bsd_callg_bl.m 50 fraction which divides up the function's time to
55 the propagation fraction.
77 propagation fraction for this child.
81 propagation fraction.
  /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
  /external/webrtc/webrtc/modules/audio_coding/neteq/
normal.cc 133 int fraction = increment;
140 static_cast<int16_t>((fraction * (*output)[channel_ix][i] +
141 (32 - fraction) * expanded[channel_ix][i] + 8) >> 5);
142 fraction += increment;
169 int16_t fraction = increment;
174 (fraction * signal[i] + (32 - fraction) * cng_output[i] + 8) >> 5;
175 fraction += increment;
  /frameworks/support/v7/mediarouter/res/values/
dimens.xml 21 (the screen is in landscape). This may be either a fraction or a dimension.-->
24 (the screen is in portrait). This may be either a fraction or a dimension.-->
  /prebuilts/sdk/current/support/v7/mediarouter/res/values/
dimens.xml 21 (the screen is in landscape). This may be either a fraction or a dimension.-->
24 (the screen is in portrait). This may be either a fraction or a dimension.-->
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/util/
field_comparator.h 139 // Sets the fraction and margin for the float comparison of a given field.
145 void SetFractionAndMargin(const FieldDescriptor* field, double fraction,
148 // Sets the fraction and margin for the float comparison of all float and
154 void SetDefaultFractionAndMargin(double fraction, double margin);
157 // Defines the tolerance for floating point comparison (fraction and margin).
159 double fraction; member in struct:google::protobuf::util::DefaultFieldComparator::Tolerance
162 : fraction(0.0),
165 : fraction(f),
  /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 35 <!-- Minimum fraction of the screen that should be taken up by the notification panel. -->
42 <!-- The fraction of the screen height where the clock on the Keyguard has its center. The
45 <fraction name="keyguard_clock_y_fraction_max">34%</fraction>
46 <fraction name="keyguard_clock_y_fraction_min">24%</fraction>
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
TemplateLayout.java 150 * Set the X translation as a fraction of the width of this view. Make sure this method is not
161 public void setXFraction(float fraction) {
162 mXFraction = fraction;
165 setTranslationX(width * fraction);
167 // If we haven't done a layout pass yet, wait for one and then set the fraction before
186 * Return the X translation as a fraction of the width, as previously set in

Completed in 680 milliseconds

1 2 3 4 5 67 8 91011>>