Lines Matching +refs:x +refs:e
96 this.imgsize.x = (typeof options.imageWidth == 'undefined' ? -1 : parseInt(options.imageWidth));
107 this.x = 0;
273 this.x = Math.floor(this.scaleSize.x * 0.5 - this.width * 0.5) * -1;
311 var inv = Math.max(this.imgsize.x, this.imgsize.y) /
313 this.scaleSize.x = this.imgsize.x / inv;
373 tile.posx = (tile.xIndex * this.tileSize) + this.x + motion.x;
383 tile.posx = (tile.xIndex * this.tileSize) + this.x + motion.x;
395 tile.posx = (tile.xIndex * this.tileSize) + this.x + motion.x;
448 this.x += motion.x;
470 var right = tile.xIndex >= Math.ceil(this.scaleSize.x / this.tileSize);
570 new PanoJS.ZoomEvent(this.x, this.y, this.zoomLevel, percentage)
586 this.x + (coords.x - this.mark.x),
613 'x': (coords.x - this.x), property
618 'x': Math.floor(before.x * Math.pow(2, direction)), property
622 this.x = coords.x - after.x;
666 this.positionTiles({ 'x': (coords.x - this.mark.x), 'y': (coords.y - this.mark.y) }); property
680 coords.x += this.x;
685 'x': Math.floor((this.width / 2) - coords.x), property
689 if (motion.x == 0 && motion.y == 0) {
695 var x, y;
697 if (target.x == 0) {
698 x = 0;
702 var slope = Math.abs(target.y / target.x);
703 … x = Math.round(Math.pow(Math.pow(this.slideAcceleration, 2) / (1 + Math.pow(slope, 2)), .5));
704 y = Math.round(slope * x);
708 'x': Math.min(x, Math.abs(target.x)) * (target.x < 0 ? -1 : 1), property
721 'x': coords.x + motion.x, property
767 this.x += (after.x - before.x);
781 resolveCoordinates: function (e) { argument
783 …'x': (e.pageX || (e.clientX + (document.documentElement.scrollLeft || document.body.scrollLeft))) …
784 …'y': (e.pageY || (e.clientY + (document.documentElement.scrollTop || document.body.scrollTop))) - …
796 'x': (coords.x - this.mark.x), property
800 this.x += motion.x;
822 return (coords.x < this.x ||
824 coords.x > (this.tileSize * Math.pow(2, this.zoomLevel) + this.x) ||
853 PanoJS.mousePressedHandler = function (e) { argument
854 e = e ? e : window.event;
856 if (e.button < 2) {
858 var coords = self.resolveCoordinates(e);
860 e.cancelBubble = true;
871 PanoJS.mouseReleasedHandler = function (e) { argument
872 e = e ? e : window.event;
876 self.release(self.resolveCoordinates(e));
880 PanoJS.mouseMovedHandler = function (e) { argument
881 e = e ? e : window.event;
885 self.moveViewer(self.resolveCoordinates(e));
889 PanoJS.zoomInHandler = function (e) { argument
890 e = e ? e : window.event;
896 PanoJS.zoomOutHandler = function (e) { argument
897 e = e ? e : window.event;
903 PanoJS.maximizeHandler = function (e) { argument
936 PanoJS.doubleClickHandler = function (e) { argument
937 e = e ? e : window.event;
939 coords = self.resolveCoordinates(e);
946 PanoJS.keyboardMoveHandler = function (e) { argument
947 e = e ? e : window.event;
950 if (e.keyCode == 38)
952 if (e.keyCode == 39)
954 if (e.keyCode == 40)
956 if (e.keyCode == 37)
961 PanoJS.keyboardZoomHandler = function (e) { argument
962 e = e ? e : window.event;
965 if (e.keyCode == 109)
967 if (e.keyCode == 107)
972 PanoJS.MoveEvent = function (x, y) { argument
973 this.x = x;
977 PanoJS.ZoomEvent = function (x, y, level, percentage) { argument
978 this.x = x;