Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DToolbar.java1776 int spaceAbove = (space - titleHeight) / 2; in onLayout() local
1777 if (spaceAbove < toplp.topMargin + mTitleMarginTop) { in onLayout()
1778 spaceAbove = toplp.topMargin + mTitleMarginTop; in onLayout()
1781 spaceAbove - paddingTop; in onLayout()
1783 spaceAbove = Math.max(0, spaceAbove - in onLayout()
1787 titleTop = paddingTop + spaceAbove; in onLayout()
1954 int spaceAbove = (space - childHeight) / 2; in getChildTop() local
1955 if (spaceAbove < lp.topMargin) { in getChildTop()
1956 spaceAbove = lp.topMargin; in getChildTop()
1959 spaceAbove - paddingTop; in getChildTop()
[all …]
DListView.java853 final int spaceAbove = sel.getTop() - topSelectionPixel; in fillFromSelection() local
858 final int offset = Math.min(spaceAbove, spaceBelow); in fillFromSelection()
865 final int spaceAbove = topSelectionPixel - sel.getTop(); in fillFromSelection() local
870 final int offset = Math.min(spaceAbove, spaceBelow); in fillFromSelection()
1006 int spaceAbove = sel.getTop() - topSelectionPixel; in moveSelection() local
1013 int offset = Math.min(spaceAbove, spaceBelow); in moveSelection()
1067 int spaceAbove = topSelectionPixel - sel.getTop(); in moveSelection() local
1074 int offset = Math.min(spaceAbove, spaceBelow); in moveSelection()
DGridView.java807 int spaceAbove = childInSelectedRow.getTop() - topSelectionPixel; in adjustForBottomFadingEdge() local
812 int offset = Math.min(spaceAbove, spaceBelow); in adjustForBottomFadingEdge()
834 int spaceAbove = topSelectionPixel - childInSelectedRow.getTop(); in adjustForTopFadingEdge() local
839 int offset = Math.min(spaceAbove, spaceBelow); in adjustForTopFadingEdge()
DPopupWindow.java1614 final int spaceAbove = anchorTopInScreen - anchorHeight - displayFrameTop; in tryFitVertical() local
1615 if (height <= spaceAbove) { in tryFitVertical()
DAbsListView.java5072 final int spaceAbove = effectivePaddingTop - firstTop;
5190 if (spaceAbove < absIncrementalDeltaY || spaceBelow < absIncrementalDeltaY) {
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbar.java1801 int spaceAbove = (space - titleHeight) / 2; in onLayout() local
1802 if (spaceAbove < toplp.topMargin + mTitleMarginTop) { in onLayout()
1803 spaceAbove = toplp.topMargin + mTitleMarginTop; in onLayout()
1806 spaceAbove - paddingTop; in onLayout()
1808 spaceAbove = Math.max(0, spaceAbove - in onLayout()
1812 titleTop = paddingTop + spaceAbove; in onLayout()
1979 int spaceAbove = (space - childHeight) / 2; in getChildTop() local
1980 if (spaceAbove < lp.topMargin) { in getChildTop()
1981 spaceAbove = lp.topMargin; in getChildTop()
1984 spaceAbove - paddingTop; in getChildTop()
[all …]