Home | History | Annotate | Download | only in gesture_detection

Lines Matching defs:GestureDetector

41 GestureDetector::Config::Config()
58 GestureDetector::Config::~Config() {}
60 bool GestureDetector::SimpleGestureListener::OnDown(const MotionEvent& e) {
64 void GestureDetector::SimpleGestureListener::OnShowPress(const MotionEvent& e) {
67 bool GestureDetector::SimpleGestureListener::OnSingleTapUp(
72 void GestureDetector::SimpleGestureListener::OnLongPress(const MotionEvent& e) {
75 bool GestureDetector::SimpleGestureListener::OnScroll(const MotionEvent& e1,
82 bool GestureDetector::SimpleGestureListener::OnFling(const MotionEvent& e1,
89 bool GestureDetector::SimpleGestureListener::OnSwipe(const MotionEvent& e1,
96 bool GestureDetector::SimpleGestureListener::OnTwoFingerTap(
102 bool GestureDetector::SimpleGestureListener::OnSingleTapConfirmed(
107 bool GestureDetector::SimpleGestureListener::OnDoubleTap(const MotionEvent& e) {
111 bool GestureDetector::SimpleGestureListener::OnDoubleTapEvent(
116 class GestureDetector::TimeoutGestureHandler {
118 TimeoutGestureHandler(const Config& config, GestureDetector* gesture_detector)
122 timeout_callbacks_[SHOW_PRESS] = &GestureDetector::OnShowPressTimeout;
125 timeout_callbacks_[LONG_PRESS] = &GestureDetector::OnLongPressTimeout;
129 timeout_callbacks_[TAP] = &GestureDetector::OnTapTimeout;
156 typedef void (GestureDetector::*ReceiverMethod)();
158 GestureDetector* const gesture_detector_;
159 base::OneShotTimer<GestureDetector> timeout_timers_[TIMEOUT_EVENT_COUNT];
164 GestureDetector::GestureDetector(
196 GestureDetector::~GestureDetector() {}
198 bool GestureDetector::OnTouchEvent(const MotionEvent& ev) {
428 void GestureDetector::SetDoubleTapListener(
446 void GestureDetector::Init(const Config& config) {
476 void GestureDetector::OnShowPressTimeout() {
480 void GestureDetector::OnLongPressTimeout() {
486 void GestureDetector::OnTapTimeout() {
495 void GestureDetector::Cancel() {
501 void GestureDetector::CancelTaps() {
509 bool GestureDetector::IsConsideredDoubleTap(
526 bool GestureDetector::HandleSwipeIfNeeded(const MotionEvent& up,