Searched refs:swBitmap (Results 1 – 4 of 4) sorted by relevance
53 Bitmap swBitmap = createBitmap(0); in blackLuma() local54 HardwareBuffer hb = swBitmapToHardwareBuffer(swBitmap); in blackLuma()61 Bitmap swBitmap = createBitmap(1); in whiteLuma() local62 HardwareBuffer hb = swBitmapToHardwareBuffer(swBitmap); in whiteLuma()70 HardwareBuffer hb = swBitmapToHardwareBuffer(swBitmap); in unevenBitmapDimens()77 Bitmap swBitmap = createBitmap(1); in whiteImageBlackBorderLuma() local78 setBorderLuma(swBitmap, 0); in whiteImageBlackBorderLuma()86 Bitmap swBitmap = createBitmap(0); in blackImageWhiteBorderLuma() local87 setBorderLuma(swBitmap, 1); in blackImageWhiteBorderLuma()156 int width = swBitmap.getWidth(); in setBorderLuma()[all …]
111 Bitmap swBitmap = screenshot.copy(Bitmap.Config.ARGB_8888, false); in testScreenshotSecureLayers() local114 int numMatchingPixels = PixelChecker.getNumMatchingPixels(swBitmap, in testScreenshotSecureLayers()116 long sizeOfBitmap = swBitmap.getWidth() * swBitmap.getHeight(); in testScreenshotSecureLayers()118 swBitmap.recycle(); in testScreenshotSecureLayers()
417 final Bitmap swBitmap = bitmap.copy(Config.ARGB_8888, false /* isMutable */); in writeBuffer() local422 swBitmap.compress(JPEG, QUALITY, fos); in writeBuffer()430 swBitmap.recycle(); in writeBuffer()434 final Bitmap lowResBitmap = Bitmap.createScaledBitmap(swBitmap, in writeBuffer()437 swBitmap.recycle(); in writeBuffer()
654 Bitmap swBitmap = bitmap.copy(Bitmap.Config.ARGB_8888, true); in createScreenshot() local655 return swBitmap; in createScreenshot()