Home
last modified time | relevance | path

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

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dmandelbulb.rs54 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/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/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/ml/nn/runtime/test/generated/models/
Dslice.model.cpp293 auto size2 = model->addOperand(&type7); in CreateModel_3() local
296 model->addOperation(ANEURALNETWORKS_SLICE, {input2, begin2, size2}, {output2}); in CreateModel_3()
299 {input2, begin2, size2}, in CreateModel_3()
315 auto size2 = model->addOperand(&type7); in CreateModel_relaxed_3() local
318 model->addOperation(ANEURALNETWORKS_SLICE, {input2, begin2, size2}, {output2}); in CreateModel_relaxed_3()
321 {input2, begin2, size2}, in CreateModel_relaxed_3()
339 auto size2 = model->addOperand(&type7); in CreateModel_float16_3() local
342 model->addOperation(ANEURALNETWORKS_SLICE, {input2, begin2, size2}, {output2}); in CreateModel_float16_3()
345 {input2, begin2, size2}, in CreateModel_float16_3()
362 auto size2 = model->addOperand(&type7); in CreateModel_dynamic_output_shape_3() local
[all …]
/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/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/av/media/libstagefright/
DNuMediaExtractor.cpp604 size_t size, size2; in appendVorbisNumPageSamples() local
625 if (mbuf->meta_data().findData(kKeyPlainSizes, &type, &data, &size2)) { in appendVorbisNumPageSamples()
626 if (size2 != size) { in appendVorbisNumPageSamples()
DMPEG4Writer.cpp752 int64_t size2 = in estimateMoovBoxSize() local
757 if (size > size2) { in estimateMoovBoxSize()
758 size = size2; in estimateMoovBoxSize()
762 size = size2; in estimateMoovBoxSize()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dcoded_stream.cc814 size = 2; goto size2; in WriteVarint64ToArrayInline()
856 size2 : target[1] = static_cast<uint8>((part0 >> 7) | 0x80); in WriteVarint64ToArrayInline()
/frameworks/native/services/sensorservice/
DSensorService.cpp1210 int size2 = ashmem_get_size_region(fd); in createSensorDirectConnection() local
1212 if (size2 < static_cast<int64_t>(size)) { in createSensorDirectConnection()
1214 size, size2); in createSensorDirectConnection()