Home
last modified time | relevance | path

Searched refs:idMap (Results 1 – 6 of 6) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DBaseLayoutRuleTest.java59 Map<String, Pair<String, String>> idMap = new HashMap<String, Pair<String, String>>(); in testCollectIds1() local
60 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); in testCollectIds1()
74 Map<String, Pair<String, String>> idMap = new HashMap<String, Pair<String, String>>(); in testCollectIds2() local
75 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); in testCollectIds2()
107 Map<String, Pair<String, String>> idMap = new HashMap<String, Pair<String, String>>(); in testCollectIds3() local
110 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); in testCollectIds3()
126 Map<String, Pair<String, String>> idMap = new HashMap<String, Pair<String, String>>(); in testRemapIds1() local
129 baseLayout.collectIds(idMap, elements); in testRemapIds1()
133 assertEquals(5, idMap.size()); in testRemapIds1()
134 Map<String, Pair<String, String>> remapped = baseLayout.remapIds(node, idMap); in testRemapIds1()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DBaseLayoutRule.java335 Map<String, Pair<String, String>> idMap = new HashMap<String, Pair<String, String>>(); in getDropIdMap() local
338 collectIds(idMap, elements); in getDropIdMap()
340 idMap = remapIds(targetNode, idMap); in getDropIdMap()
343 return idMap; in getDropIdMap()
354 Map<String, Pair<String, String>> idMap, in collectIds() argument
361 idMap.put(id, Pair.of(id, element.getFqcn())); in collectIds()
365 collectIds(idMap, element.getInnerElements()); in collectIds()
368 return idMap; in collectIds()
375 Map<String, Pair<String, String>> idMap) { in remapIds() argument
381 for (Map.Entry<String, Pair<String, String>> entry : idMap.entrySet()) { in remapIds()
[all …]
DFrameLayoutRule.java142 final Map<String, Pair<String, String>> idMap = getDropIdMap(targetNode, elements,
157 addAttributes(newChild, element, idMap, DEFAULT_ATTR_FILTER);
159 addInnerElements(newChild, element, idMap);
DAbsoluteLayoutRule.java160 final Map<String, Pair<String, String>> idMap = getDropIdMap(targetNode, elements, in onDropped() local
177 addAttributes(newChild, element, idMap, DEFAULT_ATTR_FILTER); in onDropped()
209 addInnerElements(newChild, element, idMap); in onDropped()
DGridLayoutRule.java323 Map<String, Pair<String, String>> idMap = getDropIdMap(targetNode, elements, in onDropped() local
335 addAttributes(newChild, element, idMap, DEFAULT_ATTR_FILTER); in onDropped()
337 addInnerElements(newChild, element, idMap); in onDropped()
645 Map<String, Pair<String, String>> idMap = getDropIdMap(targetNode, elements, in onPaste() local
658 addAttributes(newChild, element, idMap, DEFAULT_ATTR_FILTER); in onPaste()
672 addInnerElements(newChild, element, idMap); in onPaste()
DRelativeLayoutRule.java188 final Map<String, Pair<String, String>> idMap = getDropIdMap(targetNode, elements, in onDropped() local
213 addAttributes(newChild, element, idMap, BaseLayoutRule.DEFAULT_ATTR_FILTER); in onDropped()
214 addInnerElements(newChild, element, idMap); in onDropped()