Home
last modified time | relevance | path

Searched refs:epsilon (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Messaging/src/com/android/messaging/util/
DCubicBezierInterpolator.java75 final float epsilon = 1e-6f; in getTForXValue() local
91 double derivative = (getX(t + epsilon) - value) / epsilon; in getTForXValue()
92 if (Math.abs(value - x) < epsilon) { in getTForXValue()
94 } else if (Math.abs(derivative) < epsilon) { in getTForXValue()
108 for (int i = 0; Math.abs(value - x) > epsilon && i < iterations; i++) { in getTForXValue()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DLauncherAppWidgetHostView.java429 float epsilon) { in isSameLocation() argument
431 return isSameCoordinate(rect1.left, rect2.left, epsilon) in isSameLocation()
432 && isSameCoordinate(rect1.right, rect2.right, epsilon) in isSameLocation()
433 && isSameCoordinate(rect1.top, rect2.top, epsilon) in isSameLocation()
434 && isSameCoordinate(rect1.bottom, rect2.bottom, epsilon); in isSameLocation()
437 private static boolean isSameCoordinate(float c1, float c2, float epsilon) { in isSameCoordinate() argument
438 return Math.abs(c1 - c2) < epsilon; in isSameCoordinate()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DSoftLandingInterpolator.java42 final float epsilon = Math.min(mI / 2f, (1f - mI) / 2f); in SoftLandingInterpolator() local
43 bottom = mI - epsilon; in SoftLandingInterpolator()
44 top = mI + epsilon; in SoftLandingInterpolator()
/packages/modules/NeuralNetworks/common/operations/
DInstanceNormalization.cpp50 T epsilon, T* outputData, const Shape& outputShape) { in instanceNormNhwc() argument
77 sigma = std::sqrt(static_cast<float>(sigma / static_cast<T>(height * width)) + epsilon); in instanceNormNhwc()
92 inline bool instanceNorm(const T* inputData, const Shape& inputShape, T gamma, T beta, T epsilon, in instanceNorm() argument
98 NN_RET_CHECK(instanceNormNhwc(input.getNhwcBuffer(), input.getNhwcShape(), gamma, beta, epsilon, in instanceNorm()
/packages/modules/NeuralNetworks/common/random/
Drandom_distributions.h621 const float epsilon = 1.0e-7f; in BoxMullerFloat() local
623 if (u1 < epsilon) { in BoxMullerFloat()
624 u1 = epsilon; in BoxMullerFloat()
646 const double epsilon = 1.0e-7; in BoxMullerDouble() local
648 if (u1 < epsilon) { in BoxMullerDouble()
649 u1 = epsilon; in BoxMullerDouble()
/packages/modules/StatsD/statsd/src/
DFieldValue.cpp192 return fabs(float_value) <= std::numeric_limits<float>::epsilon(); in isZero()
194 return fabs(double_value) <= std::numeric_limits<double>::epsilon(); in isZero()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DBlend.cpp1131 const double epsilon = 1e-5; in ClipBlendRect() local
1138 if (dx > epsilon) in ClipBlendRect()
1144 else if (dx < -epsilon) in ClipBlendRect()
1150 if (dy > epsilon) in ClipBlendRect()
1156 else if (dy < -epsilon) in ClipBlendRect()
/packages/services/Car/cpp/computepipe/runner/input_manager/
DVideoInputManager.cpp98 if (std::fabs(decoder0Rate - currentDecoderRate) > std::numeric_limits<float>::epsilon()) { in startDecoders()
/packages/modules/StatsD/lib/libkll/proto/
Dkll-quantiles.proto67 // Inverse of the approximation precision parameter epsilon.
/packages/modules/NeuralNetworks/runtime/test/
DTestValidateOperations.cpp3298 ANeuralNetworksOperandType epsilon = floatScalar; in instanceNormalizationOpTest() local
3303 {input, gamma, beta, epsilon, isNCHW}, {output}); in instanceNormalizationOpTest()
/packages/modules/StatsD/statsd/tests/metrics/
DValueMetricProducer_test.cpp58 double epsilon = 0.001; variable
1447 12.5) < epsilon); in TEST()
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec4464 * sqrt(var[b, c] + epsilon) + beta
4495 * * 3: A scalar, specifying epsilon, the small value added to variance to
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt2917 Landroid/icu/text/DecimalFormat_ICU58_Android;->epsilon:D
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
Dfi_wordlist.combined.gz
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dde_wordlist.combined.gz
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...

12