Home
last modified time | relevance | path

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

/external/skia/src/animator/
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.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()
158 SkKey convert = index == SK_PROPERTY(keys) ? code : fLastCode; in getProperty()
162 if (index != SK_PROPERTY(keys) || fMax == (SkKey) -1 || fMax == code) in getProperty()
246 code = (SkKey) SkUTF8_NextUnichar(&chars); in setProperty()
252 fMax = (SkKey) SkUTF8_NextUnichar(&chars); in setProperty()
DSkDisplayEvent.h49 SkKey code;
57 SkKey fLastCode; // last key to trigger this event
58 SkKey fMax; // if the code expresses a range
DSkAnimator.cpp119 bool SkAnimator::doKeyEvent(SkKey code) { in doKeyEvent()
130 bool SkAnimator::doKeyUpEvent(SkKey code) { in doKeyUpEvent()
/external/skia/include/views/
DSkWindow.h52 bool handleKey(SkKey);
53 bool handleKeyUp(SkKey);
74 virtual bool onHandleKey(SkKey);
75 virtual bool onHandleKeyUp(SkKey);
DSkOSWindow_Unix.h52 virtual bool onHandleKey(SkKey);
53 virtual bool onHandleKeyUp(SkKey);
DSkKey.h15 enum SkKey { enum
/external/skia/src/views/
DSkWindow.cpp240 bool SkWindow::handleKey(SkKey key) in handleKey()
269 bool SkWindow::handleKeyUp(SkKey key) in handleKeyUp()
352 bool SkWindow::onHandleKey(SkKey key) in onHandleKey()
357 bool SkWindow::onHandleKeyUp(SkKey key) in onHandleKeyUp()
/external/skia/include/utils/android/
DAndroidKeyToSkKey.h18 SkKey AndroidKeycodeToSkKey(int keycode) { in AndroidKeycodeToSkKey()
/external/skia/include/utils/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/src/utils/unix/
DSkOSWindow_Unix.cpp277 bool SkOSWindow::onHandleKey(SkKey key) in onHandleKey()
282 bool SkOSWindow::onHandleKeyUp(SkKey key) in onHandleKeyUp()
/external/skia/samplecode/
DSampleRepeatTile.cpp80 virtual bool handleKey(SkKey key) { in handleKey()
DSampleTests.cpp105 virtual bool handleKey(SkKey key) { in handleKey()
DSampleCode.h22 static bool KeyQ(const SkEvent&, SkKey* outKey);
DSampleApp.h105 virtual bool onHandleKey(SkKey key);
DSampleLayers.cpp265 virtual bool handleKey(SkKey key) { in handleKey()
DSampleApp.cpp456 bool SampleCode::KeyQ(const SkEvent& evt, SkKey* outKey) { in KeyQ()
459 *outKey = (SkKey)evt.getFast32(); in KeyQ()
1606 bool SampleWindow::onHandleKey(SkKey key) { in onHandleKey()
/external/skia/src/gpu/
Dapp-android.cpp120 bool SampleCode::KeyQ(const SkEvent& evt, SkKey* outKey) { in KeyQ()
123 *outKey = (SkKey)evt.getFast32(); in KeyQ()
/external/skia/gyp/
Dviews.gyp26 '../include/views/SkKey.h',