Home
last modified time | relevance | path

Searched refs:getOffset (Results 1 – 25 of 30) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DTypoFix.java82 int forwardDelta = forward.getOffset() - start; in apply()
83 int backwardDelta = start - backward.getOffset(); in apply()
85 start = forward.getOffset(); in apply()
87 start = backward.getOffset(); in apply()
90 start = forward.getOffset(); in apply()
92 start = backward.getOffset(); in apply()
DLintFixGenerator.java175 file, document, invocationContext.getOffset()); in computeQuickAssistProposals()
DEclipseLintClient.java577 int startOffset = startPosition.getOffset();
578 int endOffset = endPosition != null ? endPosition.getOffset() : -1;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DAaptParser.java541 startOffset = region.getOffset(); in checkAndMark()
626 } else if (region1.getOffset() < region2.getOffset()) { in findRange()
652 region = new Region(region.getOffset() + 1, region.getLength() - 1); in findRange()
678 int lineStartOffset = lineInfo.getOffset(); in findRange()
691 region = adapter.find(region.getOffset() + first.length(), second, in findRange()
712 String lineContents = document.get(lineInfo.getOffset(), lineInfo.getLength()); in findLineTextRange()
730 return new Region(lineInfo.getOffset() + lineBegin, lineEnd - lineBegin); in findLineTextRange()
DConvertSwitchQuickFixProcessor.java88 int errorStart = error.getOffset(); in getCorrections()
DAaptQuickFix.java177 file, document, invocationContext.getOffset()); in computeQuickAssistProposals()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/
DAbstractPropertiesFieldsPart.java163 String line = doc.get(info.getOffset(), info.getLength()); in saveFieldsToModel()
183 doc.replace(info.getOffset(), info.getLength(), line); in saveFieldsToModel()
212 doc.replace(info.getOffset(), info.getLength(), line); in saveFieldsToModel()
278 String line = doc.get(info.getOffset(), info.getLength()); in onModelInit()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
DHyperlinksTest.java225 sb.append(viewer.getDocument().get(region.getOffset(), region.getLength())); in checkXmlNavigation()
289 selection = new Point(range.getOffset(), range.getLength()); in checkXmlNavigation()
296 int lineStart = document.getLineInformationOfOffset(selection.x).getOffset(); in checkXmlNavigation()
298 int lineEnd = lineEndInfo.getOffset() + lineEndInfo.getLength(); in checkXmlNavigation()
DAndroidXmlCharacterMatcherTest.java125 int caretPosAfter = match.getOffset() - index; in checkGotoMatching()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DCompletionProposal.java172 int start = javadocRange.getOffset() - sourceRange.getOffset(); in getAdditionalProposalInfo()
222 mReplacementOffset = position.getOffset(); in apply()
DHyperlinks.java1130 return Pair.of(file, parser.getOffset(element)); in findTag()
1150 range = new Region(range.getOffset(), in getStyleLinks()
1303 XmlContext context = XmlContext.find(document, region.getOffset()); in detectHyperlinks()
1315 range = new Region(range.getOffset() + 1, range.getLength() - 2); in detectHyperlinks()
1349 int lineStart = lineInfo.getOffset(); in detectHyperlinks()
1422 int offset = region.getOffset(); in detectHyperlinks()
1436 elements = ((ICodeAssist) input).codeSelect(wordRegion.getOffset(), wordRegion in detectHyperlinks()
1861 public int getOffset(Node node) { in getOffset() method in Hyperlinks.OffsetTrackingParser
DAndroidXmlAutoEditStrategy.java312 return info.getOffset(); in findLineStart()
DAndroidXmlEditor.java1395 int lineBegin = lineInformation.getOffset();
1546 int lineBegin = lineInformation.getOffset();
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DSourceRevealer.java151 && region.getOffset() >= sourceRange.getOffset() in revealMethod()
152 && region.getOffset() < sourceRange.getOffset() in revealMethod()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceXmlTextAction.java110 ResourceUrl resource = findResource(document, selection.getOffset()); in run()
113 resource = findItemDefinition(document, selection.getOffset()); in run()
126 String className = findClassName(document, file, selection.getOffset()); in run()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormatter.java69 final int delta= offset - document.getLineInformationOfOffset(offset).getOffset(); in formatMaster()
DAndroidXmlFormattingStrategy.java141 TextEdit edit = format(model, mRegion.getOffset(), in format()
369 editor.setHighlightRange(replaceEdit.getOffset(), replaceEdit.getText().length(), in format()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/
DAaptQuickFixTest.java155 public int getOffset() { in checkResourceFix()
255 public int getOffset() { in checkNamespaceFix()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringAssistantTest.java89 public int getOffset() { in checkFixes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoring.java221 mOriginalSelectionStart = selection.getOffset(); in VisualRefactoring()
226 mSelectionStart = selection.getOffset(); in VisualRefactoring()
693 mSelectionStart = mSelection.getOffset(); in initElements()
1162 int lineStart = info.getOffset(); in removeIndentation()
1193 int lineStart = info.getOffset(); in setIndentation()
1238 int lineBegin = info.getOffset(); in createDeletion()
1249 int lineEnd = info.getOffset() + info.getLength(); in createDeletion()
DRefactoringAssistant.java99 int offset = invocationContext.getOffset(); in computeQuickAssistProposals()
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/
DSourceRevealer.java102 textEditor.selectAndReveal(lineInfo.getOffset(), lineInfo.getLength()); in reveal()
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/
Dandroid-support-v7-gridlayout.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DBaseProjectHelper.java393 textEditor.selectAndReveal(lineInfo.getOffset(), lineInfo.getLength()); in revealSource()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DNewXmlFileWizard.java153 xmlEditor.show(region.getOffset(), region.getLength(), in performFinish()

12