Searched refs:modifierKeys (Results 1 – 5 of 5) sorted by relevance
/external/skqp/tools/viewer/ |
D | SampleSlide.cpp | 56 unsigned modifierKeys = 0; in onMouse() local 57 … modifierKeys |= (modifiers & Window::kShift_ModifierKey) ? Sample::Click::kShift_ModifierKey : 0; in onMouse() 58 …modifierKeys |= (modifiers & Window::kControl_ModifierKey) ? Sample::Click::kControl_ModifierKey :… in onMouse() 59 …modifierKeys |= (modifiers & Window::kOption_ModifierKey) ? Sample::Click::kOption_ModifierKey : 0; in onMouse() 60 …modifierKeys |= (modifiers & Window::kCommand_ModifierKey) ? Sample::Click::kCommand_ModifierKey :… in onMouse() 66 fClick = fSample->findClickHandler(SkIntToScalar(x), SkIntToScalar(y), modifierKeys); in onMouse() 68 Sample::DoClickDown(fClick, x, y, modifierKeys); in onMouse() 75 Sample::DoClickMoved(fClick, x, y, modifierKeys); in onMouse() 82 Sample::DoClickUp(fClick, x, y, modifierKeys); in onMouse()
|
/external/skia/samplecode/ |
D | Sample.cpp | 64 bool Sample::mouse(SkPoint point, skui::InputState clickState, skui::ModifierKey modifierKeys) { in mouse() argument 72 fClick.reset(this->onFindClickHandler(point.x(), point.y(), modifierKeys)); in mouse() 78 fClick->fModifierKeys = modifierKeys; in mouse() 86 fClick->fModifierKeys = modifierKeys; in mouse() 95 fClick->fModifierKeys = modifierKeys; in mouse()
|
D | Sample.h | 74 bool mouse(SkPoint point, skui::InputState clickState, skui::ModifierKey modifierKeys);
|
/external/skia/tools/viewer/ |
D | SampleSlide.cpp | 47 …pleSlide::onMouse(SkScalar x, SkScalar y, skui::InputState state, skui::ModifierKey modifierKeys) { in onMouse() argument 48 return fSample && fSample->mouse({x, y}, state, modifierKeys); in onMouse()
|
/external/skqp/samplecode/ |
D | Sample.h | 78 Click* findClickHandler(SkScalar x, SkScalar y, unsigned modifierKeys);
|