Home
last modified time | relevance | path

Searched refs:extraSpace (Results 1 – 23 of 23) 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.java43 float extraSpace; in calculateLauncherTaskSize() local
45 extraSpace = 0; in calculateLauncherTaskSize()
47 extraSpace = dp.hotseatBarSizePx + dp.verticalDragHandleSizePx; in calculateLauncherTaskSize()
49 calculateTaskSize(context, dp, extraSpace, MULTI_WINDOW_STRATEGY_HALF_SCREEN, outRect); in calculateLauncherTaskSize()
/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/UnifiedEmail/src/com/android/mail/browse/
DStarView.java43 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
44 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
DConversationItemView.java1364 protected int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
1365 final int[] curr = 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.java97 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
98 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/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()
/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/Launcher3/src/com/android/launcher3/
DDeviceProfile.java222 int extraSpace = getCellSize().y - iconSizePx - iconDrawablePaddingPx * 2 in DeviceProfile() local
224 hotseatBarSizePx += extraSpace; in DeviceProfile()
225 hotseatBarBottomPaddingPx += extraSpace; in DeviceProfile()
DBubbleTextView.java307 protected int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
308 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
/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/TV/src/com/android/tv/guide/
DProgramItemView.java268 protected int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
272 extraSpace + STATE_CURRENT_PROGRAM.length + STATE_TOO_WIDE.length); in onCreateDrawableState()
281 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()