Home
last modified time | relevance | path

Searched refs:mid (Results 1 – 4 of 4) sorted by relevance

/development/tools/winscope/src/common/
Darray_utils.ts107 const mid = (low + high) >> 1;
109 if (values[mid] < target) {
110 low = mid + 1;
111 } else if (values[mid] > target) {
112 if (result === undefined || result > mid) {
113 result = mid;
115 high = mid - 1;
117 result = mid;
118 high = mid - 1;
146 const mid = (low + high) >> 1;
[all …]
/development/tools/motion/motion_test_watcher_app/src/model/
Dtimeline.ts76 let mid = (start + end) >> 1;
78 if (frameTimes[mid] === timeSeconds) {
79 return mid;
82 if (timeSeconds < frameTimes[mid]) {
83 end = mid - 1;
85 start = mid + 1;
Dvisualization.ts102 const mid = min <= 0 && max >= 0 ? 0 : min > 0 ? min : max; constant
104 const midY = (1 - (mid - min) / (max - min)) * ch;
/development/tools/idegen/
Dexcluded-paths57 ^frameworks/policies/base/mid$