Searched refs:mergeMode (Results 1 – 2 of 2) sorted by relevance
499 public UndoOperation<?> getLastOperation(int mergeMode) { in getLastOperation() argument500 return getLastOperation(null, null, mergeMode); in getLastOperation()512 public UndoOperation<?> getLastOperation(UndoOwner owner, int mergeMode) { in getLastOperation() argument513 return getLastOperation(null, owner, mergeMode); in getLastOperation()530 int mergeMode) { in getLastOperation() argument534 if (mergeMode != MERGE_MODE_NONE && !mMerged && !mWorking.hasData()) { in getLastOperation()537 if (state != null && (mergeMode == MERGE_MODE_ANY || !state.hasMultipleOwners()) in getLastOperation()559 public void addOperation(UndoOperation<?> op, int mergeMode) { in addOperation() argument568 if (mergeMode != MERGE_MODE_NONE && !mMerged && !mWorking.hasData()) { in addOperation()570 if (state != null && (mergeMode == MERGE_MODE_ANY || !state.hasMultipleOwners()) in addOperation()
7080 final int mergeMode; in handleEdit() local7082 mergeMode = MERGE_EDIT_MODE_FORCE_MERGE; in handleEdit()7084 mergeMode = MERGE_EDIT_MODE_NEVER_MERGE; in handleEdit()7086 mergeMode = MERGE_EDIT_MODE_NORMAL; in handleEdit()7096 recordEdit(edit, mergeMode); in handleEdit()7108 private void recordEdit(EditOperation edit, @MergeMode int mergeMode) { in recordEdit() argument7117 } else if (mergeMode == MERGE_EDIT_MODE_FORCE_MERGE) { in recordEdit()7128 } else if (mergeMode == MERGE_EDIT_MODE_NORMAL && lastEdit.mergeWith(edit)) { in recordEdit()