Lines Matching defs:Mode
10 * @extends {ImageEditor.Mode}
13 ImageEditor.Mode.Crop = function() {
14 ImageEditor.Mode.call(this, 'crop', 'GALLERY_CROP');
17 ImageEditor.Mode.Crop.prototype = {__proto__: ImageEditor.Mode.prototype};
23 ImageEditor.Mode.Crop.prototype.setUp = function() {
24 ImageEditor.Mode.prototype.setUp.apply(this, arguments);
84 ImageEditor.Mode.Crop.prototype.createTools = function(toolbar) {
125 ImageEditor.Mode.Crop.prototype.onResized_ = function() {
132 ImageEditor.Mode.Crop.prototype.reset = function() {
133 ImageEditor.Mode.prototype.reset.call(this);
144 ImageEditor.Mode.Crop.prototype.positionDOM = function() {
148 var delta = ImageEditor.Mode.Crop.MOUSE_GRAB_RADIUS;
172 ImageEditor.Mode.Crop.prototype.cleanUpUI = function() {
173 ImageEditor.Mode.prototype.cleanUpUI.apply(this, arguments);
185 ImageEditor.Mode.Crop.MOUSE_GRAB_RADIUS = 6;
191 ImageEditor.Mode.Crop.TOUCH_GRAB_RADIUS = 20;
198 ImageEditor.Mode.Crop.prototype.getCommand = function() {
206 ImageEditor.Mode.Crop.prototype.createDefaultCrop = function() {
223 ImageEditor.Mode.Crop.prototype.getCursorStyle = function(x, y, mouseDown) {
237 ImageEditor.Mode.Crop.prototype.getDragHandler = function(x, y, touch) {
258 ImageEditor.Mode.Crop.prototype.getDoubleTapAction = function(x, y) {
396 touch ? ImageEditor.Mode.Crop.TOUCH_GRAB_RADIUS :
397 ImageEditor.Mode.Crop.MOUSE_GRAB_RADIUS);