OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:canCreateResource
(Results
1 - 3
of
3
) sorted by null
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/
ResourceHelperTest.java
149
assertTrue(ResourceHelper.
canCreateResource
("@layout/foo"));
150
assertTrue(ResourceHelper.
canCreateResource
("@string/foo"));
151
assertTrue(ResourceHelper.
canCreateResource
("@dimen/foo"));
152
assertTrue(ResourceHelper.
canCreateResource
("@color/foo"));
154
assertFalse(ResourceHelper.
canCreateResource
("@typo/foo")); // nonexistent type
155
assertFalse(ResourceHelper.
canCreateResource
("@layout/foo bar")); // space
156
assertFalse(ResourceHelper.
canCreateResource
("@layout/new")); // keyword
157
assertFalse(ResourceHelper.
canCreateResource
("@android:string/foo")); // framework
158
assertFalse(ResourceHelper.
canCreateResource
("@android:dimen/foo"));
159
assertFalse(ResourceHelper.
canCreateResource
("@android:color/foo"))
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
AaptQuickFix.java
127
if (ResourceHelper.
canCreateResource
(resource)) {
188
if (ResourceHelper.
canCreateResource
(resource)) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
ResourceHelper.java
246
public static boolean
canCreateResource
(String resource) {
Completed in 540 milliseconds