Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
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() {
DScrollbarHelper.java73 return Math.min(orientation.getTotalSpace(), extend); in computeScrollExtent()
DGridLayoutManager.java714 hSpec = getChildMeasureSpec(mOrientationHelper.getTotalSpace(), getHeightMode(), in measureChild()
719 wSpec = getChildMeasureSpec(mOrientationHelper.getTotalSpace(), getWidthMode(), in measureChild()
DLinearLayoutManager.java427 return mOrientationHelper.getTotalSpace(); in getExtraLayoutSpace()
826 if (childSize > mOrientationHelper.getTotalSpace()) {
1911 final int maxScroll = (int) (MAX_SCROLL_FACTOR * mOrientationHelper.getTotalSpace()); in onFocusSearchFailed()
/frameworks/base/core/tests/coretests/src/android/os/storage/
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()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/
DBlobStoreConfigTest.java83 final long expectedLimit = (long) (Environment.getDataDirectory().getTotalSpace() * 0.1f); in testGetAppDataBytesLimit()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java157 details.totalSize = mVolume.getPath().getTotalSpace(); in measureExactStorage()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java1355 FileUtils.roundStorageSize(Environment.getDataDirectory().getTotalSpace() in getPrimaryStoragePathAndSize()
1356 + Environment.getRootDirectory().getTotalSpace())); in getPrimaryStoragePathAndSize()
1361 return FileUtils.roundStorageSize(Environment.getDataDirectory().getTotalSpace() in getPrimaryStorageSize()
1362 + Environment.getRootDirectory().getTotalSpace()); in getPrimaryStorageSize()
1512 final long lowBytes = (path.getTotalSpace() * lowPercent) / 100; in getStorageLowBytes()
1542 final long totalBytes = path.getTotalSpace(); in computeStorageCacheBytes()
/frameworks/base/services/core/java/com/android/server/storage/
DFileCollector.java212 final long sharedDataSize = sharedPath.getTotalSpace(); in getSystemSize()
DDeviceStorageMonitorService.java204 final long totalBytes = file.getTotalSpace(); in checkLow()
267 if (file.getUsableSpace() < file.getTotalSpace() * storageThresholdPercentHigh / 100) { in checkHigh()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreConfig.java309 final long totalBytesLimit = (long) (Environment.getDataSystemDirectory().getTotalSpace() in getAppDataBytesLimit()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt39887 method public long getTotalSpace();
/frameworks/base/config/
Dboot-image-profile.txt23561 HSPLjava/io/File;->getTotalSpace()J