Home
last modified time | relevance | path

Searched refs:rule (Results 1 – 11 of 11) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DRulesEngine.java137 IViewRule rule = loadRule(element); in callGetDisplayName() local
139 if (rule != null) { in callGetDisplayName()
141 return rule.getDisplayName(); in callGetDisplayName()
145 rule.getClass().getSimpleName(), in callGetDisplayName()
163 IViewRule rule = loadRule(selectedNode.getNode()); in callGetContextMenu() local
165 if (rule != null) { in callGetContextMenu()
169 rule.addContextMenuActions(actions, selectedNode); in callGetContextMenu()
175 rule.getClass().getSimpleName(), in callGetContextMenu()
191 IViewRule rule = loadRule(selectedNode.getNode()); in callGetDefaultActionId() local
193 if (rule != null) { in callGetDefaultActionId()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DLinearLayoutRuleTest.java49 IViewRule rule = new LinearLayoutRule(); in dragIntoEmpty() local
59 DropFeedback feedback = rule.onDropEnter(targetNode, null/*targetView*/, elements); in dragIntoEmpty()
64 feedback = rule.onDropMove(targetNode, elements, feedback, dropPoint); in dragIntoEmpty()
97 rule.onDropped(targetNode, elements, feedback, dropPoint); in dragIntoEmpty()
127 LinearLayoutRule rule = new LinearLayoutRule(); in testContextMenu() local
128 initialize(rule, "android.widget.LinearLayout"); in testContextMenu()
132 rule.addContextMenuActions(contextMenu, node); in testContextMenu()
147 LinearLayoutRule rule = new LinearLayoutRule(); in testContextMenuCustom() local
148 initialize(rule, "android.widget.LinearLayout"); in testContextMenuCustom()
154 rule.addContextMenuActions(contextMenu, node); in testContextMenuCustom()
[all …]
DLayoutTestBase.java68 protected INode dragInto(IViewRule rule, INode targetNode, Rect dragBounds, Point dropPoint, in dragInto() argument
79 DropFeedback feedback = rule.onDropEnter(targetNode, null/*targetView*/, elements); in dragInto()
89 feedback = rule.onDropMove(targetNode, elements, feedback, dropPoint); in dragInto()
93 feedback = rule.onDropMove(targetNode, elements, feedback, secondDropPoint); in dragInto()
127 rule.onDropped(targetNode, elements, feedback, dropPoint); in dragInto()
191 protected void initialize(IViewRule rule, String fqn) { in initialize() argument
192 rule.onInitialize(fqn, new TestRulesEngine(fqn)); in initialize()
DZoomControlsRuleTest.java43 ZoomControlsRule rule = new ZoomControlsRule(); in testDoNothing() local
46 DropFeedback feedback = rule.onDropEnter(layout, null/*targetView*/, elements); in testDoNothing()
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/
DHierarchyViewerPluginDirector.java57 public boolean contains(ISchedulingRule rule) {
58 return rule == this;
62 public boolean isConflicting(ISchedulingRule rule) {
63 return rule == this;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DResizeState.java94 ResizeState(BaseLayoutRule rule, INode layout, Object layoutView, INode node) { in ResizeState() argument
95 mRule = rule; in ResizeState()
DLinearLayoutRule.java784 private LinearResizeState(BaseLayoutRule rule, INode layout, Object layoutView,
786 super(rule, layout, layoutView, node);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridLayoutPainter.java47 public static IFeedbackPainter createDropFeedbackPainter(GridLayoutRule rule, in createDropFeedbackPainter() argument
49 return new DropFeedbackPainter(rule, elements); in createDropFeedbackPainter()
124 public DropFeedbackPainter(GridLayoutRule rule, IDragElement[] elements) { in DropFeedbackPainter() argument
125 mRule = rule; in DropFeedbackPainter()
/sdk/eclipse/
Dbuild.gradle62 'rule-api' : "com.android.tools:rule-api:$ext.baseVersion",
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/META-INF/
DMANIFEST.MF10 libs/rule-api.jar,
/sdk/files/typos/
Dtypos-en.txt3726 rulle->rule