/packages/apps/ThemePicker/src/com/android/customization/widget/ |
D | OptionSelectorController.java | 247 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/ |
D | LayoutUtils.java | 54 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/ |
D | DrawableStateButton.java | 56 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument 58 return super.onCreateDrawableState(extraSpace); in onCreateDrawableState() 61 super.onCreateDrawableState(extraSpace + mState.length), mState); in onCreateDrawableState()
|
D | DrawableStateSwitch.java | 55 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/ |
D | WallpaperCropActivity.java | 392 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()
|
D | CheckableFrameLayout.java | 56 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/ |
D | DragOverTextView.java | 38 protected int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument 39 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
|
D | DropBadgeView.java | 63 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/ |
D | RootItemView.java | 35 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/ |
D | CheckableImageView.java | 41 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/ |
D | PlayPauseStopImageView.java | 89 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/ |
D | CorpusView.java | 87 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/ |
D | CheckableLinearLayout.java | 86 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/ |
D | PlayPauseButton.java | 105 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/ |
D | UxrButton.java | 100 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/ |
D | CheckableImageButton.java | 133 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/ |
D | RttCheckableButton.java | 138 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/ |
D | AlarmClockFragment.java | 121 final int extraSpace = super.getExtraLayoutSpace(state); in onCreateView() 123 return Math.max(getHeight(), extraSpace); in onCreateView() 125 return extraSpace; in onCreateView()
|
D | AlarmClockFragment.kt | 101 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/ |
D | ScrollAdapterView.java | 2390 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/ |
D | DeviceProfile.java | 229 int extraSpace = getCellSize().y - iconSizePx - iconDrawablePaddingPx * 2 in DeviceProfile() local 231 hotseatBarSizePx += extraSpace; in DeviceProfile() 232 hotseatBarBottomPaddingPx += extraSpace; in DeviceProfile()
|
D | BubbleTextView.java | 318 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/ |
D | ProgramItemView.java | 283 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/ |
D | CheckableLabeledButton.java | 180 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument 181 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
|