Home
last modified time | relevance | path

Searched refs:mSelectionStart (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.java116 protected int mSelectionStart = -1; field in VisualRefactoring
142 mSelectionStart = Integer.parseInt(arguments.get(KEY_SEL_START)); in VisualRefactoring()
144 mOriginalSelectionStart = mSelectionStart; in VisualRefactoring()
159 mSelectionStart = 0; in VisualRefactoring()
176 mSelectionStart = start; in VisualRefactoring()
215 mSelectionStart = start; in VisualRefactoring()
217 mOriginalSelectionStart = mSelectionStart; in VisualRefactoring()
226 mSelectionStart = selection.getOffset(); in VisualRefactoring()
227 mSelectionEnd = mSelectionStart + selection.getLength(); in VisualRefactoring()
228 mOriginalSelectionStart = mSelectionStart; in VisualRefactoring()
[all …]
DWrapInRefactoring.java107 if (mSelectionStart == -1 || mSelectionEnd == -1) { in checkInitialConditions()
198 String startIndent = AndroidXmlEditor.getIndentAtOffset(document, mSelectionStart); in computeChanges()
223 doc, mSelectionStart, mSelectionEnd, rootId, id); in computeChanges()
365 InsertEdit beginEdit = new InsertEdit(mSelectionStart, sb.toString()); in computeChanges()
368 String nested = getText(mSelectionStart, mSelectionEnd); in computeChanges()
374 InsertEdit newline = new InsertEdit(mSelectionStart + index, indentUnit); in computeChanges()
DChangeLayoutRefactoring.java129 if (mSelectionStart == -1 || mSelectionEnd == -1) { in checkInitialConditions()
235 String text = getText(mSelectionStart, mSelectionEnd); in computeChanges()
243 rootEdit.addChild(new ReplaceEdit(mSelectionStart + open, oldLength, name)); in computeChanges()
245 rootEdit.addChild(new ReplaceEdit(mSelectionStart + close, oldLength, name)); in computeChanges()
258 mSelectionStart, in computeChanges()
382 rootEdit.addChild(new ReplaceEdit(mSelectionStart + open, oldLength, in convertLinearToTable()
385 rootEdit.addChild(new ReplaceEdit(mSelectionStart + close, in convertLinearToTable()
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()
DExtractIncludeRefactoring.java139 if (mSelectionStart == -1 || mSelectionEnd == -1) { in checkInitialConditions()
246 handleIncludingFile(changes, sourceFile, mSelectionStart, mSelectionEnd, in computeChanges()
632 String xml = getText(mSelectionStart, mSelectionEnd);
634 xml = stripTopLayoutAttributes(primaryNode, mSelectionStart, xml);
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.java174 private final int mSelectionStart; field in ExtractStringRefactoring
236 mSelectionStart = Integer.parseInt(arguments.get(KEY_SEL_START)); in ExtractStringRefactoring()
242 mSelectionStart = mSelectionEnd = -1; in ExtractStringRefactoring()
258 args.put(KEY_SEL_START, Integer.toString(mSelectionStart)); in createArgumentMap()
281 mSelectionStart = selection.getOffset(); in ExtractStringRefactoring()
282 mSelectionEnd = mSelectionStart + Math.max(0, selection.getLength() - 1); in ExtractStringRefactoring()
301 mSelectionStart = mSelectionEnd = -1; in ExtractStringRefactoring()
488 if (scanner.getCurrentTokenStartPosition() <= mSelectionStart && in findSelectionInJavaUnit()
566 for(int offset = mSelectionStart; offset >= 0 && node == null; --offset) { in findSelectionInXmlFile()
588 int selStart = mSelectionStart; in findSelectionInXmlFile()