Home
last modified time | relevance | path

Searched refs:size1 (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/service/autofill/
DAutofillFieldClassificationService.java313 final int size1 = parcel.readInt(); in Scores() local
315 scores = new float[size1][size2]; in Scores()
316 for (int i = 0; i < size1; i++) { in Scores()
329 final int size1 = scores.length; in toString() local
330 final int size2 = size1 > 0 ? scores[0].length : 0; in toString()
332 .append(size1).append("x").append(size2).append("] "); in toString()
333 for (int i = 0; i < size1; i++) { in toString()
346 int size1 = scores.length; in writeToParcel() local
348 parcel.writeInt(size1); in writeToParcel()
350 for (int i = 0; i < size1; i++) { in writeToParcel()
/frameworks/av/media/module/codecs/amrwb/enc/SampleCode/
DAMRWB_E_SAMPLE.c87 int size1 = 0; in encode() local
194 size1 = (int)strlen(VOAMRWB_RFC3267_HEADER_INFO); in encode()
195 memcpy(outBuf, VOAMRWB_RFC3267_HEADER_INFO, size1); in encode()
196 outBuf += size1; in encode()
220 fwrite(OutputBuf, 1, outData.Length + size1, fdst); in encode()
/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/
Dlite_translator_tests.cc50 int size1 = machine_code.install_size(); in TEST() local
53 EXPECT_EQ(size1, size2); in TEST()
70 int size1 = machine_code.install_size(); in TEST() local
73 EXPECT_EQ(size1, size2); in TEST()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobSetTest.java111 int size1 = 0; in assertHaveSameJobs() local
115 size1 += jobs.size(); in assertHaveSameJobs()
121 size1 -= jobs.size(); in assertHaveSameJobs()
124 if (size1 != 0 || !set1.equals(set2)) { in assertHaveSameJobs()
/frameworks/base/native/android/tests/thermal/
DNativeThermalUnitTest.cpp109 size_t size1; in TEST_F() local
110 ASSERT_EQ(OK, AThermal_getThermalHeadroomThresholds(mThermalManager, &thresholds1, &size1)); in TEST_F()
111 checkThermalHeadroomThresholds(expected, thresholds1, size1); in TEST_F()
/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/base/services/tests/mockingservicestests/src/com/android/server/blob/
DBlobStoreManagerServiceTest.java331 final long size1 = 4567; in testGetTotalUsageBytes() local
332 doReturn(size1).when(blobMetadata1).getSize(); in testGetTotalUsageBytes()
353 .isEqualTo(size1 + size3); in testGetTotalUsageBytes()
355 .isEqualTo(size1 + size2); in testGetTotalUsageBytes()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_reduce.java1315 final int size1 = 1 + r.nextInt(maxSize / size0); in runCorrectness2D() local
1317 testSizesList.add(new int[]{size0, size1}); in runCorrectness2D()
1318 testSizesList.add(new int[]{size1, size0}); in runCorrectness2D()
1392 final int size1 = 1 + r.nextInt(Math.min(1 << j, maxSize / size0)); in runCorrectness3D() local
1393 final int size2 = 1 + r.nextInt(maxSize / (size0 * size1)); in runCorrectness3D()
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()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_reduce.java1317 final int size1 = 1 + r.nextInt(maxSize / size0); in runCorrectness2D() local
1319 testSizesList.add(new int[]{size0, size1}); in runCorrectness2D()
1320 testSizesList.add(new int[]{size1, size0}); in runCorrectness2D()
1394 final int size1 = 1 + r.nextInt(Math.min(1 << j, maxSize / size0)); in runCorrectness3D() local
1395 final int size2 = 1 + r.nextInt(maxSize / (size0 * size1)); in runCorrectness3D()
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()
[all …]
/frameworks/base/core/java/android/view/
DInsetsState.java853 final int size1 = state1.sourceSize();
857 while (index1 < size1 && index2 < size2) {
864 if (index1 < size1) {
879 if (index1 >= size1 || index2 >= size2) {
892 while (index1 < size1) {
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainer.java405 final int size1 = sa1 != null ? sa1.size() : 0; in createMergedSparseArray() local
407 final SparseArray<T> mergedArray = new SparseArray<>(size1 + size2); in createMergedSparseArray()
408 if (size1 > 0) { in createMergedSparseArray()
409 for (int i = 0; i < size1; i++) { in createMergedSparseArray()