/sdk/avdlauncher/src/source/ |
D | avdlauncher.c | 76 int ret, pos; in avd_launcher() local 92 pos = ret - 1; in avd_launcher() 93 while (pos > 0 && program_dir[pos] != '\\') { in avd_launcher() 94 --pos; in avd_launcher() 96 program_dir[pos] = 0; in avd_launcher()
|
/sdk/sdklauncher/src/source/ |
D | sdklauncher.c | 76 int ret, pos; in sdk_launcher() local 92 pos = ret - 1; in sdk_launcher() 93 while (pos > 0 && program_dir[pos] != '\\') { in sdk_launcher() 94 --pos; in sdk_launcher() 96 program_dir[pos] = 0; in sdk_launcher()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | Gesture.java | 98 public void begin(ControlPoint pos, int startMask) { in begin() argument 99 mStart = pos; in begin() 109 public void update(ControlPoint pos) { in update() argument 121 public void end(ControlPoint pos, boolean canceled) { in end() argument
|
D | ResizeGesture.java | 74 public void begin(ControlPoint pos, int startMask) { in begin() argument 75 super.begin(pos, startMask); in begin() 80 Rect newBounds = getNewBounds(pos); in begin() 88 update(pos); in begin() 107 public void update(ControlPoint pos) { in update() argument 108 super.update(pos); in update() 110 Rect newBounds = getNewBounds(pos); in update() 118 public void end(ControlPoint pos, boolean canceled) { in end() argument 119 super.end(pos, canceled); in end() 123 Rect newBounds = getNewBounds(pos); in end() [all …]
|
D | MarqueeGesture.java | 67 public void update(ControlPoint pos) { in update() argument 72 int x = Math.min(pos.x, mStart.x); in update() 73 int y = Math.min(pos.y, mStart.y); in update() 74 int w = Math.abs(pos.x - mStart.x); in update() 75 int h = Math.abs(pos.y - mStart.y); in update()
|
D | ClipboardSupport.java | 187 int pos = title.lastIndexOf('.'); in deleteSelection() local 188 if (pos > 0 && pos < title.length() - 1) { in deleteSelection() 189 title = title.substring(pos + 1); in deleteSelection() 331 int pos = title.lastIndexOf('.'); in pasteInEmptyDocument() local 332 if (pos > 0 && pos < title.length() - 1) { in pasteInEmptyDocument() 333 title = title.substring(pos + 1); in pasteInEmptyDocument()
|
D | SimpleElement.java | 244 int pos = s2.indexOf('='); in parseLines() local 245 if (pos <= 0 || pos == s2.length() - 1) { in parseLines() 248 String key = s2.substring(0, pos).trim(); in parseLines() 249 String value = s2.substring(pos + 1).trim(); in parseLines()
|
D | LintTooltipManager.java | 129 Point pos = mCanvas.toDisplay(rect.x, rect.y + rect.height); in show() local 133 mTip.setBounds(pos.x, pos.y, size.x, size.y); in show()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/discovery/ |
D | NdkDiscoveryUpdater.java | 151 private int pos; field in NdkDiscoveryUpdater.Line 157 public Line(String line, int pos) { in Line() argument 159 this.pos = pos; in Line() 164 if (pos == line.length()) in getToken() 167 int start = pos; in getToken() 171 char c = line.charAt(pos); in getToken() 174 return line.substring(start, pos); in getToken() 179 if (++pos == line.length()) in getToken() 186 if (pos == line.length()) in getRemaining() 190 String rc = line.substring(pos); in getRemaining() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/ |
D | AbstractPropertiesFieldsPart.java | 169 int pos = line.indexOf('='); in saveFieldsToModel() local 170 if (pos > 0 && pos < line.length() - 1) { in saveFieldsToModel() 171 String key = line.substring(0, pos).trim(); in saveFieldsToModel() 284 int pos = line.indexOf('='); in onModelInit() local 285 if (pos > 0 && pos < line.length() - 1) { in onModelInit() 286 String key = line.substring(0, pos).trim(); in onModelInit() 290 String value = line.substring(pos + 1).trim(); in onModelInit()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | MockNodeProxy.java | 58 int pos = xmlName.lastIndexOf('.'); in makeUiViewNode() local 59 if (pos > 0) { in makeUiViewNode() 60 xmlName = xmlName.substring(pos + 1); in makeUiViewNode()
|
/sdk/find_java/src/source/ |
D | utils.cpp | 140 int pos = ret - 1; in getModuleDir() local 141 while (pos > 0 && programDir[pos] != '\\') { in getModuleDir() 142 --pos; in getModuleDir() 144 outDir->set(programDir, pos); in getModuleDir()
|
D | utils.h | 288 char *pos = strrchr(mStr, '\\'); in dirName() local 289 if (pos != NULL) { in dirName() 290 result.set(mStr, pos - mStr); in dirName() 300 char *pos = strrchr(mStr, '\\'); in baseName() local 301 if (pos != NULL) { in baseName() 302 return pos + 1; in baseName()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
D | ElementDescriptor.java | 182 int pos = mXmlName.indexOf(':'); in getXmlLocalName() local 183 if (pos != -1) { in getXmlLocalName() 184 return mXmlName.substring(pos+1); in getXmlLocalName() 260 int pos = name.lastIndexOf('.'); in getCustomizedIcon() local 261 if (pos != -1) { in getCustomizedIcon() 265 name = name.substring(pos + 1); in getCustomizedIcon()
|
D | DescriptorsUtils.java | 520 int pos = url.lastIndexOf('#'); 521 if (pos < 0) { 523 } else if (pos < url.length() - 1) { 524 url = url.substring(0, pos + 1); 644 int pos = s.indexOf(' ', JAVADOC_BREAK_LENGTH - currentLength); 645 if (pos <= 0) { 648 spans.add(s.substring(0, pos + 1)); 651 s = s.substring(pos + 1); 863 int pos = prefix.indexOf('.'); 864 if (pos >= 0) { [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/ |
D | EditableDialogCellEditor.java | 427 int pos = text.getCaretPosition(); in performDelete() local 428 if (pos < text.getCharCount()) { in performDelete() 429 text.setSelection(pos, pos + 1); in performDelete()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
D | AdtTestData.java | 69 int pos = mOsRootDataPath.indexOf(':'); in AdtTestData() local 70 if (pos > 0 && mOsRootDataPath.charAt(0) == '/') { in AdtTestData()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/ |
D | SourceRevealer.java | 67 int pos = className.indexOf('$'); in reveal() local 68 if (pos != -1) { in reveal() 69 className = className.substring(0, pos); in reveal()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | LinearLayoutRule.java | 297 int pos = 0; in onDropEnter() local 322 selfPos = pos; in onDropEnter() 323 indexes.add(new MatchPos(v, pos++)); in onDropEnter() 328 pos++; in onDropEnter() 334 indexes.add(new MatchPos(v, pos++)); in onDropEnter() 342 pos++; in onDropEnter() 350 indexes.add(new MatchPos(v, pos)); in onDropEnter() 385 int pos = it.getPosition(); 389 if (pos != selfPos) { 496 int pos = index.getPosition(); [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | BasePullParser.java | 97 public String getNamespacePrefix(int pos) throws XmlPullParserException { in getNamespacePrefix() argument 117 public String getNamespaceUri(int pos) throws XmlPullParserException { in getNamespaceUri() argument
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ |
D | ChooseConfigurationPage.java | 160 int pos = wsFolderPath.indexOf(AdtConstants.WS_SEP_CHAR); in onWsFolderPathUpdated() local 161 if (pos >= 0) { in onWsFolderPathUpdated() 162 wsFolderPath = wsFolderPath.substring(0, pos); in onWsFolderPathUpdated()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/ |
D | ValuesContentAssist.java | 164 int pos = attrName.indexOf(':'); in computeTextValues() local 165 if (pos >= 0) { in computeTextValues() 166 attrName = attrName.substring(pos + 1); in computeTextValues()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/ |
D | AttrsXmlParser.java | 685 int pos = comment.indexOf("{@deprecated"); in parseDeprecatedDoc() local 686 if (pos >= 0) { in parseDeprecatedDoc() 687 comment = comment.substring(pos + 12 /* len of {@deprecated */); in parseDeprecatedDoc() 689 } else if ((pos = comment.indexOf("@deprecated")) >= 0) { in parseDeprecatedDoc() 690 comment = comment.substring(pos + 11 /* len of @deprecated */); in parseDeprecatedDoc()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
D | SourceProcessor.java | 257 int pos = mToCompile.indexOf(sourceFile); in compileFiles() local 258 if (pos != -1) { in compileFiles() 259 mToCompile.remove(pos); in compileFiles()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
D | BaseProjectHelper.java | 358 int pos = className.indexOf('$'); in revealSource() local 359 if (pos != -1) { in revealSource() 360 className = className.substring(0, pos); in revealSource()
|