Searched refs:appWidgetInfo (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetInflater.kt | 49 val appWidgetInfo: LauncherAppWidgetProviderInfo? in inflateAppWidget() constant 56 appWidgetInfo = widgetHelper.findProvider(item.providerName, item.user) in inflateAppWidget() 57 if (appWidgetInfo == null) { in inflateAppWidget() 72 appWidgetInfo = in inflateAppWidget() 74 if (appWidgetInfo == null) { in inflateAppWidget() 94 if (appWidgetInfo == null) { in inflateAppWidget() 116 val pendingInfo = PendingAddWidgetInfo(appWidgetInfo, item.sourceContainer) in inflateAppWidget() 134 appWidgetInfo, in inflateAppWidget() 150 if ((appWidgetInfo.configure == null) || isDirectConfig) in inflateAppWidget() 158 (appWidgetInfo.configure == null)) in inflateAppWidget() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | WorkspaceItemProcessor.kt | 434 val appWidgetInfo = LauncherAppWidgetInfo(c.appWidgetId, component) in processWidget() constant 435 c.applyCommonProperties(appWidgetInfo) in processWidget() 436 appWidgetInfo.spanX = c.spanX in processWidget() 437 appWidgetInfo.spanY = c.spanY in processWidget() 438 appWidgetInfo.options = c.options in processWidget() 439 appWidgetInfo.user = c.user in processWidget() 440 appWidgetInfo.sourceContainer = c.appWidgetSource in processWidget() 441 appWidgetInfo.restoreStatus = c.restoreFlag in processWidget() 442 if (appWidgetInfo.spanX <= 0 || appWidgetInfo.spanY <= 0) { in processWidget() 463 if (appWidgetInfo.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_DIRECT_CONFIG)) { in processWidget() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | ItemClickHandler.java | 216 LauncherAppWidgetProviderInfo appWidgetInfo = new WidgetManagerHelper(launcher) in onClickPendingWidget() local 218 if (appWidgetInfo == null) { in onClickPendingWidget() 224 WidgetAddFlowHandler addFlowHandler = new WidgetAddFlowHandler(appWidgetInfo); in onClickPendingWidget()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Launcher.java | 1493 @Nullable AppWidgetHostView hostView, LauncherAppWidgetProviderInfo appWidgetInfo, 1497 if (appWidgetInfo == null) { 1498 appWidgetInfo = mAppWidgetManager.getLauncherAppWidgetInfo(appWidgetId, 1504 hostView = mAppWidgetHolder.createView(appWidgetId, appWidgetInfo); 1510 appWidgetId, appWidgetInfo.provider, appWidgetInfo, hostView); 1515 launcherInfo.user = appWidgetInfo.getProfile(); 1520 this, mAppWidgetHolder, launcherInfo, appWidgetInfo, widgetPreviewBitmap);
|
D | Workspace.java | 3150 LauncherAppWidgetInfo appWidgetInfo = (LauncherAppWidgetInfo) info; 3151 if (appWidgetInfo.appWidgetId == appWidgetId) { 3152 mLauncher.removeItem(view, appWidgetInfo, true,
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/ |
D | GeneratedPreviewTest.kt | 157 assertThat(widgetCell.appWidgetHostViewPreview?.appWidgetInfo) in widgetCell_showGeneratedPreview()
|