HomeSort by relevance Sort by last modified time
    Searched refs:minDiff (Results 1 - 25 of 31) sorted by null

1 2

  /developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 67 double minDiff = Double.MAX_VALUE;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
87 minDiff = Double.MAX_VALUE;
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /developers/build/prebuilts/gradle/BasicRenderScript/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 67 double minDiff = Double.MAX_VALUE;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
87 minDiff = Double.MAX_VALUE;
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 67 double minDiff = Double.MAX_VALUE;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
87 minDiff = Double.MAX_VALUE;
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /developers/samples/android/common/src/java/com/example/android/common/media/
CameraHelper.java 67 double minDiff = Double.MAX_VALUE;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
87 minDiff = Double.MAX_VALUE;
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
CameraHelper.java 67 double minDiff = Double.MAX_VALUE;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
87 minDiff = Double.MAX_VALUE;
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
CameraHelper.java 67 double minDiff = Double.MAX_VALUE;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
87 minDiff = Double.MAX_VALUE;
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
CameraHelper.java 67 double minDiff = Double.MAX_VALUE;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
87 minDiff = Double.MAX_VALUE;
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /external/sonic/
Sonic.java 522 int minDiff = 1, maxDiff = 0;
535 if(diff*bestPeriod < minDiff*period) {
536 minDiff = diff;
544 retMinDiff = minDiff/bestPeriod;
553 int minDiff,
557 if(minDiff == 0 || prevPeriod == 0) {
561 if(maxDiff > minDiff*3) {
565 if(minDiff*2 <= prevMinDiff*3) {
570 if(minDiff <= prevMinDiff) {
586 Integer minDiff = new Integer(0)
    [all...]
sonic.c 619 unsigned long diff, minDiff = 1, maxDiff = 0;
635 if(diff*bestPeriod < minDiff*period) {
636 minDiff = diff;
644 *retMinDiff = minDiff/bestPeriod;
654 int minDiff,
658 if(minDiff == 0 || stream->prevPeriod == 0) {
662 if(maxDiff > minDiff*3) {
666 if(minDiff*2 <= stream->prevMinDiff*3) {
671 if(minDiff <= stream->prevMinDiff) {
690 int minDiff, maxDiff, retPeriod
    [all...]
  /external/freetype/src/cff/
cf2blues.c 285 CF2_Fixed minDiff;
297 minDiff = CF2_FIXED_MAX;
306 if ( diff < minDiff && diff < csUnitsPerPixel )
309 minDiff = diff;
324 if ( diff < minDiff && diff < csUnitsPerPixel )
335 minDiff = CF2_FIXED_MAX;
347 if ( diff < minDiff && diff < csUnitsPerPixel )
350 minDiff = diff;
  /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cff/
cf2blues.c 285 CF2_Fixed minDiff;
297 minDiff = CF2_FIXED_MAX;
306 if ( diff < minDiff && diff < csUnitsPerPixel )
309 minDiff = diff;
324 if ( diff < minDiff && diff < csUnitsPerPixel )
335 minDiff = CF2_FIXED_MAX;
347 if ( diff < minDiff && diff < csUnitsPerPixel )
350 minDiff = diff;
  /external/pdfium/third_party/freetype/src/cff/
cf2blues.c 285 CF2_Fixed minDiff;
297 minDiff = CF2_FIXED_MAX;
306 if ( diff < minDiff && diff < csUnitsPerPixel )
309 minDiff = diff;
324 if ( diff < minDiff && diff < csUnitsPerPixel )
335 minDiff = CF2_FIXED_MAX;
347 if ( diff < minDiff && diff < csUnitsPerPixel )
350 minDiff = diff;
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CameraPreview.java 273 double minDiff = Double.MAX_VALUE;
281 if (Math.abs(size.height - targetHeight) < minDiff) {
283 minDiff = Math.abs(size.height - targetHeight);
289 minDiff = Double.MAX_VALUE;
291 if (Math.abs(size.height - targetHeight) < minDiff) {
293 minDiff = Math.abs(size.height - targetHeight);
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
CameraFragment.java 293 double minDiff = Double.MAX_VALUE;
302 if (Math.abs(size.height - targetHeight) < minDiff) {
304 minDiff = Math.abs(size.height - targetHeight);
310 minDiff = Double.MAX_VALUE;
312 if (Math.abs(size.height - targetHeight) < minDiff) {
314 minDiff = Math.abs(size.height - targetHeight);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
RSAKeyPairGenerator.java 56 BigInteger minDiff = ONE.shiftLeft(mindiffbits);
75 if (diff.bitLength() < mindiffbits || diff.compareTo(minDiff) <= 0)
  /packages/apps/LegacyCamera/src/com/android/camera/
Util.java 381 double minDiff = Double.MAX_VALUE;
401 if (Math.abs(size.height - targetHeight) < minDiff) {
403 minDiff = Math.abs(size.height - targetHeight);
411 minDiff = Double.MAX_VALUE;
413 if (Math.abs(size.height - targetHeight) < minDiff) {
415 minDiff = Math.abs(size.height - targetHeight);
  /packages/apps/Camera2/src/com/android/camera/util/
CameraUtil.java 535 double minDiff = Double.MAX_VALUE;
553 if (heightDiff < minDiff) {
555 minDiff = heightDiff;
556 } else if (heightDiff == minDiff) {
561 minDiff = heightDiff;
569 minDiff = Double.MAX_VALUE;
572 if (Math.abs(size.getHeight() - targetHeight) < minDiff) {
574 minDiff = Math.abs(size.getHeight() - targetHeight);
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
CameraOrientationActivity.java 385 int minDiff = Integer.MAX_VALUE;
403 if (maintainCeiling && curDiff < minDiff
407 minDiff = curDiff;
409 && curDiff < minDiff) {
412 minDiff = curDiff;
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
BackgroundScanSchedulerTest.java     [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
BackgroundScanScheduler.java 526 int minDiff = Integer.MAX_VALUE;
529 if (diff < minDiff) {
530 minDiff = diff;
    [all...]
  /external/deqp/modules/glshared/
glsVertexArrayTests.cpp     [all...]
  /cts/tests/tests/media/src/android/media/cts/
DecodeAccuracyTestBase.java     [all...]
  /frameworks/av/media/libstagefright/codecs/aacenc/src/
adj_thr.c 890 Word16 minDiff = extract_l(currPe / 6);
914 if ((*peMax - *peMin) < minDiff) {
920 *peMax = currPe + ((partHi * minDiff) / (partLo + partHi));
921 *peMin = currPe - ((partLo * minDiff) / (partLo + partHi));
    [all...]
  /external/aac/libAACdec/src/
conceal.cpp     [all...]
  /external/opencv3/modules/features2d/src/
evaluation.cpp 545 float minDiff = FLT_MAX;
549 if( curDiff <= minDiff )
552 minDiff = curDiff;

Completed in 1348 milliseconds

1 2