diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2015-12-05 13:23:26 +0100 |
---|---|---|
committer | Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> | 2015-12-07 16:56:25 +0000 |
commit | 420b4dbece04f8015cad24a49622c65c540f0a22 (patch) | |
tree | 39a5832ef95a2f24a1275e683b492c5f8d5744ac /src/plugins/platforms/qnx/qqnxcursor.h | |
parent | 7908da98f01c24bd95a9e7a7f938de697a6a02b6 (diff) |
Android: Implement QInputMethod::keyboardRectangle
We can use getWindowVisibleDisplayFrame to know the height on the
keyboard, and we can use getLocationOnScreen to find out how much
the view is scrolled. Since onPreDraw is always called when the
view is scrolled or when the keyboard appears or disapear, we can
call the native functions from there.
This is not working for floating keyboards.
[ChangeLog][Android] Implemented QInputMethod::keyboardRectangle
Task-number: QTBUG-40731
Change-Id: I7848eb34fece410b29a06bf0bbb2313112fffa68
Reviewed-by: Samuel Nevala <samuel.nevala@intopalo.com>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxcursor.h')
0 files changed, 0 insertions, 0 deletions