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.java128 private WindowInsetsCompat mLastInsets; field in CollapsingToolbarLayout
254 if (mLastInsets != insets) { in setWindowInsets()
255 mLastInsets = insets; in setWindowInsets()
280 final int topInset = mLastInsets != null ? mLastInsets.getSystemWindowInsetTop() : 0; in draw()
434 if (mLastInsets != null && !ViewCompat.getFitsSystemWindows(child)) { in onLayout()
435 final int insetTop = mLastInsets.getSystemWindowInsetTop(); in onLayout()
1017 final int insetTop = mLastInsets != null ? mLastInsets.getSystemWindowInsetTop() : 0; in getScrimVisibleHeightTrigger()
1194 final int insetTop = mLastInsets != null ? mLastInsets.getSystemWindowInsetTop() : 0;
DCoordinatorLayout.java165 private WindowInsetsCompat mLastInsets; field in CoordinatorLayout
224 if (mLastInsets == null && ViewCompat.getFitsSystemWindows(this)) { in onAttachedToWindow()
335 if (mLastInsets != insets) { in setWindowInsets()
336 mLastInsets = insets; in setWindowInsets()
348 return mLastInsets; in getLastWindowInsets()
699 final boolean applyInsets = mLastInsets != null && ViewCompat.getFitsSystemWindows(this); in onMeasure()
726 final int horizInsets = mLastInsets.getSystemWindowInsetLeft() in onMeasure()
727 + mLastInsets.getSystemWindowInsetRight(); in onMeasure()
728 final int vertInsets = mLastInsets.getSystemWindowInsetTop() in onMeasure()
729 + mLastInsets.getSystemWindowInsetBottom(); in onMeasure()
[all …]
DAppBarLayout.java134 private WindowInsetsCompat mLastInsets; field in AppBarLayout
549 return mLastInsets != null ? mLastInsets.getSystemWindowInsetTop() : 0; in getTopInset()
561 if (newInsets != mLastInsets) { in onWindowInsetChanged()
562 mLastInsets = newInsets; in onWindowInsetChanged()
/frameworks/support/v4/java/android/support/v4/widget/
DDrawerLayout.java227 private Object mLastInsets; field in DrawerLayout
442 mLastInsets = insets; in setChildInsets()
1047 final boolean applyInsets = mLastInsets != null && ViewCompat.getFitsSystemWindows(this); in onMeasure()
1067 IMPL.dispatchChildInsets(child, mLastInsets, cgrav); in onMeasure()
1069 IMPL.applyMarginInsets(lp, mLastInsets, cgrav); in onMeasure()
1342 final int inset = IMPL.getTopInset(mLastInsets); in onDraw()