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

  /external/chromium/chrome/browser/resources/shared/js/cr/ui/
position_util.js 54 * @param {!Rect} anchorRect The rect for the anchor.
58 function positionPopupAroundRect(anchorRect, popupElement, type) {
93 if (anchorRect.bottom + popupRect.height > availRect.height &&
94 popupRect.height <= anchorRect.top) {
99 if (popupRect.height > anchorRect.top &&
100 anchorRect.bottom + popupRect.height <= availRect.height) {
105 if (anchorRect.right + popupRect.width > availRect.width &&
106 popupRect.width <= anchorRect.left) {
111 if (popupRect.width > anchorRect.left &&
112 anchorRect.right + popupRect.width <= availRect.width)
    [all...]
  /external/chromium_org/ui/webui/resources/js/cr/ui/
position_util.js 50 * @param {!Rect} anchorRect The rect for the anchor.
56 function positionPopupAroundRect(anchorRect, popupElement, type,
93 if (anchorRect.bottom + popupRect.height > availRect.height &&
94 popupRect.height <= anchorRect.top) {
99 if (popupRect.height > anchorRect.top &&
100 anchorRect.bottom + popupRect.height <= availRect.height) {
105 if (anchorRect.right + popupRect.width > availRect.width &&
106 popupRect.width <= anchorRect.left) {
111 if (popupRect.width > anchorRect.left &&
112 anchorRect.right + popupRect.width <= availRect.width)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/resources/
pickerCommon.js 117 var anchorRect = new Rectangle(global.params.anchorRectInScreen);
120 _adjustWindowRectVertically(windowRect, availRect, anchorRect, minHeight);
121 _adjustWindowRectHorizontally(windowRect, availRect, anchorRect, minWidth);
126 function _adjustWindowRectVertically(windowRect, availRect, anchorRect, minHeight) {
127 var availableSpaceAbove = anchorRect.y - availRect.y;
130 var availableSpaceBelow = availRect.maxY - anchorRect.maxY;
136 windowRect.y = anchorRect.y - windowRect.height;
140 windowRect.y = anchorRect.maxY;
146 function _adjustWindowRectHorizontally(windowRect, availRect, anchorRect, minWidth) {
149 windowRect.x = anchorRect.x
    [all...]
  /external/chromium_org/ui/app_list/cocoa/
apps_search_box_controller.mm 385 NSRect anchorRect = [menuButton convertRect:[menuButton bounds]
388 NSMaxX(anchorRect) + kMenuXOffsetFromButton,
389 NSMinY(anchorRect) - kMenuYOffsetFromButton)];
  /external/chromium_org/chrome/browser/ui/cocoa/
browser_window_controller.mm     [all...]

Completed in 492 milliseconds