Home
last modified time | relevance | path

Searched refs:getImage (Results 1 – 25 of 69) sorted by relevance

123

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageShow.java143 return PrimaryImage.getImage().hasModifications(); in hasModifications()
190 PrimaryImage.getImage().addObserver(this); in attach()
192 PrimaryImage.getImage().resetGeometryImages(false); in attach()
196 PrimaryImage.getImage().removeObserver(this); in detach()
213 return PrimaryImage.getImage().getCurrentFilter(); in getCurrentFilter()
224 PrimaryImage primary = PrimaryImage.getImage(); in getImageToScreenMatrix()
252 return PrimaryImage.getImage().getPreset(); in getImagePreset()
260 PrimaryImage.getImage().setImageShowSize( in onDraw()
264 PrimaryImage img = PrimaryImage.getImage(); in onDraw()
281 Bitmap highresPreview = PrimaryImage.getImage().getHighresImage(); in onDraw()
[all …]
DGeometryMathUtils.java296 Collection<FilterRepresentation> geometry = PrimaryImage.getImage().getPreset() in initializeHolder()
319 BitmapCache bitmapCache = PrimaryImage.getImage().getBitmapCache(); in applyFullGeometryMatrix()
375 int orientation = PrimaryImage.getImage().getZoomOrientation(); in getOriginalToScreen()
394 BitmapCache cache = PrimaryImage.getImage().getBitmapCache(); in applyGeometryRepresentations()
DImageCrop.java231 PrimaryImage primary = PrimaryImage.getImage(); in forceStateConsistency()
257 Bitmap bitmap = PrimaryImage.getImage().getFiltersOnlyImage(); in onDraw()
259 PrimaryImage.getImage().invalidateFiltersOnly(); in onDraw()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/
DImageTest.java196 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithArt()
210 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithAlbumArt()
224 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithDisplayIcon()
238 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithArtUri()
252 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithAlbumArtUri()
267 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithDisplayIconUri()
279 assertThat(artwork.getImage()).isNull(); in testCreateImageFromMediaMetadataWithoutArtwork()
292 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaDescriptionWithImage()
305 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaDescriptionWithUri()
318 assertThat(artwork.getImage()).isNull(); in testCreateImageFromMediaDescriptionWithoutArtwork()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcp/
DAvrcpCoverArtStorageTest.java83 assertThat(mAvrcpCoverArtStorage.getImage(handle)).isEqualTo(artwork); in testStoreImage()
109 assertThat(mAvrcpCoverArtStorage.getImage(handle_green)).isEqualTo(artwork_green); in testStoreSecondImage()
110 assertThat(mAvrcpCoverArtStorage.getImage(handle_blue)).isEqualTo(artwork_blue); in testStoreSecondImage()
140 assertThat(mAvrcpCoverArtStorage.getImage(handle_orange)).isEqualTo(artwork_orange); in testStoreThirdImageWithLruAsFirstImage()
141 assertThat(mAvrcpCoverArtStorage.getImage(handle_blue)).isEqualTo(artwork_blue); in testStoreThirdImageWithLruAsFirstImage()
142 assertThat(mAvrcpCoverArtStorage.getImage(handle_green)).isNull(); in testStoreThirdImageWithLruAsFirstImage()
161 mAvrcpCoverArtStorage.getImage(handle_green); in testStoreThirdImageWithLruAsSecondImage()
175 assertThat(mAvrcpCoverArtStorage.getImage(handle_orange)).isEqualTo(artwork_orange); in testStoreThirdImageWithLruAsSecondImage()
176 assertThat(mAvrcpCoverArtStorage.getImage(handle_green)).isEqualTo(artwork_green); in testStoreThirdImageWithLruAsSecondImage()
177 assertThat(mAvrcpCoverArtStorage.getImage(handle_blue)).isNull(); in testStoreThirdImageWithLruAsSecondImage()
DCoverArtTest.java147 assertThat(artwork.getImage()).isNotNull(); in testCreateCoverArtFromImage()
208 byte[] image = artwork.getImage(); in testGetNativeImage()
255 byte[] image = artwork.getImage(descriptor); in testGetImageWithValidDescriptor()
266 byte[] imageBytes = artwork.getImage(descriptor); in testGetImageWithThumbnailDescriptor()
279 byte[] image = artwork.getImage(descriptor); in testGetImageWithInvalidDescriptor()
289 byte[] image = artwork.getImage(null); in testGetImageWithoutDescriptor()
290 byte[] nativeImage = artwork.getImage(); in testGetImageWithoutDescriptor()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java386 PrimaryImage.getImage().setHistoryManager(mPrimaryImage.getHistory()); in setupStatePanel()
417 ImagePreset current = new ImagePreset(PrimaryImage.getImage().getPreset()); in updateVersions()
433 ImagePreset current = new ImagePreset(PrimaryImage.getImage().getPreset()); in addCurrentVersion()
608 ImagePreset oldPreset = PrimaryImage.getImage().getPreset(); in removeFilterRepresentation()
611 PrimaryImage.getImage().setPreset(copy, copy.getLastRepresentation(), true); in removeFilterRepresentation()
612 if (PrimaryImage.getImage().getCurrentFilterRepresentation() == filterRepresentation) { in removeFilterRepresentation()
614 PrimaryImage.getImage().setCurrentFilterRepresentation(lastRepresentation); in removeFilterRepresentation()
624 && PrimaryImage.getImage().getCurrentFilterRepresentation() == filterRepresentation) { in useFilterRepresentation()
630 PrimaryImage.getImage().onNewLook(filterRepresentation); in useFilterRepresentation()
632 ImagePreset oldPreset = PrimaryImage.getImage().getPreset(); in useFilterRepresentation()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditor.java99 PrimaryImage.getImage().resetGeometryImages(false); in setUpEditorUI()
197 ImagePreset preset = PrimaryImage.getImage().getPreset(); in getLocalRepresentation()
199 PrimaryImage.getImage().getCurrentFilterRepresentation(); in getLocalRepresentation()
234 ImagePreset preset = PrimaryImage.getImage().getPreset(); in commitLocalRepresentation()
241 PrimaryImage.getImage().resetGeometryImages(true); in commitLocalRepresentation()
244 PrimaryImage.getImage().invalidateFiltersOnly(); in commitLocalRepresentation()
245 preset.fillImageStateAdapter(PrimaryImage.getImage().getState()); in commitLocalRepresentation()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DCachingPipeline.java166 mEnvironment.setBitmapCache(PrimaryImage.getImage().getBitmapCache()); in setupEnvironment()
180 ImagePreset preset = PrimaryImage.getImage().getPreset(); in setOriginal()
222 Bitmap bitmap = PrimaryImage.getImage().getOriginalBitmapHighres(); in renderHighres()
247 Bitmap bitmap = PrimaryImage.getImage().getOriginalBitmapHighres(); in renderGeometry()
269 Bitmap bitmap = PrimaryImage.getImage().getOriginalBitmapHighres(); in renderFilters()
307 PrimaryImage primary = PrimaryImage.getImage(); in render()
352 Bitmap source = PrimaryImage.getImage().getThumbnailBitmap(); in render()
354 source = PrimaryImage.getImage().getLargeThumbnailBitmap(); in render()
429 SharedBuffer buffer = PrimaryImage.getImage().getPreviewBuffer(); in needsRepaint()
DUpdatePreviewTask.java57 SharedBuffer buffer = PrimaryImage.getImage().getPreviewBuffer(); in doInBackground()
58 SharedPreset preset = PrimaryImage.getImage().getPreviewPreset(); in doInBackground()
72 PrimaryImage.getImage().notifyObservers(); in onResult()
DRenderingRequest.java74 bitmap = PrimaryImage.getImage().getBitmapCache().getBitmap( in post()
81 request.setScaleFactor(PrimaryImage.getImage().getScaleFactor()); in post()
106 request.setScaleFactor(PrimaryImage.getImage().getScaleFactor()); in postIconRequest()
DBuffer.java37 BitmapCache cache = PrimaryImage.getImage().getBitmapCache(); in Buffer()
91 BitmapCache cache = PrimaryImage.getImage().getBitmapCache(); in remove()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageTest.java66 Assert.assertTrue(bitmap.sameAs(image.getImage())); in testParseImage_200by200()
80 Assert.assertTrue(bitmap.sameAs(image.getImage())); in testParseImage_600by600()
90 Assert.assertTrue(bitmap.sameAs(image.getImage())); in testMakeFromImage_200by200()
100 Assert.assertTrue(bitmap.sameAs(image.getImage())); in testMakeFromImage_600by600()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DAction.java124 Bitmap temp = PrimaryImage.getImage().getTemporaryThumbnailBitmap(); in setImageFrame()
128 Bitmap bitmap = PrimaryImage.getImage().getThumbnailBitmap(); in setImageFrame()
137 public Bitmap getImage() { in getImage() method in Action
226 && mImage != PrimaryImage.getImage().getTemporaryThumbnailBitmap()) { in clearBitmap()
227 PrimaryImage.getImage().getBitmapCache().cache(mImage); in clearBitmap()
DCategoryView.java118 if (mAction.getImage() != null) { in onDraw()
119 setBitmap(mAction.getImage()); in onDraw()
142 setBitmap(mAction.getImage()); in setAction()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/
DCoverArt.java56 mImage = Bitmap.createScaledBitmap(image.getImage(), 200, 200, false); in CoverArt()
115 public byte[] getImage() { in getImage() method in CoverArt
128 public byte[] getImage(BipImageDescriptor descriptor) { in getImage() method in CoverArt
131 if (descriptor == null) return getImage(); in getImage()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
DExportDialog.java108 mOriginalBounds = PrimaryImage.getImage().getOriginalBounds(); in onCreateView()
109 ImagePreset preset = PrimaryImage.getImage().getPreset(); in onCreateView()
159 Uri sourceUri = PrimaryImage.getImage().getUri(); in onClick()
163 .getImage().getPreset(), dest, activity.getSelectedImageUri(), sourceUri, in onClick()
172 Bitmap bitmap = PrimaryImage.getImage().getFilteredImage(); in updateCompressionFactor()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpBipObexServer.java216 CoverArt image = mAvrcpCoverArtService.getImage(imageHandle); in handleGetImageThumbnail()
248 CoverArt image = mAvrcpCoverArtService.getImage(imageHandle); in handleGetImageProperties()
292 CoverArt image = mAvrcpCoverArtService.getImage(imageHandle); in handleGetImage()
301 imageBytes = image.getImage(); in handleGetImage()
303 imageBytes = image.getImage(descriptor); in handleGetImage()
DAvrcpCoverArtService.java150 if (image == null || image.getImage() == null) return null; in storeImage()
157 public CoverArt getImage(String imageHandle) { in getImage() method in AvrcpCoverArtService
159 return mStorage.getImage(imageHandle); in getImage()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DMediaSetSource.java65 public Bitmap getImage(int index) { in getImage() method in MediaSetSource
66 return mSource.getImage(index); in getImage()
169 public synchronized Bitmap getImage(int index) { in getImage() method in MediaSetSource.CheckedMediaSetSource
215 public Bitmap getImage(int index) { in getImage() method in MediaSetSource.EmptySource
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
DInfoPanel.java73 Bitmap bitmap = PrimaryImage.getImage().getFilteredImage(); in onCreateView()
84 Uri uri = PrimaryImage.getImage().getUri(); in onCreateView()
94 Rect originalBounds = PrimaryImage.getImage().getOriginalBounds(); in onCreateView()
97 List<ExifTag> exif = PrimaryImage.getImage().getEXIF(); in onCreateView()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpCoverArtProvider.java76 private Bitmap getImage(BluetoothDevice device, String imageUuid) { in getImage() method in AvrcpCoverArtProvider
88 return manager.getImage(device, imageUuid); in getImage()
94 Bitmap image = getImage(device, imageUuid); in getImageDescriptor()
DAvrcpCoverArtManager.java335 public Bitmap getImage(BluetoothDevice device, String imageUuid) { in getImage() method in AvrcpCoverArtManager
336 return mCoverArtStorage.getImage(device, imageUuid); in getImage()
446 client.getImage(imageHandle, descriptor); in onGetImagePropertiesComplete()
459 Uri uri = mCoverArtStorage.addImage(mDevice, imageUuid, image.getImage()); in onGetImageComplete()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/
DImageBinder.java65 default @Nullable Drawable getImage(Context context) { in getImage() method
116 Drawable image = mCurrentRef.getImage(context); in setImage()
138 getImageFetcher(context).getImage(context, mCurrentKey, mFetchReceiver); in setImage()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpCoverArtStorageTest.java91 Bitmap image = mAvrcpCoverArtStorage.getImage(device, handle); in assertImageSame()
204 Bitmap image = mAvrcpCoverArtStorage.getImage(mDevice1, mHandle1); in getImageThatDoesntExist_returnsNull()
211 Bitmap image = mAvrcpCoverArtStorage.getImage(null, mHandle1); in getImageNullDevice_returnsNull()
218 Bitmap image = mAvrcpCoverArtStorage.getImage(mDevice1, null); in getImageNullHandle_returnsNull()
225 Bitmap image = mAvrcpCoverArtStorage.getImage(mDevice1, ""); in getImageEmptyHandle_returnsNull()

123