Home
last modified time | relevance | path

Searched refs:indexOf (Results 1 – 25 of 102) sorted by relevance

12345

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceXmlTextActionTest.java82 int cursor = contents.indexOf('^'); in checkClassName()
85 assertEquals(-1, contents.indexOf('^')); in checkClassName()
86 assertEquals(-1, contents.indexOf('[')); in checkClassName()
87 assertEquals(-1, contents.indexOf(']')); in checkClassName()
98 int cursor = contents.indexOf('^'); in checkWord()
101 assertEquals(-1, contents.indexOf('^')); in checkWord()
102 assertEquals(-1, contents.indexOf('[')); in checkWord()
103 assertEquals(-1, contents.indexOf(']')); in checkWord()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/
DAndroidDoubleClickStrategyTest.java56 int cursor = before.indexOf('^'); in checkWord()
59 assertEquals(-1, before.indexOf('^')); in checkWord()
60 assertEquals(-1, before.indexOf('[')); in checkWord()
61 assertEquals(-1, before.indexOf(']')); in checkWord()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidDoubleClickStrategy.java46 int ns = regionText.indexOf(':'); in processElementDoubleClicked()
73 int nameStart = string.indexOf('/', position.x + 1); in getWord()
84 int next = string.indexOf('.', cursor); in getWord()
DAndroidXmlCharacterMatcher.java75 int index = subRegions.indexOf(subRegion); in findOppositeTag()
102 index = subRegions.indexOf(subRegion); in findOppositeTag()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
DViewHierarchyLoader.java87 int index = line.indexOf(' '); in loadScene()
159 int index = data.indexOf('=', start); in loadProperties()
163 int colonIndex = property.name.indexOf(':'); in loadProperties()
168 int index2 = data.indexOf(',', index + 1); in loadProperties()
DWindowsLoader.java59 int index = line.indexOf(' '); in loadWindows()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DSourceProcessor.java257 int pos = mToCompile.indexOf(sourceFile); in compileFiles()
429 if (mRemoved.indexOf(r) == -1) { in mergeFileModifications()
433 int index = mToCompile.indexOf(r); in mergeFileModifications()
444 if (mToCompile.indexOf(r) == -1) { in mergeFileModifications()
448 int index = mRemoved.indexOf(r); in mergeFileModifications()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlCharacterMatcherTest.java124 int index = text.indexOf(after); in checkGotoMatching()
133 int index = s.indexOf('^'); in stripCaret()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormattingStrategyTest.java70 int replaceStart = before.indexOf('['); in check()
74 int replaceEnd = before.indexOf(']'); in check()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/
DAaptParserTest.java165 String originalError = filePath + aaptError.substring(aaptError.indexOf(':')); in checkRanges()
190 String simplerMessage = aaptError.substring(aaptError.indexOf(' ') + 1); in checkRanges()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringAssistantTest.java62 int caretDelta = caretLocation.indexOf("^"); in checkFixes()
66 int caretContextIndex = fileContent.indexOf(caretContext); in checkFixes()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
DGLListProperty.java151 public int indexOf(IGLProperty property) { in indexOf() method in GLListProperty
152 return mList.indexOf(property); in indexOf()
/sdk/attribute_stats/src/
DAnalyzer.java396 if (view.indexOf('.') != -1 && !view.startsWith("android.")) { in processUageMap()
472 int classIndex = line.indexOf("class=\""); in printMergedMetadata()
475 int end = line.indexOf('"', start + 1); in printMergedMetadata()
554 if (view.indexOf('.') != -1 && !view.startsWith("android.")) { in listAdvanced()
568 int index = attribute.indexOf(':'); in listAdvanced()
588 int index = attribute.indexOf(':'); in listAdvanced()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/
DViewsTreeModel.java54 return ((ViewNode) parent).children.indexOf(child); in getIndexOfChild()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRefactoringUtil.java140 int index = text.indexOf(value, potentialStart); in getAttributeValueRangeStart()
167 int index = text.indexOf(element.getTagName(), potentialStart); in getTagNameRangeStart()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/
DAndroidPreferencePage.java129 if (fileName.indexOf(',') >= 0 || fileName.indexOf(';') >= 0) { in doCheckState()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DAndroidClasspathContainerPage.java111 index = indexOf(androidProjects, this.mLibsProjectName); in createControl()
191 private static int indexOf(final String[] array, final String str) { in indexOf() method in AndroidClasspathContainerPage
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/
DEclipseTestCollector.java114 int index = dotPath.indexOf(expectedPackage); in getClass()
DAdtTestData.java69 int pos = mOsRootDataPath.indexOf(':'); in AdtTestData()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DApplicationInfoPage.java321 int separator = mValues.minSdk.indexOf(' '); in modifyText()
566 if (osTarget.indexOf('.') == -1) { in validateSourceFolder()
568 } else if (osTarget.indexOf('.') == 0) { in validateSourceFolder()
666 if (packageFieldContents.indexOf('.') == -1) { in validatePackage()
679 if (className.indexOf('.') != -1) { in validateClass()
784 if (applicationName.indexOf(' ') != -1) { in suggestTestApplicationName()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DNewXmlFileWizard.java265 int caretOffset = fileContents.indexOf(caretToken); in createXmlFile()
282 if (file.getParent().getName().indexOf('-') != -1 in createXmlFile()
401 if (fileName.length() > 0 && fileName.indexOf('.') == -1) { in getFileName()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/
DAbstractPropertiesFieldsPart.java169 int pos = line.indexOf('='); in saveFieldsToModel()
284 int pos = line.indexOf('='); in onModelInit()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DEclipseXmlPrettyPrinterTest.java104 int caretDelta = caretLocation.indexOf("^"); //$NON-NLS-1$ in getCaretOffset()
109 int caretContextIndex = fileContent.indexOf(caretContext); in getCaretOffset()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DStateLabelProvider.java63 int index = ((GLListProperty) parent).indexOf(element); in getName()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DExplodedRenderingHelper.java311 if (list.indexOf(toLeftOf) == -1) { in getBiggestMarginInDirection()
372 int slash = reference.indexOf('/'); in cleanUpIdReference()

12345