summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author James Cook <jamescook@google.com> 2015-02-11 10:46:44 -0800
committer James Cook <jamescook@google.com> 2015-02-19 10:32:14 -0800
commit9201e797833f35b9afb219f88c10d3b6fda02a4e (patch)
treed5270b1fd4f2625670d4b722d5f9b9b871791b81 /libs/hwui/ProgramCache.cpp
parent3558752ec77f455bbabc86b3178dfb294edf5aff (diff)
Add basic support for Ctrl-Z to editable TextViews
* Add an UndoManager to the Editor for each editable TextView * Record operations as being owned by that Editor * Parcel the undo state * Wire hardware keyboard shortcuts Ctrl-Z for undo and Ctrl-Shift-Z for redo into TextView shortcut handling. * Expose IDs for "undo" and "redo" for symmetry with cut/copy/paste. Tests in CTS TextViewTest will land separately in ag/635321 Bug: 19332904 Change-Id: Ibd23843f86b4cd556751faa0b3ad1f35d6d49785
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions