Lines Matching refs:strands

901      * HashMap of strands which contain the draw points and are organized by
902 * color. The strands can then be drawn by setting the paint color to each
951 HashMap<Integer, DNAStrand> strands = new HashMap<Integer, DNAStrand>();
956 strands.put(CONFLICT_COLOR, blackStrand);
976 addAllDayToStrands(currEvent, strands, firstJulianDay, dayXs.length);
1025 addNewSegment(segments, event, strands, firstJulianDay, 0, minMinutes);
1066 strands.get(rhs.color).count++;
1085 strands.get(lhs.color).count++;
1099 strands.get(currSegment.color).count--;
1112 strands.get(currSegment.color).count--;
1124 strands.get(currSegment.color).count--;
1126 strands.get(CONFLICT_COLOR).count++;
1133 addNewSegment(segments, event, strands, firstJulianDay, lastSegment.endMinute,
1137 weaveDNAStrands(segments, firstJulianDay, strands, top, bottom, dayXs);
1138 return strands;
1142 private static void addAllDayToStrands(Event event, HashMap<Integer, DNAStrand> strands,
1144 DNAStrand strand = getOrCreateStrand(strands, CONFLICT_COLOR);
1166 HashMap<Integer, DNAStrand> strands, int top, int bottom, int[] dayXs) {
1168 Iterator<DNAStrand> strandIterator = strands.values().iterator();
1181 DNAStrand strand = strands.get(segment.color);
1230 HashMap<Integer, DNAStrand> strands, int firstJulianDay, int minStart, int minMinutes) {
1245 addNewSegment(segments, lhs, strands, firstJulianDay, minStart, minMinutes);
1276 DNAStrand strand = getOrCreateStrand(strands, segment.color);
1283 private static DNAStrand getOrCreateStrand(HashMap<Integer, DNAStrand> strands, int color) {
1284 DNAStrand strand = strands.get(color);
1289 strands.put(strand.color, strand);