Searched refs:undo (Results 1 - 4 of 4) 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>
57 // The common case is a single undo owner (e.g. for a TextView), so default to that capacity.
74 * Never merge with the last undo stat
234 public int undo(UndoOwner[] owners, int count) { method in class:UndoManager
911 void undo() { method in class:UndoManager.UndoState
[all...]
/frameworks/base/core/java/android/widget/
H A DEditor.java143 // Each Editor manages its own undo stack.
268 // Synchronize the filter list, which places the undo input filter at the end.
285 // Re-associate this object as the owner of undo state.
290 * Forgets all undo and redo operations for this Editor.
308 void undo() { method in class:Editor
313 mUndoManager.undo(owners, 1); // Undo 1 action.
5111 * An InputFilter that monitors text input to maintain undo history. It does not modify the
5159 // Check to see if this edit should be tracked for undo.
5176 * this function created an undo operation for it.
5210 // a single operation. Always undo th
5386 public void undo() { method in class:Editor.EditOperation
[all...]
H A DTextView.java1699 // TODO: Consider supporting a global undo manager.
1718 // TODO: Consider supporting a global undo manager. An implementation will need to:
9131 static final int ID_UNDO = android.R.id.undo;
9175 mEditor.undo();

Completed in 243 milliseconds