Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlCharacterMatcher.java70 ITextRegion subRegion = region.getRegionAtCharacterOffset(offset); in findOppositeTag() local
71 if (subRegion == null) { in findOppositeTag()
75 int index = subRegions.indexOf(subRegion); in findOppositeTag()
77 String type = subRegion.getType(); in findOppositeTag()
86 (subRegion.getStart() + region.getStartOffset() == offset)) { in findOppositeTag()
95 subRegion = region.getRegionAtCharacterOffset(offset); in findOppositeTag()
96 if (subRegion == null) { in findOppositeTag()
99 type = subRegion.getType(); in findOppositeTag()
102 index = subRegions.indexOf(subRegion); in findOppositeTag()
107 subRegion = subRegions.get(i); in findOppositeTag()
[all …]
DAndroidXmlAutoEditStrategy.java413 ITextRegion subRegion = subRegions.get(i); in getBalance() local
414 int subRegionStart = regionStart + subRegion.getStart(); in getBalance()
415 int subRegionEnd = regionStart + subRegion.getEnd(); in getBalance()
419 String type = subRegion.getType(); in getBalance()
DHyperlinks.java1808 ITextRegion subRegion = region.getRegionAtCharacterOffset(offset); in find() local
1809 if (subRegion == null) { in find()
1813 int subregionStart = subRegion.getStart(); in find()
1815 return new XmlContext(element, element, attribute, region, subRegion, in find()
1823 ITextRegion subRegion = region.getRegionAtCharacterOffset(offset); in find() local
1825 int subregionStart = subRegion.getStart(); in find()
1827 return new XmlContext((Node) inode, null, null, region, subRegion, in find()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/
DApplicationPackageNameRefactoring.java248 ITextRegion subRegion = list.get(i); in editXmlResourceFile() local
249 String type = subRegion.getType(); in editXmlResourceFile()
253 lastAttrName = region.getText(subRegion); in editXmlResourceFile()
261 String lastAttrValue = region.getText(subRegion); in editXmlResourceFile()
266 region.getStartOffset() + subRegion.getStart(), in editXmlResourceFile()
267 subRegion.getTextLength(), in editXmlResourceFile()
339 ITextRegion subRegion = list.get(i); in editAndroidManifest() local
340 String type = subRegion.getType(); in editAndroidManifest()
344 lastTagName = region.getText(subRegion); in editAndroidManifest()
348 lastAttrName = region.getText(subRegion); in editAndroidManifest()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoring.java377 ITextRegion subRegion = list.get(j); in replaceIds() local
378 String type = subRegion.getType(); in replaceIds()
380 attributeName = region.getText(subRegion); in replaceIds()
387 int subRegionStart = regionStart + subRegion.getStart(); in replaceIds()
392 String attributeValue = region.getText(subRegion); in replaceIds()
1013 ITextRegion subRegion = list.get(j); in replaceAttributeDeclaration() local
1014 String type = subRegion.getType(); in replaceAttributeDeclaration()
1017 if (targetName.equals(region.getText(subRegion))) { in replaceAttributeDeclaration()
1022 valueStart = regionStart + subRegion.getStart(); in replaceAttributeDeclaration()
1098 ITextRegion subRegion = list.get(j); in removeElementTags() local
[all …]
DRefactoringAssistant.java115 ITextRegion subRegion = region.getRegionAtCharacterOffset(offset); in computeQuickAssistProposals() local
116 if (subRegion != null) { in computeQuickAssistProposals()
117 String type = subRegion.getType(); in computeQuickAssistProposals()
119 String value = region.getText(subRegion); in computeQuickAssistProposals()
133 String name = region.getText(subRegion); in computeQuickAssistProposals()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringRefactoring.java659 ITextRegion subRegion = list.get(i); in findSelectionInRegion() local
660 String type = subRegion.getType(); in findSelectionInRegion()
663 currAttrName = region.getText(subRegion); in findSelectionInRegion()
670 if (subRegion.getStart() <= startInRegion && in findSelectionInRegion()
671 startInRegion < subRegion.getTextEnd()) { in findSelectionInRegion()
678 subRegion = list.get(i + 2); in findSelectionInRegion()
679 type = subRegion.getType(); in findSelectionInRegion()
682 currAttrValue = region.getText(subRegion); in findSelectionInRegion()
687 } else if (subRegion.getStart() <= startInRegion && in findSelectionInRegion()
688 startInRegion < subRegion.getTextEnd() && in findSelectionInRegion()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormattingStrategy.java231 ITextRegion subRegion = endRegion.getRegionAtCharacterOffset(end); in format() local
233 int index = regions.indexOf(subRegion); in format()
237 subRegion = regions.get(index); in format()
238 String type = subRegion.getType(); in format()
244 subRegion = regions.get(index); in format()
245 String type = subRegion.getType(); in format()
256 subRegion = regions.get(index); in format()
257 String type = subRegion.getType(); in format()
259 openTagEnd = subRegion.getEnd() + endRegion.getStartOffset(); in format()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DDomUtilities.java301 ITextRegion subRegion = region.getRegionAtCharacterOffset(offset); in getNodeContext() local
302 String type = subRegion.getType(); in getNodeContext()