Home
last modified time | relevance | path

Searched refs:clientRect (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/chrome/test/chromedriver/js/
Dget_element_region.js75 var clientRect = clientRects[0];
78 'left': clientRect.left - box.left,
79 'top': clientRect.top - box.top,
80 'width': clientRect.right - clientRect.left,
81 'height': clientRect.bottom - clientRect.top
/external/chromium_org/ui/webui/resources/js/cr/ui/
Dexpandable_bubble.js112 var clientRect = this.anchorNode_.getBoundingClientRect();
118 offset = (clientRect.width - parseInt(this.style.width)) / 2;
119 this.style.left = this.style.right = clientRect.left + offset + 'px';
121 var top = Math.max(0, clientRect.top - 4);
132 var clientRect = this.anchorNode_.getBoundingClientRect();
133 var width = clientRect.width;
/external/chromium-trace/trace-viewer/src/tracing/tracks/
Dcounter_track_test.js99 var clientRect = track.getBoundingClientRect();
100 var y75 = clientRect.top + (0.75 * clientRect.height);
104 var x = 0.15 * clientRect.width;
114 var x = -0.5 * clientRect.width;
119 var x = 0.8 * clientRect.width;
Dtrack.js122 var clientRect = this.getBoundingClientRect();
123 var a = Math.max(loVY, clientRect.top);
124 var b = Math.min(hiVY, clientRect.bottom);
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/
Dscene.js273 var clientRect = $('rendererContainer').getClientRects()[0];
274 var x = event.clientX - clientRect.left;
275 var y = event.clientY - clientRect.top;
276 var w = clientRect.width;
277 var h = clientRect.height;
/external/chromium_org/third_party/WebKit/Source/web/tests/
DTouchActionTest.cpp209 WebCore::IntRect clientRect = enclosedIntRect(clientFloatRect); in runTestOnTree() local
216 clientPoint = clientRect.center(); in runTestOnTree()
220 clientPoint = clientRect.location(); in runTestOnTree()
224 clientPoint = clientRect.maxXMaxYCorner(); in runTestOnTree()
/external/chromium/chrome/browser/resources/options/
Doptions_page.js581 var clientRect = e.getBoundingClientRect();
582 return x >= clientRect.left && x <= clientRect.right &&
583 y >= clientRect.top && y <= clientRect.bottom;
/external/chromium_org/chrome/browser/resources/options/
Doptions_page.js673 var clientRect = e.getBoundingClientRect();
674 return x >= clientRect.left && x <= clientRect.right &&
675 y >= clientRect.top && y <= clientRect.bottom;
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DWebTestProxy.cpp595 WebRect clientRect(0, 0, widgetSize.width, widgetSize.height); in paintInvalidatedRegion() local
605 int left = max(damageRect.x, clientRect.x); in paintInvalidatedRegion()
606 int top = max(damageRect.y, clientRect.y); in paintInvalidatedRegion()
607 int right = min(damageRect.x + damageRect.width, clientRect.x + clientRect.width); in paintInvalidatedRegion()
608 int bottom = min(damageRect.y + damageRect.height, clientRect.y + clientRect.height); in paintInvalidatedRegion()
/external/chromium_org/third_party/WebKit/Source/web/resources/
DcalendarPicker.js3702 var clientRect = this.calendarTableView.element.getBoundingClientRect();
3703 …ct = new Rectangle(clientRect.left + document.body.scrollLeft, clientRect.top + document.body.scro…
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBlock.cpp1569 LayoutRect clientRect(noOverflowRect()); in computeOverflow() local
1572 …rectToApply = LayoutRect(clientRect.x(), clientRect.y(), 1, max<LayoutUnit>(0, oldClientAfterEdge … in computeOverflow()
1574 …rectToApply = LayoutRect(clientRect.x(), clientRect.y(), max<LayoutUnit>(0, oldClientAfterEdge - c… in computeOverflow()