Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbar.java1427 int spaceAbove = (space - titleHeight) / 2; in onLayout() local
1428 if (spaceAbove < toplp.topMargin + mTitleMarginTop) { in onLayout()
1429 spaceAbove = toplp.topMargin + mTitleMarginTop; in onLayout()
1432 spaceAbove - paddingTop; in onLayout()
1434 spaceAbove = Math.max(0, spaceAbove - in onLayout()
1438 titleTop = paddingTop + spaceAbove; in onLayout()
1605 int spaceAbove = (space - childHeight) / 2; in getChildTop() local
1606 if (spaceAbove < lp.topMargin) { in getChildTop()
1607 spaceAbove = lp.topMargin; in getChildTop()
1610 spaceAbove - paddingTop; in getChildTop()
[all …]
/frameworks/base/core/java/android/widget/
DToolbar.java1411 int spaceAbove = (space - titleHeight) / 2; in onLayout() local
1412 if (spaceAbove < toplp.topMargin + mTitleMarginTop) { in onLayout()
1413 spaceAbove = toplp.topMargin + mTitleMarginTop; in onLayout()
1416 spaceAbove - paddingTop; in onLayout()
1418 spaceAbove = Math.max(0, spaceAbove - in onLayout()
1422 titleTop = paddingTop + spaceAbove; in onLayout()
1589 int spaceAbove = (space - childHeight) / 2; in getChildTop() local
1590 if (spaceAbove < lp.topMargin) { in getChildTop()
1591 spaceAbove = lp.topMargin; in getChildTop()
1594 spaceAbove - paddingTop; in getChildTop()
[all …]
DListView.java847 final int spaceAbove = sel.getTop() - topSelectionPixel; in fillFromSelection() local
852 final int offset = Math.min(spaceAbove, spaceBelow); in fillFromSelection()
859 final int spaceAbove = topSelectionPixel - sel.getTop(); in fillFromSelection() local
864 final int offset = Math.min(spaceAbove, spaceBelow); in fillFromSelection()
1000 int spaceAbove = sel.getTop() - topSelectionPixel; in moveSelection() local
1007 int offset = Math.min(spaceAbove, spaceBelow); in moveSelection()
1061 int spaceAbove = topSelectionPixel - sel.getTop(); in moveSelection() local
1068 int offset = Math.min(spaceAbove, spaceBelow); in moveSelection()
DGridView.java802 int spaceAbove = childInSelectedRow.getTop() - topSelectionPixel; in adjustForBottomFadingEdge() local
807 int offset = Math.min(spaceAbove, spaceBelow); in adjustForBottomFadingEdge()
829 int spaceAbove = topSelectionPixel - childInSelectedRow.getTop(); in adjustForTopFadingEdge() local
834 int offset = Math.min(spaceAbove, spaceBelow); in adjustForTopFadingEdge()
DAbsListView.java4872 final int spaceAbove = effectivePaddingTop - firstTop;
4990 if (spaceAbove < absIncrementalDeltaY || spaceBelow < absIncrementalDeltaY) {