Lines Matching refs:strand
1144 DNAStrand strand = getOrCreateStrand(strands, CONFLICT_COLOR); in addAllDayToStrands() local
1146 if (strand.allDays == null) { in addAllDayToStrands()
1147 strand.allDays = new int[numDays]; in addAllDayToStrands()
1153 if (strand.allDays[i] != 0) { in addAllDayToStrands()
1155 strand.allDays[i] = CONFLICT_COLOR; in addAllDayToStrands()
1158 strand.allDays[i] = event.color; in addAllDayToStrands()
1170 DNAStrand strand = strandIterator.next(); in weaveDNAStrands() local
1171 if (strand.count < 1 && strand.allDays == null) { in weaveDNAStrands()
1175 strand.points = new float[strand.count * 4]; in weaveDNAStrands()
1176 strand.position = 0; in weaveDNAStrands()
1181 DNAStrand strand = strands.get(segment.color); in weaveDNAStrands() local
1199 strand.points[strand.position++] = x; in weaveDNAStrands()
1200 strand.points[strand.position++] = y0; in weaveDNAStrands()
1201 strand.points[strand.position++] = x; in weaveDNAStrands()
1202 strand.points[strand.position++] = y1; in weaveDNAStrands()
1276 DNAStrand strand = getOrCreateStrand(strands, segment.color); in addNewSegment() local
1277 strand.count++; in addNewSegment()
1284 DNAStrand strand = strands.get(color); in getOrCreateStrand() local
1285 if (strand == null) { in getOrCreateStrand()
1286 strand = new DNAStrand(); in getOrCreateStrand()
1287 strand.color = color; in getOrCreateStrand()
1288 strand.count = 0; in getOrCreateStrand()
1289 strands.put(strand.color, strand); in getOrCreateStrand()
1291 return strand; in getOrCreateStrand()