Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/qrcode/
DQrCameraTest.java126 final Bitmap bmp = QrCodeGenerator.encodeQrCode(googleUrl, 320); in testDecode_PictureCaptured_QrCodeCorrectValue() local
127 final int[] intArray = new int[bmp.getWidth() * bmp.getHeight()]; in testDecode_PictureCaptured_QrCodeCorrectValue()
128 bmp.getPixels(intArray, 0, bmp.getWidth(), 0, 0, bmp.getWidth(), bmp.getHeight()); in testDecode_PictureCaptured_QrCodeCorrectValue()
129 LuminanceSource source = new RGBLuminanceSource(bmp.getWidth(), bmp.getHeight(), in testDecode_PictureCaptured_QrCodeCorrectValue()
133 bmp.recycle(); in testDecode_PictureCaptured_QrCodeCorrectValue()
145 final Bitmap bmp = QrCodeGenerator.encodeQrCode(unicodeTest, 320); in testDecode_unicodePictureCaptured_QrCodeCorrectValue() local
146 final int[] intArray = new int[bmp.getWidth() * bmp.getHeight()]; in testDecode_unicodePictureCaptured_QrCodeCorrectValue()
147 bmp.getPixels(intArray, 0, bmp.getWidth(), 0, 0, bmp.getWidth(), bmp.getHeight()); in testDecode_unicodePictureCaptured_QrCodeCorrectValue()
148 LuminanceSource source = new RGBLuminanceSource(bmp.getWidth(), bmp.getHeight(), in testDecode_unicodePictureCaptured_QrCodeCorrectValue()
152 bmp.recycle(); in testDecode_unicodePictureCaptured_QrCodeCorrectValue()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DCachingPipeline.java230 Bitmap bmp = preset.apply(bitmap, mEnvironment); in renderHighres() local
232 request.setBitmap(bmp); in renderHighres()
234 mEnvironment.cache(bmp); in renderHighres()
373 Bitmap bmp = preset.apply(bitmap, mEnvironment); in render() local
375 request.setBitmap(bmp); in render()
DImagePreset.java474 Bitmap bmp = GeometryMathUtils.applyGeometryRepresentations( in applyGeometry() local
476 if (bmp != bitmap) { in applyGeometry()
479 return bmp; in applyGeometry()
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/helpers/
DImage.java247 final Bitmap bmp = image.getImage(); in equals() local
248 if (bmp == null) return (mImage == null); in equals()
249 return bmp.sameAs(mImage); in equals()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DEasyConnectQRState.java187 final Bitmap bmp = QrCodeGenerator.encodeQrCode(dppUri.toString(), 512); in onBootstrapUriGenerated() local
188 mQrCodeView.setImageBitmap(bmp); in onBootstrapUriGenerated()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppQrCodeGeneratorFragment.java266 final Bitmap bmp = QrCodeGenerator.encodeQrCode(mQrCode, qrcodeSize); in setQrCode() local
267 mQrCodeView.setImageBitmap(bmp); in setQrCode()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DModernMediaScannerTest.java930 final File bmp = new File(mDir, "image.bmp"); in testScan_BitmapFile() local
931 stage(R.raw.test_bmp, bmp); in testScan_BitmapFile()
933 final Uri uri = mModern.scanFile(bmp, REASON_UNKNOWN); in testScan_BitmapFile()
/packages/services/Car/car-lib/src/android/car/navigation/
Dnavigation_state.proto34 // 'image/png', 'image/jpeg' or 'image/bmp'.