Home
last modified time | relevance | path

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

/developtools/smartperf_host/ide/src/hdc/
DHdcDeviceManager.ts188 ): ((keyboardEvent: KeyboardEvent | string) => void | undefined) | undefined {
194 return (keyboardEvent: KeyboardEvent | string): void => {
196 if (keyboardEvent instanceof KeyboardEvent) {
197 const cmd = keyboardEvent.key;
198 if (keyboardEvent.shiftKey && keyboardEvent.key.toUpperCase() === 'SHIFT') {
200 } else if (keyboardEvent.metaKey) {
202 } else if (keyboardEvent.ctrlKey) {
204 code = this.ctrlKey[keyboardEvent.key];
216 } else if (keyboardEvent.altKey) {
236 hdcShellStream.DoCommand(HdcDeviceManager.processCommand(keyboardEvent));
/developtools/smartperf_host/ide/test/trace/component/
DSpQuerySQL.test.ts81 …let keyboardEvent: KeyboardEvent = new KeyboardEvent('keydown', <KeyboardEventInit>{ ctrlKey: true… variable
82 spQuerySql.dispatchEvent(keyboardEvent);
/developtools/smartperf_host/ide/test/trace/database/ui-worker/
DProcedureWorkerTimeline.test.ts49 …let keyboardEvent: KeyboardEvent = new KeyboardEvent('w', <KeyboardEventInit>{ ctrlKey: true, keyC… variable
50 …timeline(timelineCanvas, ctx, 1, 100254, keyboardEvent, rect, null, null, null, null, null, null, …
/developtools/smartperf_host/ide/src/trace/component/setting/
DSpWebHdcShell.ts30 private sendCallBack: ((keyboardEvent: KeyboardEvent | string) => void | undefined) | undefined;
70 this.shellCanvas!.addEventListener('keydown', async (keyboardEvent) => {
71 keyboardEvent.preventDefault();
72 if (keyboardEvent.ctrlKey && keyboardEvent.code === 'KeyC' && this.points) {
78 this.sendCallBack(keyboardEvent);
/developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/
DRangeRuler.ts568 keyPress(keyboardEvent: KeyboardEvent, currentSlicesTime?: CurrentSlicesTime): void {
572 this.pressedKeys[this.pressedKeys.length - 1] !== keyboardEvent.key.toLocaleLowerCase()
575 return v !== keyboardEvent.key.toLocaleLowerCase();
588 this.pressedKeys.push(keyboardEvent.key.toLocaleLowerCase());