Home
last modified time | relevance | path

Searched refs:getPreview (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/
DCachingWidgetPreviewLoaderTest.java107 assertThat(mLoader.getPreview(mWidgetItem, SIZE_10_10)).isNull(); in getPreview_notInCache_shouldReturnNull()
112 mLoader.getPreview(mWidgetItem, SIZE_10_10); in getPreview_notInCache_shouldNotCallDelegate()
121 assertThat(mLoader.getPreview(mWidgetItem, SIZE_10_10)).isEqualTo(BITMAP); in getPreview_inCache_shouldReturnCachedBitmap()
128 assertThat(mLoader.getPreview(mWidgetItem, SIZE_20_20)).isNull(); in getPreview_otherSizeInCache_shouldReturnNull()
135 assertThat(mLoader.getPreview(mWidgetItem2, SIZE_10_10)).isNull(); in getPreview_otherItemInCache_shouldReturnNull()
143 assertThat(mLoader.getPreview(mWidgetItem, SIZE_10_10)).isEqualTo(BITMAP); in getPreview_shouldStoreMultipleSizesPerItem()
144 assertThat(mLoader.getPreview(mWidgetItem, SIZE_20_20)).isEqualTo(BITMAP2); in getPreview_shouldStoreMultipleSizesPerItem()
175 assertThat(mLoader.getPreview(mWidgetItem, SIZE_10_10)).isNull(); in loadPreview_thenCancelled_shouldCancelDelegateRequest()
202 assertThat(mLoader.getPreview(mWidgetItem, SIZE_10_10)).isEqualTo(BITMAP); in loadPreview_thenCancelled_otherCallListening_loaded_shouldCallBackToNonCancelled()
219 assertThat(mLoader.getPreview(mWidgetItem, SIZE_10_10)).isNull(); in loadPreview_thenCancelled_bothCallsCancelled_shouldCancelDelegateRequest()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DPinItemDragListener.java101 dragHelper.setRemoteViewsPreview(getPreview(mRequest)); in createDragHelper()
112 public static RemoteViews getPreview(PinItemRequest request) { in getPreview() method in PinItemDragListener
DAddItemActivity.java256 mWidgetCell.setRemoteViewsPreview(PinItemDragListener.getPreview(mRequest)); in setupWidget()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DGridCustomizationsProvider.java199 return getPreview(extras); in call()
203 private synchronized Bundle getPreview(Bundle request) { in getPreview() method in GridCustomizationsProvider
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DCachingWidgetPreviewLoader.java50 return getPreview(item, previewSize) != null; in isPreviewLoaded()
55 public Bitmap getPreview(@NonNull WidgetItem item, @NonNull Size previewSize) { in getPreview() method in CachingWidgetPreviewLoader
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DDrawableTileSource.java67 public BasicTexture getPreview() { in getPreview() method in DrawableTileSource
DWallpaperCropActivity.java290 oldSrc.getPreview().yield(); in onLoadRequestComplete()
/packages/apps/Gallery2/src/com/android/photos/
DBitmapRegionTileSource.java115 public BasicTexture getPreview() { in getPreview() method in BitmapRegionTileSource
/packages/apps/WallpaperPicker/src/com/android/photos/views/
DTiledImageRenderer.java143 public BasicTexture getPreview(); in getPreview() method
228 mPreview = mModel.getPreview(); in notifyModelInvalidated()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java143 public BasicTexture getPreview(); in getPreview() method
228 mPreview = mModel.getPreview(); in notifyModelInvalidated()
DTiledImageView.java382 public BasicTexture getPreview() { in getPreview() method in TiledImageView.ColoredTiles
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListTableViewHolderBinder.java126 Bitmap preview = mWidgetPreviewLoader.getPreview(widgetItem, previewSize); in bindViewHolder()
/packages/apps/WallpaperPicker/src/com/android/photos/
DBitmapRegionTileSource.java349 public BasicTexture getPreview() { in getPreview() method in BitmapRegionTileSource