Searched refs:mLastInsets (Results 1 – 5 of 5) sorted by relevance
44 private Object mLastInsets; // Use generic Object type for compatibility field in StatusBarBackgroundLayout75 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()
136 WindowInsetsCompat mLastInsets; field in CollapsingToolbarLayout273 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;
185 private WindowInsetsCompat mLastInsets; field in CoordinatorLayout243 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 …]
142 private WindowInsetsCompat mLastInsets; field in AppBarLayout594 return mLastInsets != null ? mLastInsets.getSystemWindowInsetTop() : 0; in getTopInset()606 if (!objectEquals(mLastInsets, newInsets)) { in onWindowInsetChanged()607 mLastInsets = newInsets; in onWindowInsetChanged()
222 private Object mLastInsets; field in DrawerLayout445 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()