Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/qrcode/
DQrCameraTest.java118 final Bitmap bmp = QrCodeGenerator.encodeQrCode(googleUrl, 320); in testDecode_PictureCaptured_QrCodeCorrectValue() local
119 final int[] intArray = new int[bmp.getWidth() * bmp.getHeight()]; in testDecode_PictureCaptured_QrCodeCorrectValue()
120 bmp.getPixels(intArray, 0, bmp.getWidth(), 0, 0, bmp.getWidth(), bmp.getHeight()); in testDecode_PictureCaptured_QrCodeCorrectValue()
121 LuminanceSource source = new RGBLuminanceSource(bmp.getWidth(), bmp.getHeight(), in testDecode_PictureCaptured_QrCodeCorrectValue()
125 bmp.recycle(); in testDecode_PictureCaptured_QrCodeCorrectValue()
137 final Bitmap bmp = QrCodeGenerator.encodeQrCode(unicodeTest, 320); in testDecode_unicodePictureCaptured_QrCodeCorrectValue() local
138 final int[] intArray = new int[bmp.getWidth() * bmp.getHeight()]; in testDecode_unicodePictureCaptured_QrCodeCorrectValue()
139 bmp.getPixels(intArray, 0, bmp.getWidth(), 0, 0, bmp.getWidth(), bmp.getHeight()); in testDecode_unicodePictureCaptured_QrCodeCorrectValue()
140 LuminanceSource source = new RGBLuminanceSource(bmp.getWidth(), bmp.getHeight(), in testDecode_unicodePictureCaptured_QrCodeCorrectValue()
144 bmp.recycle(); in testDecode_unicodePictureCaptured_QrCodeCorrectValue()
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DAbstractAvatarDrawable.java96 if (mBitmap != null && mBitmap.bmp != null) { in draw()
98 drawBitmap(mBitmap.bmp, mBitmap.getLogicalWidth(), mBitmap.getLogicalHeight(), canvas); in draw()
211 private void setBitmap(final ReusableBitmap bmp) { in setBitmap() argument
212 if (mBitmap != null && mBitmap != bmp) { in setBitmap()
215 mBitmap = bmp; in setBitmap()
/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()
372 Bitmap bmp = preset.apply(bitmap, mEnvironment); in render() local
374 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/Settings/src/com/android/settings/wifi/dpp/
DWifiDppQrCodeGeneratorFragment.java155 final Bitmap bmp = QrCodeGenerator.encodeQrCode(mQrCode, qrcodeSize); in setQrCode() local
156 mQrCodeView.setImageBitmap(bmp); in setQrCode()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiDppQrCodeGeneratorFragment.java155 final Bitmap bmp = QrCodeGenerator.encodeQrCode(mQrCode, qrcodeSize); in setQrCode() local
156 mQrCodeView.setImageBitmap(bmp); in setQrCode()
/packages/services/Car/car-lib/src/android/car/navigation/
Dnavigation_state.proto34 // 'image/png', 'image/jpeg' or 'image/bmp'.