Home
last modified time | relevance | path

Searched refs:getLength (Results 1 – 25 of 73) sorted by relevance

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateMetadata.java89 mParameters = new ArrayList<Parameter>(parameters.getLength()); in TemplateMetadata()
90 mParameterMap = new HashMap<String, Parameter>(parameters.getLength()); in TemplateMetadata()
91 for (int index = 0, max = parameters.getLength(); index < max; index++) { in TemplateMetadata()
194 if (formfactorDeclarations.getLength() > 0) { in getFormFactor()
209 if (categories.getLength() > 0) { in getCategory()
230 if (icons.getLength() < 1) { in getIconState()
324 if (icons.getLength() < 1) { in updateIconName()
359 if (thumbs.getLength() == 0) { in getThumbnailPath()
367 for (int i = 0, n = thumbs.getLength(); i < n; i++) { in getThumbnailPath()
371 if (bestMatch == null && attributes.getLength() == 0) { in getThumbnailPath()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/
DAbstractPropertiesFieldsPart.java163 String line = doc.get(info.getOffset(), info.getLength()); in saveFieldsToModel()
183 doc.replace(info.getOffset(), info.getLength(), line); in saveFieldsToModel()
210 if (info != null && info.getLength() == 0) { in saveFieldsToModel()
212 doc.replace(info.getOffset(), info.getLength(), line); in saveFieldsToModel()
223 int len = doc.getLength(); in saveFieldsToModel()
278 String line = doc.get(info.getOffset(), info.getLength()); in onModelInit()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DDomUtilities.java113 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in addElements()
143 for (int i = 0, n = children.getLength(); i < n; i++) { in hasElementChildren()
562 List<Element> result = new ArrayList<Element>(children.getLength()); in getChildren()
563 for (int i = 0, n = children.getLength(); i < n; i++) { in getChildren()
647 for (int i = 0, n = attributes1.getLength(); i < n; i++) { in isEquivalent()
656 for (int i = 0, n = attributes2.getLength(); i < n; i++) { in isEquivalent()
669 if (attributes1.getLength() > 0) { in isEquivalent()
702 while (nextIndex1 < children1.getLength() && in isEquivalent()
707 while (nextIndex2 < children2.getLength() && in isEquivalent()
712 Element nextElement1 = (Element) (nextIndex1 < children1.getLength() in isEquivalent()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/
DMockXmlNode.java140 if (mNodeList.getLength() > 0) { in getFirstChild()
148 if (mNodeList.getLength() > 0) { in getLastChild()
149 return mNodeList.item(mNodeList.getLength() - 1); in getLastChild()
186 return mNodeList.getLength() > 0; in hasChildNodes()
DMockNodeList.java47 public int getLength() { in getLength() method in MockNodeList
DMockNamedNodeMap.java59 public int getLength() { in getLength() method in MockNamedNodeMap
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/
DPsdFile.java231 mLayerInfoLength = layersInfo.getLength(); in setLayersInfo()
251 int getLength() { in getLength() method in PsdFile.LayersInfo
254 length += layer.getLength(); in getLength()
363 int getLength() { in getLength() method in PsdFile.Layer
367 length += channel.getLength(); in getLength()
433 int getLength() { in getLength() method in PsdFile.Channel
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringProposal.java59 int length = coveringNode.getLength(); in apply()
84 int length = coveringNode.getLength(); in getAdditionalProposalInfo()
109 while (i < buffer.getLength()) { in getAdditionalProposalInfo()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DCompletionProposal.java168 if (javadocRange != null && javadocRange.getLength() > 0) { in getAdditionalProposalInfo()
173 int length = javadocRange.getLength(); in getAdditionalProposalInfo()
204 for (int i = 0, n = attributes.getLength(); i < n; i++) { in apply()
DHyperlinks.java943 for (int i = 0, n = topLevel.getLength(); i < n; i++) { in findValueInDocument()
967 for (int i = 0, n = children.getLength(); i < n; i++) { in findValueInChildren()
1039 for (int i = 0, n = attributes.getLength(); i < n; i++) { in findIdInElement()
1064 for (int i = 0, n = children.getLength(); i < n; i++) { in findIdInElement()
1123 for (int i = 0, n = children.getLength(); i < n; i++) { in findTag()
1151 range.getLength() - (value.length() - index)); in getStyleLinks()
1315 range = new Region(range.getOffset() + 1, range.getLength() - 2); in detectHyperlinks()
1350 int lineEnd = Math.min(lineStart + lineInfo.getLength(), in detectHyperlinks()
1351 innerOffset + inner.getLength()); in detectHyperlinks()
1432 if (wordRegion == null || wordRegion.getLength() == 0) in detectHyperlinks()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DDosLineEndingsFix.java49 for (int i = document.getLength() - 1; i >= 0; i--) { in apply()
DObsoleteLayoutParamsFix.java57 for (int i = 0, n = attributes.getLength(); i < n; i++) { in apply()
DTypographyFix.java63 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in apply()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
DHyperlinksTest.java225 sb.append(viewer.getDocument().get(region.getOffset(), region.getLength())); in checkXmlNavigation()
289 selection = new Point(range.getOffset(), range.getLength()); in checkXmlNavigation()
298 int lineEnd = lineEndInfo.getOffset() + lineEndInfo.getLength(); in checkXmlNavigation()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoring.java222 mOriginalSelectionEnd = mOriginalSelectionStart + selection.getLength(); in VisualRefactoring()
227 mSelectionEnd = mSelectionStart + selection.getLength(); in VisualRefactoring()
488 for (int i = 0, n = attributes.getLength(); i < n; i++) { in findNamespaceAttributes()
503 for (int i = 0, n = attributes.getLength(); i < n; i++) { in findLayoutAttributes()
539 for (int i = 0, n = attributes.getLength(); i < n; i++) { in stripTopLayoutAttributes()
578 nextStart = regionStart + r.getLength(); in stripTopLayoutAttributes()
694 mSelectionEnd = mSelectionStart + mSelection.getLength(); in initElements()
1103 int endOffset = regionStart + subRegion.getStart() + subRegion.getLength(); in removeElementTags()
1125 int endOffset = regionStart + subRegion.getStart() + subRegion.getLength(); in removeElementTags()
1163 int lineLength = info.getLength(); in removeIndentation()
[all …]
DChangeLayoutRefactoring.java201 for (int i = 0, n = children.getLength(); i < n; i++) { in initElements()
365 for (int i = 0, n = children.getLength(); i < n; i++) { in convertLinearToTable()
413 for (int i = 0, n = children.getLength(); i < n; i++) { in convertLinearToRelative()
432 for (int i = 0, n = children.getLength(); i < n; i++) { in convertLinearToRelative()
530 for (int i = 0, n = children.getLength(); i < n; i++) { in removeUndefinedAttrs()
567 for (int i = 0, n = attributeMap.getLength(); i < n; i++) { in removeUndefinedAttrs()
DJavaQuickAssistant.java65 && coveringNode.getLength() > 2) { // don't extract empty strings (includes quotes) in getAssists()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DConvertSwitchQuickFixProcessor.java89 int errorLength = error.getLength(); in getCorrections()
156 for (int i = errorStart + errorLength, n = buffer.getLength(); i < n; i++) { in getCorrections()
DAaptParser.java542 endOffset = startOffset + region.getLength(); in checkAndMark()
650 if (region != null && region.getLength() > 1) { in findRange()
652 region = new Region(region.getOffset() + 1, region.getLength() - 1); in findRange()
712 String lineContents = document.get(lineInfo.getOffset(), lineInfo.getLength()); in findLineTextRange()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
DManifestInfo.java156 for (int j = 0, m = metaData.getLength(); j < m; j++) { in ActivityAttributes()
349 for (int i = 0, n = activities.getLength(); i < n; i++) { in sync()
356 if (applications.getLength() > 0) { in sync()
357 assert applications.getLength() == 1; in sync()
380 if (usesSdks.getLength() > 0) { in sync()
784 match.getLength()); in guessActivityBySetContentView()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormattingStrategy.java142 mRegion.getLength()); in format()
284 replaceEnd = document.getLength(); in format()
366 if (replaceEdit != null && replaceStart != 0 && replaceEnd != document.getLength()) { in format()
453 int max = document.getLength(); in createReplaceEdit()
741 for (int i = 0, n = children.getLength(); i < n; i++) { in visit()
DAndroidXmlFormatter.java63 formatMaster(context, document, 0, document.getLength()); in format()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DNinePatchedImage.java430 rect.width = horizontal.getLength(); in getContentArea()
434 rect.height = vertical.getLength(); in getContentArea()
615 t.rect.width = xTick.getLength(); in getChunks()
617 t.rect.height = yTick.getLength(); in getChunks()
869 public int getLength() { in getLength() method in NinePatchedImage.Tick
/sdk/docs/
DNotes_on_WST_StructuredDocument.txt154 - getLength() and getEnd() take any whitespace into account.
159 XML_TAG_NAME region, getLength is 7 (string + space) and getTextLength is 6 (string, no space).
167 - getStart / getLength / getEnd : type-dependent offset, including whitespace.
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DAndroidTypeMoveParticipant.java316 for (int i = 0, n = children.getLength(); i < n; i++) { in addLayoutReplacements()
329 for (int i = 0, n = attributes.getLength(); i < n; i++) { in addManifestReplacements()
355 for (int i = 0, n = children.getLength(); i < n; i++) { in addManifestReplacements()

123