List getAbsoluteProgressTrackers() { ArrayList arraylist; Object obj; Iterator iterator1; arraylist = new ArrayList(); for (Iterator iterator = getVideoTrackersByAttribute("start").iterator(); iterator.hasNext(); arraylist.add(new VastAbsoluteProgressTracker((String)iterator.next(), 2000))) { } obj = XmlUtils.getFirstMatchingChildNode(mLinearNode, "TrackingEvents"); if (obj == null) { break MISSING_BLOCK_LABEL_263; } iterator1 = XmlUtils.getMatchingChildNodes(((Node) (obj)), "Tracking", "event", Collections.singletonList("progress")).iterator(); _L2: String s; Object obj1; if (!iterator1.hasNext()) { break; /* Loop/switch isn't completed */ } obj1 = (Node)iterator1.next(); s = XmlUtils.getAttributeValue(((Node) (obj1)), "offset"); if (s == null) { continue; /* Loop/switch isn't completed */ } s = s.trim(); if (!Strings.isAbsoluteTracker(s)) { continue; /* Loop/switch isn't completed */ } obj1 = XmlUtils.getNodeValue(((Node) (obj1))); Integer integer = Strings.parseAbsoluteOffset(s); if (integer != null) { try { arraylist.add(new VastAbsoluteProgressTracker(((String) (obj1)), integer.intValue())); } catch (NumberFormatException numberformatexception) { MoPubLog.d(String.format("Failed to parse VAST progress tracker %s", new Object[] { s })); } } if (true) goto _L2; else goto _L1
private List getVideoTrackersByAttribute(String s) { Preconditions.checkNotNull(s); ArrayList arraylist = new ArrayList(); Node node = XmlUtils.getFirstMatchingChildNode(mLinearNode, "TrackingEvents"); if (node != null) { s = XmlUtils.getMatchingChildNodes(node, "Tracking", "event", Collections.singletonList(s)).iterator(); while (s.hasNext()) { String s1 = XmlUtils.getNodeValue((Node)s.next()); if (s1 != null) { arraylist.add(s1); } } } return arraylist; }