Searched refs:topSelectionPixel (Results 1 – 2 of 2) sorted by relevance
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | GridView.java | 757 adjustForTopFadingEdge(referenceView, topSelectionPixel, bottomSelectionPixel); in fillFromSelection() 758 adjustForBottomFadingEdge(referenceView, topSelectionPixel, bottomSelectionPixel); in fillFromSelection() 803 int topSelectionPixel = childrenTop; in getTopSelectionPixel() local 805 topSelectionPixel += fadingEdgeLength; in getTopSelectionPixel() 807 return topSelectionPixel; in getTopSelectionPixel() 820 int topSelectionPixel, int bottomSelectionPixel) { in adjustForBottomFadingEdge() argument 827 int spaceAbove = childInSelectedRow.getTop() - topSelectionPixel; in adjustForBottomFadingEdge() 849 int topSelectionPixel, int bottomSelectionPixel) { in adjustForTopFadingEdge() argument 851 if (childInSelectedRow.getTop() < topSelectionPixel) { in adjustForTopFadingEdge() 854 int spaceAbove = topSelectionPixel - childInSelectedRow.getTop(); in adjustForTopFadingEdge() [all …]
|
H A D | ListView.java | 929 final int topSelectionPixel = getTopSelectionPixel(childrenTop, fadingEdgeLength, in fillFromSelection() local 941 final int spaceAbove = sel.getTop() - topSelectionPixel; in fillFromSelection() 950 } else if (sel.getTop() < topSelectionPixel) { in fillFromSelection() 953 final int spaceAbove = topSelectionPixel - sel.getTop(); in fillFromSelection() 1003 int topSelectionPixel = childrenTop; in getTopSelectionPixel() local 1005 topSelectionPixel += fadingEdgeLength; in getTopSelectionPixel() 1007 return topSelectionPixel; in getTopSelectionPixel() 1054 final int topSelectionPixel = getTopSelectionPixel(childrenTop, fadingEdgeLength, in moveSelection() local 1094 int spaceAbove = sel.getTop() - topSelectionPixel; in moveSelection() 1153 if (sel.getTop() < topSelectionPixel) { in moveSelection() [all …]
|