/frameworks/support/paging/common/src/test/java/androidx/paging/ |
D | TiledPagedListTest.kt | 50 if (loadedPageList.contains(i / PAGE_SIZE)) { in verifyLoadedPages() 59 prefetchDistance: Int = PAGE_SIZE, in createTiledPagedList() 65 .setPageSize(PAGE_SIZE) in createTiledPagedList() 66 .setInitialLoadSizeHint(PAGE_SIZE * initPageCount) in createTiledPagedList() 300 .setPageSize(PAGE_SIZE) in placeholdersDisabled() 301 .setPrefetchDistance(PAGE_SIZE) in placeholdersDisabled() 302 .setInitialLoadSizeHint(PAGE_SIZE) in placeholdersDisabled() 316 assertEquals(PAGE_SIZE, contiguousPagedList.mStorage.storageCount) in placeholdersDisabled() 423 assertNotNull(pagedList[pagedList.size - 1 - PAGE_SIZE]) in validateCallbackForSize() 447 validateCallbackForSize(2, 3 * PAGE_SIZE - 2) in boundaryCallbackPageSize1() [all …]
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/ |
D | BrowseFragment.java | 61 private static final int PAGE_SIZE = 6; field in BrowseFragment 83 if (page < 0 || pageSize != PAGE_SIZE || children == null 84 || children.size() > PAGE_SIZE) { 88 int itemIndex = page * PAGE_SIZE; 108 if (children.size() < PAGE_SIZE) { 218 loadPage((mMediaItems.size() + PAGE_SIZE - 1) / PAGE_SIZE); in onCreateView() 252 options.putInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, PAGE_SIZE); in loadPage()
|
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
D | FakeApp.java | 43 static final int PAGE_SIZE = 4*1024; field in FakeApp 148 for (int i=0; i<STUFFING_SIZE_BYTES/PAGE_SIZE; i++) { in onCreate() 151 final int OFF = (i*PAGE_SIZE)/4; in onCreate() 152 for (int j=0; j<(PAGE_SIZE/4); j++) { in onCreate()
|
D | FakeBackgroundService.java | 49 int[] alloc = new int[FakeApp.PAGE_SIZE/4]; 52 for (int j=0; j<FakeApp.PAGE_SIZE/4; j++) {
|
/frameworks/support/samples/SupportContentDemos/src/main/java/com/example/android/support/content/demos/ |
D | ContentPagerDemoActivity.java | 48 private static final int PAGE_SIZE = 20; field in ContentPagerDemoActivity 64 mAdapter = new Adapter(mPager, PAGE_SIZE); in onCreate() 138 int lastPage = (UnpagedDemoDataProvider.TOTAL_SIZE / PAGE_SIZE) - 1; in updateOptionsMenu() 169 if (page < 0 || page >= (UnpagedDemoDataProvider.TOTAL_SIZE / PAGE_SIZE)) {
|
/frameworks/base/services/core/java/com/android/server/ |
D | PinnerService.java | 75 private static final int PAGE_SIZE = (int) Os.sysconf(OsConstants._SC_PAGESIZE); field in PinnerService 489 if (maxBytesToPin % PAGE_SIZE != 0) { in pinFileRanges() 490 maxBytesToPin -= maxBytesToPin % PAGE_SIZE; in pinFileRanges() 507 pinLength += pinStart % PAGE_SIZE; in pinFileRanges() 508 pinStart -= pinStart % PAGE_SIZE; in pinFileRanges() 509 if (pinLength % PAGE_SIZE != 0) { in pinFileRanges() 510 pinLength += PAGE_SIZE - pinLength % PAGE_SIZE; in pinFileRanges()
|
/frameworks/base/core/java/android/nfc/tech/ |
D | MifareUltralight.java | 72 public static final int PAGE_SIZE = 4; field in MifareUltralight
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessList.java | 127 static final int PAGE_SIZE = 4*1024; field in ProcessList 296 buf.putInt((mOomMinFree[i]*1024)/PAGE_SIZE); in updateOomLevels()
|
D | ActivityManagerService.java | 18681 longOut[KSM_SHARED] = longTmp[0] * ProcessList.PAGE_SIZE / 1024; in getKsmInfo() 18685 longOut[KSM_SHARING] = longTmp[0] * ProcessList.PAGE_SIZE / 1024; in getKsmInfo() 18689 longOut[KSM_UNSHARED] = longTmp[0] * ProcessList.PAGE_SIZE / 1024; in getKsmInfo() 18693 longOut[KSM_VOLATILE] = longTmp[0] * ProcessList.PAGE_SIZE / 1024; in getKsmInfo()
|
/frameworks/base/core/jni/ |
D | com_android_internal_content_NativeLibraryHelper.cpp | 202 if (offset % PAGE_SIZE != 0) { in copyFileIfChanged()
|
/frameworks/native/vulkan/libvulkan/ |
D | layers_extensions.cpp | 385 if (entry.method != kCompressStored || entry.offset % PAGE_SIZE != 0) in ForEachFileInZip()
|
/frameworks/native/cmds/installd/ |
D | otapreopt.cpp | 692 constexpr size_t kPageSize = PAGE_SIZE; in ChooseRelocationOffsetDelta()
|
/frameworks/native/libs/binder/tests/ |
D | binderLibTest.cpp | 38 if (((unsigned long)buf & ((unsigned long)PAGE_SIZE - 1)) == 0) in IsPageAligned()
|
/frameworks/support/media/api_legacy/ |
D | 26.0.0.txt | 67 …ield public static final java.lang.String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE";
|
D | 26.1.0.txt | 67 …ield public static final java.lang.String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE";
|
D | 28.0.0-alpha1.txt | 67 …ield public static final java.lang.String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE";
|
D | current.txt | 67 …ield public static final java.lang.String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE";
|
D | 27.1.0.txt | 67 …ield public static final java.lang.String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE";
|
D | 27.0.0.txt | 67 …ield public static final java.lang.String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE";
|
/frameworks/support/media/api/ |
D | current.txt | 24 …ield public static final java.lang.String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE";
|
/frameworks/support/api/ |
D | 25.2.0.txt | 5384 …ield public static final java.lang.String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE";
|
D | 25.0.0.txt | 5002 …ield public static final java.lang.String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE";
|
D | 24.2.0.txt | 4946 …ield public static final java.lang.String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE";
|
D | 25.4.0.txt | 5823 …ield public static final java.lang.String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE";
|
D | 26.0.0-alpha1.txt | 6253 …ield public static final java.lang.String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE";
|