Home
last modified time | relevance | path

Searched refs:TouchHandler (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/ui/webui/resources/js/cr/ui/
Dtouch_handler.js44 function TouchHandler(element) { class
98 TouchHandler.EventType = {
140 TouchHandler.Event = function(type, bubbles, clientX, clientY,
144 event.__proto__ = TouchHandler.Event.prototype;
167 TouchHandler.Event.prototype = {
198 TouchHandler.MAX_TRACKING_FOR_TAP_ = 8;
207 TouchHandler.MAX_TRACKING_TIME_ = 250;
215 TouchHandler.MAX_TRACKING_TOUCHES_ = 5;
225 TouchHandler.MAXIMUM_VELOCITY_ = 5;
237 TouchHandler.VELOCITY_FOR_INCORRECT_EVENTS_ = 1;
[all …]
Dcard_slider.js73 this.touchHandler_ = new cr.ui.TouchHandler(this.container_);
146 var TouchHandler = cr.ui.TouchHandler;
147 this.container_.addEventListener(TouchHandler.EventType.TOUCH_START,
149 this.container_.addEventListener(TouchHandler.EventType.DRAG_START,
151 this.container_.addEventListener(TouchHandler.EventType.DRAG_MOVE,
153 this.container_.addEventListener(TouchHandler.EventType.DRAG_END,
/external/chromium/chrome/browser/resources/ntp4/
Dtouch_handler.js34 var TouchHandler = (function() { class
44 function TouchHandler(element) { class in TouchHandler
98 TouchHandler.EventType = {
136 TouchHandler.Event = function(type, bubbles, clientX, clientY,
140 event.__proto__ = TouchHandler.Event.prototype;
163 TouchHandler.Event.prototype = {
194 TouchHandler.MIN_TRACKING_FOR_DRAG_ = 8;
203 TouchHandler.MAX_TRACKING_TIME_ = 250;
211 TouchHandler.MAX_TRACKING_TOUCHES_ = 5;
221 TouchHandler.MAXIMUM_VELOCITY_ = 5;
[all …]
Dgrabber.js41 this.touchHandler_ = new TouchHandler(this.element);
63 this.events_.add(this.element, TouchHandler.EventType.TOUCH_START,
65 this.events_.add(this.element, TouchHandler.EventType.LONG_PRESS,
67 this.events_.add(this.element, TouchHandler.EventType.DRAG_START,
69 this.events_.add(this.element, TouchHandler.EventType.DRAG_MOVE,
71 this.events_.add(this.element, TouchHandler.EventType.DRAG_END,
73 this.events_.add(this.element, TouchHandler.EventType.TOUCH_END,
Dcard_slider.js75 this.touchHandler_ = new TouchHandler(this.container_);
140 this.container_.addEventListener(TouchHandler.EventType.TOUCH_START,
142 this.container_.addEventListener(TouchHandler.EventType.DRAG_START,
144 this.container_.addEventListener(TouchHandler.EventType.DRAG_MOVE,
146 this.container_.addEventListener(TouchHandler.EventType.DRAG_END,
/external/chromium/chrome/browser/resources/touch_ntp/
Dtouchhandler.js34 var TouchHandler = (function() { class
44 function TouchHandler(element) { class in TouchHandler
98 TouchHandler.EventType = {
136 TouchHandler.Event = function(type, bubbles, clientX, clientY,
140 event.__proto__ = TouchHandler.Event.prototype;
163 TouchHandler.Event.prototype = {
194 TouchHandler.MIN_TRACKING_FOR_DRAG_ = 8;
203 TouchHandler.MAX_TRACKING_TIME_ = 250;
211 TouchHandler.MAX_TRACKING_TOUCHES_ = 5;
221 TouchHandler.MAXIMUM_VELOCITY_ = 5;
[all …]
Dgrabber.js41 this.touchHandler_ = new TouchHandler(this.element);
63 this.events_.add(this.element, TouchHandler.EventType.TOUCH_START,
65 this.events_.add(this.element, TouchHandler.EventType.LONG_PRESS,
67 this.events_.add(this.element, TouchHandler.EventType.DRAG_START,
69 this.events_.add(this.element, TouchHandler.EventType.DRAG_MOVE,
71 this.events_.add(this.element, TouchHandler.EventType.DRAG_END,
73 this.events_.add(this.element, TouchHandler.EventType.TOUCH_END,
Dslider.js75 this.touchHandler_ = new TouchHandler(this.container_);
136 this.container_.addEventListener(TouchHandler.EventType.TOUCH_START,
138 this.container_.addEventListener(TouchHandler.EventType.DRAG_START,
140 this.container_.addEventListener(TouchHandler.EventType.DRAG_MOVE,
142 this.container_.addEventListener(TouchHandler.EventType.DRAG_END,