Home
last modified time | relevance | path

Searched refs:epsilon (Results 1 – 25 of 34) 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/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/cpu_operations/
DInstanceNormalization.cpp40 T epsilon, T* outputData, const Shape& /*outputShape*/) { in instanceNormNhwc() argument
67 sigma = std::sqrt(static_cast<float>(sigma / static_cast<T>(height * width)) + epsilon); in instanceNormNhwc()
82 inline bool instanceNorm(const T* inputData, const Shape& inputShape, T gamma, T beta, T epsilon, in instanceNorm() argument
88 NN_RET_CHECK(instanceNormNhwc(input.getNhwcBuffer(), input.getNhwcShape(), gamma, beta, epsilon, in instanceNorm()
/packages/modules/NeuralNetworks/common/random/
Drandom_distributions.h630 const float epsilon = 1.0e-7f; in BoxMullerFloat() local
632 if (u1 < epsilon) { in BoxMullerFloat()
633 u1 = epsilon; in BoxMullerFloat()
655 const double epsilon = 1.0e-7; in BoxMullerDouble() local
657 if (u1 < epsilon) { in BoxMullerDouble()
658 u1 = epsilon; in BoxMullerDouble()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/migration/
DMigrationTestHelper.java154 private static boolean nearlyEqual(float a, float b, float epsilon) { in nearlyEqual() argument
162 return diff / (absA + absB) < epsilon; in nearlyEqual()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/shared/migration/
DMigrationTestHelper.java173 private static boolean nearlyEqual(float a, float b, float epsilon) { in nearlyEqual() argument
181 return diff / (absA + absB) < epsilon; in nearlyEqual()
/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/statsd/src/
DFieldValue.cpp210 return fabs(float_value) <= std::numeric_limits<float>::epsilon(); in isZero()
212 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/modules/StatsD/lib/libkll/proto/
Dkll-quantiles.proto67 // Inverse of the approximation precision parameter epsilon.
/packages/modules/AdServices/adservices/service-core/resources/
Dcobalt_registry.textpb72 epsilon: 1
93 epsilon: 1
114 epsilon: 1
136 epsilon: 1
/packages/modules/AdServices/adservices/libraries/cobalt/proto/
Dreport_definition.proto409 // corresponds to an epsilon value in the shuffled model. The mapping
410 // from enum values to epsilon values is hard-coded in makePrivacyConstants()
415 // epsilon = infinity
690 double epsilon = 1; field
691 // This field represents the risk of the epsilon guarantee not holding. This
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DSource.java352 double epsilon = (double) flags.getMeasurementPrivacyEpsilon(); in buildPrivacyParameters() local
353 setFlipProbability(Combinatorics.getFlipProbability(getNumStates(flags), epsilon)); in buildPrivacyParameters() local
/packages/modules/NeuralNetworks/runtime/test/
DTestValidateOperations.cpp3337 ANeuralNetworksOperandType epsilon = floatScalar; in instanceNormalizationOpTest() local
3342 {input, gamma, beta, epsilon, isNCHW}, {output}); in instanceNormalizationOpTest()
/packages/modules/StatsD/statsd/tests/metrics/
DNumericValueMetricProducer_test.cpp61 double epsilon = 0.001; variable
1449 12.5) < epsilon); in TEST()
7588 EXPECT_TRUE(std::abs(data.bucket_info(0).values(0).value_double() - 12.5) < epsilon); in TEST()
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec4521 * sqrt(var[b, c] + epsilon) + beta
4552 * * 3: A scalar, specifying epsilon, the small value added to variance to
/packages/apps/TV/libs/m2/
Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt2917 Landroid/icu/text/DecimalFormat_ICU58_Android;->epsilon:D
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dnl_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...

12