Home
last modified time | relevance | path

Searched refs:getTotalSpace (Results 1 – 13 of 13) sorted by relevance

/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DOrientationHelper.java57 mLastTotalSpace = getTotalSpace(); in onLayoutComplete()
71 return INVALID_SIZE == mLastTotalSpace ? 0 : getTotalSpace() - mLastTotalSpace; in getTotalSpaceChange()
184 public abstract int getTotalSpace(); in getTotalSpace() method in OrientationHelper
315 public int getTotalSpace() { in createHorizontalHelper() method in OrientationHelper
413 public int getTotalSpace() {
H A DScrollbarHelper.java73 return Math.min(orientation.getTotalSpace(), extend); in computeScrollExtent()
H A DGridLayoutManager.java714 hSpec = getChildMeasureSpec(mOrientationHelper.getTotalSpace(), getHeightMode(), in measureChild()
719 wSpec = getChildMeasureSpec(mOrientationHelper.getTotalSpace(), getWidthMode(), in measureChild()
H A DLinearLayoutManager.java427 return mOrientationHelper.getTotalSpace(); in getExtraLayoutSpace()
826 if (childSize > mOrientationHelper.getTotalSpace()) {
1911 final int maxScroll = (int) (MAX_SCROLL_FACTOR * mOrientationHelper.getTotalSpace()); in onFocusSearchFailed()
/aosp14/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerBaseTest.java142 when(mFile.getTotalSpace()).thenReturn(15000L); in testGetStorageCacheBytesUnderHighStorage()
154 when(mFile.getTotalSpace()).thenReturn(250000L); in testGetStorageCacheBytesUnderLowStorage()
167 when(mFile.getTotalSpace()).thenReturn(100000L); in testGetStorageCacheBytesUnderModerateStorage()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/
H A DBlobStoreConfigTest.java83 final long expectedLimit = (long) (Environment.getDataDirectory().getTotalSpace() * 0.1f); in testGetAppDataBytesLimit()
/aosp14/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java1351 FileUtils.roundStorageSize(Environment.getDataDirectory().getTotalSpace() in getPrimaryStoragePathAndSize()
1352 + Environment.getRootDirectory().getTotalSpace())); in getPrimaryStoragePathAndSize()
1357 return FileUtils.roundStorageSize(Environment.getDataDirectory().getTotalSpace() in getPrimaryStorageSize()
1358 + Environment.getRootDirectory().getTotalSpace()); in getPrimaryStorageSize()
1508 final long lowBytes = (path.getTotalSpace() * lowPercent) / 100; in getStorageLowBytes()
1538 final long totalBytes = path.getTotalSpace(); in computeStorageCacheBytes()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
H A DStorageMeasurement.java157 details.totalSize = mVolume.getPath().getTotalSpace(); in measureExactStorage()
/aosp14/frameworks/base/services/core/java/com/android/server/storage/
H A DDeviceStorageMonitorService.java204 final long totalBytes = file.getTotalSpace(); in checkLow()
267 if (file.getUsableSpace() < file.getTotalSpace() * storageThresholdPercentHigh / 100) { in checkHigh()
H A DFileCollector.java212 final long sharedDataSize = sharedPath.getTotalSpace(); in getSystemSize()
/aosp14/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
H A DBlobStoreConfig.java309 final long totalBytesLimit = (long) (Environment.getDataSystemDirectory().getTotalSpace() in getAppDataBytesLimit()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt24048 HSPLjava/io/File;->getTotalSpace()J