HomeSort by relevance Sort by last modified time
    Searched full:fraction (Results 76 - 100 of 1230) sorted by null

1 2 34 5 6 7 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...]
  /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/chromium_org/third_party/WebKit/Source/core/animation/
AnimatableDouble.cpp 45 PassRefPtr<AnimatableValue> AnimatableDouble::interpolateTo(const AnimatableValue* value, double fraction) const
50 return defaultInterpolateTo(this, value, fraction);
51 return AnimatableDouble::create(blend(m_number, other->m_number, fraction));
AnimatableFilterOperations.cpp 38 PassRefPtr<AnimatableValue> AnimatableFilterOperations::interpolateTo(const AnimatableValue* value, double fraction) const
42 return defaultInterpolateTo(this, value, fraction);
51 RefPtr<FilterOperation> blendedOp = FilterOperation::blend(from, to, fraction);
AnimatableLengthBoxAndBool.cpp 36 PassRefPtr<AnimatableValue> AnimatableLengthBoxAndBool::interpolateTo(const AnimatableValue* value, double fraction) const
41 AnimatableValue::interpolate(box(), lengthBox->box(), fraction),
44 return defaultInterpolateTo(this, value, fraction);
AnimatableLengthPoint.cpp 36 PassRefPtr<AnimatableValue> AnimatableLengthPoint::interpolateTo(const AnimatableValue* value, double fraction) const
40 AnimatableValue::interpolate(this->x(), lengthPoint->x(), fraction),
41 AnimatableValue::interpolate(this->y(), lengthPoint->y(), fraction));
AnimatableLengthSize.cpp 36 PassRefPtr<AnimatableValue> AnimatableLengthSize::interpolateTo(const AnimatableValue* value, double fraction) const
40 AnimatableValue::interpolate(this->width(), lengthSize->width(), fraction),
41 AnimatableValue::interpolate(this->height(), lengthSize->height(), fraction));
AnimatableSVGPaint.cpp 36 PassRefPtr<AnimatableValue> AnimatableSVGPaint::interpolateTo(const AnimatableValue* value, double fraction) const
41 return AnimatableSVGPaint::create(SVGPaint::SVG_PAINTTYPE_RGBCOLOR, m_color.interpolateTo(svgPaint->m_color, fraction), String());
43 return defaultInterpolateTo(this, value, fraction);
AnimatableSVGLength.cpp 38 PassRefPtr<AnimatableValue> AnimatableSVGLength::interpolateTo(const AnimatableValue* value, double fraction) const
40 return create(toAnimatableSVGLength(value)->toSVGLength().blend(m_length, narrowPrecisionToFloat(fraction)));
AnimatableTransform.cpp 41 PassRefPtr<AnimatableValue> AnimatableTransform::interpolateTo(const AnimatableValue* value, double fraction) const
44 return AnimatableTransform::create(transform->m_transform.blend(m_transform, fraction));
  /external/chromium_org/third_party/sqlite/src/test/
corruptA.test 57 hexio_write test.db 21 41 ;# max embedded payload fraction
65 hexio_write test.db 22 1f ;# min embedded payload fraction
73 hexio_write test.db 23 21 ;# min leaf payload fraction
  /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...]
  /external/chromium/chrome/browser/ui/cocoa/
fullscreen_controller.mm 49 // Designated initializer. Asks |controller| for the current shown fraction, so
68 // Calculate the effective duration, based on the current shown fraction.
86 CGFloat fraction =
88 [controller_ changeFloatingBarShownFraction:fraction];
108 // Change the overlay to the given fraction, with or without animation. Only
109 // guaranteed to work properly with |fraction == 0| or |fraction == 1|. This
111 - (void)changeOverlayToFraction:(CGFloat)fraction
316 - (void)changeFloatingBarShownFraction:(CGFloat)fraction {
317 [browserController_ setFloatingBarShownFraction:fraction];
    [all...]
  /external/chromium_org/chrome/browser/ui/cocoa/
presentation_mode_controller.mm 52 // Designated initializer. Asks |controller| for the current shown fraction, so
71 // Calculate the effective duration, based on the current shown fraction.
89 CGFloat fraction =
91 [controller_ changeFloatingBarShownFraction:fraction];
111 // Change the overlay to the given fraction, with or without animation. Only
112 // guaranteed to work properly with |fraction == 0| or |fraction == 1|. This
114 - (void)changeOverlayToFraction:(CGFloat)fraction
336 - (void)changeFloatingBarShownFraction:(CGFloat)fraction {
337 [browserController_ setFloatingBarShownFraction:fraction];
    [all...]
  /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);
  /cts/tests/tests/media/src/android/media/cts/
IvfWriter.java 40 * Timebase fraction is in format scale/rate, e.g. 1/1000
47 * @param scale timebase scale (or numerator of the timebase fraction)
48 * @param rate timebase rate (or denominator of the timebase fraction)
101 * Timebase fraction is in format scale/rate, e.g. 1/1000
106 * @param scale timebase scale (or numerator of the timebase fraction)
107 * @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 64 assertEquals("2 fraction", "20041202093934.18Z", rep);
71 assertEquals("1 fraction", "20041202093934.1Z", rep);
78 assertEquals("no fraction", "20041202093934Z", rep);
133 assertEquals("2 fraction", myDate, gTime.decode(dis));
142 assertEquals("1 fraction", myDate, gTime.decode(dis));
151 assertEquals("no fraction", myDate, gTime.decode(dis));
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/sound/
ainstr_gf1.h 63 unsigned int start; /* start offset in samples * 16 (lowest 4 bits - fraction) */
64 unsigned int loop_start; /* bits loop start offset in samples * 16 (lowest 4 bits - fraction) */
65 unsigned int loop_end; /* loop start offset in samples * 16 (lowest 4 bits - fraction) */
142 __u32 start; /* start offset in samples * 16 (lowest 4 bits - fraction) */
143 __u32 loop_start; /* bits loop start offset in samples * 16 (lowest 4 bits - fraction) */
144 __u32 loop_end; /* loop start offset in samples * 16 (lowest 4 bits - fraction) */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/alsa/sound/
ainstr_gf1.h 63 unsigned int start; /* start offset in samples * 16 (lowest 4 bits - fraction) */
64 unsigned int loop_start; /* bits loop start offset in samples * 16 (lowest 4 bits - fraction) */
65 unsigned int loop_end; /* loop start offset in samples * 16 (lowest 4 bits - fraction) */
142 __u32 start; /* start offset in samples * 16 (lowest 4 bits - fraction) */
143 __u32 loop_start; /* bits loop start offset in samples * 16 (lowest 4 bits - fraction) */
144 __u32 loop_end; /* loop start offset in samples * 16 (lowest 4 bits - fraction) */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/
ainstr_gf1.h 66 unsigned int start; /* start offset in samples * 16 (lowest 4 bits - fraction) */
67 unsigned int loop_start; /* bits loop start offset in samples * 16 (lowest 4 bits - fraction) */
68 unsigned int loop_end; /* loop start offset in samples * 16 (lowest 4 bits - fraction) */
145 __u32 start; /* start offset in samples * 16 (lowest 4 bits - fraction) */
146 __u32 loop_start; /* bits loop start offset in samples * 16 (lowest 4 bits - fraction) */
147 __u32 loop_end; /* loop start offset in samples * 16 (lowest 4 bits - fraction) */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/alsa/sound/
ainstr_gf1.h 63 unsigned int start; /* start offset in samples * 16 (lowest 4 bits - fraction) */
64 unsigned int loop_start; /* bits loop start offset in samples * 16 (lowest 4 bits - fraction) */
65 unsigned int loop_end; /* loop start offset in samples * 16 (lowest 4 bits - fraction) */
142 __u32 start; /* start offset in samples * 16 (lowest 4 bits - fraction) */
143 __u32 loop_start; /* bits loop start offset in samples * 16 (lowest 4 bits - fraction) */
144 __u32 loop_end; /* loop start offset in samples * 16 (lowest 4 bits - fraction) */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/
ainstr_gf1.h 66 unsigned int start; /* start offset in samples * 16 (lowest 4 bits - fraction) */
67 unsigned int loop_start; /* bits loop start offset in samples * 16 (lowest 4 bits - fraction) */
68 unsigned int loop_end; /* loop start offset in samples * 16 (lowest 4 bits - fraction) */
145 __u32 start; /* start offset in samples * 16 (lowest 4 bits - fraction) */
146 __u32 loop_start; /* bits loop start offset in samples * 16 (lowest 4 bits - fraction) */
147 __u32 loop_end; /* loop start offset in samples * 16 (lowest 4 bits - fraction) */
  /external/flac/libFLAC/
float.c 60 * 0 fraction bits
81 * 4 fraction bits
102 * 8 fraction bits
123 * 12 fraction bits
144 * 16 fraction bits
165 * 20 fraction bits
186 * 24 fraction bits
207 * 28 fraction bits
232 * 32 fraction bits
253 * 48 fraction bit
    [all...]
  /libcore/support/src/test/java/tests/support/
Support_DecimalFormat.java 55 t_FormatWithField(4, format, number, text, NumberFormat.Field.FRACTION,
80 NumberFormat.Field.FRACTION, 10, 11);
112 NumberFormat.Field.FRACTION, 9, 11);
186 v.add(new FieldContainer(4, 6, NumberFormat.Field.FRACTION));
201 v.add(new FieldContainer(9, 11, NumberFormat.Field.FRACTION));
211 v.add(new FieldContainer(9, 11, NumberFormat.Field.FRACTION));
220 v.add(new FieldContainer(5, 7, NumberFormat.Field.FRACTION));
229 v.add(new FieldContainer(6, 8, NumberFormat.Field.FRACTION));
254 v.add(new FieldContainer(5, 6, NumberFormat.Field.FRACTION));
265 v.add(new FieldContainer(3, 5, NumberFormat.Field.FRACTION));
    [all...]

Completed in 2231 milliseconds

1 2 34 5 6 7 8 91011>>