Home
last modified time | relevance | path

Searched refs:KeyEvent (Results 1 – 25 of 60) sorted by relevance

123

/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/translit/
DTransliteratorInputMethod.java24 import java.awt.event.KeyEvent;
375 case KeyEvent.KEY_TYPED: { in dispatchEvent()
377 KeyEvent ke = (KeyEvent)event; in dispatchEvent()
389 case KeyEvent.KEY_PRESSED: { in dispatchEvent()
391 KeyEvent ke = (KeyEvent)event; in dispatchEvent()
399 case KeyEvent.KEY_RELEASED: { in dispatchEvent()
401 KeyEvent ke = (KeyEvent)event; in dispatchEvent()
402 if (ke.getKeyCode() == KeyEvent.VK_SPACE && ke.isControlDown()) { in dispatchEvent()
629 case KeyEvent.VK_PAGE_UP: in handlePressed()
630 case KeyEvent.VK_UP: in handlePressed()
[all …]
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_multimodalInput_inputEventClient.js19 const KeyEvent = { variable
42 if (typeof args[0].KeyEvent.isPressed !== 'boolean') {
46 if (typeof args[0].KeyEvent.keyCode !== 'number') {
50 if (typeof args[0].KeyEvent.keyDownDuration !== 'number') {
54 if (typeof args[0].KeyEvent.isIntercepted !== 'boolean') {
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/indic/
DIndicInputMethod.java14 import java.awt.event.KeyEvent;
60 if (event instanceof KeyEvent) { in dispatchEvent()
61 KeyEvent keyEvent = (KeyEvent) event; in dispatchEvent()
62 if (event.getID() == KeyEvent.KEY_TYPED) { in dispatchEvent()
/third_party/flutter/skia/third_party/externals/sdl/android-project/src/org/libsdl/app/
DSDLActivity.java279 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent()
287 if (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN || in dispatchKeyEvent()
288 keyCode == KeyEvent.KEYCODE_VOLUME_UP || in dispatchKeyEvent()
289 keyCode == KeyEvent.KEYCODE_CAMERA || in dispatchKeyEvent()
961 mapping.put(KeyEvent.KEYCODE_ENTER, button); in onCreateDialog()
1005 public boolean onKey(DialogInterface d, int keyCode, KeyEvent event) { in onCreateDialog()
1008 if (event.getAction() == KeyEvent.ACTION_UP) { in onCreateDialog()
1239 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey()
1249 if (event.getAction() == KeyEvent.ACTION_DOWN) { in onKey()
1253 } else if (event.getAction() == KeyEvent.ACTION_UP) { in onKey()
[all …]
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/
DRBManagerGUI.java1591 KeyEvent.VK_N, ActionEvent.CTRL_MASK)); in RBManagerMenuBar()
1598 KeyEvent.VK_O, ActionEvent.CTRL_MASK)); in RBManagerMenuBar()
1605 KeyEvent.VK_S, ActionEvent.CTRL_MASK)); in RBManagerMenuBar()
1612 KeyEvent.VK_S, ActionEvent.CTRL_MASK | ActionEvent.SHIFT_MASK)); in RBManagerMenuBar()
1674 KeyEvent.VK_Q, ActionEvent.CTRL_MASK)); in RBManagerMenuBar()
1690 KeyEvent.VK_X, ActionEvent.CTRL_MASK)); in RBManagerMenuBar()
1696 KeyEvent.VK_C, ActionEvent.CTRL_MASK)); in RBManagerMenuBar()
1702 KeyEvent.VK_V, ActionEvent.CTRL_MASK)); in RBManagerMenuBar()
1767 KeyEvent.VK_H, ActionEvent.CTRL_MASK)); in RBManagerMenuBar()
1772 if (character == null) return KeyEvent.VK_A; in getKeyEventKey()
[all …]
DBundleGroupCreationDialog.java56 protected void processKeyEvent(KeyEvent ev) { in processKeyEvent()
57 if (ev.getKeyCode() == KeyEvent.VK_ENTER) { in processKeyEvent()
67 } else if (ev.getKeyCode() == KeyEvent.VK_CANCEL) { in processKeyEvent()
DBundleGroupEditDialog.java50 protected void processKeyEvent(KeyEvent ev) { in processKeyEvent()
51 if (ev.getKeyCode() == KeyEvent.VK_ENTER) { in processKeyEvent()
61 } else if (ev.getKeyCode() == KeyEvent.VK_CANCEL) { in processKeyEvent()
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDumbTextComponent.java29 import java.awt.event.KeyEvent;
185 public void keyPressed(KeyEvent e) { in keyPressed()
195 case KeyEvent.VK_Q: in keyPressed()
200 case KeyEvent.VK_V: in keyPressed()
208 case KeyEvent.VK_C: in keyPressed()
212 case KeyEvent.VK_X: in keyPressed()
221 case KeyEvent.VK_A: in keyPressed()
226 case KeyEvent.VK_RIGHT: in keyPressed()
232 case KeyEvent.VK_LEFT: in keyPressed()
238 case KeyEvent.VK_UP: // LIU: Add support for up arrow in keyPressed()
[all …]
/third_party/skia/third_party/externals/imgui/examples/example_android_opengl3/android/app/src/main/java/
DMainActivity.kt7 import android.view.KeyEvent
30 override fun dispatchKeyEvent(event: KeyEvent): Boolean { in dispatchKeyEvent()
31 if (event.action == KeyEvent.ACTION_DOWN) { in dispatchKeyEvent()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/editing/
DInputConnectionAdaptor.java14 import android.view.KeyEvent;
154 public boolean sendKeyEvent(KeyEvent event) { in sendKeyEvent()
155 if (event.getAction() == KeyEvent.ACTION_DOWN) { in sendKeyEvent()
156 if (event.getKeyCode() == KeyEvent.KEYCODE_DEL) { in sendKeyEvent()
196 } else if (event.getKeyCode() == KeyEvent.KEYCODE_DPAD_LEFT) { in sendKeyEvent()
201 } else if (event.getKeyCode() == KeyEvent.KEYCODE_DPAD_RIGHT) { in sendKeyEvent()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/android/
DAndroidKeyProcessor.java10 import android.view.KeyEvent;
27 public void onKeyUp(@NonNull KeyEvent keyEvent) { in onKeyUp()
34 public void onKeyDown(@NonNull KeyEvent keyEvent) { in onKeyDown()
/third_party/python/PC/
D_testconsole.c65 prec->Event.KeyEvent.bKeyDown = TRUE; in _testconsole_write_input_impl()
66 prec->Event.KeyEvent.wRepeatCount = 1; in _testconsole_write_input_impl()
67 prec->Event.KeyEvent.uChar.UnicodeChar = *p; in _testconsole_write_input_impl()
/third_party/cef/libcef/browser/
Dbrowser_util.h16 class KeyEvent; variable
26 bool GetCefKeyEvent(const ui::KeyEvent& event, CefKeyEvent& cef_event);
/third_party/gstreamer/gstplugins_bad/tests/examples/d3d11/
Dd3d11videosink-kb.c61 if (buffer.EventType == KEY_EVENT && buffer.Event.KeyEvent.bKeyDown) { in gst_d3d11_video_sink_source_cb()
62 if (buffer.Event.KeyEvent.wVirtualKeyCode == VK_SPACE) { in gst_d3d11_video_sink_source_cb()
65 kb_callback (buffer.Event.KeyEvent.uChar.AsciiChar, kb_callback_data); in gst_d3d11_video_sink_source_cb()
/third_party/flutter/skia/third_party/externals/angle2/util/
DEvent.h28 struct KeyEvent struct
80 KeyEvent Key; // Key event parameters
/third_party/skia/third_party/externals/angle2/util/
DEvent.h28 struct KeyEvent struct
80 KeyEvent Key; // Key event parameters
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/
DKeyEventChannel.java11 import android.view.KeyEvent;
83 @NonNull KeyEvent androidKeyEvent in FlutterKeyEvent()
89 @NonNull KeyEvent androidKeyEvent, in FlutterKeyEvent()
/third_party/libuv/test/
Dtest-tty.c208 record.Event.KeyEvent.bKeyDown = TRUE; in TEST_IMPL()
209 record.Event.KeyEvent.wRepeatCount = 1; in TEST_IMPL()
210 record.Event.KeyEvent.wVirtualKeyCode = VK_SPACE; in TEST_IMPL()
211 record.Event.KeyEvent.wVirtualScanCode = MapVirtualKeyW(VK_SPACE, MAPVK_VK_TO_VSC); in TEST_IMPL()
212 record.Event.KeyEvent.uChar.UnicodeChar = L' '; in TEST_IMPL()
213 record.Event.KeyEvent.dwControlKeyState = 0; in TEST_IMPL()
/third_party/openh264/codec/build/android/dec/src/com/wels/dec/
DWelsDecTest.java9 import android.view.KeyEvent;
129 public boolean onKeyDown (int keyCode, KeyEvent event) { in onKeyDown()
131 case KeyEvent.KEYCODE_BACK: in onKeyDown()
/third_party/skia/third_party/externals/angle2/samples/sample_util/
DSampleApplication.h51 virtual void onKeyUp(const Event::KeyEvent &keyEvent);
52 virtual void onKeyDown(const Event::KeyEvent &keyEvent);
/third_party/cef/libcef/browser/native/
Dbrowser_platform_delegate_native_linux.cc276 ui::KeyEvent CefBrowserPlatformDelegateNativeLinux::TranslateUiKeyEvent( in TranslateUiKeyEvent()
289 return ui::KeyEvent(character, key_code, dom_code, flags, time_stamp); in TranslateUiKeyEvent()
306 return ui::KeyEvent(type, key_code, dom_code, flags, dom_key, time_stamp); in TranslateUiKeyEvent()
312 ui::KeyEvent ui_event = TranslateUiKeyEvent(key_event); in TranslateWebKeyEvent()
/third_party/flutter/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DViewerActivity.java15 import android.view.KeyEvent;
61 onKeyPressed(mApplication.getNativeHandle(), KeyEvent.KEYCODE_SOFT_LEFT); in onOptionsItemSelected()
64 onKeyPressed(mApplication.getNativeHandle(), KeyEvent.KEYCODE_SOFT_RIGHT); in onOptionsItemSelected()
/third_party/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DViewerActivity.java15 import android.view.KeyEvent;
61 onKeyPressed(mApplication.getNativeHandle(), KeyEvent.KEYCODE_SOFT_LEFT); in onOptionsItemSelected()
64 onKeyPressed(mApplication.getNativeHandle(), KeyEvent.KEYCODE_SOFT_RIGHT); in onOptionsItemSelected()
/third_party/openh264/codec/build/android/enc/src/com/wels/enc/
DWelsEncTest.java9 import android.view.KeyEvent;
148 public boolean onKeyDown (int keyCode, KeyEvent event) { in onKeyDown()
150 case KeyEvent.KEYCODE_BACK: in onKeyDown()
/third_party/gstreamer/gstplugins_base/tools/
Dgst-play-kb.c158 if (buffer.EventType == KEY_EVENT && buffer.Event.KeyEvent.bKeyDown) { in gst_play_kb_source_cb()
161 switch (buffer.Event.KeyEvent.wVirtualKeyCode) { in gst_play_kb_source_cb()
175 key_val[0] = buffer.Event.KeyEvent.uChar.AsciiChar; in gst_play_kb_source_cb()

123