Lines Matching refs:safeInt
286 final int version = safeInt(parser, ZEN_ATT_VERSION, XML_VERSION);
304 rt.allowFrom = safeInt(parser, ALLOW_ATT_FROM, SOURCE_ANYONE);
312 final int startHour = safeInt(parser, SLEEP_ATT_START_HR, 0);
313 final int startMinute = safeInt(parser, SLEEP_ATT_START_MIN, 0);
314 final int endHour = safeInt(parser, SLEEP_ATT_END_HR, 0);
315 final int endMinute = safeInt(parser, SLEEP_ATT_END_MIN, 0);
387 final int icon = safeInt(parser, CONDITION_ATT_ICON, -1);
388 final int state = safeInt(parser, CONDITION_ATT_STATE, -1);
389 final int flags = safeInt(parser, CONDITION_ATT_FLAGS, -1);
422 private static int safeInt(XmlPullParser parser, String att, int defValue) {