Searched refs:oldInsets (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InsettableFrameLayout.java | 25 public void setFrameLayoutChildInsets(View child, Rect newInsets, Rect oldInsets) { in setFrameLayoutChildInsets() argument 31 lp.topMargin += (newInsets.top - oldInsets.top); in setFrameLayoutChildInsets() 32 lp.leftMargin += (newInsets.left - oldInsets.left); in setFrameLayoutChildInsets() 33 lp.rightMargin += (newInsets.right - oldInsets.right); in setFrameLayoutChildInsets() 34 lp.bottomMargin += (newInsets.bottom - oldInsets.bottom); in setFrameLayoutChildInsets()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/window/ |
D | WindowManagerProxy.java | 138 public WindowInsets normalizeWindowInsets(Context context, WindowInsets oldInsets, in normalizeWindowInsets() argument 141 outInsets.set(oldInsets.getSystemWindowInsetLeft(), oldInsets.getSystemWindowInsetTop(), in normalizeWindowInsets() 142 oldInsets.getSystemWindowInsetRight(), oldInsets.getSystemWindowInsetBottom()); in normalizeWindowInsets() 143 return oldInsets; in normalizeWindowInsets() 146 WindowInsets.Builder insetsBuilder = new WindowInsets.Builder(oldInsets); in normalizeWindowInsets() 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() 199 context, isLargeScreen, dpToPx(config.screenWidthDp), oldInsets, insetsBuilder); in normalizeWindowInsets()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/overlay/ |
D | TaskbarOverlayDragLayer.java | 149 private WindowInsets updateInsetsDueToStashing(WindowInsets oldInsets) { in updateInsetsDueToStashing() argument 151 return oldInsets; in updateInsetsDueToStashing() 153 WindowInsets.Builder updatedInsetsBuilder = new WindowInsets.Builder(oldInsets); in updateInsetsDueToStashing() 155 Insets oldNavInsets = oldInsets.getInsets(WindowInsets.Type.navigationBars()); in updateInsetsDueToStashing() 160 Insets oldTappableInsets = oldInsets.getInsets(WindowInsets.Type.tappableElement()); in updateInsetsDueToStashing()
|