Lines Matching refs:orientation

59       var orientation = print_preview.ticket_items.CustomMargins.Orientation[
61 var control = new print_preview.MarginControl(orientation);
62 this.controls_[orientation] = control;
111 * @param {!print_preview.ticket_items.CustomMargins.Orientation} orientation
113 * @return {boolean} Whether the given orientation is TOP or BOTTOM.
116 MarginControlContainer.isTopOrBottom_ = function(orientation) {
117 return orientation ==
119 orientation ==
135 for (var orientation in this.controls_) {
136 this.controls_[orientation].setTranslateTransform(translateTransform);
148 for (var orientation in this.controls_) {
149 this.controls_[orientation].setScaleTransform(scaleTransform);
163 for (var orientation in this.controls_) {
164 var el = this.controls_[orientation].getElement();
207 for (var orientation in this.controls_) {
209 this.controls_[orientation],
211 this.onControlDragStart_.bind(this, this.controls_[orientation]));
213 this.controls_[orientation],
215 this.onControlTextChange_.bind(this, this.controls_[orientation]));
221 for (var orientation in this.controls_) {
222 this.controls_[orientation].render(this.getElement());
231 for (var orientation in this.controls_) {
232 this.controls_[orientation].setIsVisible(isVisible);
390 for (var orientation in this.controls_) {
391 if (this.controls_[orientation].getIsFocused() ||
392 this.controls_[orientation].getIsInError()) {
406 for (var orientation in this.controls_) {
407 var control = this.controls_[orientation];
410 this.serializeValueFromPts_(margins.get(orientation)));
411 control.setPositionInPts(margins.get(orientation));