Searched refs:mUndoManager (Results 1 – 1 of 1) sorted by relevance
165 private final UndoManager mUndoManager = new UndoManager(); field in Editor166 private UndoOwner mUndoOwner = mUndoManager.getOwner(UNDO_OWNER_TAG, this);333 mUndoManager.saveInstanceState(parcel); in saveInstanceState()340 mUndoManager.restoreInstanceState(parcel, state.getClassLoader()); in restoreInstanceState()343 mUndoOwner = mUndoManager.getOwner(UNDO_OWNER_TAG, this); in restoreInstanceState()351 mUndoManager.forgetUndos(owners, -1 /* all */); in forgetUndoRedo()352 mUndoManager.forgetRedos(owners, -1 /* all */); in forgetUndoRedo()357 return mAllowUndo && mUndoManager.countUndos(owners) > 0; in canUndo()362 return mAllowUndo && mUndoManager.countRedos(owners) > 0; in canRedo()370 mUndoManager.undo(owners, 1); // Undo 1 action. in undo()[all …]