Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DGridView.java370 final int fadingEdgeLength = getVerticalFadingEdgeLength(); in fillSelection() local
371 final int topSelectionPixel = getTopSelectionPixel(childrenTop, fadingEdgeLength, rowStart); in fillSelection()
385 fadingEdgeLength, numColumns, rowStart); in fillSelection()
606 final int fadingEdgeLength = getVerticalFadingEdgeLength(); in fillFromSelection() local
626 int topSelectionPixel = getTopSelectionPixel(childrenTop, fadingEdgeLength, rowStart); in fillFromSelection()
627 int bottomSelectionPixel = getBottomSelectionPixel(childrenBottom, fadingEdgeLength, in fillFromSelection()
661 private int getBottomSelectionPixel(int childrenBottom, int fadingEdgeLength, in getBottomSelectionPixel() argument
666 bottomSelectionPixel -= fadingEdgeLength; in getBottomSelectionPixel()
679 private int getTopSelectionPixel(int childrenTop, int fadingEdgeLength, int rowStart) { in getTopSelectionPixel() argument
683 topSelectionPixel += fadingEdgeLength; in getTopSelectionPixel()
[all …]
DListView.java798 int fadingEdgeLength = getVerticalFadingEdgeLength(); in fillFromSelection() local
803 final int topSelectionPixel = getTopSelectionPixel(childrenTop, fadingEdgeLength, in fillFromSelection()
805 final int bottomSelectionPixel = getBottomSelectionPixel(childrenBottom, fadingEdgeLength, in fillFromSelection()
858 private int getBottomSelectionPixel(int childrenBottom, int fadingEdgeLength, in getBottomSelectionPixel() argument
862 bottomSelectionPixel -= fadingEdgeLength; in getBottomSelectionPixel()
875 private int getTopSelectionPixel(int childrenTop, int fadingEdgeLength, int selectedPosition) { in getTopSelectionPixel() argument
879 topSelectionPixel += fadingEdgeLength; in getTopSelectionPixel()
904 int fadingEdgeLength = getVerticalFadingEdgeLength(); in moveSelection() local
909 final int topSelectionPixel = getTopSelectionPixel(childrenTop, fadingEdgeLength, in moveSelection()
911 final int bottomSelectionPixel = getBottomSelectionPixel(childrenTop, fadingEdgeLength, in moveSelection()
DHorizontalScrollView.java683 final int fadingEdgeLength = getHorizontalFadingEdgeLength() / 2; in findFocusableViewInMyBounds() local
684 final int leftWithoutFadingEdge = left + fadingEdgeLength; in findFocusableViewInMyBounds()
685 final int rightWithoutFadingEdge = left + getWidth() - fadingEdgeLength; in findFocusableViewInMyBounds()
DScrollView.java679 final int fadingEdgeLength = getVerticalFadingEdgeLength() / 2; in findFocusableViewInMyBounds() local
680 final int topWithoutFadingEdge = top + fadingEdgeLength; in findFocusableViewInMyBounds()
681 final int bottomWithoutFadingEdge = top + getHeight() - fadingEdgeLength; in findFocusableViewInMyBounds()
/frameworks/base/core/java/android/view/
DView.java2230 mScrollCache.fadingEdgeLength = a.getDimensionPixelSize( in initializeFadingEdge()
2247 return cache.fadingEdgeLength; in getVerticalFadingEdgeLength()
2264 mScrollCache.fadingEdgeLength = length; in setFadingEdgeLength()
2279 return cache.fadingEdgeLength; in getHorizontalFadingEdgeLength()
6930 int length = scrollabilityCache.fadingEdgeLength; in draw()
6992 final float fadeHeight = scrollabilityCache.fadingEdgeLength; in draw()
9494 public int fadingEdgeLength; field in View.ScrollabilityCache
9527 fadingEdgeLength = configuration.getScaledFadingEdgeLength(); in ScrollabilityCache()