Lines Matching refs:LauncherAppWidgetInfo
636 completeRestoreAppWidget(appWidgetId, LauncherAppWidgetInfo.RESTORE_COMPLETED); in completeAdd()
640 LauncherAppWidgetInfo widgetInfo = in completeAdd()
641 completeRestoreAppWidget(widgetId, LauncherAppWidgetInfo.FLAG_UI_NOT_READY); in completeAdd()
1237 LauncherAppWidgetInfo launcherInfo; in completeAddAppWidget()
1238 launcherInfo = new LauncherAppWidgetInfo(appWidgetId, appWidgetInfo.provider); in completeAddAppWidget()
1257 private void prepareAppWidget(AppWidgetHostView hostView, LauncherAppWidgetInfo item) { in prepareAppWidget()
1707 } else if (itemInfo instanceof LauncherAppWidgetInfo) { in removeItem()
1708 final LauncherAppWidgetInfo widgetInfo = (LauncherAppWidgetInfo) itemInfo; in removeItem()
2039 view = inflateAppWidget((LauncherAppWidgetInfo) item); in bindItems()
2112 public void bindAppWidget(LauncherAppWidgetInfo item) { in bindAppWidget()
2120 private View inflateAppWidget(LauncherAppWidgetInfo item) { in inflateAppWidget()
2132 if (item.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_PROVIDER_NOT_READY)) { in inflateAppWidget()
2135 } else if (item.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID)) { in inflateAppWidget()
2143 if (!item.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_PROVIDER_NOT_READY) && in inflateAppWidget()
2144 (item.restoreStatus != LauncherAppWidgetInfo.RESTORE_COMPLETED)) { in inflateAppWidget()
2154 if (item.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID)) { in inflateAppWidget()
2155 if (!item.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_ALLOCATED)) { in inflateAppWidget()
2158 item.restoreStatus |= LauncherAppWidgetInfo.FLAG_ID_ALLOCATED; in inflateAppWidget()
2170 item.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_DIRECT_CONFIG); in inflateAppWidget()
2185 item.restoreStatus &= ~LauncherAppWidgetInfo.FLAG_DIRECT_CONFIG; in inflateAppWidget()
2192 ? LauncherAppWidgetInfo.RESTORE_COMPLETED in inflateAppWidget()
2193 : LauncherAppWidgetInfo.FLAG_UI_NOT_READY; in inflateAppWidget()
2198 } else if (item.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_UI_NOT_READY) in inflateAppWidget()
2202 item.restoreStatus = LauncherAppWidgetInfo.RESTORE_COMPLETED; in inflateAppWidget()
2208 if (item.restoreStatus == LauncherAppWidgetInfo.RESTORE_COMPLETED) { in inflateAppWidget()
2233 private LauncherAppWidgetInfo completeRestoreAppWidget(int appWidgetId, int finalRestoreFlag) { in completeRestoreAppWidget()
2240 LauncherAppWidgetInfo info = (LauncherAppWidgetInfo) view.getTag(); in completeRestoreAppWidget()
2242 if (info.restoreStatus == LauncherAppWidgetInfo.RESTORE_COMPLETED) { in completeRestoreAppWidget()
2373 public void bindWidgetsRestored(ArrayList<LauncherAppWidgetInfo> widgets) { in bindWidgetsRestored()