Lines Matching refs:appWidgetId

835             int requestCode, Intent intent, int appWidgetId, PendingRequestArgs info) {
851 completeAddAppWidget(appWidgetId, info, null, null, false, true, null);
855 completeRestoreAppWidget(appWidgetId, LauncherAppWidgetInfo.RESTORE_COMPLETED);
858 int widgetId = appWidgetId;
922 final int appWidgetId = data != null ?
925 completeTwoStageWidgetDrop(RESULT_CANCELED, appWidgetId, requestArgs);
930 appWidgetId, requestArgs, null,
942 final int appWidgetId;
946 appWidgetId = pendingAddWidgetId;
948 appWidgetId = widgetId;
952 if (appWidgetId < 0 || resultCode == RESULT_CANCELED) {
956 completeTwoStageWidgetDrop(result, appWidgetId, requestArgs);
977 completeTwoStageWidgetDrop(resultCode, appWidgetId, requestArgs);
1040 final int resultCode, final int appWidgetId, final PendingRequestArgs requestArgs) {
1055 ? getWorkspace().getWidgetForAppWidgetId(appWidgetId)
1056 : mAppWidgetHolder.createView(appWidgetId,
1060 completeAddAppWidget(appWidgetId, requestArgs, layout, null, false, true, null);
1066 mAppWidgetHolder.deleteAppWidgetId(appWidgetId);
1492 void completeAddAppWidget(int appWidgetId, ItemInfo itemInfo,
1498 appWidgetInfo = mAppWidgetManager.getLauncherAppWidgetInfo(appWidgetId,
1504 hostView = mAppWidgetHolder.createView(appWidgetId, appWidgetInfo);
1510 appWidgetId, appWidgetInfo.provider, appWidgetInfo, hostView);
1527 completeRestoreAppWidget(appWidgetId, LauncherAppWidgetInfo.RESTORE_COMPLETED);
1531 getWorkspace().getWidgetForAppWidgetId(appWidgetId);
1624 this, appWidgetId -> getWorkspace().removeWidget(appWidgetId));
1852 void addAppWidgetFromDropImpl(int appWidgetId, ItemInfo info, AppWidgetHostView boundWidget,
1857 addAppWidgetImpl(appWidgetId, info, boundWidget, addFlowHandler, 0);
1865 void addAppWidgetImpl(int appWidgetId, ItemInfo info,
1868 this, appWidgetId, info, REQUEST_CREATE_APPWIDGET);
1891 completeAddAppWidget(appWidgetId, info, boundWidget,
1937 final int appWidgetId;
1946 appWidgetId = hostView.getAppWidgetId();
1947 addAppWidgetFromDropImpl(appWidgetId, info, hostView, addFlowHandler);
1955 appWidgetId = CustomWidgetManager.INSTANCE.get(this)
1958 appWidgetId = getAppWidgetHolder().allocateAppWidgetId();
1963 appWidgetId, info.info, options);
1965 addAppWidgetFromDropImpl(appWidgetId, info, null, addFlowHandler);
1967 addFlowHandler.startBindFlow(this, appWidgetId, info, REQUEST_BIND_APPWIDGET);
2352 private LauncherAppWidgetInfo completeRestoreAppWidget(int appWidgetId, int finalRestoreFlag) {
2353 LauncherAppWidgetHostView view = mWorkspace.getWidgetForAppWidgetId(appWidgetId);