Home
last modified time | relevance | path

Searched refs:i (Results 1 – 25 of 266) sorted by relevance

1234567891011

/sdk/bash_completion/
Dadb.bash26 local where i cur serial
31 for ((i=1; i <= COMP_CWORD; i++)); do
55 if [[ $where == COMMAND && $i -ge $COMP_CWORD ]]; then
71 if [[ $i -eq $COMP_CWORD ]]; then
74 i=$((i+1))
77 _adb_cmd_install "$serial" $i
80 _adb_cmd_sideload "$serial" $i
83 _adb_cmd_pull "$serial" $i
86 _adb_cmd_push "$serial" $i
89 if [[ $COMP_CWORD == $i ]]; then
[all …]
/sdk/find_java/src/source/
Dfind_java_exe.cpp124 for (int i = 1; i < argc; i++) { in main() local
125 if (strncmp(argv[i], "-t", 2) == 0) { in main()
129 } else if (strncmp(argv[i], "-j", 2) == 0) { in main()
132 } else if (strncmp(argv[i], "-e", 2) == 0) { in main()
135 } else if (strncmp(argv[i], "-p", 2) == 0) { in main()
136 i++; in main()
137 if (i == argc) { in main()
140 customPathStr = argv[i]; in main()
141 } else if (strncmp(argv[i], "-d", 2) == 0) { in main()
144 } else if (strncmp(argv[i], "-s", 2) == 0) { in main()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DAndroidNature.java188 for (int i = 0; i < commands.length; ++i) { in configureResourceManagerBuilder()
189 if (ResourceManagerBuilder.ID.equals(commands[i].getBuilderName())) { in configureResourceManagerBuilder()
217 for (int i = 0; i < commands.length; ++i) { in configurePreBuilder()
218 if (PreCompilerBuilder.ID.equals(commands[i].getBuilderName())) { in configurePreBuilder()
226 for (int i = 0; i < commands.length; ++i) { in configurePreBuilder()
227 if (ResourceManagerBuilder.ID.equals(commands[i].getBuilderName())) { in configurePreBuilder()
228 index = i; in configurePreBuilder()
261 for (int i = 0; i < commands.length; ++i) { in configureApkBuilder()
262 if (PostCompilerBuilder.ID.equals(commands[i].getBuilderName())) { in configureApkBuilder()
286 for (int i = 0; i < commands.length; ++i) { in removeBuilder()
[all …]
DProjectHelper.java110 for (int i = 0, count = entries.length; i < count ; i++) { in replaceEntryInClasspath()
111 if (path.equals(entries[i].getPath())) { in replaceEntryInClasspath()
112 entries[i] = newEntry; in replaceEntryInClasspath()
209 for (int i = 0 ; i < entries.length ; i++) { in findClasspathEntryByPath()
210 IClasspathEntry entry = entries[i]; in findClasspathEntryByPath()
220 return i; in findClasspathEntryByPath()
246 for (int i = startIndex ; i < entries.length ; i++) { in findClasspathEntryByName()
247 IClasspathEntry entry = entries[i]; in findClasspathEntryByName()
257 return i; in findClasspathEntryByName()
333 for (int i = 0 ; i < entries.length ;) { in fixProjectClasspathEntries()
[all …]
DAndroidClasspathContainerInitializer.java138 for (int i = 0 ; i < projectCount; i++) { in updateProjects()
139 containers[i] = allocateAndroidContainer(androidProjects[i]); in updateProjects()
375 for (int i = CACHE_INDEX_ADD_ON_START + 1; i < paths.length; i++) {
376 String path = paths[i];
490 int i = 4;
491 while (i < paths.length) {
492 Path jarPath = new Path(paths[i++]);
579 int i = 0;
580 projectLoop: while (i < projects.size()) {
581 IJavaProject javaProject = projects.get(i);
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/
DSystraceTask.java75 for (int i = 0; i < length; i++) { in addOutput()
76 mBuffer[mDataLength + i] = data[offset + i]; in addOutput()
87 for (int i = 0; i < mDataLength; i++) { in flush()
88 copy[i] = mBuffer[i]; in flush()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
DGLListProperty.java42 for (int i = 0; i < size; i++) { in GLListProperty()
83 for (int i = mList.size(); i < capactiy; i++) { in ensureCapacity()
105 int i = 0; in toString() local
107 sb.append(i); in toString()
111 i++; in toString()
175 for (int i = 0; i < mList.size(); i++) { in prettyPrint()
176 pp.prettyPrint(String.format(Locale.US, "Index %d:", i)); in prettyPrint()
177 IGLProperty p = mList.get(i); in prettyPrint()
DGLSparseArrayProperty.java61 for (int i = 0; i < mSparseArray.size(); i++) { in getValues()
62 values.add(mSparseArray.valueAt(i)); in getValues()
125 for (int i = 0; i < mSparseArray.size(); i++) { in clone()
126 int key = mSparseArray.keyAt(i); in clone()
158 for (int i = 0; i < mSparseArray.size(); i++) { in prettyPrint()
159 int key = mSparseArray.keyAt(i); in prettyPrint()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DJUnitLaunchConfigDelegate.java81 for (int i = 0; i < bootpath.length; i++) { in fixBootpathExt()
82 if (bootpath[i] != null && bootpath[i].length > 0) { in fixBootpathExt()
85 if (bootpath[i][0].endsWith(SdkConstants.FN_FRAMEWORK_LIBRARY)) { in fixBootpathExt()
86 bootpath[i] = null; in fixBootpathExt()
105 for (int i = 0; i < classpath.length; i++) { in fixClasspath()
106 if (classpath[i].endsWith(JUNIT_JAR)) { in fixClasspath()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DBinPacker.java109 for (int i = 0, n = mSpace.size(); i < n; i++) { in findBest()
110 Rect rect = mSpace.get(i); in findBest()
116 bestIndex = i; in findBest()
136 for (int i = 0, n = mSpace.size(); i < n; i++) { in findBest()
137 Rect rect = mSpace.get(i); in findBest()
149 bestIndex = i; in findBest()
158 bestIndex = i; in findBest()
204 for (int i = 0; i < mSpace.size(); i++) { in split()
205 Rect other = mSpace.get(i); in split()
207 removeRect(i); in split()
[all …]
/sdk/templates/docs/
Dprettify.js3i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c…
4i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.…
5 (j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");i…
8i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0…
12i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[…
22 …'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
/sdk/find_java2/FindJava2/
DFindJava2.cpp72 for (int i = 1; i < argc; i++) { in _tmain() local
73 if (_tcsnccmp(argv[i], _T("-t"), 2) == 0) { in _tmain()
76 } else if (_tcsnccmp(argv[i], _T("-d"), 2) == 0) { in _tmain()
79 } else if (_tcsnccmp(argv[i], _T("-s"), 2) == 0) { in _tmain()
82 } else if (_tcsnccmp(argv[i], _T("-v"), 2) == 0) { in _tmain()
85 } else if (_tcsnccmp(argv[i], _T("-f"), 2) == 0) { in _tmain()
88 } else if (_tcsnccmp(argv[i], _T("-7"), 2) == 0) { in _tmain()
91 } else if (_tcscmp(argv[i], _T("-w")) == 0 || _tcscmp(argv[i], _T("-javaw")) == 0) { in _tmain()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DCanvasViewInfoTest.java397 for (int i = 0; i < numViews; i++) { in testUnmatchedMissing()
399 if (!extraViews.contains(i)) { in testUnmatchedMissing()
400 childNode = createNode(rootNode, "childNode" + i, false); in testUnmatchedMissing()
402 Object cookie = missingKeys.contains(i) || extraViews.contains(i) ? null : childNode; in testUnmatchedMissing()
403 ViewInfo childView = new ViewInfo("childView" + i, cookie, in testUnmatchedMissing()
404 0, i * 20, 50, (i + 1) * 20); in testUnmatchedMissing()
407 if (!extraViews.contains(i)) { in testUnmatchedMissing()
408 expectedViewNames.add("childView" + i); in testUnmatchedMissing()
409 expectedNodeNames.add("childNode" + i); in testUnmatchedMissing()
412 if (extraKeys.contains(i)) { in testUnmatchedMissing()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiActions.java166 for (int i = len - 1; i >= 0; i--) { in doRemove()
167 UiElementNode node = nodes.get(i); in doRemove()
207 for (int i = 0; i < uiNodes.size(); i++) { in doUp()
208 UiElementNode uiNode = uiLastNode[0] = uiNodes.get(i); in doUp()
254 for (int i = 0; i < uiNodes.size(); i++) { in canDoUp()
256 uiNodes.get(i), in canDoUp()
388 for (int i = nodes.size() - 1; i >= 0; i--) { in doDown()
389 final UiElementNode node = uiLastNode[0] = nodes.get(i); in doDown()
435 for (int i = 0; i < uiNodes.size(); i++) { in canDoDown()
437 uiNodes.get(i), in canDoDown()
[all …]
/sdk/eclipse/scripts/
Dupdate_version.sh49 for i in $(grep -rl "$OLD" * | grep -E "\.xml$|\.MF$|\.product$"); do
50 if [[ -f "$i" && $(basename "$i") != "build.xml" ]]; then
51 replace "$i"
58 for i in artifacts/*/pom.xml \
66 if grep -qs "$OLD" "$i"; then
67 replace "$i"
Dgen_icon.py54 for i in r:
55 draw.ellipse((i, i, sz4-i-zoom, sz4-i-zoom),
63 for i in r:
64 draw.text((ptx + i, pty), data.letter, font=font, fill=data.letter_color)
/sdk/find_lock/
Dfind_lock_exe.cpp35 for (int i = 1; i < argc; i++) { in main() local
36 if (strncmp(argv[i], "-d", 2) == 0) { in main()
40 dirPath.set(argv[i]); in main()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DLintList.java221 for (int i = 1; i < mTree.getColumnCount(); i++) { in updateColumnWidths()
222 TreeColumn column = mTree.getColumn(i); in updateColumnWidths()
629 for (int i = 0; i < columns.length; i++) { in saveState()
630 TreeColumn treeColumn = mTree.getColumn(i); in saveState()
636 columns[positions[i]] = column; in saveState()
651 for (int i = 0; i < columns.length; i++) { in createColumns()
652 LintColumn column = columns[i]; in createColumns()
674 if (i == 0) { in createColumns()
693 for (int i = 0; i < columns.length; i++) { in getColumnWidth()
694 if (column.equals(columns[i].getData(KEY_COLUMN))) { in getColumnWidth()
[all …]
DDosLineEndingsFix.java49 for (int i = document.getLength() - 1; i >= 0; i--) { in apply()
51 char c = document.getChar(i); in apply()
53 document.replace(i, 1, "\n"); //$NON-NLS-1$ in apply()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRefactoringTestBase.java109 for (int i = 0; i < testData.length; i+= 2) { in createProject()
110 assertTrue(testData[i].toString(), testData[i] instanceof String); in createProject()
111 String relative = (String) testData[i]; in createProject()
125 for (int i = sb.length() - 1; i >= 0; i--) { in describe()
126 if (!Character.isWhitespace(sb.charAt(i))) { in describe()
127 sb.setLength(i + 1); in describe()
256 for (int i = 0; i < indent; i++) { in indent()
262 for (int i = 0, n = data.length; i < n; i += 2) { in createTestDataDir()
263 assertTrue("Must be a path: " + data[i], data[i] instanceof String); in createTestDataDir()
264 String relativePath = ((String) data[i]).replace('/', File.separatorChar); in createTestDataDir()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DChangeLayoutWizard.java128 for (int i = 0; i < mTypeCombo.getItemCount(); i++) { in createControl()
129 if (mTypeCombo.getItem(i).equals(GRID_LAYOUT)) { in createControl()
139 for (int i = 0; i < mTypeCombo.getItemCount(); i++) { in createControl()
140 if (mTypeCombo.getItem(i).equals(GRID_LAYOUT)) { in createControl()
141 mTypeCombo.select(i); in createControl()
146 for (int i = 0; i < mTypeCombo.getItemCount(); i++) { in createControl()
147 if (mTypeCombo.getItem(i).equals(RELATIVE_LAYOUT)) { in createControl()
148 mTypeCombo.select(i); in createControl()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DUiElementPullParser.java143 private Node getAttribute(int i) { in getAttribute() argument
155 return xmlNode.getAttributes().item(i); in getAttribute()
253 public String getAttributeName(int i) { in getAttributeName() argument
255 if (i == 0) { in getAttributeName()
258 i--; in getAttributeName()
262 Node attribute = getAttribute(i); in getAttributeName()
275 public String getAttributeNamespace(int i) { in getAttributeNamespace() argument
277 if (i == 0) { in getAttributeNamespace()
280 i--; in getAttributeNamespace()
284 Node attribute = getAttribute(i); in getAttributeNamespace()
[all …]
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/
Dandroid-support-v7-gridlayout.jar ... .widget.GridLayout$PackedMap pack () int i int N Object[] keys Object[] values ...
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlCharacterMatcher.java106 for (int i = index; i >= 0; i--) { in findOppositeTag()
107 subRegion = subRegions.get(i); in findOppositeTag()
156 for (int i = subRegions.size() - 1; i >= 0; i--) { in findTagBackwards()
157 ITextRegion subRegion = subRegions.get(i); in findTagBackwards()
207 for (int i = 0, n = subRegions.size(); i < n; i++) { in findTagForwards()
208 ITextRegion subRegion = subRegions.get(i); in findTagForwards()
DAndroidXmlAutoEditStrategy.java202 for (int i = 0, n = Math.min(delta, text.length()); i < n; i++) { in customizeDocumentCommand()
203 char ch = text.charAt(i); in customizeDocumentCommand()
221 for (int i = subRegions.size() - 2; i >= 0; i--) { in customizeDocumentCommand()
222 ITextRegion current = subRegions.get(i); in customizeDocumentCommand()
246 for (int i = delta, n = text.length(); i < n; i++) { in customizeDocumentCommand()
247 char ch = text.charAt(i); in customizeDocumentCommand()
261 for (int i = delta; i < text.length(); i++) { in customizeDocumentCommand()
262 char ch = text.charAt(i); in customizeDocumentCommand()
412 for (int i = 0, n = subRegions.size(); i < n; i++) { in getBalance()
413 ITextRegion subRegion = subRegions.get(i); in getBalance()

1234567891011