Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/
DMediaProjectionTaskView.kt70 private var bitmapShader: BitmapShader? = null variable
104 val drawBackgroundOnly = task == null || bitmapShader == null || thumbnailData == null in onDraw()
126 bitmapShader = in refresh()
128 paint.shader = bitmapShader in refresh()
131 bitmapShader = null in refresh()
141 val bitmapShader = bitmapShader ?: return in updateThumbnailMatrix() constant
163 bitmapShader.setLocalMatrix(previewPositionHelper.matrix) in updateThumbnailMatrix()
164 paint.shader = bitmapShader in updateThumbnailMatrix()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DStretchShaderActivity.java74 BitmapShader bitmapShader = new BitmapShader(mBitmap, Shader.TileMode.CLAMP, in onCreate() local
76 mRuntimeShader.setInputShader("uContentTexture", bitmapShader); in onCreate()