/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/ |
D | CachingWidgetPreviewLoaderTest.java | 107 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/ |
D | PinItemDragListener.java | 101 dragHelper.setRemoteViewsPreview(getPreview(mRequest)); in createDragHelper() 112 public static RemoteViews getPreview(PinItemRequest request) { in getPreview() method in PinItemDragListener
|
D | AddItemActivity.java | 256 mWidgetCell.setRemoteViewsPreview(PinItemDragListener.getPreview(mRequest)); in setupWidget()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | GridCustomizationsProvider.java | 199 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/ |
D | CachingWidgetPreviewLoader.java | 50 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/ |
D | DrawableTileSource.java | 67 public BasicTexture getPreview() { in getPreview() method in DrawableTileSource
|
D | WallpaperCropActivity.java | 290 oldSrc.getPreview().yield(); in onLoadRequestComplete()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 115 public BasicTexture getPreview() { in getPreview() method in BitmapRegionTileSource
|
/packages/apps/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 143 public BasicTexture getPreview(); in getPreview() method 228 mPreview = mModel.getPreview(); in notifyModelInvalidated()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 143 public BasicTexture getPreview(); in getPreview() method 228 mPreview = mModel.getPreview(); in notifyModelInvalidated()
|
D | TiledImageView.java | 382 public BasicTexture getPreview() { in getPreview() method in TiledImageView.ColoredTiles
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
D | WidgetsListTableViewHolderBinder.java | 126 Bitmap preview = mWidgetPreviewLoader.getPreview(widgetItem, previewSize); in bindViewHolder()
|
/packages/apps/WallpaperPicker/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 349 public BasicTexture getPreview() { in getPreview() method in BitmapRegionTileSource
|