Lines Matching refs:strand

1055         val strand = getOrCreateStrand(strands, CONFLICT_COLOR)  in addAllDayToStrands()  constant
1057 if (strand?.allDays == null) { in addAllDayToStrands()
1058 strand?.allDays = IntArray(numDays) in addAllDayToStrands()
1064 if (strand?.allDays!![i] != 0) { in addAllDayToStrands()
1066 strand?.allDays!![i] = CONFLICT_COLOR in addAllDayToStrands()
1069 strand?.allDays!![i] = event?.color as Int in addAllDayToStrands()
1087 val strand = strandIterator.next() in weaveDNAStrands() constant
1088 if (strand.count < 1 && strand.allDays == null) { in weaveDNAStrands()
1092 strand.points = FloatArray(strand.count * 4) in weaveDNAStrands()
1093 strand.position = 0 in weaveDNAStrands()
1098 val strand: DNAStrand? = strands.get(segment.color) in weaveDNAStrands() constant
1118 strand?.points!![strand.position] = x.toFloat() in weaveDNAStrands()
1119 strand.position = strand.position.inc() as Int in weaveDNAStrands()
1121 strand.points!![strand.position] = y0.toFloat() in weaveDNAStrands()
1122 strand.position = strand.position.inc() as Int in weaveDNAStrands()
1124 strand.points!![strand.position] = x.toFloat() in weaveDNAStrands()
1125 strand.position = strand.position.inc() as Int in weaveDNAStrands()
1127 strand.points!![strand.position] = y1.toFloat() in weaveDNAStrands()
1128 strand.position = strand.position.inc() as Int in weaveDNAStrands()
1212 val strand = getOrCreateStrand(strands, segment.color) in addNewSegment() constant
1213 strand?.count in addNewSegment()
1214 strand?.count = strand?.count?.inc() as Int in addNewSegment()
1221 var strand: DNAStrand? = strands.get(color) in getOrCreateStrand() variable
1222 if (strand == null) { in getOrCreateStrand()
1223 strand = DNAStrand() in getOrCreateStrand()
1224 strand.color = color in getOrCreateStrand()
1225 strand.count = 0 in getOrCreateStrand()
1226 strands.put(strand.color, strand) in getOrCreateStrand()
1228 return strand in getOrCreateStrand()