Home
last modified time | relevance | path

Searched refs:SkKey (Results 1 – 22 of 22) sorted by relevance

/external/skia/src/animator/
DSkDisplayEvent.cpp47 SkDisplayEvent::SkDisplayEvent() : code((SkKey) -1), disable(false), in SkDisplayEvent()
48 kind(kUser), x(0), y(0), fLastCode((SkKey) -1), fMax((SkKey) -1), fTarget(NULL) { in SkDisplayEvent()
98 if (fMax != (SkKey) -1 && fMax != code) in dumpEvent()
154 SkKey convert = index == SK_PROPERTY(keys) ? code : fLastCode; in getProperty()
158 if (index != SK_PROPERTY(keys) || fMax == (SkKey) -1 || fMax == code) in getProperty()
242 code = (SkKey) SkUTF8_NextUnichar(&chars); in setProperty()
248 fMax = (SkKey) SkUTF8_NextUnichar(&chars); in setProperty()
DSkDisplayEvents.cpp59 if (evt->code != (SkKey) -1) { in doEvent()
60 …if ((int) evt->code > keyCode || (int) (evt->fMax != (SkKey) -1 ? evt->fMax : evt->code) < keyCode) in doEvent()
62 evt->fLastCode = (SkKey) keyCode; in doEvent()
104 if (evt->code != (SkKey) -1) { in removeEvent()
105 …if ((int) evt->code > keyCode || (int) (evt->fMax != (SkKey) -1 ? evt->fMax : evt->code) < keyCode) in removeEvent()
DSkDisplayEvent.h49 SkKey code;
57 SkKey fLastCode; // last key to trigger this event
58 SkKey fMax; // if the code expresses a range
DSkAnimator.cpp121 bool SkAnimator::doKeyEvent(SkKey code) { in doKeyEvent()
132 bool SkAnimator::doKeyUpEvent(SkKey code) { in doKeyUpEvent()
/external/skia/include/views/
DSkWindow.h64 bool handleKey(SkKey);
65 bool handleKeyUp(SkKey);
88 virtual bool onHandleKey(SkKey);
89 virtual bool onHandleKeyUp(SkKey);
DSkKey.h15 enum SkKey { enum
/external/skia/src/views/win/
DSkOSWindow_win.cpp85 static SkKey winToskKey(WPARAM vk) { in winToskKey()
88 SkKey fKey; in winToskKey()
113 SkKey key = winToskKey(wParam); in wndProc()
120 SkKey key = winToskKey(wParam); in wndProc()
268 static SkKey raw2key(uint32_t raw) in raw2key()
272 SkKey fKey; in raw2key()
/external/skia/src/views/sdl/
DSkOSWindow_SDL.cpp113 static SkKey find_skkey(SDLKey src) { in find_skkey()
149 return static_cast<SkKey>(i); in find_skkey()
177 SkKey sk = find_skkey(event.key.keysym.sym); in handleSDLEvent()
/external/skia/src/views/
DSkWindow.cpp185 bool SkWindow::handleKey(SkKey key) { in handleKey()
212 bool SkWindow::handleKeyUp(SkKey key) { in handleKeyUp()
281 bool SkWindow::onHandleKey(SkKey) { in onHandleKey() argument
285 bool SkWindow::onHandleKeyUp(SkKey) { in onHandleKeyUp() argument
/external/skia/platform_tools/android/app/jni/
DAndroidKeyToSkKey.h18 SkKey AndroidKeycodeToSkKey(int keycode) { in AndroidKeycodeToSkKey()
/external/skia/src/views/mac/
DSkNSView.mm172 #include "SkKey.h"
193 static SkKey raw2key(UInt32 raw)
197 SkKey fKey;
228 SkKey key = raw2key([event keyCode]);
241 SkKey key = raw2key([event keyCode]);
DSkOSWindow_Mac.cpp271 static SkKey raw2key(UInt32 raw) in raw2key()
275 SkKey fKey; in raw2key()
366 SkKey key = raw2key(raw); in EventHandler()
372 SkKey key = raw2key(raw); in EventHandler()
/external/skia/src/views/unix/
DXkeysToSkKeys.h16 SkKey XKeyToSkKey(KeySym keysym) { in XKeyToSkKey()
/external/skia/include/animator/
DSkAnimator.h158 bool doKeyEvent(SkKey code);
159 bool doKeyUpEvent(SkKey code);
/external/skia/samplecode/
DSampleRepeatTile.cpp79 virtual bool handleKey(SkKey) { in handleKey() argument
DSampleCode.h27 static bool KeyQ(const SkEvent&, SkKey* outKey);
DSampleApp.h141 bool onHandleKey(SkKey key) override;
DSampleLayers.cpp228 virtual bool handleKey(SkKey) { in handleKey() argument
DSampleFilterQuality.cpp284 virtual bool handleKey(SkKey key) { in handleKey()
DSampleApp.cpp528 bool SampleCode::KeyQ(const SkEvent& evt, SkKey* outKey) { in KeyQ()
531 *outKey = (SkKey)evt.getFast32(); in KeyQ()
1719 bool SampleWindow::onHandleKey(SkKey key) { in onHandleKey()
/external/skia/gyp/
Dviews.gyp32 '../include/views/SkKey.h',
/external/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/
Dproject.pbxproj1085 …059E13B123E80064D447 /* SkKey.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
2390 260E059E13B123E80064D447 /* SkKey.h */,