Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DUndoManager.java481 public UndoOperation<?> getLastOperation(int mergeMode) { in getLastOperation() argument
482 return getLastOperation(null, null, mergeMode); in getLastOperation()
494 public UndoOperation<?> getLastOperation(UndoOwner owner, int mergeMode) { in getLastOperation() argument
495 return getLastOperation(null, owner, mergeMode); in getLastOperation()
511 int mergeMode) { in getLastOperation() argument
515 if (mergeMode != MERGE_MODE_NONE && !mMerged && !mWorking.hasData()) { in getLastOperation()
518 if (state != null && (mergeMode == MERGE_MODE_ANY || !state.hasMultipleOwners()) in getLastOperation()
539 public void addOperation(UndoOperation<?> op, int mergeMode) { in addOperation() argument
548 if (mergeMode != MERGE_MODE_NONE && !mMerged && !mWorking.hasData()) { in addOperation()
550 if (state != null && (mergeMode == MERGE_MODE_ANY || !state.hasMultipleOwners()) in addOperation()