Home
last modified time | relevance | path

Searched refs:modifierKeys (Results 1 – 5 of 5) sorted by relevance

/external/skqp/tools/viewer/
DSampleSlide.cpp56 unsigned modifierKeys = 0; in onMouse() local
57modifierKeys |= (modifiers & Window::kShift_ModifierKey) ? Sample::Click::kShift_ModifierKey : 0; in onMouse()
58modifierKeys |= (modifiers & Window::kControl_ModifierKey) ? Sample::Click::kControl_ModifierKey :… in onMouse()
59modifierKeys |= (modifiers & Window::kOption_ModifierKey) ? Sample::Click::kOption_ModifierKey : 0; in onMouse()
60modifierKeys |= (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/
DSample.cpp64 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()
DSample.h74 bool mouse(SkPoint point, skui::InputState clickState, skui::ModifierKey modifierKeys);
/external/skia/tools/viewer/
DSampleSlide.cpp47 …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/
DSample.h78 Click* findClickHandler(SkScalar x, SkScalar y, unsigned modifierKeys);