Lines Matching refs:callback
91 function switchInputMethod(target: InputMethodProperty, callback: AsyncCallback<boolean>): void;
143 …function switchCurrentInputMethodSubtype(target: InputMethodSubtype, callback: AsyncCallback<boole…
199 callback: AsyncCallback<boolean>
237 …callback: (inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype) => vo…
251 …callback?: (inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype) => v…
264 on(type: 'imeShow', callback: (info: Array<InputWindowInfo>) => void): void;
276 off(type: 'imeShow', callback?: (info: Array<InputWindowInfo>) => void): void;
288 on(type: 'imeHide', callback: (info: Array<InputWindowInfo>) => void): void;
300 off(type: 'imeHide', callback?: (info: Array<InputWindowInfo>) => void): void;
315 callback: AsyncCallback<Array<InputMethodSubtype>>
340 listCurrentInputMethodSubtype(callback: AsyncCallback<Array<InputMethodSubtype>>): void;
366 getInputMethods(enable: boolean, callback: AsyncCallback<Array<InputMethodProperty>>): void;
390 listInputMethod(callback: AsyncCallback<Array<InputMethodProperty>>): void;
408 showOptionalInputMethods(callback: AsyncCallback<boolean>): void;
427 displayOptionalInputMethod(callback: AsyncCallback<void>): void;
457 attach(showKeyboard: boolean, textConfig: TextConfig, callback: AsyncCallback<void>): void;
483 showTextInput(callback: AsyncCallback<void>): void;
507 hideTextInput(callback: AsyncCallback<void>): void;
530 detach(callback: AsyncCallback<void>): void;
556 setCallingWindow(windowId: number, callback: AsyncCallback<void>): void;
585 updateCursor(cursorInfo: CursorInfo, callback: AsyncCallback<void>): void;
615 changeSelection(text: string, start: number, end: number, callback: AsyncCallback<void>): void;
645 updateAttribute(attribute: InputAttribute, callback: AsyncCallback<void>): void;
669 stopInputSession(callback: AsyncCallback<boolean>): void;
691 stopInput(callback: AsyncCallback<boolean>): void;
715 showSoftKeyboard(callback: AsyncCallback<void>): void;
741 hideSoftKeyboard(callback: AsyncCallback<void>): void;
768 on(type: 'selectByRange', callback: Callback<Range>): void;
779 off(type: 'selectByRange', callback?: Callback<Range>): void;
793 on(type: 'selectByMovement', callback: Callback<Movement>): void;
804 off(type: 'selectByMovement', callback?: Callback<Movement>): void;
817 on(type: 'insertText', callback: (text: string) => void): void;
828 off(type: 'insertText', callback?: (text: string) => void): void;
843 on(type: 'deleteLeft', callback: (length: number) => void): void;
854 off(type: 'deleteLeft', callback?: (length: number) => void): void;
869 on(type: 'deleteRight', callback: (length: number) => void): void;
880 off(type: 'deleteRight', callback?: (length: number) => void): void;
893 on(type: 'sendKeyboardStatus', callback: (keyboardStatus: KeyboardStatus) => void): void;
904 off(type: 'sendKeyboardStatus', callback?: (keyboardStatus: KeyboardStatus) => void): void;
918 on(type: 'sendFunctionKey', callback: (functionKey: FunctionKey) => void): void;
929 off(type: 'sendFunctionKey', callback?: (functionKey: FunctionKey) => void): void;
943 on(type: 'moveCursor', callback: (direction: Direction) => void): void;
954 off(type: 'moveCursor', callback?: (direction: Direction) => void): void;
967 on(type: 'handleExtendAction', callback: (action: ExtendAction) => void): void;
978 off(type: 'handleExtendAction', callback?: (action: ExtendAction) => void): void;
991 on(type: 'getLeftTextOfCursor', callback: (length: number) => string): void;
1002 off(type: 'getLeftTextOfCursor', callback?: (length: number) => string): void;
1015 on(type: 'getRightTextOfCursor', callback: (length: number) => string): void;
1026 off(type: 'getRightTextOfCursor', callback?: (length: number) => string): void;
1039 on(type: 'getTextIndexAtCursor', callback: () => number): void;
1050 off(type: 'getTextIndexAtCursor', callback?: () => number): void;