Searched refs:undo (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/content/
H A DUndoOperation.java34 * @param owner Who owns the data being modified by this undo state; must be
62 * Return true if this undo operation is a member of the given owner.
74 * operation will be dropped when the final undo state is being built.
89 * Called when this undo state is being committed to the undo stack.
91 * may be needed to undo them.
96 * Called when this undo state is being popped off the undo stack (in to
100 public abstract void undo(); method in class:UndoOperation
103 * Called when this undo stat
[all...]
H A DUndoManager.java28 * Top-level class for managing and interacting with the global undo state for
29 * a document or application. This class supports both undo and redo and has
33 * apps implement to define their undo/redo behavior. The UndoManager keeps
34 * a stack of undo states; each state can have one or more undo operations
48 * can provide undo semantics appropriate to the user's context: while within
50 * undo/redo them without needing to impact edits in other objects; while
52 * undo/redo them as a single stream.</p>
72 * Never merge with the last undo state.
77 * Allow merge with the last undo stat
236 public int undo(UndoOwner[] owners, int count) { method in class:UndoManager
907 void undo() { method in class:UndoManager.UndoState
[all...]
/frameworks/base/core/java/android/widget/
H A DEditor.java3931 if (DEBUG_UNDO) Log.d(TAG, "*** skipping, currently performing undo/redo");
3974 // Couldn't add to the current undo operation, need to start a new
3975 // undo state for a new undo operation.
3980 // Create a new undo state reflecting the operation being performed.
4019 public void undo() { method in class:Editor.TextModifyOperation
4029 // Both undo and redo involves swapping the contents of the range

Completed in 730 milliseconds