Home | History | Annotate | Download | only in model

Lines Matching defs:rawValue

170                     .get(type.rawValue) < type.specificMax);
187 * {@link EditType#rawValue} to counts, with the total overall count stored
205 final int count = typeCount.get(type.rawValue);
206 typeCount.put(type.rawValue, count + 1);
227 final Long rawValue = entry.getAsLong(kind.typeColumn);
228 if (rawValue == null) return null;
229 return getType(kind, rawValue.intValue());
238 final Integer rawValue = entry.getAsInteger(kind.typeColumn);
239 if (rawValue == null) return null;
240 return getType(kind, rawValue);
251 final int rawValue = cursor.getInt(index);
252 return getType(kind, rawValue);
256 * Find the {@link EditType} with the given {@link EditType#rawValue}.
258 public static EditType getType(DataKind kind, int rawValue) {
260 if (type.rawValue == rawValue) {
268 * Return the precedence for the the given {@link EditType#rawValue}, where
271 public static int getTypePrecedence(DataKind kind, int rawValue) {
274 if (type.rawValue == rawValue) {
304 final int count = typeCount.get(type.rawValue);
306 if (exactValue == type.rawValue) {
361 after.put(kind.typeColumn, type.rawValue);
798 int type = typeInteger != null ? typeInteger : kind.typeList.get(0).rawValue;
809 if (isTypeAllowed(editType.rawValue, entries, kind)) {
810 entry.put(kind.typeColumn, editType.rawValue);
828 if (editType.rawValue == type) {
895 * {@link EditType#rawValue} value.
1093 supportedTypes.add(editType.rawValue);
1108 defaultType = newDataKind.typeList.get(0).rawValue;
1191 allowedTypes.put(editType.rawValue, (EventEditType) editType);
1278 // - via kind.typeList.get(0).rawValue
1297 allowedTypes.add(editType.rawValue);
1298 typeSpecificMaxMap.put(editType.rawValue, editType.specificMax);
1301 defaultType = newDataKind.typeList.get(0).rawValue;