Searched refs:canCreateResource (Results 1 – 3 of 3) sorted by relevance
149 assertTrue(ResourceHelper.canCreateResource("@layout/foo")); in testCanCreateResource()150 assertTrue(ResourceHelper.canCreateResource("@string/foo")); in testCanCreateResource()151 assertTrue(ResourceHelper.canCreateResource("@dimen/foo")); in testCanCreateResource()152 assertTrue(ResourceHelper.canCreateResource("@color/foo")); in testCanCreateResource()154 assertFalse(ResourceHelper.canCreateResource("@typo/foo")); // nonexistent type in testCanCreateResource()155 assertFalse(ResourceHelper.canCreateResource("@layout/foo bar")); // space in testCanCreateResource()156 assertFalse(ResourceHelper.canCreateResource("@layout/new")); // keyword in testCanCreateResource()157 assertFalse(ResourceHelper.canCreateResource("@android:string/foo")); // framework in testCanCreateResource()158 assertFalse(ResourceHelper.canCreateResource("@android:dimen/foo")); in testCanCreateResource()159 assertFalse(ResourceHelper.canCreateResource("@android:color/foo")); in testCanCreateResource()
127 if (ResourceHelper.canCreateResource(resource)) { in getResolutions()188 if (ResourceHelper.canCreateResource(resource)) { in computeQuickAssistProposals()
244 public static boolean canCreateResource(String resource) { in canCreateResource() method in ResourceHelper