Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
DCamera2PreviewSizeSelector.java59 public int compare(Size size1, Size size2) { in getLargestPictureSize()
61 int area2 = size2.getWidth() * size2.getHeight(); in getLargestPictureSize()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/experimental/
DAbstractFlagsRouletteRunner.java337 int size2 = snapshots2.size(); in sortMethodsByFlagSnapshotsAndName() local
338 if (size1 != size2) { in sortMethodsByFlagSnapshotsAndName()
343 size1, size2, o1, o2); in sortMethodsByFlagSnapshotsAndName()
344 return size1 - size2; in sortMethodsByFlagSnapshotsAndName()
/packages/apps/Camera2/src/com/android/camera/settings/
DResolutionUtil.java109 public int compare(Size size, Size size2) { in add()
111 return Integer.compare(size2.width() * size2.height(), in add()
/packages/apps/DevCamera/src/com/android/devcamera/
DCameraDeviceReport.java92 Size size2 = p.get(CameraCharacteristics.SENSOR_INFO_PIXEL_ARRAY_SIZE); in printCameraInfo() local
93 Log.v(TAG, "SENSOR_INFO_PIXEL_ARRAY_SIZE: " + size2.getWidth() + "x" + size2.getHeight()); in printCameraInfo()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java3028 long size2 = storageInfo.getSizeBytes(); in testGetStorageInfoForPackage_proportionalToDocuments() local
3029 assertThat(size2).isGreaterThan(0); in testGetStorageInfoForPackage_proportionalToDocuments()
3035 assertThat(size2).isAtLeast(2 * size1); in testGetStorageInfoForPackage_proportionalToDocuments()
3155 long size2 = storageInfo.getSizeBytes(); in testGetStorageInfoForDatabase_proportionalToDocuments() local
3156 assertThat(size2).isGreaterThan(0); in testGetStorageInfoForDatabase_proportionalToDocuments()
3162 assertThat(size2).isAtLeast(2 * size1); in testGetStorageInfoForDatabase_proportionalToDocuments()