/sdk/find_java2/src/ |
D | FindJava2Dlg.cpp | 154 int index = pNMItemActivate->iItem; in OnNMClickPathList() local 155 selectPath(index, nullptr); in OnNMClickPathList() 166 int index = pNMLV->iItem; in OnLvnItemchangedPathList() local 178 if (oldChecked && !newChecked && index == mSelectedIndex) { in OnLvnItemchangedPathList() 181 } else if (!oldChecked && newChecked && index != mSelectedIndex) { in OnLvnItemchangedPathList() 184 if (n != index && mPathsListCtrl.GetCheck(n)) { in OnLvnItemchangedPathList() 189 mSelectedIndex = index; in OnLvnItemchangedPathList() 215 int index = 0; in fillPathsList() local 218 mPathsListCtrl.InsertItem(index, pv.getVersion()); // column 0 = version in fillPathsList() 219 mPathsListCtrl.SetItemText(index, COL_PATH, pv.mPath); // column 1 = path in fillPathsList() [all …]
|
D | JavaFinder.cpp | 145 int index = 0; in getJavaVersion() local 164 if (index < 32) { in getJavaVersion() 165 DWORD n = 32 - index; in getJavaVersion() 168 for (char *b = buffer; n > 0; n--, b++, index++) { in getJavaVersion() 171 first32[index] = c; in getJavaVersion() 173 first32[index] = 0; in getJavaVersion() 190 if (result && index > 0) { in getJavaVersion() 201 result = extractJavaVersion(first32, index, outVersionStr, outVersionInt); in getJavaVersion() 371 DWORD index = 0; in exploreJavaRegistry() local 373 for (LONG result = ERROR_SUCCESS; result == ERROR_SUCCESS; index++) { in exploreJavaRegistry() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | WidgetPullParser.java | 77 public String getAttributeName(int index) { in getAttributeName() argument 78 if (index < mAttributes.length) { in getAttributeName() 79 return mAttributes[index][0]; in getAttributeName() 86 public String getAttributeNamespace(int index) { in getAttributeNamespace() argument 91 public String getAttributePrefix(int index) { in getAttributePrefix() argument 97 public String getAttributeValue(int index) { in getAttributeValue() argument 98 if (index < mAttributes.length) { in getAttributeValue() 99 return mAttributes[index][1]; in getAttributeValue()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/ |
D | LibraryProperties.java | 208 int index = mTable.getSelectionIndex(); in LibraryProperties() 209 ItemData data = mItemDataList.remove(index); in LibraryProperties() 210 mTable.remove(index); in LibraryProperties() 213 addItem(data.relativePath, data.project, index - 1); in LibraryProperties() 216 mTable.select(index - 1); in LibraryProperties() 228 int index = mTable.getSelectionIndex(); in LibraryProperties() 229 ItemData data = mItemDataList.remove(index); in LibraryProperties() 230 mTable.remove(index); in LibraryProperties() 233 addItem(data.relativePath, data.project, index + 1); in LibraryProperties() 236 mTable.select(index + 1); in LibraryProperties() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ddms/ |
D | StaticPortConfigDialog.java | 193 int index = mPortTable.getSelectionIndex(); in createUI() 194 String oldDeviceName = getDeviceName(index); in createUI() 195 String oldAppName = getAppName(index); in createUI() 196 String oldPortNumber = getPortNumber(index); in createUI() 206 replaceEntry(index, deviceName, app, port); in createUI() 217 int index = mPortTable.getSelectionIndex(); in createUI() 218 removeEntry(index); in createUI() 251 int index = mPortTable.getSelectionIndex(); in createUI() 253 boolean enabled = index != -1; in createUI() 285 private void removeEntry(int index) { in removeEntry() argument [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
D | AndroidLaunchConfiguration.java | 132 int index = LaunchConfigDelegate.DEFAULT_SPEED; in set() local 134 index = config.getAttribute(LaunchConfigDelegate.ATTR_SPEED, index); in set() 138 mNetworkSpeed = EmulatorConfigTab.getSpeed(index); in set() 140 index = LaunchConfigDelegate.DEFAULT_DELAY; in set() 142 index = config.getAttribute(LaunchConfigDelegate.ATTR_DELAY, index); in set() 146 mNetworkDelay = EmulatorConfigTab.getDelay(index); in set()
|
D | EmulatorConfigTab.java | 414 int index = 0; in initializeFrom() local 416 index = 1; in initializeFrom() 418 index = 2; in initializeFrom() 420 mDeviceTypeCombo.select(index); in initializeFrom() 489 int index = -1; in initializeFrom() local 491 index = LaunchConfigDelegate.DEFAULT_SPEED; in initializeFrom() 493 index = configuration.getAttribute(LaunchConfigDelegate.ATTR_SPEED, in initializeFrom() 494 index); in initializeFrom() 498 if (index == -1) { in initializeFrom() 501 mSpeedCombo.select(index); in initializeFrom() [all …]
|
/sdk/eventanalyzer/src/com/android/eventanalyzer/ |
D | EventAnalyzer.java | 76 int index = 0; in run() local 78 String argument = args[index++]; in run() 83 if (index == args.length) { in run() 87 mInputDevice = args[index++]; in run() 91 if (index == args.length) { in run() 95 mInputBinaryFile = args[index++]; in run() 99 if (index == args.length) { in run() 103 mInputTextFile = args[index++]; in run() 107 if (index == args.length) { in run() 111 mInputFolder = args[index++]; in run() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/ |
D | MockNodeList.java | 52 public Node item(int index) { in item() argument 53 if (index >= 0 && index < mChildren.size()) { in item() 54 return mChildren.get(index); in item()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
D | AndroidXmlFormattingStrategy.java | 233 int index = regions.indexOf(subRegion); in format() local 234 if (index != -1) { in format() 237 subRegion = regions.get(index); in format() 240 index--; in format() 243 for (; index >= 0; index--) { in format() 244 subRegion = regions.get(index); in format() 255 for (index = Math.max(0, index); index < max; index++) { in format() 256 subRegion = regions.get(index); in format() 389 int index = replaceStart; in createReplaceEdit() local 391 while (index > 0) { in createReplaceEdit() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/ |
D | StateLabelProvider.java | 63 int index = ((GLListProperty) parent).indexOf(element); in getName() local 65 return String.format("Context %d (ES1)", index); in getName() 67 return String.format("Context %d (ES2)", index); in getName() 69 return Integer.toString(index); in getName() 74 int index = ((GLSparseArrayProperty) parent).keyFor(element); in getName() local 75 return Integer.toString(index); in getName()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
D | AndroidClasspathContainerPage.java | 69 final int index = this.mProjectsCombo.getSelectionIndex(); in getSelection() local 70 if (index != -1) { in getSelection() 71 final String selectedProjectName = this.mProjectsCombo.getItem(index); in getSelection() 108 final int index; in createControl() local 111 index = indexOf(androidProjects, this.mLibsProjectName); in createControl() 114 index = 0; in createControl() 116 index = -1; in createControl() 120 if (index != -1) { in createControl() 121 this.mProjectsCombo.select(index); in createControl()
|
D | AndroidNature.java | 225 int index = -1; in configurePreBuilder() local 228 index = i; in configurePreBuilder() 234 index++; in configurePreBuilder() 240 System.arraycopy(commands, 0, newCommands, 0, index); in configurePreBuilder() 245 newCommands[index] = command; in configurePreBuilder() 248 System.arraycopy(commands, index, newCommands, index + 1, commands.length-index); in configurePreBuilder()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidXmlCharacterMatcherTest.java | 124 int index = text.indexOf(after); in checkGotoMatching() local 125 int caretPosAfter = match.getOffset() - index; in checkGotoMatching() 133 int index = s.indexOf('^'); in stripCaret() local 134 assertTrue(index != -1); in stripCaret() 135 return s.substring(0, index) + s.substring(index + 1); in stripCaret()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | FragmentMenu.java | 126 int index = 0; in addMenuItems() local 128 index = source.indexOf(R_LAYOUT_RESOURCE_PREFIX, index); in addMenuItems() 129 if (index == -1) { in addMenuItems() 132 index += R_LAYOUT_RESOURCE_PREFIX.length(); in addMenuItems() 133 int end = index; in addMenuItems() 141 if (end > index) { in addMenuItems() 142 String title = source.substring(index, end); in addMenuItems() 146 if (index > len && source.startsWith(ANDROID_R_PREFIX, index - len)) { in addMenuItems() 157 index++; in addMenuItems()
|
D | SimpleElement.java | 215 int[] index = new int[] { 0 }; in parseString() local 217 while ((element = parseLines(lines, index)) != null) { in parseString() 229 int index = inOutIndex[0]; in parseLines() local 230 while (index < lines.length) { in parseLines() 231 String line = lines[index++]; in parseLines() 256 inOutIndex[0] = index; in parseLines() 295 inOutIndex[0] = index - 1; in parseLines() 300 index = inOutIndex[0]; in parseLines() 311 inOutIndex[0] = index; in parseLines() 315 inOutIndex[0] = index; in parseLines()
|
D | BinPacker.java | 88 int index = findBest(width, height); in occupy() local 89 if (index == -1) { in occupy() 93 return split(index, width, height); in occupy() 178 private void removeRect(int index) { in removeRect() argument 181 if (index != lastIndex) { in removeRect() 184 Rect temp = mSpace.get(index); in removeRect() 185 mSpace.set(index, mSpace.get(lastIndex)); in removeRect() 195 private Rect split(int index, int width, int height) { in split() argument 196 Rect rect = mSpace.get(index); in split()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
D | ViewHierarchyLoader.java | 87 int index = line.indexOf(' '); in loadScene() local 90 lastNode.name = line.substring(0, index); in loadScene() 92 line = line.substring(index + 1); in loadScene() 159 int index = data.indexOf('=', start); in loadProperties() local 161 property.name = data.substring(start, index); in loadProperties() 168 int index2 = data.indexOf(',', index + 1); in loadProperties() 169 int length = Integer.parseInt(data.substring(index + 1, index2)); in loadProperties()
|
D | WindowsLoader.java | 59 int index = line.indexOf(' '); in loadWindows() local 60 if (index != -1) { in loadWindows() 61 String windowId = line.substring(0, index); in loadWindows() 70 Window w = new Window(line.substring(index + 1), id); in loadWindows()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
D | TestNode.java | 113 public void removeChild(int index) { in removeChild() argument 114 TestNode removed = mChildren.remove(index); in removeChild() 190 public @NonNull INode insertChildAt(@NonNull String viewFqcn, int index) { in insertChildAt() argument 192 if (index == -1) { in insertChildAt() 195 mChildren.add(index, child); in insertChildAt() 203 int index = mChildren.indexOf(node); in removeChild() local 204 if (index != -1) { in removeChild() 205 removeChild(index); in removeChild() 369 public INode insertChildAt(String viewFqcn, int index) { in insertChildAt() argument 370 if (index == -1) { in insertChildAt() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/ |
D | GLListProperty.java | 63 public IGLProperty get(int index) { in get() argument 64 return mList.get(index); in get() 76 public void set(int index, IGLProperty property) { in set() argument 77 ensureCapacity(index + 1); in set() 78 mList.set(index, property); in set()
|
/sdk/find_java/src/source/ |
D | find_java_lib.cpp | 296 DWORD index = 0; in exploreJavaRegistry() local 298 for (LONG result = ERROR_SUCCESS; result == ERROR_SUCCESS; index++) { in exploreJavaRegistry() 303 index, // dwIndex in exploreJavaRegistry() 507 int index = 0; in getJavaVersion() local 526 if (index < 32) { in getJavaVersion() 527 DWORD n = 32 - index; in getJavaVersion() 530 for (char *b = buffer; n > 0; n--, b++, index++) { in getJavaVersion() 533 first32[index] = c; in getJavaVersion() 535 first32[index] = 0; in getJavaVersion() 552 if (result && index > 0) { in getJavaVersion() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | RefactoringUtil.java | 140 int index = text.indexOf(value, potentialStart); in getAttributeValueRangeStart() local 141 if (index != -1) { in getAttributeValueRangeStart() 142 return region.getStartOffset() + index; in getAttributeValueRangeStart() 167 int index = text.indexOf(element.getTagName(), potentialStart); in getTagNameRangeStart() local 168 if (index != -1) { in getTagNameRangeStart() 169 return region.getStartOffset() + index; in getTagNameRangeStart()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
D | EclipseTestCollector.java | 114 int index = dotPath.indexOf(expectedPackage); in getClass() local 115 if (index == -1) { in getClass() 118 String packagePath = dotPath.substring(index); in getClass()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | ActivityPage.java | 127 int index = -1; in onEnter() local 143 index = names.size(); in onEnter() 148 if (index == -1 && !mTemplates.isEmpty()) { in onEnter() 150 index = 0; in onEnter() 152 if (index >= 0) { in onEnter() 153 mList.setSelection(index); in onEnter() 312 int index = mList.getSelectionIndex(); in widgetSelected() local 313 if (index >= 0 && index < mTemplates.size()) { in widgetSelected() 314 File template = mTemplates.get(index); in widgetSelected()
|