Home
last modified time | relevance | path

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

/frameworks/support/design/src/android/support/design/internal/
DScrimInsetsFrameLayout.java39 private Rect mInsets; field in ScrimInsetsFrameLayout
66 if (null == mInsets) { in ScrimInsetsFrameLayout()
67 mInsets = new Rect(); in ScrimInsetsFrameLayout()
69 mInsets.set(insets.getSystemWindowInsetLeft(), in ScrimInsetsFrameLayout()
73 onInsetsChanged(mInsets); in ScrimInsetsFrameLayout()
74 setWillNotDraw(mInsets.isEmpty() || mInsetForeground == null); in ScrimInsetsFrameLayout()
87 if (mInsets != null && mInsetForeground != null) { in draw()
92 mTempRect.set(0, 0, width, mInsets.top); in draw()
97 mTempRect.set(0, height - mInsets.bottom, width, height); in draw()
102 mTempRect.set(0, mInsets.top, mInsets.left, height - mInsets.bottom); in draw()
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java62 private final Rect mInsets = new Rect(); field in DividerSnapAlgorithm
104 mInsets.set(insets); in DividerSnapAlgorithm()
124 int statusBarSize = mInsets.top; in isSplitScreenFeasible()
125 int navBarSize = mIsHorizontalDivision ? mInsets.bottom : mInsets.right; in isSplitScreenFeasible()
212 return mInsets.top; in getStartInset()
214 return mInsets.left; in getStartInset()
220 return mInsets.bottom; in getEndInset()
222 return mInsets.right; in getEndInset()
262 int navBarSize = isHorizontalDivision ? mInsets.bottom : mInsets.right; in calculateTargets()
269 maybeAddTarget(topPosition, topPosition - mInsets.top); in addNonDismissingTargets()
[all …]
/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()