Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DHorizontalGridView.java59 private int mLowFadeShaderLength; field in HorizontalGridView
146 if (mLowFadeShaderLength != fadeLength) { in setFadingLeftEdgeLength()
147 mLowFadeShaderLength = fadeLength; in setFadingLeftEdgeLength()
148 if (mLowFadeShaderLength != 0) { in setFadingLeftEdgeLength()
149 mLowFadeShader = new LinearGradient(0, 0, mLowFadeShaderLength, 0, in setFadingLeftEdgeLength()
162 return mLowFadeShaderLength; in getFadingLeftEdgeLength()
283 || mTempBitmapLow.getWidth() != mLowFadeShaderLength in getTempBitmapLow()
285 mTempBitmapLow = Bitmap.createBitmap(mLowFadeShaderLength, getHeight(), in getTempBitmapLow()
324 … int lowEdge = mFadingLowEdge? getPaddingLeft() - mLowFadeShaderOffset - mLowFadeShaderLength : 0; in draw()
330 canvas.clipRect(lowEdge + (mFadingLowEdge ? mLowFadeShaderLength : 0), 0, in draw()
[all …]