Home
last modified time | relevance | path

Searched refs:extraSpace (Results 1 – 24 of 24) sorted by relevance

/packages/apps/ThemePicker/src/com/android/customization/widget/
DOptionSelectorController.java247 int extraSpace = availableWidth - widthPerItem * numColumns; in initOptions() local
248 int containerSidePadding = extraSpace / (numColumns + 1); in initOptions()
255 int extraSpace = availableWidth - totalWidth; in initOptions() local
256 if (extraSpace >= 0) { in initOptions()
261 if (extraSpace > defaultTotalPadding) { in initOptions()
262 int spaceBetweenItems = extraSpace / (mAdapter.getItemCount() + 1); in initOptions()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLayoutUtils.java54 float extraSpace; in calculateLauncherTaskSize() local
56 extraSpace = 0; in calculateLauncherTaskSize()
60 extraSpace = getDefaultSwipeHeight(context, dp) + dp.verticalDragHandleSizePx in calculateLauncherTaskSize()
64 calculateTaskSize(context, dp, extraSpace, MULTI_WINDOW_STRATEGY_HALF_SCREEN, outRect); in calculateLauncherTaskSize()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/uxr/
DDrawableStateButton.java56 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
58 return super.onCreateDrawableState(extraSpace); in onCreateDrawableState()
61 super.onCreateDrawableState(extraSpace + mState.length), mState); in onCreateDrawableState()
DDrawableStateSwitch.java55 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
57 return super.onCreateDrawableState(extraSpace); in onCreateDrawableState()
60 super.onCreateDrawableState(extraSpace + mState.length), mState); in onCreateDrawableState()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperCropActivity.java392 float extraSpace = ltr ? rotatedInSize[0] - cropRect.right : cropRect.left; in cropImageAndSetWallpaper()
395 extraSpace = Math.min(extraSpace, maxExtraSpace); in cropImageAndSetWallpaper()
398 cropRect.right += extraSpace; in cropImageAndSetWallpaper()
400 cropRect.left -= extraSpace; in cropImageAndSetWallpaper()
DCheckableFrameLayout.java56 protected int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
57 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDragOverTextView.java38 protected int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
39 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
DDropBadgeView.java63 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
65 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootItemView.java35 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
36 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DCheckableImageView.java41 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
42 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DPlayPauseStopImageView.java89 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
91 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DCorpusView.java87 protected int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
88 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DCheckableLinearLayout.java86 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
87 int[] state = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
/packages/apps/Car/Radio/src/com/android/car/radio/widget/
DPlayPauseButton.java105 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
107 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DUxrButton.java100 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
101 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DCheckableImageButton.java133 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
134 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttCheckableButton.java138 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
139 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java121 final int extraSpace = super.getExtraLayoutSpace(state); in onCreateView()
123 return Math.max(getHeight(), extraSpace); in onCreateView()
125 return extraSpace; in onCreateView()
DAlarmClockFragment.kt101 val extraSpace: Int = super.getExtraLayoutSpace(state) in onCreateView() constant
103 max(getHeight(), extraSpace) in onCreateView()
104 } else extraSpace in onCreateView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java2390 int extraSpace = 0;
2392 extraSpace = (int) ((maxSelectedSize - maxSize) * progress);
2394 extraSpace = (int) ((maxSelectedSize - maxSize) * (1 - progress));
2396 if (extraSpace > 0) {
2399 maxHigh = maxHigh + extraSpace;
2400 totalExpandedSize = totalExpandedSize + extraSpace;
2403 lowExtraSpace = extraSpace / 2; // extraSpace added low and high
2406 lowExtraSpace = extraSpace; // extraSpace added on the low
2416 lowExtraSpace = extraSpace / 2;
2419 extraSpaceHigh += (extraSpace - lowExtraSpace);
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java229 int extraSpace = getCellSize().y - iconSizePx - iconDrawablePaddingPx * 2 in DeviceProfile() local
231 hotseatBarSizePx += extraSpace; in DeviceProfile()
232 hotseatBarBottomPaddingPx += extraSpace; in DeviceProfile()
DBubbleTextView.java318 protected int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
319 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
/packages/apps/TV/src/com/android/tv/guide/
DProgramItemView.java283 protected int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
287 extraSpace + STATE_CURRENT_PROGRAM.length + STATE_TOO_WIDE.length); in onCreateDrawableState()
296 return super.onCreateDrawableState(extraSpace); in onCreateDrawableState()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DCheckableLabeledButton.java180 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
181 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()