Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoring.java117 protected int mSelectionEnd = -1; field in VisualRefactoring
143 mSelectionEnd = Integer.parseInt(arguments.get(KEY_SEL_END)); in VisualRefactoring()
145 mOriginalSelectionEnd = mSelectionEnd; in VisualRefactoring()
160 mSelectionEnd = 0; in VisualRefactoring()
177 mSelectionEnd = end; in VisualRefactoring()
216 mSelectionEnd = end; in VisualRefactoring()
218 mOriginalSelectionEnd = mSelectionEnd; in VisualRefactoring()
227 mSelectionEnd = mSelectionStart + selection.getLength(); in VisualRefactoring()
229 mOriginalSelectionEnd = mSelectionEnd; in VisualRefactoring()
292 args.put(KEY_SEL_END, Integer.toString(mSelectionEnd)); in createArgumentMap()
[all …]
DWrapInRefactoring.java107 if (mSelectionStart == -1 || mSelectionEnd == -1) { in checkInitialConditions()
223 doc, mSelectionStart, mSelectionEnd, rootId, id); in computeChanges()
368 String nested = getText(mSelectionStart, mSelectionEnd); in computeChanges()
394 InsertEdit endEdit = new InsertEdit(mSelectionEnd, sb.toString()); in computeChanges()
DUseCompoundDrawableRefactoring.java123 if (mSelectionStart == -1 || mSelectionEnd == -1) { in checkInitialConditions()
346 doc, mSelectionStart, mSelectionEnd, layoutId, id); in computeChanges()
361 TextEdit replace = new ReplaceEdit(mSelectionStart, mSelectionEnd - mSelectionStart, xml); in computeChanges()
DChangeLayoutRefactoring.java129 if (mSelectionStart == -1 || mSelectionEnd == -1) { in checkInitialConditions()
235 String text = getText(mSelectionStart, mSelectionEnd); in computeChanges()
259 mSelectionEnd, oldId, newId); in computeChanges()
DExtractIncludeRefactoring.java139 if (mSelectionStart == -1 || mSelectionEnd == -1) { in checkInitialConditions()
246 handleIncludingFile(changes, sourceFile, mSelectionStart, mSelectionEnd, in computeChanges()
632 String xml = getText(mSelectionStart, mSelectionEnd);
DUnwrapRefactoring.java89 if (mSelectionStart == -1 || mSelectionEnd == -1) { in checkInitialConditions()
DChangeViewRefactoring.java101 if (mSelectionStart == -1 || mSelectionEnd == -1) { in checkInitialConditions()
DExtractStyleRefactoring.java168 if (mSelectionStart == -1 || mSelectionEnd == -1) { in checkInitialConditions()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringRefactoring.java177 private final int mSelectionEnd; field in ExtractStringRefactoring
237 mSelectionEnd = Integer.parseInt(arguments.get(KEY_SEL_END)); in ExtractStringRefactoring()
242 mSelectionStart = mSelectionEnd = -1; in ExtractStringRefactoring()
259 args.put(KEY_SEL_END, Integer.toString(mSelectionEnd)); in createArgumentMap()
282 mSelectionEnd = mSelectionStart + Math.max(0, selection.getLength() - 1); in ExtractStringRefactoring()
301 mSelectionStart = mSelectionEnd = -1; in ExtractStringRefactoring()
489 scanner.getCurrentTokenEndPosition() >= mSelectionEnd) { in findSelectionInJavaUnit()
495 } else if (scanner.getCurrentTokenStartPosition() > mSelectionEnd) { in findSelectionInJavaUnit()