Home
last modified time | relevance | path

Searched refs:imageData (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetDatabaseHelper.java72 public byte imageData[]; field in WidgetDatabaseHelper.Entry
83 imageData = cursor.getBlob(INDEX_PHOTO_BLOB); in Entry()
121 entry.imageData = cursor.getBlob(1); in saveData()
137 entry.imageData = cursor.getBlob(1); in saveData()
155 values.put(FIELD_PHOTO_BLOB, entry.imageData); in restoreData()
289 values.put(FIELD_PHOTO_BLOB, entry.imageData); in updateEntry()
DPhotoAppWidgetProvider.java108 byte[] data = entry.imageData; in buildFrameWidget()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java1066 byte[] imageData = mMosaicFrameProcessor.getFinalMosaicNV21(); in generateFinalMosaic()
1067 if (imageData == null) { in generateFinalMosaic()
1072 int len = imageData.length - 8; in generateFinalMosaic()
1073 int width = (imageData[len + 0] << 24) + ((imageData[len + 1] & 0xFF) << 16) in generateFinalMosaic()
1074 + ((imageData[len + 2] & 0xFF) << 8) + (imageData[len + 3] & 0xFF); in generateFinalMosaic()
1075 int height = (imageData[len + 4] << 24) + ((imageData[len + 5] & 0xFF) << 16) in generateFinalMosaic()
1076 + ((imageData[len + 6] & 0xFF) << 8) + (imageData[len + 7] & 0xFF); in generateFinalMosaic()
1086 YuvImage yuvimage = new YuvImage(imageData, ImageFormat.NV21, width, height, null); in generateFinalMosaic()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoSource.java132 ImageData imageData = null; in next() local
140 imageData = mImageQueue.poll(); in next()
142 if (imageData != null) { in next()
143 image = load(imageData, options, longSide, shortSide); in next()
144 mImageMap.put(image, imageData); in next()
145 imageData = null; in next()
DStockSource.java57 ImageData imageData = new ImageData(); in StockSource() local
58 imageData.id = Integer.toString(i); in StockSource()
59 mImageCache.add(imageData); in StockSource()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DEvenMoreAsserts.java101 private static final String getImageDimensions(byte[] imageData) { in getImageDimensions() argument
104 BitmapFactory.decodeByteArray(imageData, 0, imageData.length, o); in getImageDimensions()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/
DQrCamera.java238 (imageData, camera) -> { in doInBackground() argument
239 mImage = getFrameImage(imageData); in doInBackground()
342 private QrYuvLuminanceSource getFrameImage(byte[] imageData) { in getFrameImage() argument
345 QrYuvLuminanceSource image = new QrYuvLuminanceSource(imageData, size.width, size.height); in getFrameImage()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java759 FilmstripItem imageData = mDataAdapter.getFilmstripItemAt(index); in measureViewItem() local
760 if (imageData == null) { in measureViewItem()
766 imageData.getDimensions().getWidth(), in measureViewItem()
767 imageData.getDimensions().getHeight(), in measureViewItem()
768 imageData.getOrientation(), in measureViewItem()
2405 FilmstripItem imageData = mDataAdapter.getFilmstripItemAt(curr.getAdapterIndex());
2406 if (imageData == null || !imageData.getAttributes().canZoomInPlace()) {
2409 float imageWidth = imageData.getDimensions().getWidth();
2410 if (imageData.getOrientation() == 90
2411 || imageData.getOrientation() == 270) {
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCamera.java248 (imageData, camera) -> { in doInBackground() argument
249 mImage = getFrameImage(imageData); in doInBackground()
349 private QrYuvLuminanceSource getFrameImage(byte[] imageData) { in getFrameImage() argument
351 final QrYuvLuminanceSource image = new QrYuvLuminanceSource(imageData, in getFrameImage()