Home | History | Annotate | Download | only in ui

Lines Matching refs:thisItem

91 				TimeLineGraphItem thisItem = (TimeLineGraphItem) fItemsArray[i];
93 int yposition = thisItem.y;
94 int xposition = thisItem.x;
97 g.setBackground(thisItem.color);
98 g.setForeground(thisItem.color);
100 if (thisItem.drawAsBaseline){
109 g.setBackground(thisItem.color);
110 g.setForeground(thisItem.color);
114 if (thisItem.isSpecial)
122 + " alt=\"" + thisItem.title + ": "
123 + thisItem.description + "\"" + " title=\""
124 + thisItem.title + ": " + thisItem.description + "\">");
131 if (thisItem.displayDescription) {
132 g.drawString(thisItem.title, xposition + 2, yposition
134 g.drawString(thisItem.description, xposition + 2, yposition
238 TimeLineGraphItem thisItem = (TimeLineGraphItem) fItemsArray[i];
239 thisItem.setX(xOffset + (i * xIncrement));
240 thisItem.setY((int)(PADDING+((max-thisItem.value) * (height)/(yValueRange))));
249 TimeLineGraphItem thisItem = (TimeLineGraphItem) referenceGroup.get(i);
250 if (thisItem.timestamp==-1)
251 thisItem.setX(xOffset + (i * (width/n)));
253 setRelativeXPosition(thisItem,mainGroup);
255 thisItem.setY((int)(PADDING+((max-thisItem.value) * (height)/(yValueRange))));
261 private void setRelativeXPosition (TimeLineGraphItem thisItem, List items){
267 long minimumTimeDiffPreceding=thisItem.timestamp;
270 long minimumTimeDiffFollowing=thisItem.timestamp;
274 long timeDiff=thisItem.timestamp-anItem.timestamp;
278 minimumTimeDiffPreceding=thisItem.timestamp-anItem.timestamp;
282 minimumTimeDiffFollowing=thisItem.timestamp-anItem.timestamp;
286 thisItem.setX(closestPrecedingItem.x);
289 thisItem.setX(closestFollowingItem.x);
296 thisItem.setX((int)(Math.round((thisItem.timestamp-closestPrecedingItem.timestamp)*increments)+closestPrecedingItem.x));