Lines Matching refs:segments
950 LinkedList<DNASegment> segments = new LinkedList<DNASegment>(); in createDNAStrands() local
1024 if (segments.size() == 0) { in createDNAStrands()
1025 addNewSegment(segments, event, strands, firstJulianDay, 0, minMinutes); in createDNAStrands()
1030 DNASegment lastSegment = segments.getLast(); in createDNAStrands()
1045 int i = segments.size(); in createDNAStrands()
1047 while (--i >= 0 && endMinute < segments.get(i).startMinute); in createDNAStrands()
1051 for (; i >= 0 && startMinute <= (currSegment = segments.get(i)).endMinute; i--) { in createDNAStrands()
1065 segments.add(i + 1, rhs); in createDNAStrands()
1069 + segments.get(i).toString()); in createDNAStrands()
1084 segments.add(i++, lhs); in createDNAStrands()
1088 + segments.get(i).toString()); in createDNAStrands()
1093 if (i + 1 < segments.size()) { in createDNAStrands()
1094 DNASegment rhs = segments.get(i + 1); in createDNAStrands()
1098 segments.remove(currSegment); in createDNAStrands()
1107 DNASegment lhs = segments.get(i - 1); in createDNAStrands()
1111 segments.remove(currSegment); in createDNAStrands()
1133 addNewSegment(segments, event, strands, firstJulianDay, lastSegment.endMinute, in createDNAStrands()
1137 weaveDNAStrands(segments, firstJulianDay, strands, top, bottom, dayXs); in createDNAStrands()
1165 private static void weaveDNAStrands(LinkedList<DNASegment> segments, int firstJulianDay, in weaveDNAStrands() argument
1179 for (DNASegment segment : segments) { in weaveDNAStrands()
1229 private static void addNewSegment(LinkedList<DNASegment> segments, Event event, in addNewSegment() argument
1245 addNewSegment(segments, lhs, strands, firstJulianDay, minStart, minMinutes); in addNewSegment()
1273 segments.add(segment); in addNewSegment()