Home
last modified time | relevance | path

Searched refs:stripIdPrefix (Results 1 – 18 of 18) sorted by relevance

/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/common/layout/relative/
DDeletionHandler.java24 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()
DDependencyGraph.java68 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()
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
DLabelForDetector.java27 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()
DWrongIdDetector.java29 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()
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/detector/api/
DLintUtilsTest.java181 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()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLintTooltip.java75 String id = BaseLayoutRule.stripIdPrefix(node.getAttributeValue(ATTR_ID)); in createContents()
DSelectionManager.java1188 currentId = BaseViewRule.stripIdPrefix(currentId); in performRename()
1202 newId = NEW_ID_PREFIX + BaseViewRule.stripIdPrefix(s); in performRename()
DDynamicContextMenu.java229 label = BaseViewRule.stripIdPrefix(id); in insertParentItems()
DLayoutActionBar.java170 label = BaseViewRule.stripIdPrefix(label); in updateSelection()
DGraphicalEditorPart.java2121 id = BaseLayoutRule.stripIdPrefix(id); in addSetAttributeLink()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DTestNode.java308 id = BaseLayoutRule.stripIdPrefix(id); in findById()
314 if (id != null && targetId.equals(BaseLayoutRule.stripIdPrefix(id))) { in findById()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutMetadataTest.java201 if (id != null && targetId.equals(BaseLayoutRule.stripIdPrefix(id))) { in findById()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DBaseViewRule.java196 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
DRelativeLayoutRule.java124 a = stripIdPrefix(a); in addAttr()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DGridLayoutConverter.java898 String targetName = BaseLayoutRule.stripIdPrefix(value); in analyzeKnownLayouts()
902 if (targetName.equals(BaseLayoutRule.stripIdPrefix(id))) { in analyzeKnownLayouts()
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/
DLintUtils.java218 public static String stripIdPrefix(@Nullable String id) { in stripIdPrefix() method in LintUtils
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DClientRulesEngine.java282 ids.add(BaseViewRule.stripIdPrefix(id));