Home
last modified time | relevance | path

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

/frameworks/support/compat/src/main/java/androidx/core/view/
DWindowInsetsCompat.java33 private final Object mInsets; field in WindowInsetsCompat
36 mInsets = insets; in WindowInsetsCompat()
46 mInsets = src == null ? null : new WindowInsets((WindowInsets) src.mInsets); in WindowInsetsCompat()
48 mInsets = null; in WindowInsetsCompat()
63 return ((WindowInsets) mInsets).getSystemWindowInsetLeft(); in getSystemWindowInsetLeft()
80 return ((WindowInsets) mInsets).getSystemWindowInsetTop(); in getSystemWindowInsetTop()
97 return ((WindowInsets) mInsets).getSystemWindowInsetRight(); in getSystemWindowInsetRight()
114 return ((WindowInsets) mInsets).getSystemWindowInsetBottom(); in getSystemWindowInsetBottom()
131 return ((WindowInsets) mInsets).hasSystemWindowInsets(); in hasSystemWindowInsets()
144 return ((WindowInsets) mInsets).hasInsets(); in hasInsets()
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java70 private final Rect mInsets = new Rect(); field in DividerSnapAlgorithm
125 mInsets.set(insets); in DividerSnapAlgorithm()
147 int statusBarSize = mInsets.top; in isSplitScreenFeasible()
148 int navBarSize = mIsHorizontalDivision ? mInsets.bottom : mInsets.right; in isSplitScreenFeasible()
235 return mInsets.top; in getStartInset()
237 return mInsets.left; in getStartInset()
243 return mInsets.bottom; in getEndInset()
245 return mInsets.right; in getEndInset()
272 int navBarSize = isHorizontalDivision ? mInsets.bottom : mInsets.right; in calculateTargets()
275 startPos += mInsets.left; in calculateTargets()
[all …]
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/custom/
DFitWindowsContentLayout.java26 private final Rect mInsets = new Rect(); field in FitWindowsContentLayout
44 mInsets.set(insets); in fitSystemWindows()
54 return mInsets; in getFitSystemWindowsInsets()
/frameworks/support/wear/src/main/java/androidx/wear/widget/
DBoxInsetLayout.java58 private Rect mInsets; field in BoxInsetLayout
106 if (mInsets == null) { in BoxInsetLayout()
107 mInsets = new Rect(); in BoxInsetLayout()
135 mInsets.set(insets.getSystemWindowInsetLeft(), insets.getSystemWindowInsetTop(), in onAttachedToWindow()