Searched refs:mergeMode (Results 1 – 2 of 2) sorted by relevance
500 public UndoOperation<?> getLastOperation(int mergeMode) { in getLastOperation() argument501 return getLastOperation(null, null, mergeMode); in getLastOperation()513 public UndoOperation<?> getLastOperation(UndoOwner owner, int mergeMode) { in getLastOperation() argument514 return getLastOperation(null, owner, mergeMode); in getLastOperation()531 int mergeMode) { in getLastOperation() argument535 if (mergeMode != MERGE_MODE_NONE && !mMerged && !mWorking.hasData()) { in getLastOperation()538 if (state != null && (mergeMode == MERGE_MODE_ANY || !state.hasMultipleOwners()) in getLastOperation()560 public void addOperation(UndoOperation<?> op, int mergeMode) { in addOperation() argument569 if (mergeMode != MERGE_MODE_NONE && !mMerged && !mWorking.hasData()) { in addOperation()571 if (state != null && (mergeMode == MERGE_MODE_ANY || !state.hasMultipleOwners()) in addOperation()
7223 final int mergeMode; in handleEdit() local7225 mergeMode = MERGE_EDIT_MODE_FORCE_MERGE; in handleEdit()7227 mergeMode = MERGE_EDIT_MODE_NEVER_MERGE; in handleEdit()7229 mergeMode = MERGE_EDIT_MODE_NORMAL; in handleEdit()7239 recordEdit(edit, mergeMode); in handleEdit()7251 private void recordEdit(EditOperation edit, @MergeMode int mergeMode) { in recordEdit() argument7260 } else if (mergeMode == MERGE_EDIT_MODE_FORCE_MERGE) { in recordEdit()7271 } else if (mergeMode == MERGE_EDIT_MODE_NORMAL && lastEdit.mergeWith(edit)) { in recordEdit()