Lines Matching refs:dims
438 this.dims = null;
440 this.dims = [this.element.offsetHeight, this.element.offsetWidth];
442 this.dims = [this.element.scrollHeight, this.element.scrollWidth];
443 if (!this.dims)
444 this.dims = [this.options.scaleMode.originalHeight,
451 this.setDimensions(this.dims[0] * currentScale, this.dims[1] * currentScale);
461 var topd = (height - this.dims[0])/2;
462 var leftd = (width - this.dims[1])/2;
711 (effect.dims[0] - effect.element.clientHeight) + 'px' });
741 (effect.dims[0] - effect.element.clientHeight) + 'px' });
780 var dims = element.getDimensions();
789 initialMoveX = dims.width;
791 moveX = -dims.width;
795 initialMoveY = dims.height;
796 moveY = -dims.height;
799 initialMoveX = dims.width;
800 initialMoveY = dims.height;
801 moveX = -dims.width;
802 moveY = -dims.height;
805 initialMoveX = dims.width / 2;
806 initialMoveY = dims.height / 2;
807 moveX = -dims.width / 2;
808 moveY = -dims.height / 2;
824 scaleMode: { originalHeight: dims.height, originalWidth: dims.width },
854 var dims = element.getDimensions();
862 moveX = dims.width;
867 moveY = dims.height;
870 moveX = dims.width;
871 moveY = dims.height;
874 moveX = dims.width / 2;
875 moveY = dims.height / 2;