| Index: tracing/tracing/ui/tracks/object_instance_track.html
|
| diff --git a/tracing/tracing/ui/tracks/object_instance_track.html b/tracing/tracing/ui/tracks/object_instance_track.html
|
| index c53a77b9c0006fc86512a76d1b0c38f2677d800c..df37156414a7ba068a879085cfddf17f230d09e8 100644
|
| --- a/tracing/tracing/ui/tracks/object_instance_track.html
|
| +++ b/tracing/tracing/ui/tracks/object_instance_track.html
|
| @@ -8,7 +8,7 @@ found in the LICENSE file.
|
| <link rel="stylesheet" href="/tracing/ui/tracks/object_instance_track.css">
|
|
|
| <link rel="import" href="/tracing/base/extension_registry.html">
|
| -<link rel="import" href="/tracing/base/sorted_array_utils.html">
|
| +<link rel="import" href="/tracing/base/math/sorted_array_utils.html">
|
| <link rel="import" href="/tracing/model/event.html">
|
| <link rel="import" href="/tracing/ui/base/event_presenter.html">
|
| <link rel="import" href="/tracing/ui/base/heading.html">
|
| @@ -119,7 +119,7 @@ tr.exportTo('tr.ui.tracks', function() {
|
|
|
| // Instances
|
| var objectInstances = this.objectInstances_;
|
| - var loI = tr.b.findLowIndexInSortedArray(
|
| + var loI = tr.b.math.findLowIndexInSortedArray(
|
| objectInstances,
|
| function(instance) {
|
| return instance.deletionTs;
|
| @@ -141,7 +141,7 @@ tr.exportTo('tr.ui.tracks', function() {
|
|
|
| // Snapshots. Has to run in worldspace because ctx.arc gets transformed.
|
| var objectSnapshots = this.objectSnapshots_;
|
| - loI = tr.b.findLowIndexInSortedArray(
|
| + loI = tr.b.math.findLowIndexInSortedArray(
|
| objectSnapshots,
|
| function(snapshot) {
|
| return snapshot.ts + snapshotRadiusWorld;
|
| @@ -218,7 +218,7 @@ tr.exportTo('tr.ui.tracks', function() {
|
| }
|
| var snapshotRadiusView = this.snapshotRadiusView;
|
| var snapshotRadiusWorld = viewPixWidthWorld * snapshotRadiusView;
|
| - tr.b.iterateOverIntersectingIntervals(
|
| + tr.b.math.iterateOverIntersectingIntervals(
|
| this.objectSnapshots_,
|
| function(x) { return x.ts - snapshotRadiusWorld; },
|
| function(x) { return 2 * snapshotRadiusWorld; },
|
| @@ -228,7 +228,7 @@ tr.exportTo('tr.ui.tracks', function() {
|
| return;
|
|
|
| // Try picking instances.
|
| - tr.b.iterateOverIntersectingIntervals(
|
| + tr.b.math.iterateOverIntersectingIntervals(
|
| this.objectInstances_,
|
| function(x) { return x.creationTs; },
|
| function(x) { return x.deletionTs - x.creationTs; },
|
| @@ -269,7 +269,7 @@ tr.exportTo('tr.ui.tracks', function() {
|
|
|
| addClosestEventToSelection: function(worldX, worldMaxDist, loY, hiY,
|
| selection) {
|
| - var snapshot = tr.b.findClosestElementInSortedArray(
|
| + var snapshot = tr.b.math.findClosestElementInSortedArray(
|
| this.objectSnapshots_,
|
| function(x) { return x.ts; },
|
| worldX,
|
|
|