/external/tcpdump/ |
print-ntp.c | 193 f = EXTRACT_16BITS(&sfp->fraction); 195 f = ff * 1000000.0; /* Treat fraction as parts per million */ 210 uf = EXTRACT_32BITS(&lfp->fraction); 215 f = ff * 1000000000.0; /* treat fraction as parts per billion */ 248 uf = EXTRACT_32BITS(&lfp->fraction); 249 ouf = EXTRACT_32BITS(&olfp->fraction); 282 f = ff * 1000000000.0; /* treat fraction as parts per billion */
|
/frameworks/base/core/java/android/net/ |
SntpClient.java | 186 long fraction = read32(buffer, offset + 4); local 187 return ((seconds - OFFSET_1900_TO_1970) * 1000) + ((fraction * 1000L) / 0x100000000L); 205 long fraction = milliseconds * 0x100000000L / 1000L; local 206 // write fraction in big endian format 207 buffer[offset++] = (byte)(fraction >> 24); 208 buffer[offset++] = (byte)(fraction >> 16); 209 buffer[offset++] = (byte)(fraction >> 8);
|
/packages/apps/Camera/src/com/android/camera/ |
SwitchAnimManager.java | 76 float fraction = timeDiff / ANIMATION_DURATION; local 81 float previewAnimScale = 1 - ZOOM_DELTA_PREVIEW * (1 - fraction); 88 float reviewAnimScale = 1 + ZOOM_DELTA_REVIEW * fraction; 109 canvas.setAlpha(fraction); // fade in 114 canvas.setAlpha((1f - fraction) * INITIAL_DARKEN_ALPHA); // fade out
|
/external/chromium_org/chrome/third_party/chromevox/chromevox/background/mathmaps/symbols/ |
math_digits.json | 125 "default": "vulgar fraction one quarter", 126 "alternative": "fraction one quarter", 135 "default": "vulgar fraction one half", 136 "alternative": "fraction one half", 145 "default": "vulgar fraction three quarters", 146 "alternative": "fraction three quarters", 324 "default": "vulgar fraction one seventh", 333 "default": "vulgar fraction one ninth", 342 "default": "vulgar fraction one tenth", 351 "default": "vulgar fraction one third" [all...] |
/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));
|
/libcore/luni/src/test/java/libcore/java/text/ |
DecimalFormatTest.java | 154 private void assertBigDecimalWithFraction(BigDecimal bd, String expectedResult, int fraction) { 156 pf.setMaximumFractionDigits(fraction); 160 private void assertDecFmtWithMultiplierAndFraction(String value, int multiplier, int fraction, String expectedResult) { 163 df.setMaximumFractionDigits(fraction); 168 private void assertDecFmtWithMultiplierAndFractionByLocale(String value, int multiplier, int fraction, Locale locale, String expectedResult) { 171 df.setMaximumFractionDigits(fraction);
|
/external/chromium_org/chrome/browser/prerender/ |
prerender_histograms.cc | 213 double fraction) const { 214 if (fraction < 0.0 || fraction > 1.0) 216 int percentage = static_cast<int>(fraction * 100); 326 double fraction) const { 327 if (fraction < 0.0 || fraction > 1.0) 329 int percentage = static_cast<int>(fraction * 100);
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
fullscreen_mode_controller.h | 48 // A Carbon event handler that tracks the revealed fraction of the menu bar. 51 // A fraction in the range [0.0, 1.0] that indicates how much of the
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
AnimatableColor.h | 44 AnimatableColorImpl interpolateTo(const AnimatableColorImpl&, double fraction) const; 66 virtual PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
|
AnimatableRepeatable.h | 63 static bool interpolateLists(const Vector<RefPtr<AnimatableValue> >& fromValues, const Vector<RefPtr<AnimatableValue> >& toValues, double fraction, Vector<RefPtr<AnimatableValue> >& interpolatedValues); 68 virtual PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
|
AnimatableShadow.cpp | 36 PassRefPtr<AnimatableValue> AnimatableShadow::interpolateTo(const AnimatableValue* value, double fraction) const 39 return AnimatableShadow::create(ShadowList::blend(m_shadowList.get(), shadowList->m_shadowList.get(), fraction));
|
AnimatableUnknown.h | 57 virtual PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue* value, double fraction) const OVERRIDE 59 return defaultInterpolateTo(this, value, fraction);
|
/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/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
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
AttachmentGridDrawable.java | 108 public void setParallaxFraction(float fraction) { 109 mParallaxFraction = fraction;
|
/frameworks/base/core/java/android/animation/ |
ValueAnimator.java | 73 // determine elapsed time (and therefore the elapsed fraction) in subsequent calls 111 * elapsed fraction to be inverted to calculate the appropriate values. 122 * Tracks current elapsed/eased fraction, for querying in getAnimatedFraction(). 200 * The time interpolator to be used. The elapsed fraction of the animation will be passed 201 * through this interpolator to calculate the interpolated fraction, which is then used to 1151 float fraction = mDuration > 0 ? (float)(currentTime - mStartTime) \/ mDuration : 1f; local [all...] |
/bionic/libc/arch-arm/include/machine/ |
ieee.h | 54 * Define the number of bits in each fraction and exponent. 69 * in the fraction; to represent 2 , we need two, and so on. This 161 * Floats whose exponent is zero are either zero (iff all fraction 165 * high fraction; if the bit is set, it is a `quiet NaN'.
|
/bionic/libc/arch-mips/include/machine/ |
ieee.h | 50 * Define the number of bits in each fraction and exponent. 65 * in the fraction; to represent 2 , we need two, and so on. This 148 * Floats whose exponent is zero are either zero (iff all fraction 152 * high fraction; if the bit is set, it is a `quiet NaN'.
|
/bionic/libc/arch-x86/include/machine/ |
ieee.h | 51 * Define the number of bits in each fraction and exponent. 66 * in the fraction; to represent 2 , we need two, and so on. This 112 * Floats whose exponent is zero are either zero (iff all fraction 116 * high fraction; if the bit is set, it is a `quiet NaN'.
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_significand.c | 19 * for exercising the fraction-part(F) IEEE 754-1985 test vector.
|
/development/ndk/platforms/android-3/arch-arm/include/machine/ |
ieee.h | 54 * Define the number of bits in each fraction and exponent. 69 * in the fraction; to represent 2 , we need two, and so on. This 161 * Floats whose exponent is zero are either zero (iff all fraction 165 * high fraction; if the bit is set, it is a `quiet NaN'.
|
/development/ndk/platforms/android-9/arch-mips/include/machine/ |
ieee.h | 50 * Define the number of bits in each fraction and exponent. 65 * in the fraction; to represent 2 , we need two, and so on. This 148 * Floats whose exponent is zero are either zero (iff all fraction 152 * high fraction; if the bit is set, it is a `quiet NaN'.
|
/development/ndk/platforms/android-9/arch-x86/include/machine/ |
ieee.h | 51 * Define the number of bits in each fraction and exponent. 66 * in the fraction; to represent 2 , we need two, and so on. This 112 * Floats whose exponent is zero are either zero (iff all fraction 116 * high fraction; if the bit is set, it is a `quiet NaN'.
|
/external/bison/lib/ |
frexpl.c | 1 /* Split a 'long double' into fraction and mantissa.
|
printf-frexp.h | 1 /* Split a double into fraction and mantissa, for hexadecimal printf.
|