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()
128 private WindowInsetsCompat mLastInsets; field in CollapsingToolbarLayout254 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;
165 private WindowInsetsCompat mLastInsets; field in CoordinatorLayout224 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 …]
134 private WindowInsetsCompat mLastInsets; field in AppBarLayout549 return mLastInsets != null ? mLastInsets.getSystemWindowInsetTop() : 0; in getTopInset()561 if (newInsets != mLastInsets) { in onWindowInsetChanged()562 mLastInsets = newInsets; in onWindowInsetChanged()
227 private Object mLastInsets; field in DrawerLayout442 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()