OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RATIO_TOLERANCE
(Results
1 - 4
of
4
) sorted by null
/cts/tests/tests/media/src/android/media/cts/
EnvReverbTest.java
32
private final static float
RATIO_TOLERANCE
= 1.05f; // 5%
129
((float)ratio2 > (float)(ratio /
RATIO_TOLERANCE
)) &&
130
((float)ratio2 < (float)(ratio *
RATIO_TOLERANCE
)));
233
((float)ratio2 > (float)(ratio /
RATIO_TOLERANCE
)) &&
234
((float)ratio2 < (float)(ratio *
RATIO_TOLERANCE
)));
241
((float)ratio2 > (float)(ratio /
RATIO_TOLERANCE
)) &&
242
((float)ratio2 < (float)(ratio *
RATIO_TOLERANCE
)));
AudioEffectTest.java
45
private final static float
RATIO_TOLERANCE
= 1.05f;
[
all
...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaEnvReverbTest.java
52
private final static float
RATIO_TOLERANCE
= 1.05f;
183
((float)ratio > (float)(1000 /
RATIO_TOLERANCE
)) &&
184
((float)ratio < (float)(1000 *
RATIO_TOLERANCE
)));
282
((float)diffusion > (float)(500 /
RATIO_TOLERANCE
)) &&
283
((float)diffusion < (float)(500 *
RATIO_TOLERANCE
)));
288
((float)density > (float)(500 /
RATIO_TOLERANCE
)) &&
289
((float)density < (float)(500 *
RATIO_TOLERANCE
)));
/packages/apps/Camera2/src/com/android/camera/settings/
ResolutionUtil.java
46
* supported aspect ratios that are within
RATIO_TOLERANCE
of these values.
57
private static final float
RATIO_TOLERANCE
= .05f;
134
if (Math.abs(aspectRatio.floatValue() - targetRatio) <=
RATIO_TOLERANCE
) {
200
* @return the closest desiredAspectRatio within
RATIO_TOLERANCE
, or the
205
if ((Math.abs(aspectRatio - desiredAspectRatio)) <
RATIO_TOLERANCE
) {
Completed in 677 milliseconds