示例#1
0
 /**
  * Returns the ID of the icon.
  *
  * @return ID
  */
 public String getID() {
   String id = name;
   if (state != null) {
     id += state.getDefaultMapping();
   }
   if (size != null) {
     id += size.getDefaultMapping();
   }
   return id;
 }
 private SavedState(Parcel in) {
   super(in);
   state = IconState.valueOf(in.readString());
 }