HomeSort by relevance Sort by last modified time
    Searched refs:fraction (Results 51 - 75 of 171) sorted by null

1 23 4 5 6 7

  /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);
  /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...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
MediaFragmentURIParser.cpp 247 // minutes and seconds (again with an optional fraction). Minutes and
270 double fraction = 0; local
275 fraction = digits.toDouble();
276 time = value1 + fraction;
313 fraction = collectFraction(timeString, length, offset).toDouble();
315 time = (value1 * secondsPerHour) + (value2 * secondsPerMinute) + value3 + fraction;
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
CustomEvaluator.java 86 public Object evaluate(float fraction, Object startValue, Object endValue) {
89 return new XYHolder(startXY.getX() + fraction * (endXY.getX() - startXY.getX()),
90 startXY.getY() + fraction * (endXY.getY() - startXY.getY()));
  /external/chromium_org/third_party/angle_dx11/tests/preprocessor_tests/
number_test.cpp 141 char fraction = std::tr1::get<1>(GetParam()); local
142 if (fraction != '\0')
143 str.push_back(fraction);
  /external/chromium_org/third_party/WebKit/Source/core/animation/
KeyframeAnimationEffect.cpp 87 static PassRefPtr<BlendedCompositableValue> create(const AnimationEffect::CompositableValue* before, const AnimationEffect::CompositableValue* after, double fraction)
89 return adoptRef(new BlendedCompositableValue(before, after, fraction));
100 BlendedCompositableValue(const AnimationEffect::CompositableValue* before, const AnimationEffect::CompositableValue* after, double fraction)
103 , m_fraction(fraction)
149 PassOwnPtr<AnimationEffect::CompositableValueMap> KeyframeAnimationEffect::sample(int iteration, double fraction) const
154 map->add(iter->key, iter->value->sample(iteration, fraction));
AnimatableNumber.h 75 virtual PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
KeyframeAnimationEffect.h 83 virtual PassOwnPtr<CompositableValueMap> sample(int iteration, double fraction) const OVERRIDE;
  /bootable/recovery/
screen_ui.cpp 491 void ScreenRecoveryUI::SetProgress(float fraction)
494 if (fraction < 0.0) fraction = 0.0;
495 if (fraction > 1.0) fraction = 1.0;
496 if (progressBarType == DETERMINATE && fraction > progress) {
500 if ((int) (progress * scale) != (int) (fraction * scale)) {
501 progress = fraction;
screen_ui.h 40 void SetProgress(float fraction);
ui.h 46 // portion - fraction of the progress bar the next operation will use
52 virtual void SetProgress(float fraction) = 0;
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
AttachmentGridDrawable.java 108 public void setParallaxFraction(float fraction) {
109 mParallaxFraction = fraction;
  /external/chromium/chrome/browser/ui/cocoa/
fullscreen_controller.h 109 // Gets the current floating bar shown fraction.
112 // Sets a new current floating bar shown fraction. NOTE: This function has side
114 - (void)changeFloatingBarShownFraction:(CGFloat)fraction;
  /external/chromium_org/chrome/browser/ui/cocoa/
presentation_mode_controller.h 110 // Gets the current floating bar shown fraction.
113 // Sets a new current floating bar shown fraction. NOTE: This function has side
115 - (void)changeFloatingBarShownFraction:(CGFloat)fraction;
  /external/chromium_org/third_party/skia/src/utils/
SkParse.cpp 241 const int* fraction = gFractions;
242 const int* end = &fraction[SK_ARRAY_COUNT(gFractions)];
243 while (is_digit(*str) && fraction < end)
244 d += (*str++ - '0') * *fraction++;
  /external/skia/src/utils/
SkParse.cpp 241 const int* fraction = gFractions;
242 const int* end = &fraction[SK_ARRAY_COUNT(gFractions)];
243 while (is_digit(*str) && fraction < end)
244 d += (*str++ - '0') * *fraction++;
  /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/av/media/libstagefright/codecs/m4v_h263/enc/src/
bitstream_io.h 35 PV_STATUS BitstreamSavePartial(BitstreamEncVideo *stream, Int *fraction);
  /development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
InsertionListView.java 364 public Rect evaluate(float fraction, Rect startValue, Rect endValue) {
365 return new Rect(interpolate(startValue.left, endValue.left, fraction),
366 interpolate(startValue.top, endValue.top, fraction),
367 interpolate(startValue.right, endValue.right, fraction),
368 interpolate(startValue.bottom, endValue.bottom, fraction));
371 public int interpolate(int start, int end, float fraction) {
372 return (int)(start + fraction * (end - start));
  /development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DynamicListView.java 457 public Rect evaluate(float fraction, Rect startValue, Rect endValue) {
458 return new Rect(interpolate(startValue.left, endValue.left, fraction),
459 interpolate(startValue.top, endValue.top, fraction),
460 interpolate(startValue.right, endValue.right, fraction),
461 interpolate(startValue.bottom, endValue.bottom, fraction));
464 public int interpolate(int start, int end, float fraction) {
465 return (int)(start + fraction * (end - start));
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
ResourceUtils.java 235 R.fraction.maxKeyboardHeight, dm.heightPixels, dm.heightPixels);
237 R.fraction.minKeyboardHeight, dm.heightPixels, dm.heightPixels);
239 // Specified fraction was negative, so it should be calculated against display
242 R.fraction.minKeyboardHeight, dm.widthPixels, dm.widthPixels);
249 public static boolean isValidFraction(final float fraction) {
250 return fraction >= 0.0f;
  /external/llvm/lib/Analysis/
ProfileEstimatorPass.cpp 218 double fraction = floor(incoming/Edges.size()); local
223 w = fraction;
224 incoming -= fraction;
289 double fraction = Edges.size() ? floor(BBWeight/Edges.size()) : 0.0; local
295 EdgeInformation[BB->getParent()][*ei] += fraction;
296 BBWeight -= fraction;
  /external/chromium_org/third_party/WebKit/Source/core/platform/
LayoutUnit.h 164 LayoutUnit fraction() const function in class:WebCore::LayoutUnit
166 // Add the fraction to the size (as opposed to the full location) to avoid overflows.
167 // Compute fraction using the mod operator to preserve the sign of the value as it may affect rounding.
168 LayoutUnit fraction; local
169 fraction.setRawValue(rawValue() % kFixedPointDenominator);
170 return fraction;
768 LayoutUnit fraction = location.fraction(); local
769 return (fraction + size).round() - fraction.round()
    [all...]
  /external/libvpx/libvpx/vp9/encoder/
vp9_picklpf.c 24 YV12_BUFFER_CONFIG *dst_ybc, int fraction) {
28 const int lines_to_copy = MAX(height >> (fraction + 4), 1) << 4;
36 YV12_BUFFER_CONFIG *dest, int Fraction) {
43 int linestocopy = (source->y_height >> (Fraction + 4));
  /hardware/invensense/60xx/mlsdk/platform/include/linux/
mpu.h 204 long fraction; member in struct:fix_pnt_range
209 return (long)(rng.mantissa * 1000 + rng.fraction / 10);

Completed in 540 milliseconds

1 23 4 5 6 7