Home
last modified time | relevance | path

Searched refs:mergeMode (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/java/android/content/
DUndoManager.java485 public UndoOperation<?> getLastOperation(int mergeMode) { in getLastOperation() argument
486 return getLastOperation(null, null, mergeMode); in getLastOperation()
498 public UndoOperation<?> getLastOperation(UndoOwner owner, int mergeMode) { in getLastOperation() argument
499 return getLastOperation(null, owner, mergeMode); in getLastOperation()
515 int mergeMode) { in getLastOperation() argument
519 if (mergeMode != MERGE_MODE_NONE && !mMerged && !mWorking.hasData()) { in getLastOperation()
522 if (state != null && (mergeMode == MERGE_MODE_ANY || !state.hasMultipleOwners()) in getLastOperation()
543 public void addOperation(UndoOperation<?> op, int mergeMode) { in addOperation() argument
552 if (mergeMode != MERGE_MODE_NONE && !mMerged && !mWorking.hasData()) { in addOperation()
554 if (state != null && (mergeMode == MERGE_MODE_ANY || !state.hasMultipleOwners()) in addOperation()