Searched refs:getTotalSpace (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
H A DOrientationHelper.java57 mLastTotalSpace = getTotalSpace();
71 return INVALID_SIZE == mLastTotalSpace ? 0 : getTotalSpace() - mLastTotalSpace;
184 public abstract int getTotalSpace(); method in class:OrientationHelper
315 public int getTotalSpace() {
413 public int getTotalSpace() {
H A DScrollbarHelper.java73 return Math.min(orientation.getTotalSpace(), extend);
H A DLinearLayoutManager.java431 return mOrientationHelper.getTotalSpace();
830 if (childSize > mOrientationHelper.getTotalSpace()) {
1915 final int maxScroll = (int) (MAX_SCROLL_FACTOR * mOrientationHelper.getTotalSpace());
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DOrientationHelper.java56 mLastTotalSpace = getTotalSpace();
70 return INVALID_SIZE == mLastTotalSpace ? 0 : getTotalSpace() - mLastTotalSpace;
183 public abstract int getTotalSpace(); method in class:OrientationHelper
314 public int getTotalSpace() {
412 public int getTotalSpace() {
H A DScrollbarHelper.java72 return Math.min(orientation.getTotalSpace(), extend);
H A DLinearSnapHelper.java146 containerCenter = helper.getStartAfterPadding() + helper.getTotalSpace() / 2;
196 center = helper.getStartAfterPadding() + helper.getTotalSpace() / 2;
H A DPagerSnapHelper.java157 containerCenter = helper.getStartAfterPadding() + helper.getTotalSpace() / 2;
184 center = helper.getStartAfterPadding() + helper.getTotalSpace() / 2;
H A DStaggeredGridLayoutManager.java669 updateMeasureSpecs(mSecondaryOrientation.getTotalSpace());
753 desired = Math.min(desired, mSecondaryOrientation.getTotalSpace());
882 if (childSize > mPrimaryOrientation.getTotalSpace()) {
1419 endExtra = mPrimaryOrientation.getTotalSpace();
1421 startExtra = mPrimaryOrientation.getTotalSpace();
2273 mLayoutState.mAvailable = (int) (MAX_SCROLL_FACTOR * mPrimaryOrientation.getTotalSpace());
H A DGridLayoutManager.java723 hSpec = getChildMeasureSpec(mOrientationHelper.getTotalSpace(), getHeightMode(),
728 wSpec = getChildMeasureSpec(mOrientationHelper.getTotalSpace(), getWidthMode(),
H A DLinearLayoutManager.java437 return mOrientationHelper.getTotalSpace();
854 if (childSize > mOrientationHelper.getTotalSpace()) {
1987 final int maxScroll = (int) (MAX_SCROLL_FACTOR * mOrientationHelper.getTotalSpace());
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
H A DStorageMeasurement.java156 details.totalSize = mVolume.getPath().getTotalSpace();
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DGridLayoutManagerBaseConfigSetTest.java64 final int scrollStep = (mGlm.mOrientationHelper.getTotalSpace() / 20)
H A DLinearLayoutManagerBaseConfigSetTest.java205 final int totalSpace = mLayoutManager.mOrientationHelper.getTotalSpace();
H A DStaggeredGridLayoutManagerBaseConfigSetTest.java169 final int scrollStep = (mLayoutManager.mPrimaryOrientation.getTotalSpace() / 10)
353 final int totalSpace = mLayoutManager.mPrimaryOrientation.getTotalSpace();
H A DBaseStaggeredGridLayoutManagerTest.java161 log.append("total space:" + mLayoutManager.mPrimaryOrientation.getTotalSpace());
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java1086 FileUtils.roundStorageSize(Environment.getDataDirectory().getTotalSpace()));
1091 return FileUtils.roundStorageSize(Environment.getDataDirectory().getTotalSpace());
1185 final long lowBytes = (path.getTotalSpace() * lowPercent) / 100;
1202 final long cacheBytes = (path.getTotalSpace() * cachePercent) / 100;
/frameworks/base/services/core/java/com/android/server/storage/
H A DFileCollector.java212 final long sharedDataSize = sharedPath.getTotalSpace();
H A DDeviceStorageMonitorService.java203 final long totalBytes = file.getTotalSpace();
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerSession.java1344 final long currentSize = new File(path).getTotalSpace();

Completed in 511 milliseconds