Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DToolbar.java1923 int spaceAbove = (space - titleHeight) / 2; in onLayout() local
1924 if (spaceAbove < toplp.topMargin + mTitleMarginTop) { in onLayout()
1925 spaceAbove = toplp.topMargin + mTitleMarginTop; in onLayout()
1928 spaceAbove - paddingTop; in onLayout()
1930 spaceAbove = Math.max(0, spaceAbove - in onLayout()
1934 titleTop = paddingTop + spaceAbove; in onLayout()
2101 int spaceAbove = (space - childHeight) / 2; in getChildTop() local
2102 if (spaceAbove < lp.topMargin) { in getChildTop()
2103 spaceAbove = lp.topMargin; in getChildTop()
2106 spaceAbove - paddingTop; in getChildTop()
[all …]
DListView.java943 final int spaceAbove = sel.getTop() - topSelectionPixel; in fillFromSelection() local
948 final int offset = Math.min(spaceAbove, spaceBelow); in fillFromSelection()
955 final int spaceAbove = topSelectionPixel - sel.getTop(); in fillFromSelection() local
960 final int offset = Math.min(spaceAbove, spaceBelow); in fillFromSelection()
1096 int spaceAbove = sel.getTop() - topSelectionPixel; in moveSelection() local
1103 int offset = Math.min(spaceAbove, spaceBelow); in moveSelection()
1157 int spaceAbove = topSelectionPixel - sel.getTop(); in moveSelection() local
1164 int offset = Math.min(spaceAbove, spaceBelow); in moveSelection()
DGridView.java826 int spaceAbove = childInSelectedRow.getTop() - topSelectionPixel; in adjustForBottomFadingEdge() local
831 int offset = Math.min(spaceAbove, spaceBelow); in adjustForBottomFadingEdge()
853 int spaceAbove = topSelectionPixel - childInSelectedRow.getTop(); in adjustForTopFadingEdge() local
858 int offset = Math.min(spaceAbove, spaceBelow); in adjustForTopFadingEdge()
DPopupWindow.java1825 final int spaceAbove = anchorTopInScreen - anchorHeight - displayFrameTop; in tryFitVertical() local
1826 if (height <= spaceAbove) { in tryFitVertical()
DAbsListView.java5192 final int spaceAbove = effectivePaddingTop - firstTop;
5310 if (spaceAbove < absIncrementalDeltaY || spaceBelow < absIncrementalDeltaY) {