Searched refs:clientRect (Results 1 – 11 of 11) sorted by relevance
/external/chromium_org/chrome/test/chromedriver/js/ |
D | get_element_region.js | 79 var clientRect = clientRects[0]; 82 'left': clientRect.left - box.left, 83 'top': clientRect.top - box.top, 84 'width': clientRect.right - clientRect.left, 85 'height': clientRect.bottom - clientRect.top
|
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
D | expandable_bubble.js | 112 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/ |
D | counter_track_test.js | 99 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;
|
D | track.js | 122 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/ |
D | scene.js | 273 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/ |
D | TouchActionTest.cpp | 228 IntRect clientRect = enclosedIntRect(clientFloatRect); in runTestOnTree() local 235 clientPoint = clientRect.center(); in runTestOnTree() 239 clientPoint = clientRect.location(); in runTestOnTree() 243 clientPoint = clientRect.maxXMaxYCorner(); in runTestOnTree()
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
D | selection_util.js | 144 var clientRect = sel.getRangeAt(0).getBoundingClientRect(); 146 if (!clientRect) { 150 var top = window.pageYOffset + clientRect.top; 151 var left = window.pageXOffset + clientRect.left;
|
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/ |
D | VTTRegion.cpp | 376 RefPtrWillBeRawPtr<ClientRect> clientRect = child->getBoundingClientRect(); in displayLastVTTCueBox() local 377 float childTop = clientRect->top(); in displayLastVTTCueBox() 378 float childBottom = clientRect->bottom(); in displayLastVTTCueBox()
|
/external/chromium_org/third_party/angle/util/win32/ |
D | Win32Window.cpp | 515 RECT clientRect; in resize() local 516 if (!GetClientRect(mParentWindow, &clientRect)) in resize() 521 LONG diffX = (windowRect.right - windowRect.left) - clientRect.right; in resize() 522 LONG diffY = (windowRect.bottom - windowRect.top) - clientRect.bottom; in resize()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderBlock.cpp | 1470 LayoutRect clientRect(noOverflowRect()); in computeOverflow() local 1473 …rectToApply = LayoutRect(clientRect.x(), clientRect.y(), 1, std::max<LayoutUnit>(0, oldClientAfter… in computeOverflow() 1475 …rectToApply = LayoutRect(clientRect.x(), clientRect.y(), std::max<LayoutUnit>(0, oldClientAfterEdg… in computeOverflow()
|
/external/chromium_org/third_party/WebKit/Source/web/resources/ |
D | calendarPicker.js | 3778 var clientRect = this.calendarTableView.element.getBoundingClientRect(); 3779 …ct = new Rectangle(clientRect.left + document.body.scrollLeft, clientRect.top + document.body.scro…
|