• Home
  • Raw
  • Download

Lines Matching refs:appWidgetId

380         int appWidgetId;  field in Launcher.PendingAddArguments
704 completeAddAppWidget(args.appWidgetId, args.container, screenId, null, null); in completeAdd()
707 completeRestoreAppWidget(args.appWidgetId); in completeAdd()
734 final int appWidgetId = data != null ? in handleActivityResult() local
737 completeTwoStageWidgetDrop(RESULT_CANCELED, appWidgetId); in handleActivityResult()
741 addAppWidgetImpl(appWidgetId, mPendingAddInfo, null, in handleActivityResult()
762 final int appWidgetId; in handleActivityResult() local
766 appWidgetId = pendingAddWidgetId; in handleActivityResult()
768 appWidgetId = widgetId; in handleActivityResult()
772 if (appWidgetId < 0 || resultCode == RESULT_CANCELED) { in handleActivityResult()
776 completeTwoStageWidgetDrop(result, appWidgetId); in handleActivityResult()
805 completeTwoStageWidgetDrop(resultCode, appWidgetId); in handleActivityResult()
812 PendingAddArguments args = preparePendingAddArgs(requestCode, data, appWidgetId, in handleActivityResult()
877 appWidgetId, ItemInfo info) { in preparePendingAddArgs() argument
885 args.appWidgetId = appWidgetId; in preparePendingAddArgs()
908 @Thunk void completeTwoStageWidgetDrop(final int resultCode, final int appWidgetId) { in completeTwoStageWidgetDrop() argument
917 final AppWidgetHostView layout = mAppWidgetHost.createView(this, appWidgetId, in completeTwoStageWidgetDrop()
923 completeAddAppWidget(appWidgetId, mPendingAddInfo.container, in completeTwoStageWidgetDrop()
930 mAppWidgetHost.deleteAppWidgetId(appWidgetId); in completeTwoStageWidgetDrop()
1559 @Thunk void completeAddAppWidget(int appWidgetId, long container, long screenId, in completeAddAppWidget() argument
1565 mAppWidgetManager.getAppWidgetInfo(appWidgetId)); in completeAddAppWidget()
1569 appWidgetId = LauncherAppWidgetInfo.CUSTOM_WIDGET_ID; in completeAddAppWidget()
1573 launcherInfo = new LauncherAppWidgetInfo(appWidgetId, appWidgetInfo.provider); in completeAddAppWidget()
1586 launcherInfo.hostView = mAppWidgetHost.createView(this, appWidgetId, in completeAddAppWidget()
2225 void addAppWidgetImpl(final int appWidgetId, final ItemInfo info, final in addAppWidgetImpl() argument
2227 addAppWidgetImpl(appWidgetId, info, boundWidget, appWidgetInfo, 0); in addAppWidgetImpl()
2230 void addAppWidgetImpl(final int appWidgetId, final ItemInfo info, in addAppWidgetImpl() argument
2235 mPendingAddWidgetId = appWidgetId; in addAppWidgetImpl()
2238 mAppWidgetManager.startConfigActivity(appWidgetInfo, appWidgetId, this, in addAppWidgetImpl()
2251 completeAddAppWidget(appWidgetId, info.container, info.screenId, boundWidget, in addAppWidgetImpl()
2332 int appWidgetId; in addAppWidgetFromDrop() local
2334 appWidgetId = hostView.getAppWidgetId(); in addAppWidgetFromDrop()
2335 addAppWidgetImpl(appWidgetId, info, hostView, info.info); in addAppWidgetFromDrop()
2342 appWidgetId = getAppWidgetHost().allocateAppWidgetId(); in addAppWidgetFromDrop()
2346 appWidgetId, info.info, options); in addAppWidgetFromDrop()
2348 addAppWidgetImpl(appWidgetId, info, null, info.info); in addAppWidgetFromDrop()
2352 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in addAppWidgetFromDrop()
2516 int widgetId = info.appWidgetId; in onClickPendingWidget()
2525 info.appWidgetId, this, mAppWidgetHost, REQUEST_RECONFIGURE_APPWIDGET); in onClickPendingWidget()
3889 Log.d(TAG, "Removing restored widget: id=" + item.appWidgetId in bindAppWidget()
3918 Log.d(TAG, "Removing restored widget: id=" + item.appWidgetId in bindAppWidget()
3926 item.appWidgetId = newWidgetId; in bindAppWidget()
3944 final int appWidgetId = item.appWidgetId; in bindAppWidget() local
3946 Log.d(TAG, "bindAppWidget: id=" + item.appWidgetId + " belongs to component " in bindAppWidget()
3950 item.hostView = mAppWidgetHost.createView(this, appWidgetId, appWidgetInfo); in bindAppWidget()
3975 Log.d(TAG, "bound widget id="+item.appWidgetId+" in " in bindAppWidget()
3986 private void completeRestoreAppWidget(final int appWidgetId) { in completeRestoreAppWidget() argument
3987 LauncherAppWidgetHostView view = mWorkspace.getWidgetForAppWidgetId(appWidgetId); in completeRestoreAppWidget()