/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
D | BaseLayoutRuleTest.java | 25 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 …]
|
D | TestNode.java | 307 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/ |
D | DependencyGraph.java | 29 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()
|
D | ResizeHandler.java | 38 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()
|
D | MoveHandler.java | 38 import com.android.ide.common.layout.BaseLayoutRule; 115 int maxDistance = BaseLayoutRule.getMaxMatchDistance(); in snapVertical() 140 int maxDistance = BaseLayoutRule.getMaxMatchDistance(); in snapHorizontal()
|
D | GuidelineHandler.java | 28 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/ |
D | ResizeState.java | 32 private final BaseLayoutRule mRule; 94 ResizeState(BaseLayoutRule rule, INode layout, Object layoutView, INode node) { in ResizeState()
|
D | IgnoredLayoutRule.java | 35 public abstract class IgnoredLayoutRule extends BaseLayoutRule {
|
D | AdapterViewRule.java | 30 public class AdapterViewRule extends BaseLayoutRule {
|
D | SlidingDrawerRule.java | 37 public class SlidingDrawerRule extends BaseLayoutRule {
|
D | RelativeLayoutRule.java | 73 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()
|
D | BaseLayoutRule.java | 92 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$
|
D | FrameLayoutRule.java | 49 public class FrameLayoutRule extends BaseLayoutRule {
|
D | AbsoluteLayoutRule.java | 47 public class AbsoluteLayoutRule extends BaseLayoutRule {
|
D | BaseViewRule.java | 900 if (parentRule instanceof BaseLayoutRule) { in onPaste() 901 ((BaseLayoutRule) parentRule).onPasteBeforeChild(parent, targetView, targetNode, in onPaste()
|
D | LinearLayoutRule.java | 68 public class LinearLayoutRule extends BaseLayoutRule { 784 private LinearResizeState(BaseLayoutRule rule, INode layout, Object layoutView,
|
D | GridLayoutRule.java | 82 public class GridLayoutRule extends BaseLayoutRule {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | LintTooltip.java | 20 import com.android.ide.common.layout.BaseLayoutRule; 75 String id = BaseLayoutRule.stripIdPrefix(node.getAttributeValue(ATTR_ID)); in createContents()
|
D | OutlineDropListener.java | 20 import com.android.ide.common.layout.BaseLayoutRule; 133 BaseLayoutRule.insertAt(targetNode, elements, createNew, indexFinal); in performDrop()
|
D | OutlinePage.java | 41 import com.android.ide.common.layout.BaseLayoutRule; 1173 BaseLayoutRule.insertAt(targetNode, elements, false, index); in move()
|
D | GraphicalEditorPart.java | 48 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/ |
D | LayoutMetadataTest.java | 24 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/ |
D | GridLayoutConverter.java | 57 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/ |
D | GridDropHandler.java | 40 import com.android.ide.common.layout.BaseLayoutRule; 107 int max = BaseLayoutRule.getMaxMatchDistance(); in computeMatches()
|