/external/chromium_org/third_party/webrtc/modules/audio_processing/utility/ |
delay_estimator.c | 172 float fraction = 1.f; local 179 // This |histogram_threshold| equals a |fraction| of the |histogram| at bin 180 // |last_delay|. The |fraction| is a piecewise linear function of the 193 // TODO(bjornv): How much can we gain by turning the fraction calculation 196 fraction = 1.f - kFractionSlope * (delay_difference - self->allowed_offset); 197 fraction = (fraction > kMinFractionWhenPossiblyCausal ? fraction : 200 fraction = kMinFractionWhenPossiblyNonCausal - 202 fraction = (fraction > 1.f ? 1.f : fraction) [all...] |
/external/chromium_org/chrome/browser/chromeos/ui/ |
accessibility_focus_ring.cc | 31 double fraction) { 35 r1.points[i].x() * (1 - fraction) + r2.points[i].x() * fraction, 36 r1.points[i].y() * (1 - fraction) + r2.points[i].y() * fraction);
|
accessibility_focus_ring_controller.cc | 316 double fraction = delta.InSecondsF() / transition_time.InSecondsF(); local 319 fraction = pow(fraction, 0.3); 322 previous_rings_[0], rings_[0], fraction));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
ResourceUtils.java | 200 R.fraction.config_max_keyboard_height, dm.heightPixels, dm.heightPixels); 202 R.fraction.config_min_keyboard_height, dm.heightPixels, dm.heightPixels); 204 // Specified fraction was negative, so it should be calculated against display 207 R.fraction.config_min_keyboard_height, dm.widthPixels, dm.widthPixels); 214 public static boolean isValidFraction(final float fraction) { 215 return fraction >= 0.0f;
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
LayoutUnit.h | 160 LayoutUnit fraction() const function in class:blink::LayoutUnit 162 // Add the fraction to the size (as opposed to the full location) to avoid overflows. 163 // Compute fraction using the mod operator to preserve the sign of the value as it may affect rounding. 164 LayoutUnit fraction; local 165 fraction.setRawValue(rawValue() % kFixedPointDenominator); 166 return fraction; 757 LayoutUnit fraction = location.fraction(); local 758 return (fraction + size).round() - fraction.round() [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
KeyguardClockPositionAlgorithm.java | 80 mClockYFractionMin = res.getFraction(R.fraction.keyguard_clock_y_fraction_min, 1, 1); 81 mClockYFractionMax = res.getFraction(R.fraction.keyguard_clock_y_fraction_max, 1, 1);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/ |
ColorOverlayDimmer.java | 47 context.getResources().getFraction(R.fraction.lb_view_active_level, 1, 0)); 49 context.getResources().getFraction(R.fraction.lb_view_dimmed_level, 1, 1));
|
/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);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
sqltypes.h | 142 SQLUINTEGER fraction; member in struct:tagTIMESTAMP_STRUCT 168 SQLUINTEGER fraction; member in struct:tagSQL_DAY_SECOND
|
/external/chromium_org/chrome/browser/prerender/ |
prerender_histograms.cc | 318 double fraction) const { 319 if (fraction < 0.0 || fraction > 1.0) 321 int percentage = static_cast<int>(fraction * 100);
|
prerender_histograms.h | 55 void RecordPercentLoadDoneAtSwapin(Origin origin, double fraction) const;
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
presentation_mode_controller.h | 89 // The fraction of the AppKit Menubar that is showing. Ranges from 0 to 1. 93 // The fraction of the omnibox/tabstrip that is showing. Ranges from 0 to 1. 97 // A Carbon event handler that tracks the revealed fraction of the menu bar. 153 // Updates the local state that reflects the fraction of the toolbar area that 156 - (void)changeToolbarFraction:(CGFloat)fraction;
|
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/ |
AnimatableSVGPaint.h | 71 virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/gperftools/ |
malloc_extension.h | 397 double fraction; // Fraction of range that is being used (0 if !INUSE) member in struct:base::MallocRange
|
/external/chromium_org/third_party/tcmalloc/vendor/src/gperftools/ |
malloc_extension.h | 410 double fraction; // Fraction of range that is being used (0 if !INUSE) member in struct:base::MallocRange
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
SpeechOrbView.java | 30 resources.getFraction(R.fraction.lb_search_bar_speech_orb_max_level_zoom, 1, 1);
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
KeyframeEffectModel.cpp | 58 PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > KeyframeEffectModelBase::sample(int iteration, double fraction, double iterationDuration) const 61 ASSERT(!isNull(fraction)); 65 return m_interpolationEffect->getActiveInterpolations(fraction, iterationDuration);
|
/external/chromium_org/third_party/skia/src/utils/ |
SkInterpolator.cpp | 82 SkScalar fraction = SkScalarFraction(fRepeat); local 83 offsetTime = fraction == 0 && fRepeat > 0 ? totalTime : 84 (SkMSec) SkScalarFloorToInt(fraction * totalTime);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/ |
pitch_filter.c | 216 double fraction; local 222 fraction = parameters->lag_offset - (parameters->lag + PITCH_FILTDELAY); 223 fraction_index = WebRtcIsac_lrint(PITCH_FRACS * fraction - 0.5);
|
/external/smack/src/org/xbill/DNS/ |
LOCRecord.java | 84 double fraction = Integer.parseInt(parts[1]); local 86 fraction *= -1; 88 return value + (fraction / Math.pow(10, digits));
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
pitch_filter.c | 216 double fraction; local 222 fraction = parameters->lag_offset - (parameters->lag + PITCH_FILTDELAY); 223 fraction_index = WebRtcIsac_lrint(PITCH_FRACS * fraction - 0.5);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_strtod.py | 39 fraction = m.group('frac') or '' 40 intpart = int(m.group('int') + fraction) 41 exp = int(m.group('exp') or '0') - len(fraction)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_strtod.py | 39 fraction = m.group('frac') or '' 40 intpart = int(m.group('int') + fraction) 41 exp = int(m.group('exp') or '0') - len(fraction)
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
PlaybackOverlayFragment.java | 391 final float fraction = (Float) arg0.getAnimatedValue(); 392 if (DEBUG) Log.v(TAG, "fraction " + fraction); 393 view.setAlpha(fraction); 394 view.setTranslationY((float) mAnimationTranslateY * (1f - fraction)); 434 final float fraction = (Float) arg0.getAnimatedValue(); 437 view.setAlpha(fraction); 438 view.setTranslationY((float) mAnimationTranslateY * (1f - fraction));
|
PlaybackOverlaySupportFragment.java | 393 final float fraction = (Float) arg0.getAnimatedValue(); 394 if (DEBUG) Log.v(TAG, "fraction " + fraction); 395 view.setAlpha(fraction); 396 view.setTranslationY((float) mAnimationTranslateY * (1f - fraction)); 436 final float fraction = (Float) arg0.getAnimatedValue(); 439 view.setAlpha(fraction); 440 view.setTranslationY((float) mAnimationTranslateY * (1f - fraction));
|