Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/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 …]
DListView.java935 final int spaceAbove = sel.getTop() - topSelectionPixel; in fillFromSelection() local
940 final int offset = Math.min(spaceAbove, spaceBelow); in fillFromSelection()
947 final int spaceAbove = topSelectionPixel - sel.getTop(); in fillFromSelection() local
952 final int offset = Math.min(spaceAbove, spaceBelow); in fillFromSelection()
1088 int spaceAbove = sel.getTop() - topSelectionPixel; in moveSelection() local
1095 int offset = Math.min(spaceAbove, spaceBelow); in moveSelection()
1149 int spaceAbove = topSelectionPixel - sel.getTop(); in moveSelection() local
1156 int offset = Math.min(spaceAbove, spaceBelow); in moveSelection()
DGridView.java812 int spaceAbove = childInSelectedRow.getTop() - topSelectionPixel; in adjustForBottomFadingEdge() local
817 int offset = Math.min(spaceAbove, spaceBelow); in adjustForBottomFadingEdge()
839 int spaceAbove = topSelectionPixel - childInSelectedRow.getTop(); in adjustForTopFadingEdge() local
844 int offset = Math.min(spaceAbove, spaceBelow); in adjustForTopFadingEdge()
DPopupWindow.java1681 final int spaceAbove = anchorTopInScreen - anchorHeight - displayFrameTop; in tryFitVertical() local
1682 if (height <= spaceAbove) { in tryFitVertical()
DAbsListView.java5116 final int spaceAbove = effectivePaddingTop - firstTop;
5234 if (spaceAbove < absIncrementalDeltaY || spaceBelow < absIncrementalDeltaY) {
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DToolbar.java1807 int spaceAbove = (space - titleHeight) / 2; in onLayout() local
1808 if (spaceAbove < toplp.topMargin + mTitleMarginTop) { in onLayout()
1809 spaceAbove = toplp.topMargin + mTitleMarginTop; in onLayout()
1812 spaceAbove - paddingTop; in onLayout()
1814 spaceAbove = Math.max(0, spaceAbove - in onLayout()
1818 titleTop = paddingTop + spaceAbove; in onLayout()
1985 int spaceAbove = (space - childHeight) / 2; in getChildTop() local
1986 if (spaceAbove < lp.topMargin) { in getChildTop()
1987 spaceAbove = lp.topMargin; in getChildTop()
1990 spaceAbove - paddingTop; in getChildTop()
[all …]