Home | History | Annotate | Download | only in ui

Lines Matching refs:preferredWidth

54      * @param {?number=} preferredWidth
58 show: function(element, anchor, preferredWidth, preferredHeight, arrowDirection)
60 this._innerShow(null, element, anchor, preferredWidth, preferredHeight, arrowDirection);
66 * @param {?number=} preferredWidth
69 showView: function(view, anchor, preferredWidth, preferredHeight)
71 this._innerShow(view, view.element, anchor, preferredWidth, preferredHeight);
78 * @param {?number=} preferredWidth
82 _innerShow: function(view, contentElement, anchor, preferredWidth, preferredHeight, arrowDirection)
95 preferredWidth = preferredWidth || preferredSize.width;
107 this._positionElement(anchor, preferredWidth, preferredHeight, arrowDirection);
143 * @param {number} preferredWidth
147 _positionElement: function(anchorElement, preferredWidth, preferredHeight, arrowDirection)
156 preferredWidth = Math.max(preferredWidth, 50);
164 var newElementPosition = { x: 0, y: 0, width: preferredWidth + scrollerWidth, height: preferredHeight };