Exemple #1
0
 String makeTitle() {
   String prefix = "AVG_";
   switch (method) {
     case SUM_METHOD:
       prefix = "SUM_";
       break;
     case MAX_METHOD:
       prefix = "MAX_";
       break;
     case MIN_METHOD:
       prefix = "MIN_";
       break;
     case SD_METHOD:
       prefix = "STD_";
       break;
     case MEDIAN_METHOD:
       prefix = "MED_";
       break;
   }
   return WindowManager.makeUniqueName(prefix + imp.getTitle());
 }