Home
last modified time | relevance | path

Searched refs:fadeLength (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DHorizontalGridView.java144 public final void setFadingLeftEdgeLength(int fadeLength) { in setFadingLeftEdgeLength() argument
145 if (mLowFadeShaderLength != fadeLength) { in setFadingLeftEdgeLength()
146 mLowFadeShaderLength = fadeLength; in setFadingLeftEdgeLength()
210 public final void setFadingRightEdgeLength(int fadeLength) { in setFadingRightEdgeLength() argument
211 if (mHighFadeShaderLength != fadeLength) { in setFadingRightEdgeLength()
212 mHighFadeShaderLength = fadeLength; in setFadingRightEdgeLength()
DDetailsOverviewRowPresenter.java280 final int fadeLength = rootView.getResources().getDimensionPixelSize( in ViewHolder() local
282 mActionsRow.setFadingRightEdgeLength(fadeLength); in ViewHolder()
283 mActionsRow.setFadingLeftEdgeLength(fadeLength); in ViewHolder()
DFullWidthDetailsOverviewRowPresenter.java321 final int fadeLength = rootView.getResources().getDimensionPixelSize( in ViewHolder() local
323 mActionsRow.setFadingRightEdgeLength(fadeLength); in ViewHolder()
324 mActionsRow.setFadingLeftEdgeLength(fadeLength); in ViewHolder()
/frameworks/base/core/java/android/widget/
DAbsListView.java2107 final float fadeLength = getVerticalFadingEdgeLength(); in getTopFadingEdgeStrength() local
2108 return top < mPaddingTop ? -(top - mPaddingTop) / fadeLength : fadeEdge; in getTopFadingEdgeStrength()
2125 final float fadeLength = getVerticalFadingEdgeLength(); in getBottomFadingEdgeStrength() local
2127 (bottom - height + mPaddingBottom) / fadeLength : fadeEdge; in getBottomFadingEdgeStrength()