Searched refs:mUndoManager (Results 1 – 1 of 1) sorted by relevance
202 private final UndoManager mUndoManager = new UndoManager(); field in Editor203 private UndoOwner mUndoOwner = mUndoManager.getOwner(UNDO_OWNER_TAG, this);543 mUndoManager.saveInstanceState(parcel); in saveInstanceState()550 mUndoManager.restoreInstanceState(parcel, state.getClassLoader()); in restoreInstanceState()553 mUndoOwner = mUndoManager.getOwner(UNDO_OWNER_TAG, this); in restoreInstanceState()561 mUndoManager.forgetUndos(owners, -1 /* all */); in forgetUndoRedo()562 mUndoManager.forgetRedos(owners, -1 /* all */); in forgetUndoRedo()567 return mAllowUndo && mUndoManager.countUndos(owners) > 0; in canUndo()572 return mAllowUndo && mUndoManager.countRedos(owners) > 0; in canRedo()580 mUndoManager.undo(owners, 1); // Undo 1 action. in undo()[all …]