Lines Matching refs:appWidgetId
113 int appWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID; in onActivityResult() local
115 appWidgetId = data.getExtras().getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); in onActivityResult()
119 setAppWidget(appWidgetId); in onActivityResult()
121 mAppWidgetHost.deleteAppWidgetId(appWidgetId); in onActivityResult()
129 int appWidgetId = data.getExtras().getInt( in onActivityResult() local
132 finishSetAppWidget(appWidgetId); in onActivityResult()
134 mAppWidgetHost.deleteAppWidgetId(appWidgetId); in onActivityResult()
140 private void setAppWidget(int appWidgetId) { in setAppWidget() argument
147 AppWidgetManager.getInstance(getBaseContext()).getAppWidgetInfo(appWidgetId); in setAppWidget()
152 configureIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in setAppWidget()
165 finishSetAppWidget(appWidgetId); in setAppWidget()
169 private void finishSetAppWidget(int appWidgetId) { in finishSetAppWidget() argument
171 AppWidgetManager.getInstance(getBaseContext()).getAppWidgetInfo(appWidgetId); in finishSetAppWidget()
174 mAppWidgetHost.createView(getBaseContext(), appWidgetId, providerInfo); in finishSetAppWidget()
183 AppWidgetManager.getInstance(getBaseContext()).getAppWidgetInfo(appWidgetId).label; in finishSetAppWidget()
192 mAppWidgetId = appWidgetId; in finishSetAppWidget()