/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/ |
D | ResourceNameValidatorTest.java | 36 assertTrue(validator.isValid("foo") == null); in testValidator() 37 assertTrue(validator.isValid("foo.xml") == null); in testValidator() 38 assertTrue(validator.isValid("Foo123_$") == null); in testValidator() 39 assertTrue(validator.isValid("foo.xm") == null); // For non-file types, . => _ in testValidator() 42 assertTrue(validator.isValid("") != null); in testValidator() 43 assertTrue(validator.isValid(" ") != null); in testValidator() 44 assertTrue(validator.isValid("foo bar") != null); in testValidator() 45 assertTrue(validator.isValid("1foo") != null); in testValidator() 46 assertTrue(validator.isValid("foo%bar") != null); in testValidator() 48 ResourceType.STRING).isValid("foo") != null); in testValidator() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/resources/platform/ |
D | AttributeInfoTest.java | 52 assertTrue(info.isValid("", null, null)); in testSimple() 53 assertTrue(info.isValid("a b c", null, null)); in testSimple() 54 assertTrue(info.isValid("@android foo bar", null, null)); in testSimple() 59 assertTrue(info.isValid("", null, null)); in testIsValidString() 60 assertTrue(info.isValid("a b c", null, null)); in testIsValidString() 61 assertTrue(info.isValid("@android foo bar", null, null)); in testIsValidString() 66 assertTrue(info.isValid("true", null, null)); in testIsValidBoolean() 67 assertTrue(info.isValid("false", null, null)); in testIsValidBoolean() 68 assertFalse(info.isValid("", null, null)); in testIsValidBoolean() 69 assertFalse(info.isValid("TRUE", null, null)); in testIsValidBoolean() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/api/ |
D | RectTest.java | 86 assertFalse(r.isValid()); in testIsValid() 89 assertTrue(r.isValid()); in testIsValid() 93 assertFalse(r.isValid()); in testIsValid() 95 assertFalse(r.isValid()); in testIsValid() 99 assertFalse(r.isValid()); in testIsValid() 101 assertFalse(r.isValid()); in testIsValid() 104 assertFalse(r.isValid()); in testIsValid() 106 assertFalse(r.isValid()); in testIsValid() 233 assertTrue(r.isValid()); in testEqualsObject_Invalid() 236 assertFalse(i1.isValid()); in testEqualsObject_Invalid() [all …]
|
/sdk/rule_api/src/com/android/ide/common/api/ |
D | Rect.java | 78 public boolean isValid() { in isValid() method in Rect 84 return isValid() && in contains() 193 if (isValid() != rhs.isValid()) { in equals() 197 if (!isValid() && !rhs.isValid()) { in equals()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
D | UiAbstractTextAttributeNode.java | 61 public abstract boolean isValid(); in isValid() method in UiAbstractTextAttributeNode 86 if (isValid() && !getTextWidgetValue().equals(mCurrentValue)) { in updateValue() 104 if (parent != null && isValid() && isDirty()) { in commit()
|
D | UiTextValueNode.java | 67 if (isValid() && !getTextWidgetValue().equals(getCurrentValue())) { in updateValue() 85 if (parent != null && isValid() && isDirty()) { in commit()
|
/sdk/sdk_common/src/com/android/ide/common/resources/configuration/ |
D | SmallestScreenWidthQualifier.java | 69 public boolean isValid() { in isValid() method in SmallestScreenWidthQualifier 142 if (isValid()) { in getShortDisplayValue() 151 if (isValid()) { in getLongDisplayValue()
|
D | ScreenHeightQualifier.java | 69 public boolean isValid() { in isValid() method in ScreenHeightQualifier 142 if (isValid()) { in getShortDisplayValue() 151 if (isValid()) { in getLongDisplayValue()
|
D | ScreenWidthQualifier.java | 69 public boolean isValid() { in isValid() method in ScreenWidthQualifier 142 if (isValid()) { in getShortDisplayValue() 151 if (isValid()) { in getLongDisplayValue()
|
D | ScreenDimensionQualifier.java | 84 public boolean isValid() { in isValid() method in ScreenDimensionQualifier 157 if (isValid()) { in getShortDisplayValue() 166 if (isValid()) { in getLongDisplayValue()
|
D | ResourceQualifier.java | 52 public abstract boolean isValid(); in isValid() method in ResourceQualifier
|
D | EnumBasedResourceQualifier.java | 30 public boolean isValid() { in isValid() method in EnumBasedResourceQualifier
|
D | CountryCodeQualifier.java | 102 public boolean isValid() { in isValid() method in CountryCodeQualifier
|
D | LanguageQualifier.java | 95 public boolean isValid() { in isValid() method in LanguageQualifier
|
D | NetworkCodeQualifier.java | 102 public boolean isValid() { in isValid() method in NetworkCodeQualifier
|
D | RegionQualifier.java | 100 public boolean isValid() { in isValid() method in RegionQualifier
|
D | VersionQualifier.java | 103 public boolean isValid() { in isValid() method in VersionQualifier
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | AbsoluteLayoutRule.java | 87 if (!b.isValid()) { in drawFeedback() 107 if (be.isValid()) { in drawFeedback() 154 if (!b.isValid()) { in onDropped() 187 if (be.isValid()) { in onDropped() 190 } else if (offset != null && be.isValid()) { in onDropped() 195 y += be.isValid() ? be.h : 10; in onDropped()
|
D | FrameLayoutRule.java | 76 if (!b.isValid()) { 93 if (be.isValid()) { 99 if (currBounds.isValid()) { 136 if (!b.isValid()) {
|
D | AdapterViewRule.java | 41 if (b.isValid()) { in onDropEnter()
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
D | HeapSegment.java | 279 public boolean isValid() { in isValid() method in HeapSegment 291 return isValid() && other.isValid() && mHeapId == other.mHeapId && in canAppend()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | SimpleElement.java | 193 if (mBounds != null && mBounds.isValid()) { in toString() 196 if (mParentBounds != null && mParentBounds.isValid()) { in toString() 356 if (mBounds != null && mBounds.isValid()) { in hashCode() 359 if (mParentBounds != null && mParentBounds.isValid()) { in hashCode()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/ |
D | CyclicDependencyValidator.java | 36 public String isValid(String newText) { in isValid() method in CyclicDependencyValidator
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
D | ObsoleteLayoutParamsDetector.java | 350 boolean isValid = false; in afterCheckProject() 354 isValid = true; in afterCheckProject() 356 } else if (!isValid && name.equals(ATTR_LAYOUT_COLUMN) in afterCheckProject() 358 isValid = true; in afterCheckProject() 363 if (!isValid) { in afterCheckProject()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ |
D | SdkToolsLocator.java | 102 public boolean isValid() { in isValid() method in SdkToolsLocator.SdkInstallStatus
|