Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DExtractStyleRefactoring.java337 int insertAtIndex; in computeChanges() local
341 insertAtIndex = context.getFirst(); in computeChanges()
344 insertAtIndex = 0; in computeChanges()
351 addFile.setEdit(new InsertEdit(insertAtIndex, styleString)); in computeChanges()
457 int insertAtIndex = -1; in computeInsertContext() local
473 insertAtIndex = region.getStartOffset() + region.getLength(); in computeInsertContext()
497 if (insertAtIndex == -1) { in computeInsertContext()
499 insertAtIndex = contents.indexOf("</" + TAG_RESOURCES + ">"); //$NON-NLS-1$ in computeInsertContext()
500 if (insertAtIndex == -1) { in computeInsertContext()
501 insertAtIndex = contents.length(); in computeInsertContext()
[all …]