commit | 2816fafd20385d173e2125885f5dd3e02285727c | [log] [tgz] |
---|---|---|
author | Victor Tasayco Loarte <[email protected]> | Thu Aug 25 21:40:42 2016 +0000 |
committer | android-build-merger <[email protected]> | Thu Aug 25 21:40:42 2016 +0000 |
tree | d9cc9de02ce64a726085e2b0cd6486d21cc6d8cd | |
parent | c80519c895082ac8b190e1821008976861b8434e [diff] | |
parent | 780caf6cb8b5093e15705034a59ed7c547109f4d [diff] |
display: invert touch cursor coordinate am: 71806925d3 am: c7456da53d am: 780caf6cb8 Change-Id: I37e12c441d088868ab219866f39d5e667ee889c2
diff --git a/merrifield/ips/tangier/TngCursorPlane.cpp b/merrifield/ips/tangier/TngCursorPlane.cpp index 8ce5af7..c229711 100644 --- a/merrifield/ips/tangier/TngCursorPlane.cpp +++ b/merrifield/ips/tangier/TngCursorPlane.cpp
@@ -99,6 +99,11 @@ cursorSize = w; } +#if ENABLE_ROTATION_180 + dstX = mModeInfo.hdisplay - dstX - cursorSize; + dstY = mModeInfo.vdisplay - dstY - cursorSize; +#endif + uint32_t cntr = 0; if (64 <= cursorSize && cursorSize < 128) { cursorSize = 64;