Searched refs:destBitmap (Results 1 – 2 of 2) sorted by relevance
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/ |
D | WindowCapture.kt | 54 val destBitmap = in generateBitmap() constant 63 decorView.generateBitmapFromDraw(destBitmap, boundsInWindow) in generateBitmap() 64 else -> generateBitmapFromPixelCopy(boundsInWindow, destBitmap) in generateBitmap() 67 return destBitmap in generateBitmap() 73 destBitmap: Bitmap, in generateBitmapFromPixelCopy() 88 destBitmap, in generateBitmapFromPixelCopy()
|
D | ViewCapture.kt | 185 val destBitmap = Bitmap.createBitmap(rectWidth, rectHeight, Bitmap.Config.ARGB_8888) in generateBitmap() constant 188 Build.VERSION.SDK_INT < 26 -> generateBitmapFromDraw(destBitmap, rect) in generateBitmap() 189 Build.VERSION.SDK_INT >= 34 -> generateBitmapFromPixelCopy(destBitmap, rect) in generateBitmap() 190 this is SurfaceView -> generateBitmapFromSurfaceViewPixelCopy(destBitmap, rect) in generateBitmap() 191 else -> generateBitmapFromPixelCopy(this.getSurface(), destBitmap, rect) in generateBitmap() 197 destBitmap: Bitmap, in generateBitmapFromSurfaceViewPixelCopy() 204 cont.resume(destBitmap) in generateBitmapFromSurfaceViewPixelCopy() 211 PixelCopy.request(this, rect, destBitmap, onCopyFinished, handler) in generateBitmapFromSurfaceViewPixelCopy() 215 internal fun View.generateBitmapFromDraw(destBitmap: Bitmap, rect: Rect?): Bitmap { in generateBitmapFromDraw() 216 destBitmap.density = resources.displayMetrics.densityDpi in generateBitmapFromDraw() [all …]
|