Home
last modified time | relevance | path

Searched refs:size2 (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/utils/
DSizeAreaComparator.java37 public int compare(Size size, Size size2) { in compare() argument
39 checkNotNull(size2, "size2 must not be null"); in compare()
41 if (size.equals(size2)) { in compare()
46 long width2 = size2.getWidth(); in compare()
48 long area2 = width2 * size2.getHeight(); in compare()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSizeAreaComparator.java38 public int compare(Camera.Size size, Camera.Size size2) { in compare() argument
40 checkNotNull(size2, "size2 must not be null"); in compare()
42 if (size.equals(size2)) { in compare()
47 long width2 = size2.width; in compare()
49 long area2 = width2 * size2.height; in compare()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dmandelbulb.rscript54 int size2 = size / 2;
55 if (z < size2) {
56 return 256-4*(size2-z+4)*hypot((float)x-size2,(float)y-size2) / size2 ;
59 c = ((c - size2) / (size2 * .9f));
/frameworks/base/core/java/android/service/autofill/
DAutofillFieldClassificationService.java309 final int size2 = parcel.readInt(); in Scores() local
310 scores = new float[size1][size2]; in Scores()
312 for (int j = 0; j < size2; j++) { in Scores()
325 final int size2 = size1 > 0 ? scores[0].length : 0; in toString() local
327 .append(size1).append("x").append(size2).append("] "); in toString()
342 int size2 = scores[0].length; in writeToParcel() local
344 parcel.writeInt(size2); in writeToParcel()
346 for (int j = 0; j < size2; j++) { in writeToParcel()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraCapabilities.java251 public int compare(Size size1, Size size2) { in compare() argument
252 return (size1.width() == size2.width() ? size1.height() - size2.height() : in compare()
253 size1.width() - size2.width()); in compare()
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
DAMRWB_E_SAMPLE.c67 int size2 = (int)fread(dst, sizeof(signed char), size,inFile); in GetNextBuf() local
68 return size2; in GetNextBuf()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp261 int64_t size2 = ((mMaxFileDurationLimitUs * bitRate * 6) / 1000 / 8000000); in estimateCuesSize() local
265 if (size > size2) { in estimateCuesSize()
266 size = size2; in estimateCuesSize()
270 size = size2; in estimateCuesSize()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_reduce.java1395 final int size2 = 1 + r.nextInt(maxSize / (size0 * size1)); in runCorrectness3D() local
1397 testSizesList.add(new int[]{size0, size1, size2}); in runCorrectness3D()
1398 testSizesList.add(new int[]{size0, size2, size1}); in runCorrectness3D()
1399 testSizesList.add(new int[]{size1, size0, size2}); in runCorrectness3D()
1400 testSizesList.add(new int[]{size1, size2, size0}); in runCorrectness3D()
1401 testSizesList.add(new int[]{size2, size0, size1}); in runCorrectness3D()
1402 testSizesList.add(new int[]{size2, size1, size0}); in runCorrectness3D()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_reduce.java1393 final int size2 = 1 + r.nextInt(maxSize / (size0 * size1)); in runCorrectness3D() local
1395 testSizesList.add(new int[]{size0, size1, size2}); in runCorrectness3D()
1396 testSizesList.add(new int[]{size0, size2, size1}); in runCorrectness3D()
1397 testSizesList.add(new int[]{size1, size0, size2}); in runCorrectness3D()
1398 testSizesList.add(new int[]{size1, size2, size0}); in runCorrectness3D()
1399 testSizesList.add(new int[]{size2, size0, size1}); in runCorrectness3D()
1400 testSizesList.add(new int[]{size2, size1, size0}); in runCorrectness3D()
/frameworks/av/media/libstagefright/
DNuMediaExtractor.cpp605 size_t size, size2; in appendVorbisNumPageSamples() local
626 if (mbuf->meta_data().findData(kKeyPlainSizes, &type, &data, &size2)) { in appendVorbisNumPageSamples()
627 if (size2 != size) { in appendVorbisNumPageSamples()
DMPEG4Writer.cpp753 int64_t size2 = in estimateMoovBoxSize() local
758 if (size > size2) { in estimateMoovBoxSize()
759 size = size2; in estimateMoovBoxSize()
763 size = size2; in estimateMoovBoxSize()
/frameworks/native/services/sensorservice/
DSensorService.cpp1175 int size2 = ashmem_get_size_region(fd); in createSensorDirectConnection() local
1177 if (size2 < static_cast<int64_t>(size)) { in createSensorDirectConnection()
1179 size, size2); in createSensorDirectConnection()