Home
last modified time | relevance | path

Searched refs:Click (Results 1 – 25 of 81) sorted by relevance

1234

/external/skia/src/views/
DSkView.cpp297 SkView::Click::Click(SkView* target) in Click() function in SkView::Click
305 SkView::Click::~Click() in ~Click()
310 void SkView::Click::resetType() in resetType()
320 bool SkView::Click::isType(const char type[]) const in isType()
334 void SkView::Click::setType(const char type[]) in setType()
340 void SkView::Click::copyType(const char type[]) in copyType()
355 SkView::Click* SkView::findClickHandler(SkScalar x, SkScalar y) in findClickHandler()
367 Click* click = child->findClickHandler(x - child->fLoc.fX, in findClickHandler()
377 void SkView::DoClickDown(Click* click, int x, int y) in DoClickDown()
392 click->fState = Click::kDown_State; in DoClickDown()
[all …]
DSkWindow.cpp375 bool SkWindow::handleClick(int x, int y, Click::State state) { in handleClick()
379 bool SkWindow::onDispatchClick(int x, int y, Click::State state) { in onDispatchClick()
383 case Click::kDown_State: in onDispatchClick()
393 case Click::kMoved_State: in onDispatchClick()
400 case Click::kUp_State: in onDispatchClick()
DSkWidget.cpp305 SkView::Click* SkSliderView::onFindClickHandler(SkScalar x, SkScalar y)
307 return new Click(this);
310 bool SkSliderView::onClick(Click* click)
DSkWidgets.cpp305 SkView::Click* SkPushButtonWidget::onFindClickHandler(SkScalar x, SkScalar y)
308 return new Click(this);
311 bool SkPushButtonWidget::onClick(Click* click)
319 if (click->fState == Click::kUp_State)
/external/chromium/chrome/browser/ui/cocoa/
Devent_utils_unittest.mm28 // Left Click = same tab.
32 // Middle Click = new background tab.
37 // Shift+Middle Click = new foreground tab.
46 // Cmd+Left Click = new background tab.
51 // Cmd+Shift+Left Click = new foreground tab.
56 // Shift+Left Click = new window
/external/skia/include/views/
DSkView.h127 class Click {
129 Click(SkView* target);
130 virtual ~Click();
154 Click* findClickHandler(SkScalar x, SkScalar y);
156 static void DoClickDown(Click*, int x, int y);
157 static void DoClickMoved(Click*, int x, int y);
158 static void DoClickUp(Click*, int x, int y);
322 virtual Click* onFindClickHandler(SkScalar x, SkScalar y);
332 virtual bool onClick(Click*);
DSkWindow.h57 bool handleClick(int x, int y, Click::State);
75 virtual bool onDispatchClick(int x, int y, Click::State);
93 Click* fClick; // to track clicks
DSkWidget.h104 virtual Click* onFindClickHandler(SkScalar x, SkScalar y);
105 virtual bool onClick(Click* click);
216 virtual Click* onFindClickHandler(SkScalar x, SkScalar y);
217 virtual bool onClick(Click*);
/external/skia/samplecode/
DSamplePathClip.cpp66 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y) { in onFindClickHandler()
67 return new Click(this); in onFindClickHandler()
70 virtual bool onClick(Click* click) { in onClick()
DSampleTextAlpha.cpp88 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y) { in onFindClickHandler()
89 return new Click(this); in onFindClickHandler()
92 virtual bool onClick(Click* click) { in onClick()
DSampleDraw.cpp316 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y) { in onFindClickHandler()
321 Click* c = new Click(this); in onFindClickHandler()
332 virtual bool onClick(Click* click) { in onClick()
333 if (Click::kUp_State == click->fState) { in onClick()
345 if (Click::kDown_State == click->fState) { in onClick()
DSampleUnitMapper.cpp132 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y) { in onFindClickHandler()
134 return fDragIndex >= 0 ? new Click(this) : NULL; in onFindClickHandler()
137 virtual bool onClick(Click* click) { in onClick()
DSampleRepeatTile.cpp63 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y) { in onFindClickHandler()
69 virtual bool onClick(Click* click) { in onClick()
DSampleTests.cpp87 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y) { in onFindClickHandler()
93 virtual bool onClick(Click* click) { in onClick()
DSampleApp.cpp269 virtual bool onDispatchClick(int x, int y, Click::State);
270 virtual bool onClick(Click* click);
271 virtual Click* onFindClickHandler(SkScalar x, SkScalar y);
1196 bool SampleWindow::onDispatchClick(int x, int y, Click::State state) { in onDispatchClick()
1197 if (Click::kMoved_State == state) { in onDispatchClick()
1211 class GestureClick : public SkView::Click {
1213 GestureClick(SkView* target) : SkView::Click(target) { in GestureClick()
1217 static bool IsGesture(Click* click) { in IsGesture()
1222 SkView::Click* SampleWindow::onFindClickHandler(SkScalar x, SkScalar y) { in onFindClickHandler()
1226 bool SampleWindow::onClick(Click* click) { in onClick()
[all …]
DSampleImage.cpp139 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y) { in onFindClickHandler()
144 virtual bool onClick(Click* click) { in onClick()
DSampleShaders.cpp117 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y) { in onFindClickHandler()
122 virtual bool onClick(Click* click) { in onClick()
DSampleVertices.cpp119 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y) { in onFindClickHandler()
120 return new Click(this); in onFindClickHandler()
123 virtual bool onClick(Click* click) { in onClick()
DSampleImageDir.cpp275 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y) { in onFindClickHandler()
282 return new Click(this); in onFindClickHandler()
285 virtual bool onClick(Click* click) { in onClick()
DSampleRegion.cpp252 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y) { in onFindClickHandler()
253 return fRect.contains(SkScalarRound(x), SkScalarRound(y)) ? new Click(this) : NULL; in onFindClickHandler()
256 virtual bool onClick(Click* click) { in onClick()
DSamplePageFlip.cpp150 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y) { in onFindClickHandler()
155 virtual bool onClick(Click* click) { in onClick()
/external/chromium/chrome/browser/notifications/
Dnotification.h44 void Click() const { delegate()->Click(); } in Click() function
Dnotification_test_util.h26 virtual void Click() {} in Click() function
55 virtual void Click() { in Click() function
/external/skia/android_sample/SampleApp/jni/
Dsample-jni.cpp133 SkView::Click::State state; in Java_com_skia_sampleapp_SampleApp_handleClick()
136 state = SkView::Click::kDown_State; in Java_com_skia_sampleapp_SampleApp_handleClick()
140 state = SkView::Click::kUp_State; in Java_com_skia_sampleapp_SampleApp_handleClick()
143 state = SkView::Click::kMoved_State; in Java_com_skia_sampleapp_SampleApp_handleClick()
/external/skia/src/utils/unix/
DSkOSWindow_Unix.cpp108 this->handleClick(evt.xbutton.x, evt.xbutton.y, SkView::Click::kDown_State); in loop()
112 this->handleClick(evt.xbutton.x, evt.xbutton.y, SkView::Click::kUp_State); in loop()
115 this->handleClick(evt.xmotion.x, evt.xmotion.y, SkView::Click::kMoved_State); in loop()

1234