HomeSort by relevance Sort by last modified time
    Searched full:closestprecedingitem (Results 1 - 1 of 1) sorted by null

  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
TimeLineGraph.java 266 TimeLineGraphItem closestPrecedingItem=null;
277 closestPrecedingItem=anItem;
285 if (closestFollowingItem==null && closestPrecedingItem!=null)
286 thisItem.setX(closestPrecedingItem.x);
288 else if (closestFollowingItem!=null && closestPrecedingItem==null)
291 long timeRange=closestFollowingItem.timestamp-closestPrecedingItem.timestamp;
293 int xRange=closestFollowingItem.x-closestPrecedingItem.x;
296 thisItem.setX((int)(Math.round((thisItem.timestamp-closestPrecedingItem.timestamp)*increments)+closestPrecedingItem.x));

Completed in 74 milliseconds