Пример #1
0
 public static void logGesturePoints(String label, GesturePoint[] points) {
   StringBuilder sb = new StringBuilder();
   if (label != null) {
     sb.append(label);
   }
   sb.append('[');
   for (GesturePoint point : points) {
     sb.append(ShorthandUtils.gesturePointToString(point));
     sb.append(", ");
   }
   sb.replace(sb.length() - 2, sb.length(), "]");
   Log.d(TAG, sb.toString());
 }