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

1 2 3 4 5 6 7 8 91011>>

  /external/python/cpython3/Lib/test/
test_statistics.py 15 from fractions import Fraction
294 args1 = [2456, 37.8, -12.45, Decimal('2.54'), Fraction(17, 54)]
295 args2 = [2459, 37.2, -12.41, Decimal('2.59'), Fraction(15, 54)]
317 for type_ in (int, float, Decimal, Fraction):
366 # Test that equal Fraction values are exactly equal.
367 F = Fraction
385 f = Fraction(n, 1234)
395 for x in [8347, 101.3, -7910.28, Fraction(5, 21)]:
401 for x in [41017, 16.742, -813.02, Fraction(3, 8)]:
428 F = Fraction
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
UtilsReceiver.java 38 public static final String EXTRA_FRACTION = "fraction";
68 final double fraction = extras.getDouble(EXTRA_FRACTION, 0); local
70 final long bytes = (long) (quota * fraction);
  /development/samples/devbytes/animation/MultiPropertyAnimations/src/com/example/android/multipropertyanimations/
MultiPropertyAnimations.java 57 float fraction = animator.getAnimatedFraction();
58 view.setTranslationX(TX_START + fraction * (TX_END - TX_START));
59 view.setTranslationY(TY_START + fraction * (TY_END - TY_START));
  /packages/apps/Dialer/java/com/android/dialer/main/impl/toolbar/
SearchBarView.java 176 * Assigns margins to the search box as a fraction of its maximum margin size
178 * @param fraction How large the margins should be as a fraction of their full size
180 private void setMargins(float fraction) {
181 int margin = (int) (this.margin * fraction);
188 (int) (animationEndHeight - (animationEndHeight - animationStartHeight) * fraction);
  /external/icu/icu4c/source/i18n/
plurrule_impl.h 188 * The integer value, with the fraction digits truncated off.
193 * All visible fraction digits as an integer, including trailing zeros.
198 * Visible fraction digits as an integer, not including trailing zeros.
203 * Number of visible fraction digits.
208 * Number of visible fraction digits, not including trailing zeros.
215 * <p>Returns the integer value, but will fail if the number has fraction digits.
260 * @param v The number of visible fraction digits, e.g. 3
261 * @param f The fraction digits, e.g. 345
  /external/tensorflow/tensorflow/contrib/tpu/profiler/
op_profile.proto 53 // Core-time taken by this operation, as a fraction of all operations.
55 // Floating point computations performed by this operation, as a fraction of
tf_op_stats.proto 36 // The total self time as a fraction of sum of all OP's
39 // Cumulative total self time in fraction on the host.
42 // The total self time as a fraction of sum of all OP's
45 // Cumulative total self time in fraction on the device.
  /frameworks/av/media/libeffects/testlibs/
AudioCommon.h 34 // Number of fraction bits for audio coefficient.
40 // Number of fraction bits for audio sample.
  /frameworks/base/core/java/android/net/
SntpClient.java 252 long fraction = read32(buffer, offset + 4); local
254 if (seconds == 0 && fraction == 0) {
257 return ((seconds - OFFSET_1900_TO_1970) * 1000) + ((fraction * 1000L) / 0x100000000L);
281 long fraction = milliseconds * 0x100000000L / 1000L; local
282 // write fraction in big endian format
283 buffer[offset++] = (byte)(fraction >> 24);
284 buffer[offset++] = (byte)(fraction >> 16);
285 buffer[offset++] = (byte)(fraction >> 8);
  /frameworks/base/core/java/android/view/animation/
GridLayoutAnimationController.java 159 * column to the other. The delay is expressed as a fraction of the
162 * @return a fraction of the animation duration
173 * Sets the delay, as a fraction of the animation duration, by which the
176 * @param columnDelay a fraction of the animation duration
188 * row to the other. The delay is expressed as a fraction of the
191 * @return a fraction of the animation duration
202 * Sets the delay, as a fraction of the animation duration, by which the
205 * @param rowDelay a fraction of the animation duration
  /frameworks/base/graphics/java/android/graphics/drawable/
RotateDrawable.java 210 * fraction of the drawable width. Otherwise, the position represents an
234 * Sets whether the X pivot value represents a fraction of the drawable
237 * @param relative true if the X pivot represents a fraction of the drawable
249 * @return true if the X pivot represents a fraction of the drawable width,
262 * fraction of the drawable height. Otherwise, the position represents an
286 * Sets whether the Y pivot value represents a fraction of the drawable
289 * @param relative True if the Y pivot represents a fraction of the drawable
301 * @return true if the Y pivot represents a fraction of the drawable height,
  /frameworks/base/libs/hwui/
PropertyValuesAnimatorSet.h 32 // fraction range: [0, 1], iteration range [0, repeatCount]
33 void setFraction(float fraction, long iteration);
  /packages/apps/DeskClock/res/layout/
stopwatch_fragment.xml 35 app:layout_heightPercent="@fraction/timer_circle_height_percent"
36 app:layout_widthPercent="@fraction/timer_circle_width_percent">
  /packages/apps/DeskClock/src/com/android/deskclock/
AnimatorUtils.java 125 public static void setAnimatedFraction(ValueAnimator animator, float fraction) {
127 animator.setCurrentFraction(fraction);
132 // try to set the animated fraction directly so that it isn't affected by the
141 sAnimateValue.invoke(animator, fraction);
152 animator.setCurrentPlayTime(Math.round(fraction * animator.getDuration()));
157 final float fraction = animator.getAnimatedFraction(); local
158 if (fraction > 0.0f) {
160 setAnimatedFraction(animator, 1.0f - fraction);
  /external/protobuf/src/google/protobuf/util/
field_comparator_test.cc 316 // Should fail since the fraction is too low.
337 // Should succeed since the fraction is high enough.
367 // fraction.
382 // fraction.
417 // Set default fraction and margin.
420 // Float comparisons should fail since the fraction is too low.
428 // Set field-specific fraction and margin for one field (field_float) but not
433 // fraction is high enough.
437 // The field with no override should fail, since the default fraction is too
443 // Set the default fraction and margin high enough so that fields that us
    [all...]
  /art/runtime/interpreter/mterp/arm/
op_double_to_long.S 30 beq d2l_notNaN @ if fraction is non-zero, it's a NaN
op_float_to_long.S 28 beq f2l_notNaN @ if fraction is non-zero, it's a NaN
  /bionic/libm/upstream-freebsd/lib/msun/src/
s_significand.c 19 * for exercising the fraction-part(F) IEEE 754-1985 test vector.
  /bootable/recovery/
stub_ui.h 33 void SetProgress(float /* fraction */) override {}
  /external/fdlibm/
s_significand.c 17 * for exercising the fraction-part(F) IEEE 754-1985 test vector.
  /external/jemalloc/test/src/
timer.c 51 /* Fraction. */
  /external/robolectric-shadows/resources/src/test/java/org/robolectric/res/
ResTypeTest.java 31 assertThat(ResType.inferFromValue("10.9")).isEqualTo(ResType.FRACTION);
  /external/skia/src/utils/
SkFloatUtils.h 63 /** # of fraction bits in a number. */
72 /** The mask for the fraction bits. */
95 /** Returns the fraction bits of this number. */
102 // * the fraction bits are not all zero.
  /external/skqp/src/utils/
SkFloatUtils.h 63 /** # of fraction bits in a number. */
72 /** The mask for the fraction bits. */
95 /** Returns the fraction bits of this number. */
102 // * the fraction bits are not all zero.
  /external/tensorflow/tensorflow/core/api_def/base_api/
api_def_ResizeArea.pbtxt 41 input pixel's contribution to the average is weighted by the fraction of its

Completed in 839 milliseconds

1 2 3 4 5 6 7 8 91011>>