Home
last modified time | relevance | path

Searched refs:contains (Results 1 – 25 of 149) sorted by relevance

123456

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/api/
DRectTest.java112 assertTrue(r.contains(3, 4)); in testContainsIntInt()
113 assertTrue(r.contains(3+19, 4)); in testContainsIntInt()
114 assertTrue(r.contains(3+19, 4+29)); in testContainsIntInt()
115 assertTrue(r.contains(3, 4+29)); in testContainsIntInt()
117 assertFalse(r.contains(3-1, 4)); in testContainsIntInt()
118 assertFalse(r.contains(3, 4-1)); in testContainsIntInt()
119 assertFalse(r.contains(3-1, 4-1)); in testContainsIntInt()
121 assertFalse(r.contains(3+20, 4)); in testContainsIntInt()
122 assertFalse(r.contains(3+20, 4+30)); in testContainsIntInt()
123 assertFalse(r.contains(3, 4+30)); in testContainsIntInt()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/format/
DGLDataTypeSpec.java32 mIsPointer = type.contains("*"); //$NON-NLS-1$ in GLDataTypeSpec()
41 if (type.contains("boolean")) { //$NON-NLS-1$ in getDataType()
43 } else if (type.contains("enum")) { //$NON-NLS-1$ in getDataType()
45 } else if (type.contains("float") || type.contains("clampf")) { //$NON-NLS-1$ //$NON-NLS-2$ in getDataType()
47 } else if (type.contains("void")) { //$NON-NLS-1$ in getDataType()
49 } else if (type.contains("char")) { //$NON-NLS-1$ in getDataType()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DValueCompleter.java75 if (formats.contains(STRING) in getProposals()
77 && (formats.size() > 1 && formats.contains(REFERENCE) || in getProposals()
85 && (formats.contains(DIMENSION) in getProposals()
86 || formats.contains(INTEGER) in getProposals()
87 || formats.contains(FLOAT))) { in getProposals()
99 if (formats.contains(Format.DIMENSION)) { in getProposals()
104 } else if (formats.contains(Format.INTEGER)) { in getProposals()
110 if (formats.contains(REFERENCE) || contents.startsWith(PREFIX_RESOURCE_REF) in getProposals()
123 if (formats.contains(FLAG)) { in getProposals()
151 if (prepend != null && prepend.contains(value)) { in getProposals()
[all …]
DPropertyMetadata.java31 return sAdvanced.contains(name); in isAdvanced()
35 return sPreferred.contains(name); in isPreferred()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DParameter.java297 if (constraints.contains(Constraint.LAYOUT)) { in getValidator()
298 if (project != null && constraints.contains(Constraint.UNIQUE)) { in getValidator()
304 } else if (constraints.contains(Constraint.STRING)) { in getValidator()
305 if (project != null && constraints.contains(Constraint.UNIQUE)) { in getValidator()
311 } else if (constraints.contains(Constraint.ID)) { in getValidator()
312 if (project != null && constraints.contains(Constraint.UNIQUE)) { in getValidator()
318 } else if (constraints.contains(Constraint.DRAWABLE)) { in getValidator()
319 if (project != null && constraints.contains(Constraint.UNIQUE)) { in getValidator()
326 } else if (constraints.contains(Constraint.PACKAGE) in getValidator()
327 || constraints.contains(Constraint.CLASS) in getValidator()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/
DAttributeInfo.java208 if (mFormats.contains(STRING) || mFormats.isEmpty()) { in isValid()
216 if (mFormats.contains(FLAG)) { in isValid()
282 if (mFormats.contains(ENUM) && mEnumValues != null) { in isValid()
290 if (mFormats.contains(FLAG) && mFlagValues != null) { in isValid()
300 if (mFormats.contains(DIMENSION)) { in isValid()
306 if (mFormats.contains(BOOLEAN)) { in isValid()
312 if (mFormats.contains(FLOAT)) { in isValid()
327 if (mFormats.contains(INTEGER)) { in isValid()
335 if (mFormats.contains(COLOR)) { in isValid()
348 if (mFormats.contains(FRACTION)) { in isValid()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DDescriptorsUtils.java114 if (requiredAttributes.contains("*/" + attr_name) || in appendAttributes()
115 requiredAttributes.contains(elementXmlName + "/" + attr_name)) { in appendAttributes()
198 if (formats_set.contains(Format.REFERENCE)) { in appendAttribute()
202 } else if (formats_set.contains(Format.ENUM)) { in appendAttribute()
205 } else if (formats_set.contains(Format.FLAG)) { in appendAttribute()
208 } else if (formats_set.contains(Format.BOOLEAN)) { in appendAttribute()
211 } else if (formats_set.contains(Format.STRING)) { in appendAttribute()
355 if (name.contains("sdk") || name.contains("Sdk")) {
358 if (name.contains("uri") || name.contains("Uri")) {
361 if (name.contains("ime") || name.contains("Ime")) {
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/relative/
DDeletionHandlerTest.java110 assertFalse(updated.contains(BaseViewRule.stripIdPrefix(button2.getStringAttr(ANDROID_URI, in testSimple()
290 assertFalse(updated.contains(BaseViewRule.stripIdPrefix(button7.getStringAttr(ANDROID_URI, in testTransitive()
352 assertFalse(updated.contains(BaseViewRule.stripIdPrefix(button1.getStringAttr(ANDROID_URI, in testCenter()
442 assertTrue(updated.contains(BaseViewRule.stripIdPrefix(button2.getStringAttr(ANDROID_URI, in testMove()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DRenderLogger.java202 if (sIgnoredFidelityWarnings != null && sIgnoredFidelityWarnings.contains(message)) { in fidelityWarning()
240 } else if (mWarnings.contains(description)) { in addWarning()
251 } else if (mErrors.contains(description)) { in addError()
262 } else if (mFidelityWarnings.contains(description)) { in addFidelityWarning()
307 return mTags.contains(tag); in seenTag()
DViewHierarchy.java324 if (key != null && invisibleNodes.contains(key)) { in addInvisibleParents()
491 if (r.contains(p.x, p.y)) { in findViewInfoAt_Recursive()
543 if (r.contains(p.x, p.y)) { in findAltViewInfoAt_Recursive()
553 if (r.contains(p.x, p.y)) { in findAltViewInfoAt_Recursive()
561 if (r.contains(p.x, p.y)) { in findAltViewInfoAt_Recursive()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DIncludeOverlayTest.java55 if (hole.contains(x, y)) { in checkSubtract()
62 if (r.contains(x, y)) { in checkSubtract()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DDeletionHandler.java132 if (mDeleted.contains(child)) { in updateConstraints()
139 if (mDeletedIds.contains(id)) { in updateConstraints()
167 assert mDeleted.contains(deleted); in transfer()
180 if (mDeletedIds.contains(id)) { in transfer()
DResizeHandler.java98 !mHorizontalDeps.contains(child), in ResizeHandler()
99 !mVerticalDeps.contains(child)); in ResizeHandler()
221 if (mHorizontalDeps.contains(match.edge.node)) { in updateResize()
245 if (mVerticalDeps.contains(match.edge.node)) { in updateResize()
DMoveHandler.java97 boolean addHorizontal = !mHorizontalDeps.contains(child); in MoveHandler()
98 boolean addVertical = !mVerticalDeps.contains(child); in MoveHandler()
251 if (mHorizontalDeps.contains(match.edge.node)) { in updateMove()
277 if (mVerticalDeps.contains(match.edge.node)) { in updateMove()
DGuidelinePainter.java69 if (state.mDraggedNodes.contains(n)) { in paint()
173 if (state.mDraggedNodes.contains(from)) { in paintCycle()
191 boolean isDragged = state.mDraggedNodes.contains(to); in paintCycle()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DSourceFileData.java74 return mDependencyFiles.contains(file); in dependsOn()
83 return mOutputFiles.contains(file); in generated()
DAaptQuickFix.java99 && (message.contains(getTargetMarkerErrorMessage()) in hasResolutions()
100 || message.contains(getUnboundErrorMessage())); in hasResolutions()
109 if (message.contains(getUnboundErrorMessage()) && markerResource instanceof IFile) { in getResolutions()
181 if (message.contains(getTargetMarkerErrorMessage())) { in computeQuickAssistProposals()
194 } else if (message.contains(getUnboundErrorMessage())) { in computeQuickAssistProposals()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DNinePatchedImageTest.java733 assertTrue(badPatches.contains(new Point(0, 3))); in testBadPatches()
735 assertTrue(badPatches.contains(new Point(1, 1))); in testBadPatches()
736 assertTrue(badPatches.contains(new Point(1, 2))); in testBadPatches()
737 assertTrue(badPatches.contains(new Point(1, 3))); in testBadPatches()
738 assertTrue(badPatches.contains(new Point(1, 4))); in testBadPatches()
739 assertTrue(badPatches.contains(new Point(1, 5))); in testBadPatches()
741 assertTrue(badPatches.contains(new Point(2, 1))); in testBadPatches()
742 assertTrue(badPatches.contains(new Point(2, 5))); in testBadPatches()
744 assertTrue(badPatches.contains(new Point(3, 0))); in testBadPatches()
745 assertTrue(badPatches.contains(new Point(3, 1))); in testBadPatches()
[all …]
/sdk/testapps/
DREADME.txt1 This repository contains test applications used by the SDK automated tests.
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/
DAaptQuickFixTest.java136 assertTrue(resolution.getLabel().contains("Create resource")); in checkResourceFix()
172 assertTrue(proposal.getDisplayString().contains("Create resource")); in checkResourceFix()
244 assertTrue(resolution.getLabel().contains("Insert namespace")); in checkNamespaceFix()
272 assertTrue(proposal.getDisplayString().contains("Insert namespace")); in checkNamespaceFix()
/sdk/bash_completion/
DREADME1 This directory contains scripts that are intended to be used with
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridModel.java294 || !(gravity.contains(VALUE_TOP) in getBaseline()
295 || gravity.contains(VALUE_BOTTOM) in getBaseline()
296 || gravity.contains(VALUE_CENTER_VERTICAL))) { in getBaseline()
1099 if (!removedViews.contains(view)) { in removeColumns()
1295 if (!removedViews.contains(view)) { in removeRows()
1608 if (cellString.contains(",") && cellString.length() > cellWidth - 2) { //$NON-NLS-1$ in toString()
1978 if (deleted.contains(view.node)) { in onDeleted()
2019 boolean prevUsed = usedColumns.contains(0); in onDeleted()
2021 boolean used = usedColumns.contains(column); in onDeleted()
2034 prevUsed = usedRows.contains(0); in onDeleted()
[all …]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/
DHierarchyViewer.java48 if (os.contains(OS_WINDOWS) || os.contains(OS_MACOSX)) { in initUserInterface()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
DCyclicDependencyValidator.java37 if (mInvalidIds.contains(newText)) { in isValid()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DConfirmationPage.java146 if (mOverrideProjects.contains(javaProject)) { in createControl()
163 if (mBuilder.getOriginalModules().contains(module)) { in createControl()
178 if (mOverrideProjects.contains(module.getJavaProject())) { in createControl()

123456