Home
last modified time | relevance | path

Searched refs:getInsets (Results 1 – 25 of 50) sorted by relevance

12

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/overlay/
DTaskbarOverlayDragLayer.java119 setInsets(insets.getInsets(WindowInsets.Type.systemBars()).toRect()); in onApplyWindowInsets()
155 Insets oldNavInsets = oldInsets.getInsets(WindowInsets.Type.navigationBars()); in updateInsetsDueToStashing()
160 Insets oldTappableInsets = oldInsets.getInsets(WindowInsets.Type.tappableElement()); in updateInsetsDueToStashing()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/orientation/
DPortraitPagedViewHandler.java224 return (int) (deviceProfile.heightPx - deviceProfile.getInsets().top - taskMenuY in getTaskMenuHeight()
433 insetThickness = dp.getInsets().top; in getPlaceholderSizeAdjustment()
435 insetThickness = pinToRight ? dp.getInsets().right : dp.getInsets().left; in getPlaceholderSizeAdjustment()
460 int insetCorrectionX = (dp.getInsets().right - dp.getInsets().left) / 2; in setSplitInstructionsParams()
462 int insetCorrectionY = dp.getInsets().bottom; in setSplitInstructionsParams()
701 ? deviceProfile.getInsets().right in setSplitIconParams()
702 : deviceProfile.getInsets().left; in setSplitIconParams()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DBaseContainerInterface.java268 insets = dp.getInsets(); in calculateTaskSizeInternal()
270 Rect portraitInsets = dp.getInsets(); in calculateTaskSizeInternal()
335 Rect insets = dp.getInsets(); in calculateGridSize()
386 : (dp.heightPx - outRect.bottom - dp.getInsets().bottom); in calculateModalTaskSize()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DWorkModeSwitch.java83 setInsets(mActivityContext.getDeviceProfile().getInsets()); in onFinishInflate()
141 setInsets(mImeInsets, windowInsetsCompat.getInsets(WindowInsetsCompat.Type.ime())); in onApplyWindowInsets()
/packages/apps/Launcher3/src/com/android/launcher3/util/window/
DWindowManagerProxy.java147 Insets navInsets = oldInsets.getInsets(WindowInsets.Type.navigationBars()); in normalizeWindowInsets()
178 Insets statusBarInsets = oldInsets.getInsets(WindowInsets.Type.statusBars()); in normalizeWindowInsets()
192 Insets oldTappableInsets = oldInsets.getInsets(WindowInsets.Type.tappableElement()); in normalizeWindowInsets()
233 Insets oldDisplayCutoutInset = windowInsets.getInsets(WindowInsets.Type.displayCutout()); in applyDisplayCutoutBottomInsetOverrideOnLargeScreen()
/packages/services/BuiltInPrintService/src/com/android/bips/ui/
DViewUtil.java33 Insets insets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()); in setWindowInsetsListener()
/packages/apps/SafetyRegulatoryInfo/src/com/android/safetyregulatoryinfo/
DSafetyAndRegulatoryInfoActivity.kt34 val systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars()) in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLayoutUtils.java37 swipeHeight -= dp.getInsets().bottom; in getDefaultSwipeHeight()
/packages/services/Car/car-maps-placeholder/src/com/android/car/mapsplaceholder/
DMapsPlaceholderActivity.java45 Insets inset = insets.getInsets(WindowInsets.Type.systemOverlays()); in onCreate()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/
DBackgroundPanelBaseActivity.java45 Insets appliedInsets = insets.getInsets(insetTypes);
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/distantdisplay/activity/
DNavigationTaskViewWallpaperActivity.java45 Insets appliedInsets = insets.getInsets(insetTypes);
DRootTaskViewWallpaperActivity.java44 Insets appliedInsets = insets.getInsets(insetTypes);
/packages/apps/Launcher3/src/com/android/launcher3/util/
DWindowBounds.java96 Insets insets = wm.getWindowInsets().getInsets(Type.systemBars()); in fromWindowMetrics()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DKeyboardInsetAnimationCallback.java102 int translationY = -windowInsets.getInsets(WindowInsets.Type.ime()).bottom; in onProgress()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/calmmode/
DPortraitCalmModeActivity.java72 Insets appliedInsets = insets.getInsets(insetTypes);
/packages/apps/Launcher3/src/com/android/launcher3/
DDropTargetBar.java246 int cellLayoutCenter = ((dp.getInsets().left + dp.workspacePadding.left) + (dp.widthPx in onLayout()
247 - dp.getInsets().right - dp.workspacePadding.right)) / 2; in onLayout()
DInsettableFrameLayout.java17 public Rect getInsets() { in getInsets() method in InsettableFrameLayout
/packages/apps/Launcher3/src/com/android/launcher3/views/
DArrowTipView.java220 params.leftMargin = mArrowMinOffset + grid.getInsets().left; in show()
221 params.rightMargin = mArrowMinOffset + grid.getInsets().right; in show()
/packages/services/Car/packages/CarActivityResolver/src/com/android/car/activityresolver/
DCarResolverActivity.java113 Insets insets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()); in setupSystemBarInsets()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DStatusBarTouchController.java171 if (ev.getY() > (mLauncher.getDragLayer().getHeight() - dp.getInsets().bottom)) { in canInterceptTouch()
DPortraitStatesTouchController.java180 int hotseatHeight = dp.hotseatBarSizePx + dp.getInsets().bottom; in isTouchOverHotseat()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DAddItemWidgetsBottomSheet.java157 Insets insets = windowInsets.getInsets(WindowInsets.Type.systemBars()); in onApplyWindowInsets()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DRootSandboxLayout.java122 Insets insets = getRootWindowInsets().getInsets(WindowInsets.Type.systemBars()); in getFullscreenHeight()
/packages/apps/HTMLViewer/src/com/android/htmlviewer/
DHTMLViewerActivity.java203 Insets insets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()); in setupEdgeToEdge()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DWorkspaceTouchListener.java100 Rect insets = dp.getInsets(); in onTouch()

12