Searched refs:stripIdPrefix (Results 1 – 18 of 18) sorted by relevance
110 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()
24 import static com.android.ide.common.layout.BaseViewRule.stripIdPrefix;75 mNodeMap.put(stripIdPrefix(id), child); in DeletionHandler()83 mDeletedIds.add(stripIdPrefix(id)); in DeletionHandler()92 mDeletedIds.remove(stripIdPrefix(id)); in DeletionHandler()
68 parentId = BaseLayoutRule.stripIdPrefix(parentId); in DependencyGraph()83 id = BaseLayoutRule.stripIdPrefix(id); in DependencyGraph()108 String targetId = BaseLayoutRule.stripIdPrefix(value); in DependencyGraph()134 id = BaseLayoutRule.stripIdPrefix(id); in getView()312 BaseLayoutRule.stripIdPrefix(newId)); in describePath()
27 import static com.android.tools.lint.detector.api.LintUtils.stripIdPrefix;111 missing = !mLabels.contains(ID_PREFIX + stripIdPrefix(id)); in afterCheckFile()113 missing = !mLabels.contains(NEW_ID_PREFIX + stripIdPrefix(id)); in afterCheckFile()
29 import static com.android.tools.lint.detector.api.LintUtils.stripIdPrefix;211 id = stripIdPrefix(id); in afterCheckProject()242 stripIdPrefix(id))); in afterCheckProject()316 matchWith = stripIdPrefix(matchWith); in getSpellingSuggestions()
181 assertEquals("foo", LintUtils.stripIdPrefix("@+id/foo")); in testStripIdPrefix()182 assertEquals("foo", LintUtils.stripIdPrefix("@id/foo")); in testStripIdPrefix()183 assertEquals("foo", LintUtils.stripIdPrefix("foo")); in testStripIdPrefix()
75 String id = BaseLayoutRule.stripIdPrefix(node.getAttributeValue(ATTR_ID)); in createContents()
1188 currentId = BaseViewRule.stripIdPrefix(currentId); in performRename()1202 newId = NEW_ID_PREFIX + BaseViewRule.stripIdPrefix(s); in performRename()
229 label = BaseViewRule.stripIdPrefix(id); in insertParentItems()
170 label = BaseViewRule.stripIdPrefix(label); in updateSelection()
2121 id = BaseLayoutRule.stripIdPrefix(id); in addSetAttributeLink()
308 id = BaseLayoutRule.stripIdPrefix(id); in findById()314 if (id != null && targetId.equals(BaseLayoutRule.stripIdPrefix(id))) { in findById()
201 if (id != null && targetId.equals(BaseLayoutRule.stripIdPrefix(id))) { in findById()
196 oldId = stripIdPrefix(ensureValidString(oldId)); in addContextMenuActions()205 newId = NEW_ID_PREFIX + stripIdPrefix(newId); in addContextMenuActions()996 public static String stripIdPrefix(@Nullable String id) { in stripIdPrefix() method in BaseViewRule
124 a = stripIdPrefix(a); in addAttr()
898 String targetName = BaseLayoutRule.stripIdPrefix(value); in analyzeKnownLayouts()902 if (targetName.equals(BaseLayoutRule.stripIdPrefix(id))) { in analyzeKnownLayouts()
218 public static String stripIdPrefix(@Nullable String id) { in stripIdPrefix() method in LintUtils
282 ids.add(BaseViewRule.stripIdPrefix(id));