public static final void updateAllWidgets(Context context,boolean updateFull){
  updateFull=updateFull || !GlobalFlags.partialUpdate(context);
  final AppWidgetManager awm=AppWidgetManager.getInstance(context);
  sPollBattery=false;
  for (  int widgetId : awm.getAppWidgetIds(new ComponentName(context,PCWidgetActivity.class))) {
    sPollBattery|=updateWidget(awm,context,widgetId,updateFull);
  }
  sPollBattery|=updateStatusbarWidget(context);
  setBatteryAlarm(context);
  QTStorage.updateAllWidgets(context,updateFull);
  if (sUpdateHook != null) {
    sUpdateHook.run();
  }
}

public static final void updateAllWidgets ( Context context , boolean updateFull ) { updateFull = updateFull || ! GlobalFlags . partialUpdate ( context ) ; final AppWidgetManager awm = AppWidgetManager . getInstance ( context ) ; sPollBattery = false ; for ( int widgetId : awm . getAppWidgetIds ( new ComponentName ( context , PCWidgetActivity . class ) ) ) { sPollBattery |= updateWidget ( awm , context , widgetId , updateFull ) ; } sPollBattery |= updateStatusbarWidget ( context ) ; setBatteryAlarm ( context ) ; QTStorage . updateAllWidgets ( context , updateFull ) ; if ( sUpdateHook != null ) { sUpdateHook . run ( ) ; } }
updates all visible widgets .
