Home
last modified time | relevance | path

Searched refs:mIsRound (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/view/
DWindowInsets.java49 private boolean mIsRound; field in WindowInsets
91 mIsRound = isRound; in WindowInsets()
111 mIsRound = src.mIsRound; in WindowInsets()
340 return mIsRound; in isRound()
613 return mIsRound == that.mIsRound in equals()
627 return Objects.hash(mSystemWindowInsets, mWindowDecorInsets, mStableInsets, mIsRound, in hashCode()
/frameworks/support/wear/src/main/java/androidx/wear/widget/
DBoxInsetLayout.java56 private boolean mIsRound; field in BoxInsetLayout
133 mIsRound = getResources().getConfiguration().isScreenRound(); in onAttachedToWindow()
154 if (mIsRound) { in onMeasure()
344 if (mIsRound && ((lp.boxedEdges & LayoutParams.BOX_LEFT) != 0)) { in calculateChildLeftMargin()
354 if (mIsRound && ((lp.boxedEdges & LayoutParams.BOX_RIGHT) != 0)) { in calculateChildRightMargin()
363 if (mIsRound && ((lp.boxedEdges & LayoutParams.BOX_TOP) != 0)) { in calculateChildTopMargin()
373 if (mIsRound && ((lp.boxedEdges & LayoutParams.BOX_BOTTOM) != 0)) { in calculateChildBottomMargin()