Home | History | Annotate | Download | only in model

Lines Matching defs:rawValue

184                     .get(type.rawValue) < type.specificMax);
201 * {@link EditType#rawValue} to counts, with the total overall count stored
219 final int count = typeCount.get(type.rawValue);
220 typeCount.put(type.rawValue, count + 1);
241 final Long rawValue = entry.getAsLong(kind.typeColumn);
242 if (rawValue == null) return null;
243 return getType(kind, rawValue.intValue());
252 final Integer rawValue = entry.getAsInteger(kind.typeColumn);
253 if (rawValue == null) return null;
254 return getType(kind, rawValue);
265 final int rawValue = cursor.getInt(index);
266 return getType(kind, rawValue);
270 * Find the {@link EditType} with the given {@link EditType#rawValue}.
272 public static EditType getType(DataKind kind, int rawValue) {
274 if (type.rawValue == rawValue) {
282 * Return the precedence for the the given {@link EditType#rawValue}, where
285 public static int getTypePrecedence(DataKind kind, int rawValue) {
288 if (type.rawValue == rawValue) {
318 final int count = typeCount.get(type.rawValue);
320 if (exactValue == type.rawValue) {
373 after.put(kind.typeColumn, type.rawValue);
787 int type = typeInteger != null ? typeInteger : kind.typeList.get(0).rawValue;
798 if (isTypeAllowed(editType.rawValue, entries, kind)) {
799 entry.put(kind.typeColumn, editType.rawValue);
817 if (editType.rawValue == type) {
880 * {@link EditType#rawValue} value.
1143 supportedTypes.add(editType.rawValue);
1158 defaultType = newDataKind.typeList.get(0).rawValue;
1241 allowedTypes.put(editType.rawValue, (EventEditType) editType);
1328 // - via kind.typeList.get(0).rawValue
1347 allowedTypes.add(editType.rawValue);
1348 typeSpecificMaxMap.put(editType.rawValue, editType.specificMax);
1351 defaultType = newDataKind.typeList.get(0).rawValue;