Home
last modified time | relevance | path

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

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DStatusBarBackgroundLayout.java44 private Object mLastInsets; // Use generic Object type for compatibility field in StatusBarBackgroundLayout
75 if (mLastInsets == null) { in onAttachedToWindow()
85 if (mLastInsets != null) { in onDraw()
86 final int insetTop = ((WindowInsets) mLastInsets).getSystemWindowInsetTop(); in onDraw()
110 mLastInsets = insets; in onApplyWindowInsets()
/frameworks/support/design/src/android/support/design/widget/
DCollapsingToolbarLayout.java136 WindowInsetsCompat mLastInsets; field in CollapsingToolbarLayout
273 if (!objectEquals(mLastInsets, newInsets)) { in onWindowInsetChanged()
274 mLastInsets = newInsets; in onWindowInsetChanged()
302 final int topInset = mLastInsets != null ? mLastInsets.getSystemWindowInsetTop() : 0; in draw()
413 final int topInset = mLastInsets != null ? mLastInsets.getSystemWindowInsetTop() : 0; in onMeasure()
427 if (mLastInsets != null) { in onLayout()
429 final int insetTop = mLastInsets.getSystemWindowInsetTop(); in onLayout()
1082 final int insetTop = mLastInsets != null ? mLastInsets.getSystemWindowInsetTop() : 0; in getScrimVisibleHeightTrigger()
1274 final int insetTop = mLastInsets != null ? mLastInsets.getSystemWindowInsetTop() : 0;
DCoordinatorLayout.java185 private WindowInsetsCompat mLastInsets; field in CoordinatorLayout
243 if (mLastInsets == null && ViewCompat.getFitsSystemWindows(this)) { in onAttachedToWindow()
354 if (!objectEquals(mLastInsets, insets)) { in setWindowInsets()
355 mLastInsets = insets; in setWindowInsets()
367 return mLastInsets; in getLastWindowInsets()
740 final boolean applyInsets = mLastInsets != null && ViewCompat.getFitsSystemWindows(this); in onMeasure()
772 final int horizInsets = mLastInsets.getSystemWindowInsetLeft() in onMeasure()
773 + mLastInsets.getSystemWindowInsetRight(); in onMeasure()
774 final int vertInsets = mLastInsets.getSystemWindowInsetTop() in onMeasure()
775 + mLastInsets.getSystemWindowInsetBottom(); in onMeasure()
[all …]
DAppBarLayout.java142 private WindowInsetsCompat mLastInsets; field in AppBarLayout
594 return mLastInsets != null ? mLastInsets.getSystemWindowInsetTop() : 0; in getTopInset()
606 if (!objectEquals(mLastInsets, newInsets)) { in onWindowInsetChanged()
607 mLastInsets = newInsets; in onWindowInsetChanged()
/frameworks/support/core-ui/java/android/support/v4/widget/
DDrawerLayout.java222 private Object mLastInsets; field in DrawerLayout
445 mLastInsets = insets; in setChildInsets()
1046 final boolean applyInsets = mLastInsets != null && ViewCompat.getFitsSystemWindows(this); in onMeasure()
1066 IMPL.dispatchChildInsets(child, mLastInsets, cgrav); in onMeasure()
1068 IMPL.applyMarginInsets(lp, mLastInsets, cgrav); in onMeasure()
1343 final int inset = IMPL.getTopInset(mLastInsets); in onDraw()