/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
BaseLayoutRuleTest.java | 25 import com.android.ide.common.layout.BaseLayoutRule.AttributeFilter; 36 // TODO: Rename BaseLayout to BaseLayoutRule, and tests too of course 55 /** Test {@link BaseLayoutRule#collectIds}: Check that basic lookup of id works */ 60 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); 66 * Test {@link BaseLayoutRule#collectIds}: Check that with the wrong URI we 75 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); 80 * Test {@link BaseLayoutRule#normalizeId(String)} 83 assertEquals("foo", new BaseLayoutRule().normalizeId("foo")); 84 assertEquals("@+id/name", new BaseLayoutRule().normalizeId("@id/name")); 85 assertEquals("@+id/name", new BaseLayoutRule().normalizeId("@+id/name")) [all...] |
TestNode.java | 307 id = BaseLayoutRule.stripIdPrefix(id); 313 if (id != null && targetId.equals(BaseLayoutRule.stripIdPrefix(id))) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
IgnoredLayoutRule.java | 35 public abstract class IgnoredLayoutRule extends BaseLayoutRule {
|
ResizeState.java | 32 private final BaseLayoutRule mRule; 94 ResizeState(BaseLayoutRule rule, INode layout, Object layoutView, INode node) {
|
AdapterViewRule.java | 30 public class AdapterViewRule extends BaseLayoutRule {
|
SlidingDrawerRule.java | 37 public class SlidingDrawerRule extends BaseLayoutRule {
|
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);
|
BaseLayoutRule.java | 92 public class BaseLayoutRule extends BaseViewRule { 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$ 458 * For use by {@link BaseLayoutRule#addAttributes} A filter should return a [all...] |
FrameLayoutRule.java | 49 public class FrameLayoutRule extends BaseLayoutRule {
|
AbsoluteLayoutRule.java | 47 public class AbsoluteLayoutRule extends BaseLayoutRule {
|
BaseViewRule.java | [all...] |
LinearLayoutRule.java | 68 public class LinearLayoutRule extends BaseLayoutRule { 784 private LinearResizeState(BaseLayoutRule rule, INode layout, Object layoutView, [all...] |
GridLayoutRule.java | 82 public class GridLayoutRule extends BaseLayoutRule {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
DependencyGraph.java | 29 import com.android.ide.common.layout.BaseLayoutRule; 68 parentId = BaseLayoutRule.stripIdPrefix(parentId); 83 id = BaseLayoutRule.stripIdPrefix(id); 108 String targetId = BaseLayoutRule.stripIdPrefix(value); 134 id = BaseLayoutRule.stripIdPrefix(id); 312 BaseLayoutRule.stripIdPrefix(newId));
|
ResizeHandler.java | 38 import com.android.ide.common.layout.BaseLayoutRule; 108 int maxDistance = BaseLayoutRule.getMaxMatchDistance(); 131 int maxDistance = BaseLayoutRule.getMaxMatchDistance(); 220 && (!mSnap || Math.abs(match.delta) < BaseLayoutRule.getMaxMatchDistance())) { 244 && (!mSnap || Math.abs(match.delta) < BaseLayoutRule.getMaxMatchDistance())) {
|
MoveHandler.java | 38 import com.android.ide.common.layout.BaseLayoutRule; 115 int maxDistance = BaseLayoutRule.getMaxMatchDistance(); 140 int maxDistance = BaseLayoutRule.getMaxMatchDistance();
|
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()) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LintTooltip.java | 20 import com.android.ide.common.layout.BaseLayoutRule; 75 String id = BaseLayoutRule.stripIdPrefix(node.getAttributeValue(ATTR_ID));
|
OutlineDropListener.java | 20 import com.android.ide.common.layout.BaseLayoutRule; 133 BaseLayoutRule.insertAt(targetNode, elements, createNew, indexFinal);
|
OutlinePage.java | 41 import com.android.ide.common.layout.BaseLayoutRule; [all...] |
GraphicalEditorPart.java | 46 import com.android.ide.common.layout.BaseLayoutRule; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutMetadataTest.java | 24 import com.android.ide.common.layout.BaseLayoutRule; 96 if (id != null && targetId.equals(BaseLayoutRule.stripIdPrefix(id))) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
GridLayoutConverter.java | 57 import com.android.ide.common.layout.BaseLayoutRule; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridDropHandler.java | 40 import com.android.ide.common.layout.BaseLayoutRule; 107 int max = BaseLayoutRule.getMaxMatchDistance(); [all...] |