Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListTableView.java50 protected int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
51 if (mListDrawableState == null) return super.onCreateDrawableState(extraSpace); in onCreateDrawableState()
55 super.onCreateDrawableState(extraSpace + mListDrawableState.mStateSet.length); in onCreateDrawableState()
/packages/apps/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/uxr/
DDrawableStateUtil.java50 public int[] onCreateDrawableState(int extraSpace, Function<Integer, int[]> callSuper) { in onCreateDrawableState() argument
53 result = callSuper.apply(extraSpace); in onCreateDrawableState()
56 callSuper.apply(extraSpace + mStateToAdd.length), mStateToAdd); in onCreateDrawableState()
DDrawableStateLinearLayout.java53 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
57 return mUtil.onCreateDrawableState(extraSpace, space -> super.onCreateDrawableState(space)); in onCreateDrawableState()
DDrawableStateRelativeLayout.java53 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
57 return mUtil.onCreateDrawableState(extraSpace, space -> super.onCreateDrawableState(space)); in onCreateDrawableState()
DDrawableStateConstraintLayout.java53 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
57 return mUtil.onCreateDrawableState(extraSpace, space -> super.onCreateDrawableState(space)); in onCreateDrawableState()
DDrawableStateButton.java52 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
56 return mUtil.onCreateDrawableState(extraSpace, space -> super.onCreateDrawableState(space)); in onCreateDrawableState()
DDrawableStateImageView.java52 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
56 return mUtil.onCreateDrawableState(extraSpace, space -> super.onCreateDrawableState(space)); in onCreateDrawableState()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/uxr/
DDrawableStateUtil.java51 public int[] onCreateDrawableState(int extraSpace, Function<Integer, int[]> callSuper) { in onCreateDrawableState() argument
54 result = callSuper.apply(extraSpace); in onCreateDrawableState()
57 callSuper.apply(extraSpace + mStateToAdd.length), mStateToAdd); in onCreateDrawableState()
DDrawableStateLinearLayout.java53 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
57 return mUtil.onCreateDrawableState(extraSpace, space -> super.onCreateDrawableState(space)); in onCreateDrawableState()
DDrawableStateButton.java52 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
56 return mUtil.onCreateDrawableState(extraSpace, space -> super.onCreateDrawableState(space)); in onCreateDrawableState()
DDrawableStateToggleButton.java54 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
58 return mUtil.onCreateDrawableState(extraSpace, space -> super.onCreateDrawableState(space)); in onCreateDrawableState()
DDrawableStateFrameLayout.java53 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
57 return mUtil.onCreateDrawableState(extraSpace, space -> super.onCreateDrawableState(space)); in onCreateDrawableState()
DDrawableStateImageView.java52 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
56 return mUtil.onCreateDrawableState(extraSpace, space -> super.onCreateDrawableState(space)); in onCreateDrawableState()
DDrawableStateRelativeLayout.java53 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
57 return mUtil.onCreateDrawableState(extraSpace, space -> super.onCreateDrawableState(space)); in onCreateDrawableState()
DDrawableStateSwitch.java52 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
56 return mUtil.onCreateDrawableState(extraSpace, space -> super.onCreateDrawableState(space)); in onCreateDrawableState()
DDrawableStateTextView.java52 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
56 return mUtil.onCreateDrawableState(extraSpace, space -> super.onCreateDrawableState(space)); in onCreateDrawableState()
DDrawableStateConstraintLayout.java53 public int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
57 return mUtil.onCreateDrawableState(extraSpace, space -> super.onCreateDrawableState(space)); in onCreateDrawableState()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DOptionSelectorController.java313 int extraSpace = availableWidth - widthPerItem * numColumns; in initOptions() local
314 while (extraSpace < 0) { in initOptions()
316 extraSpace = availableWidth - widthPerItem * numColumns; in initOptions()
325 int extraSpace = availableWidth - totalWidth; in initOptions() local
326 if (extraSpace >= 0) { in initOptions()
344 int spaceBetweenItems = extraSpace / (mAdapter.getItemCount() + 1); in initOptions()
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java111 private final int extraSpace; field in DeviceProfile
360 extraSpace = updateAvailableDimensions(res); in DeviceProfile()
365 int unscaledExtraSpace = (int) (extraSpace / cellScaleToFit); in DeviceProfile()
383 && extraSpace >= Utilities.dpToPx(TALL_DEVICE_EXTRA_SPACE_THRESHOLD_DP)) { in DeviceProfile()
388 int piece = extraSpace < Utilities.dpToPx(TALL_DEVICE_MORE_EXTRA_SPACE_THRESHOLD_DP) in DeviceProfile()
391 int extraSpace = ((getCellSize().y - iconSizePx - iconDrawablePaddingPx * 2) in DeviceProfile()
394 workspaceTopPadding = extraSpace / 8; in DeviceProfile()
395 int halfLeftOver = (extraSpace - workspaceTopPadding) / 2; in DeviceProfile()
987 writer.println(prefix + pxToDpStr("extraSpace", extraSpace)); in dump()
990 int unscaledExtraSpace = (int) (extraSpace / iconScale); in dump()
/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()
/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/tests/RotaryPlayground/src/com/android/car/rotaryplayground/
DCustomButton.java58 protected int[] onCreateDrawableState(int extraSpace) { in onCreateDrawableState() argument
59 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()

12