Lines Matching defs:appWidgetId
206 int appWidgetId = appWidgetIdsBoundToHost[i];
207 if (!contains(appWidgetIdsInKeyguardSettings, appWidgetId)) {
208 Log.d(TAG, "Found a appWidgetId that's not being used by keyguard, deleting id "
209 + appWidgetId);
210 mAppWidgetHost.deleteAppWidgetId(appWidgetId);
457 final int appWidgetId = ((KeyguardWidgetFrame) v).getContentAppWidgetId();
458 if (appWidgetId != AppWidgetManager.INVALID_APPWIDGET_ID &&
459 appWidgetId != LockPatternUtils.ID_DEFAULT_STATUS_WIDGET) {
460 mAppWidgetHost.deleteAppWidgetId(appWidgetId);
733 int appWidgetId;
740 appWidgetId = mAppWidgetHost.allocateAppWidgetId();
743 mAppWidgetManager.bindAppWidgetId(appWidgetId, defaultAppWidget);
746 mAppWidgetHost.deleteAppWidgetId(appWidgetId);
747 appWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID;
749 return appWidgetId;
770 int appWidgetId = allocateIdForDefaultAppWidget();
771 if (appWidgetId != AppWidgetManager.INVALID_APPWIDGET_ID) {
772 addedDefaultAppWidget = addWidget(appWidgetId, insertPageIndex, true);
777 int appWidgetId = mLockPatternUtils.getFallbackAppWidgetId();
778 if (appWidgetId == AppWidgetManager.INVALID_APPWIDGET_ID) {
779 appWidgetId = allocateIdForDefaultAppWidget();
780 if (appWidgetId != AppWidgetManager.INVALID_APPWIDGET_ID) {
781 mLockPatternUtils.writeFallbackAppWidgetId(appWidgetId);
784 if (appWidgetId != AppWidgetManager.INVALID_APPWIDGET_ID) {
785 addedDefaultAppWidget = addWidget(appWidgetId, insertPageIndex, false);
787 mAppWidgetHost.deleteAppWidgetId(appWidgetId);
1086 public void goToWidget(int appWidgetId) {
1087 mAppWidgetToShow = appWidgetId;