Home
last modified time | relevance | path

Searched refs:mWidgetPreviewLoader (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsListAdapter.java62 private WidgetPreviewLoader mWidgetPreviewLoader; field in WidgetsListAdapter
146 widget.applyFromAppWidgetProviderInfo(info, mWidgetPreviewLoader); in onBindViewHolder()
151 … widget.applyFromResolveInfo(mLauncher.getPackageManager(), info, mWidgetPreviewLoader); in onBindViewHolder() local
204 if (mWidgetPreviewLoader == null) { in getWidgetPreviewLoader()
205 mWidgetPreviewLoader = LauncherAppState.getInstance().getWidgetCache(); in getWidgetPreviewLoader()
207 return mWidgetPreviewLoader; in getWidgetPreviewLoader()
DWidgetCell.java77 private WidgetPreviewLoader mWidgetPreviewLoader; field in WidgetCell
152 mWidgetPreviewLoader = loader; in applyFromAppWidgetProviderInfo()
164 mWidgetPreviewLoader = loader; in applyFromResolveInfo()
193 mActiveRequest = mWidgetPreviewLoader.getPreview(mInfo, size[0], size[1], this); in ensurePreview()
DWidgetsContainerView.java71 private WidgetPreviewLoader mWidgetPreviewLoader; field in WidgetsContainerView
340 if (mWidgetPreviewLoader == null) { in getWidgetPreviewLoader()
341 mWidgetPreviewLoader = LauncherAppState.getInstance().getWidgetCache(); in getWidgetPreviewLoader()
343 return mWidgetPreviewLoader; in getWidgetPreviewLoader()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewWidget.java51 private WidgetPreviewLoader mWidgetPreviewLoader; field in PagedViewWidget
100 mWidgetPreviewLoader.recycleBitmap(mInfo, preview.getBitmap()); in onDetachedFromWindow()
123 mWidgetPreviewLoader = loader; in applyFromAppWidgetProviderInfo()
137 mWidgetPreviewLoader = loader; in applyFromResolveInfo()
DAppsCustomizePagedView.java244 WidgetPreviewLoader mWidgetPreviewLoader; field in AppsCustomizePagedView
357 if (mWidgetPreviewLoader == null) { in onDataReady()
358 mWidgetPreviewLoader = new WidgetPreviewLoader(mLauncher); in onDataReady()
730 preview = mWidgetPreviewLoader.generateWidgetPreview(createWidgetInfo.info, spanX, in beginDraggingWidget()
735 mWidgetPreviewLoader.maxWidthForWidgetPreview(spanX)); in beginDraggingWidget()
1141 }, mWidgetPreviewLoader); in prepareLoadWidgetPreviewsTask()
1205 widget.applyFromAppWidgetProviderInfo(info, -1, spanXY, mWidgetPreviewLoader); in syncWidgetPageItems()
1215 widget.applyFromResolveInfo(mPackageManager, info, mWidgetPreviewLoader); in syncWidgetPageItems()
1252 mWidgetPreviewLoader.setPreviewSize( in syncWidgetPageItems()
1256 maxPreviewWidth, maxPreviewHeight, null, null, mWidgetPreviewLoader); in syncWidgetPageItems()
[all …]