Home
last modified time | relevance | path

Searched refs:BaseLayoutRule (Results 1 – 24 of 24) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DBaseLayoutRuleTest.java25 import com.android.ide.common.layout.BaseLayoutRule.AttributeFilter;
60 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); in testCollectIds1()
75 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); in testCollectIds2()
83 assertEquals("foo", new BaseLayoutRule().normalizeId("foo")); in testNormalizeId()
84 assertEquals("@+id/name", new BaseLayoutRule().normalizeId("@id/name")); in testNormalizeId()
85 assertEquals("@+id/name", new BaseLayoutRule().normalizeId("@+id/name")); in testNormalizeId()
96 new BaseLayoutRule().collectExistingIds(node, existing); in testCollectExistingIds1()
110 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); in testCollectIds3()
127 BaseLayoutRule baseLayout = new BaseLayoutRule(); in testRemapIds1()
149 BaseLayoutRule baseLayout = new BaseLayoutRule(); in testGetDropIdMap()
[all …]
DTestNode.java307 id = BaseLayoutRule.stripIdPrefix(id); in findById()
313 if (id != null && targetId.equals(BaseLayoutRule.stripIdPrefix(id))) { in findById()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DDependencyGraph.java29 import com.android.ide.common.layout.BaseLayoutRule;
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()
DResizeHandler.java38 import com.android.ide.common.layout.BaseLayoutRule;
108 int maxDistance = BaseLayoutRule.getMaxMatchDistance(); in snapVertical()
131 int maxDistance = BaseLayoutRule.getMaxMatchDistance(); in snapHorizontal()
220 && (!mSnap || Math.abs(match.delta) < BaseLayoutRule.getMaxMatchDistance())) { in updateResize()
244 && (!mSnap || Math.abs(match.delta) < BaseLayoutRule.getMaxMatchDistance())) { in updateResize()
DMoveHandler.java38 import com.android.ide.common.layout.BaseLayoutRule;
115 int maxDistance = BaseLayoutRule.getMaxMatchDistance(); in snapVertical()
140 int maxDistance = BaseLayoutRule.getMaxMatchDistance(); in snapHorizontal()
DGuidelineHandler.java28 import static com.android.ide.common.layout.BaseLayoutRule.getMaxMatchDistance;
65 import com.android.ide.common.layout.BaseLayoutRule;
406 if (Math.abs(delta) > BaseLayoutRule.getMaxMatchDistance()) { in isEdgeTypeCompatible()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DResizeState.java32 private final BaseLayoutRule mRule;
94 ResizeState(BaseLayoutRule rule, INode layout, Object layoutView, INode node) { in ResizeState()
DIgnoredLayoutRule.java35 public abstract class IgnoredLayoutRule extends BaseLayoutRule {
DAdapterViewRule.java30 public class AdapterViewRule extends BaseLayoutRule {
DSlidingDrawerRule.java37 public class SlidingDrawerRule extends BaseLayoutRule {
DRelativeLayoutRule.java73 public class RelativeLayoutRule extends BaseLayoutRule {
83 BaseLayoutRule.class.getResource("structure.png"); //$NON-NLS-1$
85 BaseLayoutRule.class.getResource("constraints.png"); //$NON-NLS-1$
213 addAttributes(newChild, element, idMap, BaseLayoutRule.DEFAULT_ATTR_FILTER); in onDropped()
DBaseLayoutRule.java92 public class BaseLayoutRule extends BaseViewRule { class
97 BaseLayoutRule.class.getResource("margins.png"); //$NON-NLS-1$
99 BaseLayoutRule.class.getResource("gravity.png"); //$NON-NLS-1$
101 BaseLayoutRule.class.getResource("fillwidth.png"); //$NON-NLS-1$
103 BaseLayoutRule.class.getResource("fillheight.png"); //$NON-NLS-1$
DFrameLayoutRule.java49 public class FrameLayoutRule extends BaseLayoutRule {
DAbsoluteLayoutRule.java47 public class AbsoluteLayoutRule extends BaseLayoutRule {
DBaseViewRule.java900 if (parentRule instanceof BaseLayoutRule) { in onPaste()
901 ((BaseLayoutRule) parentRule).onPasteBeforeChild(parent, targetView, targetNode, in onPaste()
DLinearLayoutRule.java68 public class LinearLayoutRule extends BaseLayoutRule {
784 private LinearResizeState(BaseLayoutRule rule, INode layout, Object layoutView,
DGridLayoutRule.java82 public class GridLayoutRule extends BaseLayoutRule {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLintTooltip.java20 import com.android.ide.common.layout.BaseLayoutRule;
75 String id = BaseLayoutRule.stripIdPrefix(node.getAttributeValue(ATTR_ID)); in createContents()
DOutlineDropListener.java20 import com.android.ide.common.layout.BaseLayoutRule;
133 BaseLayoutRule.insertAt(targetNode, elements, createNew, indexFinal); in performDrop()
DOutlinePage.java41 import com.android.ide.common.layout.BaseLayoutRule;
1173 BaseLayoutRule.insertAt(targetNode, elements, false, index); in move()
DGraphicalEditorPart.java48 import com.android.ide.common.layout.BaseLayoutRule;
2236 id = BaseLayoutRule.stripIdPrefix(id); in addSetAttributeLink()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutMetadataTest.java24 import com.android.ide.common.layout.BaseLayoutRule;
96 if (id != null && targetId.equals(BaseLayoutRule.stripIdPrefix(id))) { in findById()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DGridLayoutConverter.java57 import com.android.ide.common.layout.BaseLayoutRule;
901 String targetName = BaseLayoutRule.stripIdPrefix(value); in analyzeKnownLayouts()
905 if (targetName.equals(BaseLayoutRule.stripIdPrefix(id))) { in analyzeKnownLayouts()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridDropHandler.java40 import com.android.ide.common.layout.BaseLayoutRule;
107 int max = BaseLayoutRule.getMaxMatchDistance(); in computeMatches()