Home
last modified time | relevance | path

Searched refs:mImage (Results 1 – 22 of 22) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcp/
DCoverArtTest.java56 private Image mImage = null; field in CoverArtTest
66 mImage = new Image(null, m200by200Image); in setUp()
73 mImage = null; in tearDown()
128 CoverArt artwork = new CoverArt(mImage); in testCreateCoverArtFromImage()
135 CoverArt artwork = new CoverArt(mImage); in testGetImageHash()
143 CoverArt artwork = new CoverArt(mImage); in testGetImageHashSameForMultipleCalls()
153 CoverArt artwork = new CoverArt(mImage); in testGetImageHashSameForSameImages()
154 CoverArt artwork2 = new CoverArt(mImage); in testGetImageHashSameForSameImages()
168 CoverArt artwork = new CoverArt(mImage); in testGetImageHashDifferentForDifferentImages()
181 CoverArt artwork = new CoverArt(mImage); in testGetNativeImage()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DAction.java47 private Bitmap mImage; field in Action
126 mImage = temp; in setImageFrame()
138 return mImage; in getImage()
142 mImage = image; in setImage()
181 mImage = request.getBitmap(); in available()
182 if (mImage == null) { in available()
193 Canvas canvas = new Canvas(mImage); in available()
196 new Rect(0, 0, mImage.getWidth(), mImage.getHeight()), new Paint()); in available()
198 Canvas canvas = new Canvas(mImage); in available()
200 drawCenteredImage(mOverlayBitmap, mImage, false); in available()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/helpers/
DCoverArt.java46 private Bitmap mImage = null; field in CoverArt
53 mImage = Bitmap.createScaledBitmap(image.getImage(), 200, 200, false); in CoverArt()
85 byte[] image = toByteArray(mImage); in getImageHash()
107 if (mImage == null) return null; in getImage()
109 mImage.compress(Bitmap.CompressFormat.JPEG, 100, outputStream); in getImage()
116 if (mImage == null) return null; in getImage()
124 mImage.compress(Bitmap.CompressFormat.JPEG, 100, outputStream); in getImage()
145 if (mImage == null) return null; in getThumbnail()
147 mImage.compress(Bitmap.CompressFormat.JPEG, 100, outputStream); in getThumbnail()
154 if (mImage == null) { in getImageProperties()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DAndroidImageProxy.java89 private final android.media.Image mImage; field in AndroidImageProxy
101 mImage = image; in AndroidImageProxy()
106 mFormat = mImage.getFormat(); in AndroidImageProxy()
107 mWidth = mImage.getWidth(); in AndroidImageProxy()
108 mHeight = mImage.getHeight(); in AndroidImageProxy()
109 mTimestamp = mImage.getTimestamp(); in AndroidImageProxy()
112 planes = mImage.getPlanes(); in AndroidImageProxy()
131 mCropRect = mImage.getCropRect(); in getCropRect()
148 mImage.setCropRect(cropRect); in setCropRect()
201 mImage.close(); in close()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/ui/
DDescriptiveTextWithControlsView.java28 private CardBackgroundImage mImage; field in DescriptiveTextWithControlsView
40 mImage = image; in DescriptiveTextWithControlsView()
47 mImage = image; in DescriptiveTextWithControlsView()
56 mImage = image; in DescriptiveTextWithControlsView()
67 mImage = image; in DescriptiveTextWithControlsView()
82 return mImage; in getImage()
DDescriptiveTextView.java26 private Drawable mImage; field in DescriptiveTextView
37 mImage = image; in DescriptiveTextView()
67 return mImage; in getImage()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImage.java32 private Bitmap mImage = null; field in BipImage
41 mImage = image; in BipImage()
47 mImage = BitmapFactory.decodeStream(inputStream); in parse()
55 return mImage; in getImage()
DRequestGetImage.java37 private BipImage mImage = null; field in RequestGetImage
69 mImage = new BipImage(mImageHandle, stream); in readResponse()
70 debug("Response GetImage - handle:" + mImageHandle + ", image: " + mImage); in readResponse()
88 return mImage; in getImage()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DImageCaptureManager.java146 private Image mImage = null; field in ImageCaptureManager.CapturedImage
154 if (mImage != null) { in reset()
155 mImage.close(); in reset()
162 mImage = null; in reset()
172 return mImage != null && mMetadata != null; in isComplete()
182 if (mImage != null) { in addImage()
186 mImage = image; in addImage()
194 return mImage; in tryGetImage()
223 if (mImage != null) { in tryGetTimestamp()
224 return mImage.getTimestamp(); in tryGetTimestamp()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/preferences/
DWifiTetherQrCodePreference.java37 private Bitmap mImage; field in WifiTetherQrCodePreference
71 if (qrCode != null && mImage != null) { in onBindViewHolder()
72 qrCode.setImageBitmap(mImage); in onBindViewHolder()
93 mImage = bmp; in setPreferenceInfo()
/packages/apps/Gallery/src/com/android/camera/
DImageLoader.java76 if (mQueue.get(i).mImage == image) { in findItem()
97 IImage mImage; field in ImageLoader.WorkItem
102 mImage = image; in WorkItem()
137 final Bitmap b = workItem.mImage.miniThumbBitmap(); in run()
DCropImage.java88 private IImage mImage; field in CropImage
137 mImage = mAllImages.getImageForUri(target); in onCreate()
138 if (mImage != null) { in onCreate()
143 mBitmap = mImage.thumbBitmap(IImage.ROTATE_AS_NEEDED); in onCreate()
185 final Bitmap b = (mImage != null) in startFaceDetection()
186 ? mImage.fullSizeBitmap(IImage.UNCONSTRAINED, in startFaceDetection()
351 File oldPath = new File(mImage.getDataPath()); in saveOutput()
374 mImage.getTitle(), in saveOutput()
375 mImage.getDateTaken(), in saveOutput()
/packages/apps/Gallery/src/com/android/camera/gallery/
DImageListUber.java135 IImage result = slot.mImage; in getImageAt()
233 if (slot.mImage == image) { in getImageIndex()
275 IImage mImage; field in ImageListUber.MergeSlot
284 mImage = mList.getImageAt(++mOffset); in next()
285 mDateTaken = mImage.getDateTaken(); in next()
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskImageContainer.java152 final protected ImageToProcess mImage; field in TaskImageContainer
168 mImage = null; in TaskImageContainer()
184 mImage = image; in TaskImageContainer()
185 mId = mImage.proxy.getTimestamp(); in TaskImageContainer()
DTaskChainedCompressImageToJpeg.java51 ImageToProcess img = mImage; in run()
55 final TaskImage inputImage = new TaskImage(mImage.rotation, img.proxy.getWidth(), in run()
57 final TaskImage resultImage = new TaskImage(mImage.rotation, img.proxy.getWidth(), in run()
DImageBackend.java787 if (task.mImage != null && task.mImage != img) { in numPropagatedImageReferences()
791 if (task.mImage != null) { in numPropagatedImageReferences()
DTaskPreviewChainedJpeg.java63 ImageToProcess img = mImage; in run()
DTaskCompressImageToJpeg.java110 ImageToProcess img = mImage; in run()
DTaskConvertImageToRGBPreview.java867 ImageToProcess img = mImage; in run()
/packages/apps/Gallery/tests/src/com/android/camera/
DBitmapManagerUnitTests.java31 IImage mImage; field in BitmapManagerUnitTests
43 bitmap = mImage.thumbBitmap(IImage.ROTATE_AS_NEEDED); in run()
61 mImage = mImageList.getImageAt(0); in setUp()
/packages/providers/MediaProvider/tools/dialogs/src/com/android/providers/media/tools/dialogs/
DDialogsActivity.java55 private final ArrayList<Uri> mImage = new ArrayList<>(); field in DialogsActivity
61 uris.addAll(mImage.stream().limit(mImageCount.getValue()).collect(Collectors.toList()));
149 mImage.add(MediaStore.Images.Media in doInBackground()
162 mImageCount.setMaxValue(mImage.size()); in onPostExecute()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/helpers/
DImage.java46 private Bitmap mImage = null; field in Image
159 mImage = image; in setImage()
165 return mImage; in getImage()