Home
last modified time | relevance | path

Searched refs:mInsets (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java130 private final Rect mInsets = new Rect(); field in DeviceProfile
438 mInsets.set(insets); in updateInsets()
447 return mInsets; in getInsets()
517 mHotseatPadding.set(mInsets.left + hotseatBarSidePaddingStartPx, in getHotseatLayoutPadding()
518 mInsets.top, hotseatBarSidePaddingEndPx, mInsets.bottom); in getHotseatLayoutPadding()
520 mHotseatPadding.set(hotseatBarSidePaddingEndPx, mInsets.top, in getHotseatLayoutPadding()
521 mInsets.right + hotseatBarSidePaddingStartPx, mInsets.bottom); in getHotseatLayoutPadding()
536 hotseatBarBottomPaddingPx + mInsets.bottom + cellLayoutBottomPaddingPx); in getHotseatLayoutPadding()
547 return new Rect(mInsets.left + dropTargetBarSizePx + edgeMarginPx, in getAbsoluteOpenFolderBounds()
548 mInsets.top, in getAbsoluteOpenFolderBounds()
[all …]
DInsettableFrameLayout.java15 protected Rect mInsets = new Rect(); field in InsettableFrameLayout
18 return mInsets; in getInsets()
44 setFrameLayoutChildInsets(child, insets, mInsets); in setInsets()
46 mInsets.set(insets); in setInsets()
94 setFrameLayoutChildInsets(child, mInsets, new Rect()); in onViewAdded()
DPagedView.java138 protected final Rect mInsets = new Rect(); field in PagedView
495 - mInsets.top - mInsets.bottom; in getNormalChildHeight()
504 - mInsets.left - mInsets.right; in getNormalChildWidth()
549 widthSize - mInsets.left - mInsets.right, MeasureSpec.EXACTLY); in onMeasure()
551 heightSize - mInsets.top - mInsets.bottom, MeasureSpec.EXACTLY); in onMeasure()
627 final int verticalCenter = (getPaddingTop() + getMeasuredHeight() + mInsets.top in getPageScrolls()
628 - mInsets.bottom - getPaddingBottom()) / 2; in getPageScrolls()
630 final int scrollOffsetLeft = mInsets.left + getPaddingLeft(); in getPageScrolls()
631 final int scrollOffsetRight = getWidth() - getPaddingRight() - mInsets.right; in getPageScrolls()
DLauncherRootView.java86 boolean resetState = !insets.equals(mInsets); in handleSystemWindowInsets()
123 if (!insets.equals(mInsets)) { in setInsets()
129 mLauncher.updateInsets(mInsets); in dispatchInsets()
130 super.setInsets(mInsets); in dispatchInsets()
DWorkspace.java302 rotationMode.mapRect(stableGrid.getInsets(), mInsets); in setInsets() local
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java84 private final Rect mInsets; field in LauncherPreviewRenderer
95 mInsets = new Rect(); in LauncherPreviewRenderer()
96 mInsets.left = mInsets.right = (mDp.widthPx - mDp.availableWidthPx) / 2; in LauncherPreviewRenderer()
97 mInsets.top = mInsets.bottom = (mDp.heightPx - mDp.availableHeightPx) / 2; in LauncherPreviewRenderer()
98 mDp.updateInsets(mInsets); in LauncherPreviewRenderer()
154 mRootView.setInsets(mInsets);
276 mDp.heightPx - searchUiManager.getScrollRangeDelta(mInsets));
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsBottomSheet.java67 private Rect mInsets; field in WidgetsBottomSheet
76 mInsets = new Rect(); in WidgetsBottomSheet()
176 int leftInset = insets.left - mInsets.left; in setInsets()
177 int rightInset = insets.right - mInsets.right; in setInsets()
178 int bottomInset = insets.bottom - mInsets.bottom; in setInsets()
179 mInsets.set(insets); in setInsets()
197 return ObjectAnimator.ofInt(this, PADDING_BOTTOM, (int) (distanceToMove + mInsets.bottom)); in createHintCloseAnim()
DWidgetsFullSheet.java53 private final Rect mInsets = new Rect(); field in WidgetsFullSheet
108 mInsets.set(insets); in setInsets()
119 ((TopRoundedCornerView) mContent).setNavBarScrimHeight(mInsets.bottom); in setInsets()
126 if (mInsets.bottom > 0) { in onMeasure()
131 2 * (mInsets.left + mInsets.right)); in onMeasure()
134 int heightUsed = mInsets.top + mLauncher.getDeviceProfile().edgeMarginPx; in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DBottomUserEducationView.java41 private final Rect mInsets = new Rect(); field in BottomUserEducationView
87 int leftInset = insets.left - mInsets.left; in setInsets()
88 int rightInset = insets.right - mInsets.right; in setInsets()
89 int bottomInset = insets.bottom - mInsets.bottom; in setInsets()
90 mInsets.set(insets); in setInsets()
DBaseDragLayer.java559 setInsets(mInsets); in onWallpaperChanged()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java658 mInsets.set(insets); in setInsets()
665 setPadding(mTempRect.left - mInsets.left, mTempRect.top - mInsets.top, in setInsets()
666 dp.widthPx - mInsets.right - mTempRect.right, in setInsets()
667 dp.heightPx - mInsets.bottom - mTempRect.bottom); in setInsets()
705 final int screenCenter = mInsets.left + getPaddingLeft() + scrollX + halfPageWidth; in updateCurveProperties()
1432 setPivotY(((mInsets.top + getPaddingTop() + mTaskTopMargin) in onLayout()
1433 + (getHeight() - mInsets.bottom - getPaddingBottom())) / 2); in onLayout()
1434 setPivotX(((mInsets.left + getPaddingLeft()) in onLayout()
1435 + (getWidth() - mInsets.right - getPaddingRight())) / 2); in onLayout()
1490 mTempRect.set(mInsets.left + getPaddingLeft(), mInsets.top + getPaddingTop(), in maybeDrawEmptyMessage()
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/fallback/
DRecentsRootView.java80 if (!insets.equals(mInsets)) { in setInsets()
89 mActivity.getDeviceProfile().updateInsets(mInsets); in dispatchInsets()
90 super.setInsets(mInsets); in dispatchInsets()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/core/
DBaseLayoutController.java182 private Insets mInsets = new Insets(); field in BaseLayoutController.InsetsUpdater
236 return mInsets; in getInsets()
268 if (!insets.equals(mInsets)) { in onGlobalLayout()
269 mInsets = insets; in onGlobalLayout()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/
DIconRecentsView.java161 private Rect mInsets; field in IconRecentsView
248 if (mInsets.top < desiredTopMargin) { in onFinishInflate()
249 outRect.top = desiredTopMargin - mInsets.bottom; in onFinishInflate()
418 boolean shouldShow = mInsets.top != 0 && mShowStatusBarForegroundScrim; in updateStatusBarScrim()
927 mInsets = insets; in setInsets()
930 if (mInsets.top != 0) { in setInsets()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/fallback/
DGoRecentsActivityRootView.java43 if (insets.equals(mInsets)) { in setInsets()