Searched refs:mergeMode (Results 1 – 2 of 2) sorted by relevance
497 public UndoOperation<?> getLastOperation(int mergeMode) { in getLastOperation() argument498 return getLastOperation(null, null, mergeMode); in getLastOperation()510 public UndoOperation<?> getLastOperation(UndoOwner owner, int mergeMode) { in getLastOperation() argument511 return getLastOperation(null, owner, mergeMode); in getLastOperation()528 int mergeMode) { in getLastOperation() argument532 if (mergeMode != MERGE_MODE_NONE && !mMerged && !mWorking.hasData()) { in getLastOperation()535 if (state != null && (mergeMode == MERGE_MODE_ANY || !state.hasMultipleOwners()) in getLastOperation()557 public void addOperation(UndoOperation<?> op, int mergeMode) { in addOperation() argument566 if (mergeMode != MERGE_MODE_NONE && !mMerged && !mWorking.hasData()) { in addOperation()568 if (state != null && (mergeMode == MERGE_MODE_ANY || !state.hasMultipleOwners()) in addOperation()
6571 final int mergeMode;6573 mergeMode = MERGE_EDIT_MODE_FORCE_MERGE;6575 mergeMode = MERGE_EDIT_MODE_NEVER_MERGE;6577 mergeMode = MERGE_EDIT_MODE_NORMAL;6587 recordEdit(edit, mergeMode);6599 private void recordEdit(EditOperation edit, @MergeMode int mergeMode) {6608 } else if (mergeMode == MERGE_EDIT_MODE_FORCE_MERGE) {6619 } else if (mergeMode == MERGE_EDIT_MODE_NORMAL && lastEdit.mergeWith(edit)) {