Home
last modified time | relevance | path

Searched refs:end (Results 1 – 25 of 85) sorted by relevance

1234

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DDocumentFix.java37 int start, int end); in apply() argument
47 int end = mMarker.getAttribute(IMarker.CHAR_END, -1); in apply() local
48 if (start != -1 && end != -1) { in apply()
53 apply(document, model, node, start, end); in apply()
DTypoFix.java60 int start, int end) { in apply() argument
72 String current = document.get(start, end-start); in apply()
74 document.replace(start, end - start, replacements.get(0)); in apply()
96 end = start + typo.length(); in apply()
97 document.replace(start, end - start, replacements.get(0)); in apply()
DExtractStringFix.java62 int end) { in apply() argument
66 ITextSelection selection = new TextSelection(start, end - start); in apply()
DUseCompoundDrawableDetectorFix.java72 int start, int end) { in apply() argument
81 end - start); in apply()
DRemoveUselessViewFix.java56 int end) { in apply() argument
72 end - start); in apply()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceXmlTextAction.java207 int end = start + 1; in findResource() local
208 for (; end < max; end++) { in findResource()
209 char c = document.getChar(end); in findResource()
214 if (end > start + 1) { in findResource()
215 String url = document.get(start, end - start); in findResource()
311 int end = start + 1; in findClassName() local
312 for (; end < max; end++) { in findClassName()
313 char c = document.getChar(end); in findClassName()
321 if (end > start + 1) { in findClassName()
322 String fqcn = document.get(start, end - start); in findClassName()
DAndroidTypeRenameParticipant.java421 int end = start + mOldFqcn.length(); in addLayoutReplacements() local
422 edits.add(new ReplaceEdit(start, end - start, mNewFqcn)); in addLayoutReplacements()
430 int end = start + mOldFqcn.length(); in addLayoutReplacements() local
431 edits.add(new ReplaceEdit(start, end - start, mNewFqcn)); in addLayoutReplacements()
442 int end = start + mOldFqcn.length(); in addLayoutReplacements() local
443 edits.add(new ReplaceEdit(start, end - start, mNewFqcn)); in addLayoutReplacements()
451 int end = start + mOldFqcn.length(); in addLayoutReplacements() local
452 edits.add(new ReplaceEdit(start, end - start, mNewFqcn)); in addLayoutReplacements()
457 int end = start + mOldDottedName.length(); in addLayoutReplacements() local
458 edits.add(new ReplaceEdit(start, end - start, mNewDottedName)); in addLayoutReplacements()
[all …]
DAndroidTypeMoveParticipant.java280 int end = start + mOldFqcn.length(); in addLayoutReplacements() local
281 edits.add(new ReplaceEdit(start, end - start, mNewFqcn)); in addLayoutReplacements()
288 int end = start + mOldFqcn.length(); in addLayoutReplacements() local
289 edits.add(new ReplaceEdit(start, end - start, mNewFqcn)); in addLayoutReplacements()
300 int end = start + mOldFqcn.length(); in addLayoutReplacements() local
301 edits.add(new ReplaceEdit(start, end - start, mNewFqcn)); in addLayoutReplacements()
309 int end = start + mOldFqcn.length(); in addLayoutReplacements() local
310 edits.add(new ReplaceEdit(start, end - start, mNewFqcn)); in addLayoutReplacements()
339 int end = start + mOldFqcn.length(); in addManifestReplacements() local
340 edits.add(new ReplaceEdit(start, end - start, mNewFqcn)); in addManifestReplacements()
[all …]
DAndroidPackageRenameParticipant.java446 int end = start + tag.length();
447 edits.add(new ReplaceEdit(start, end - start, getNewClassName(tag)));
469 int end = start + fqcn.length();
470 edits.add(new ReplaceEdit(start, end - start, getNewClassName(fqcn)));
496 int end = start + mOldPackage.length();
497 edits.add(new ReplaceEdit(start, end - start, mNewPackage));
513 int end = start + value.length();
514 edits.add(new ReplaceEdit(start, end - start, getNewClassName(value)));
522 int end = start + value.length();
532 edits.add(new ReplaceEdit(start, end - start, newClassName));
DRenameResourceParticipant.java560 int end = start + mOldName.length(); in addReplacements() local
561 edits.add(new ReplaceEdit(start, end - start, mNewName)); in addReplacements()
579 int end = start + mXmlMatch1.length(); in addReplacements() local
580 edits.add(new ReplaceEdit(start, end - start, mXmlNewValue1)); in addReplacements()
612 int end = region.getEndOffset(); in addReplacements() local
613 edits.add(new ReplaceEdit(start, end - start, "")); in addReplacements()
617 int end = start + match.length(); in addReplacements() local
618 edits.add(new ReplaceEdit(start, end - start, matchedValue)); in addReplacements()
654 int end = start + match.length(); in addReplacements() local
655 edits.add(new ReplaceEdit(start, end - start, matchedValue)); in addReplacements()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DGLCallGroups.java137 public static List<GLCallNode> constructCallHierarchy(GLTrace trace, int start, int end, in constructCallHierarchy() argument
144 return flatHierarchy(trace, start, end); in constructCallHierarchy()
152 for (int i = start; i < end; i++) { in constructCallHierarchy()
192 private static List<GLCallNode> flatHierarchy(GLTrace trace, int start, int end) { in flatHierarchy() argument
196 for (int i = start; i < end; i++) { in flatHierarchy()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DFragmentMenu.java133 int end = index; in addMenuItems() local
134 while (end < source.length()) { in addMenuItems()
135 char c = source.charAt(end); in addMenuItems()
139 end++; in addMenuItems()
141 if (end > index) { in addMenuItems()
142 String title = source.substring(index, end); in addMenuItems()
DGesture.java121 public void end(ControlPoint pos, boolean canceled) { in end() method in Gesture
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DNinePatchedImage.java391 patch.end = i; in findPatches()
403 patch.end = len; in findPatches()
450 Tick end = null; in getContentArea() local
457 end = t; in getContentArea()
459 end = t; in getContentArea()
471 result.end = end.end; in getContentArea()
502 contents.end = x; in findContentArea()
514 contents.end = len; in findContentArea()
863 public int end; field in NinePatchedImage.Tick
870 return end - start; in getLength()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/
DAaptParserTest.java193 int end = marker.getAttribute(IMarker.CHAR_END, 0); in checkRanges() local
198 + getCaretContext(fileContents, end), rangeEnd, end); in checkRanges()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoring.java166 int end = Integer.MIN_VALUE; in VisualRefactoring() local
172 end = Math.max(end, region.getEndOffset()); in VisualRefactoring()
177 mSelectionEnd = end; in VisualRefactoring()
179 mOriginalSelectionEnd = end; in VisualRefactoring()
195 int end = Integer.MIN_VALUE; in VisualRefactoring() local
210 end = Math.max(end, region.getEndOffset()); in VisualRefactoring()
216 mSelectionEnd = end; in VisualRefactoring()
395 int end = start + rootId.length(); in replaceIds() local
397 edits.add(new ReplaceEdit(start, end - start, referenceId)); in replaceIds()
644 protected String getText(int start, int end) { in getText() argument
[all …]
/sdk/files/
Dplugin.prop3 # end plugin.prop
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dcompletion2-expected-completion13a.txt15 end
Dcompletionvalues1-expected-completion27.txt15 end
Dcompletionvalues1-expected-completion28.txt15 end
Dcompletion2-expected-completion13c.txt14 bottom|end
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormattingStrategy.java176 int end = start + length; in format() local
206 IStructuredDocumentRegion endRegion = document.getRegionAtCharacterOffset(end); in format()
218 && currentIndexedRegion.getStartOffset() == end && end > 0) { in format()
219 end--; in format()
220 currentIndexedRegion = model.getIndexedRegion(end); in format()
231 ITextRegion subRegion = endRegion.getRegionAtCharacterOffset(end); in format()
557 int end = baseLocation.lastIndexOf('/', lastSlash - 1); // -1 is okay in guessStyle() local
558 String resourceFolder = baseLocation.substring(end + 1, lastSlash); in guessStyle()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlEditor.java1066 int end = region.getEndOffset();
1070 end = begin + 1;
1077 reformatRegion(begin, end);
1354 int end = region.getEndOffset();
1356 if (end > start) {
1357 data = document.get(start, end - start);
1375 public void reformatRegion(int begin, int end) {
1381 end = Math.min(end, documentLength);
1382 begin = Math.min(begin, end);
1421 textWidget.setSelection(begin, end);
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DCopyCutAction.java175 int end = region.getEndOffset(); in getXmlTextFromEditor() local
177 if (end > start) { in getXmlTextFromEditor()
178 data = sse_doc.get(start, end - start); in getXmlTextFromEditor()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DAaptQuickFix.java119 int end = marker.getAttribute(IMarker.CHAR_END, 0); in getResolutions() local
120 if (end > start) { in getResolutions()
121 int length = end - start; in getResolutions()
183 int end = marker.getAttribute(IMarker.CHAR_END, 0); in computeQuickAssistProposals() local
184 int length = end - start; in computeQuickAssistProposals()

1234