Searched refs:getInsets (Results 1 – 25 of 50) sorted by relevance
12
119 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()
224 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()
268 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()
83 setInsets(mActivityContext.getDeviceProfile().getInsets()); in onFinishInflate()141 setInsets(mImeInsets, windowInsetsCompat.getInsets(WindowInsetsCompat.Type.ime())); in onApplyWindowInsets()
147 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()
33 Insets insets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()); in setWindowInsetsListener()
34 val systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars()) in <lambda>()
37 swipeHeight -= dp.getInsets().bottom; in getDefaultSwipeHeight()
45 Insets inset = insets.getInsets(WindowInsets.Type.systemOverlays()); in onCreate()
45 Insets appliedInsets = insets.getInsets(insetTypes);
44 Insets appliedInsets = insets.getInsets(insetTypes);
96 Insets insets = wm.getWindowInsets().getInsets(Type.systemBars()); in fromWindowMetrics()
102 int translationY = -windowInsets.getInsets(WindowInsets.Type.ime()).bottom; in onProgress()
72 Insets appliedInsets = insets.getInsets(insetTypes);
246 int cellLayoutCenter = ((dp.getInsets().left + dp.workspacePadding.left) + (dp.widthPx in onLayout()247 - dp.getInsets().right - dp.workspacePadding.right)) / 2; in onLayout()
17 public Rect getInsets() { in getInsets() method in InsettableFrameLayout
220 params.leftMargin = mArrowMinOffset + grid.getInsets().left; in show()221 params.rightMargin = mArrowMinOffset + grid.getInsets().right; in show()
113 Insets insets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()); in setupSystemBarInsets()
171 if (ev.getY() > (mLauncher.getDragLayer().getHeight() - dp.getInsets().bottom)) { in canInterceptTouch()
180 int hotseatHeight = dp.hotseatBarSizePx + dp.getInsets().bottom; in isTouchOverHotseat()
157 Insets insets = windowInsets.getInsets(WindowInsets.Type.systemBars()); in onApplyWindowInsets()
122 Insets insets = getRootWindowInsets().getInsets(WindowInsets.Type.systemBars()); in getFullscreenHeight()
203 Insets insets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()); in setupEdgeToEdge()
100 Rect insets = dp.getInsets(); in onTouch()