HomeSort by relevance Sort by last modified time
    Searched full:fraction (Results 176 - 200 of 2660) sorted by null

1 2 3 4 5 6 78 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 */
  /device/linaro/bootloader/edk2/StdLib/LibC/Math/
s_modf.c 20 * return fraction part of x, and return x's integral part in *iptr.
57 } else if (j0>51) { /* no fraction part */
63 } 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)}"/>
  /frameworks/support/compat/src/main/java/androidx/core/graphics/
PathSegment.java 27 * A line segment that represents an approximate fraction of a {@link Path} after
51 * Fraction along the length of the path that the {@linkplain #getStart() start point} resides.
64 * Fraction along the length of the path that the {@linkplain #getEnd() end point} resides.
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_fractions.py 12 F = fractions.Fraction
56 """Test comparison of Fraction with a naive rational implementation."""
64 if isinstance(other, fractions.Fraction):
143 self.assertRaisesMessage(ZeroDivisionError, "Fraction(12, 0)",
193 ZeroDivisionError, "Fraction(3, 0)",
196 ValueError, "Invalid literal for Fraction: '3/'",
199 ValueError, "Invalid literal for Fraction: '/2'",
202 ValueError, "Invalid literal for Fraction: '3 /2'",
206 ValueError, "Invalid literal for Fraction: '3/+2'",
210 ValueError, "Invalid literal for Fraction: '+ 3/2'",
    [all...]
  /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/base/graphics/java/android/graphics/drawable/
InsetDrawable.java 41 * A Drawable that insets another Drawable by a specified distance or fraction of the content bounds.
83 * @param inset Inset in fraction (range: [0, 1)) of the inset content bounds.
111 * Creates a new inset drawable with the specified insets in fraction of the view bounds.
114 * @param insetLeftFraction Left inset in fraction (range: [0, 1)) of the inset content bounds.
115 * @param insetTopFraction Top inset in fraction (range: [0, 1)) of the inset content bounds.
116 * @param insetRightFraction Right inset in fraction (range: [0, 1)) of the inset content bounds.
117 * @param insetBottomFraction Bottom inset in fraction (range: [0, 1)) of the inset content bounds.
209 throw new IllegalStateException("Fraction cannot be larger than 1");
285 final float fraction = mState.mInsetLeft.mFraction + mState.mInsetRight.mFraction; local
286 if (childWidth < 0 || fraction >= 1)
296 final float fraction = mState.mInsetTop.mFraction + mState.mInsetBottom.mFraction; local
    [all...]
  /toolchain/binutils/binutils-2.27/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/mesa3d/src/amd/addrlib/core/
addrelemlib.h 66 ADDR_UNORM, // Unsigned normalized (repeating fraction) full precision
67 ADDR_SNORM, // Signed normalized (repeating fraction) full precision
70 ADDR_UNORM_R5XXRB, // Unsigned normalized (repeating fraction) for r5xx RB
71 ADDR_SNORM_R5XXRB, // Signed normalized (repeating fraction) for r5xx RB
73 ADDR_UNORM_R5XXBC, // Unsigned normalized (repeating fraction) for r5xx BC
74 ADDR_SNORM_R5XXBC, // Signed normalized (repeating fraction) for r5xx BC
77 ADDR_UNORM_R6XX, // Unsigned normalized (repeating fraction) for R6xx
79 ADDR_SNORM_R6XX, // Signed normalized (repeating fraction) for R6xx
  /external/protobuf/src/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),
  /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/mediarouter/src/main/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 44 * Timebase fraction is in format scale/rate, e.g. 1/1000
52 * @param scale timebase scale (or numerator of the timebase fraction)
53 * @param rate timebase rate (or denominator of the timebase fraction)
108 * Timebase fraction is in format scale/rate, e.g. 1/1000
113 * @param scale timebase scale (or numerator of the timebase fraction)
114 * @param rate timebase rate (or denominator of the timebase fraction)
  /external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
ResourceTableFactory.java 134 .addHandler("fraction", new StaxValueLoader(resourceTable, "fraction", ResType.FRACTION))
135 .addHandler("item[@type='fraction']", new StaxValueLoader(resourceTable, "fraction", ResType.FRACTION))
  /frameworks/base/core/java/android/util/
PathParser.java 108 * <code>fraction</code>, and put the resulting path data into <code>outData</code>.
113 * @param fraction The fraction to interpolate.
116 float fraction) {
118 toData.mNativePathData, fraction);
136 long toDataPtr, float fraction);

Completed in 2562 milliseconds

1 2 3 4 5 6 78 91011>>