Home
last modified time | relevance | path

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

/frameworks/support/design/src/android/support/design/widget/
DCoordinatorLayout.java1366 final Rect dodgeRect = acquireTempRect(); in offsetChildByInset() local
1370 if (behavior != null && behavior.getInsetDodgeRect(this, child, dodgeRect)) { in offsetChildByInset()
1372 if (!bounds.contains(dodgeRect)) { in offsetChildByInset()
1374 + " Rect:" + dodgeRect.toShortString() in offsetChildByInset()
1378 dodgeRect.set(bounds); in offsetChildByInset()
1384 if (dodgeRect.isEmpty()) { in offsetChildByInset()
1386 releaseTempRect(dodgeRect); in offsetChildByInset()
1395 int distance = dodgeRect.top - lp.topMargin - lp.mInsetOffsetY; in offsetChildByInset()
1402 int distance = getHeight() - dodgeRect.bottom - lp.bottomMargin + lp.mInsetOffsetY; in offsetChildByInset()
1414 int distance = dodgeRect.left - lp.leftMargin - lp.mInsetOffsetX; in offsetChildByInset()
[all …]