Home
last modified time | relevance | path

Searched refs:size1 (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()
60 int area1 = size1.getWidth() * size1.getHeight(); in getLargestPictureSize()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/experimental/
DAbstractFlagsRouletteRunner.java336 int size1 = snapshots1.size(); in sortMethodsByFlagSnapshotsAndName() local
338 if (size1 != size2) { in sortMethodsByFlagSnapshotsAndName()
343 size1, size2, o1, o2); in sortMethodsByFlagSnapshotsAndName()
344 return size1 - size2; in sortMethodsByFlagSnapshotsAndName()
346 for (int i = 0; i < size1; i++) { in sortMethodsByFlagSnapshotsAndName()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DThumbnailCache.java320 public int compare(Point size0, Point size1) { in compare() argument
322 return size0.x - size1.x; in compare()
/packages/modules/Virtualization/pvmfw/src/
Dfdt.rs848 let (addr1, size1) = range1.to_cells(); in patch_gic()
849 let value = [addr0, size0.unwrap(), addr1, size1.unwrap()]; in patch_gic()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java3022 long size1 = storageInfo.getSizeBytes(); in testGetStorageInfoForPackage_proportionalToDocuments() local
3023 assertThat(size1).isGreaterThan(0); in testGetStorageInfoForPackage_proportionalToDocuments()
3035 assertThat(size2).isAtLeast(2 * size1); in testGetStorageInfoForPackage_proportionalToDocuments()
3149 long size1 = storageInfo.getSizeBytes(); in testGetStorageInfoForDatabase_proportionalToDocuments() local
3150 assertThat(size1).isGreaterThan(0); in testGetStorageInfoForDatabase_proportionalToDocuments()
3162 assertThat(size2).isAtLeast(2 * size1); in testGetStorageInfoForDatabase_proportionalToDocuments()