Home
last modified time | relevance | path

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

/frameworks/support/compat/java/android/support/v4/view/
DWindowInsetsCompat.java32 private final Object mInsets; field in WindowInsetsCompat
35 mInsets = insets; in WindowInsetsCompat()
45 mInsets = src == null ? null : new WindowInsets((WindowInsets) src.mInsets); in WindowInsetsCompat()
47 mInsets = null; in WindowInsetsCompat()
62 return ((WindowInsets) mInsets).getSystemWindowInsetLeft(); in getSystemWindowInsetLeft()
79 return ((WindowInsets) mInsets).getSystemWindowInsetTop(); in getSystemWindowInsetTop()
96 return ((WindowInsets) mInsets).getSystemWindowInsetRight(); in getSystemWindowInsetRight()
113 return ((WindowInsets) mInsets).getSystemWindowInsetBottom(); in getSystemWindowInsetBottom()
130 return ((WindowInsets) mInsets).hasSystemWindowInsets(); in hasSystemWindowInsets()
143 return ((WindowInsets) mInsets).hasInsets(); in hasInsets()
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java67 private final Rect mInsets = new Rect(); field in DividerSnapAlgorithm
115 mInsets.set(insets); in DividerSnapAlgorithm()
137 int statusBarSize = mInsets.top; in isSplitScreenFeasible()
138 int navBarSize = mIsHorizontalDivision ? mInsets.bottom : mInsets.right; in isSplitScreenFeasible()
225 return mInsets.top; in getStartInset()
227 return mInsets.left; in getStartInset()
233 return mInsets.bottom; in getEndInset()
235 return mInsets.right; in getEndInset()
262 int navBarSize = isHorizontalDivision ? mInsets.bottom : mInsets.right; in calculateTargets()
285 maybeAddTarget(topPosition, topPosition - mInsets.top); in addNonDismissingTargets()
[all …]
/frameworks/support/design/src/android/support/design/internal/
DScrimInsetsFrameLayout.java43 Rect mInsets; field in ScrimInsetsFrameLayout
70 if (null == mInsets) { in ScrimInsetsFrameLayout()
71 mInsets = new Rect(); in ScrimInsetsFrameLayout()
73 mInsets.set(insets.getSystemWindowInsetLeft(), in ScrimInsetsFrameLayout()
91 if (mInsets != null && mInsetForeground != null) { in draw()
96 mTempRect.set(0, 0, width, mInsets.top); in draw()
101 mTempRect.set(0, height - mInsets.bottom, width, height); in draw()
106 mTempRect.set(0, mInsets.top, mInsets.left, height - mInsets.bottom); in draw()
111 mTempRect.set(width - mInsets.right, mInsets.top, width, height - mInsets.bottom); in draw()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/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/android/support/wear/widget/
DBoxInsetLayout.java58 private Rect mInsets; field in BoxInsetLayout
106 if (mInsets == null) { in BoxInsetLayout()
107 mInsets = new Rect(); in BoxInsetLayout()
122 mInsets.set(insets.getSystemWindowInsetLeft(), insets.getSystemWindowInsetTop(), in onApplyWindowInsets()
153 mInsets.set(insets.getSystemWindowInsetLeft(), insets.getSystemWindowInsetTop(), in onAttachedToWindow()