OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:RuleAction
(Results
1 - 8
of
8
) sorted by null
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
TableLayoutRule.java
29
import com.android.ide.common.api.
RuleAction
;
75
public void addContextMenuActions(@NonNull List<
RuleAction
> actions,
82
@NonNull
RuleAction
action,
91
actions.add(
RuleAction
.createAction("_addrow", "Add Row", addTab, null, 5, false)); //$NON-NLS-1$
96
@NonNull List<
RuleAction
> actions,
107
List<
RuleAction
> actions, final INode parentNode,
112
final @NonNull
RuleAction
action,
174
actions.add(
RuleAction
.createSeparator(150));
175
actions.add(
RuleAction
.createAction(ACTION_ADD_ROW, "Add Table Row", actionCallback,
180
actions.add(
RuleAction
.createAction(ACTION_REMOVE_ROW, "Remove Table Row"
[
all
...]
LinearLayoutRule.java
52
import com.android.ide.common.api.
RuleAction
;
53
import com.android.ide.common.api.
RuleAction
.Choices;
128
@NonNull List<
RuleAction
> actions,
133
Choices action =
RuleAction
.createChoices(
152
actions.add(
RuleAction
.createToggle(ACTION_BASELINE, "Toggle Baseline Alignment",
162
actions.add(
RuleAction
.createSeparator(35));
174
final @NonNull
RuleAction
action,
214
actions.add(
RuleAction
.createSeparator(50));
215
actions.add(
RuleAction
.createAction(ACTION_DISTRIBUTE, "Distribute Weights Evenly",
217
actions.add(
RuleAction
.createAction(ACTION_DOMINATE, "Assign All Weight"
[
all
...]
RelativeLayoutRule.java
53
import com.android.ide.common.api.
RuleAction
;
308
@NonNull List<
RuleAction
> actions,
315
actions.add(
RuleAction
.createSeparator(25));
320
public void action(@NonNull
RuleAction
action,
355
actions.add(
RuleAction
.createSeparator(150));
356
actions.add(
RuleAction
.createAction(ACTION_CENTER_VERTICAL, "Center Vertically",
358
actions.add(
RuleAction
.createAction(ACTION_CENTER_HORIZONTAL, "Center Horizontally",
362
actions.add(
RuleAction
.createSeparator(80));
363
actions.add(
RuleAction
.createToggle(ACTION_SHOW_CONSTRAINTS, "Show Constraints",
365
actions.add(
RuleAction
.createToggle(ACTION_SHOW_STRUCTURE, "Show All Relationships"
[
all
...]
BaseViewRule.java
49
import com.android.ide.common.api.
RuleAction
;
50
import com.android.ide.common.api.
RuleAction
.ActionProvider;
51
import com.android.ide.common.api.
RuleAction
.ChoiceProvider;
126
public void addContextMenuActions(@NonNull List<
RuleAction
> actions,
158
final @NonNull
RuleAction
action,
358
actions.add(
RuleAction
.createAction(PROP_PREFIX + ATTR_TEXT, "Edit Text...", onChange,
364
actions.add(
RuleAction
.createAction(ATTR_ID, editIdLabel, onChange, null, 20, true));
369
actions.add(
RuleAction
.createSeparator(32));
381
actions.add(
RuleAction
.createChoices(
402
actions.add(
RuleAction
.createChoices
[
all
...]
GridLayoutRule.java
51
import com.android.ide.common.api.
RuleAction
;
52
import com.android.ide.common.api.
RuleAction
.Choices;
156
@NonNull List<
RuleAction
> actions,
162
Choices orientationAction =
RuleAction
.createChoices(
176
actions.add(
RuleAction
.createSeparator(35));
184
final @NonNull
RuleAction
action,
226
actions.add(
RuleAction
.createSeparator(142));
228
actions.add(
RuleAction
.createToggle(ACTION_GRID_MODE, "Grid Model Mode",
233
actions.add(
RuleAction
.createToggle(ACTION_SHOW_STRUCTURE, "Show Structure",
237
actions.add(
RuleAction
.createSeparator(150))
[
all
...]
BaseLayoutRule.java
74
import com.android.ide.common.api.
RuleAction
;
75
import com.android.ide.common.api.
RuleAction
.ChoiceProvider;
109
protected final
RuleAction
createMarginAction(final INode parentNode,
119
public void action(@NonNull
RuleAction
action,
149
return
RuleAction
.createAction(ACTION_MARGIN, "Change Margins...", actionCallback,
155
protected final
RuleAction
createGravityAction(final List<? extends INode> targets, final
175
return
RuleAction
.createChoices("_gravity", "Change Gravity", //$NON-NLS-1$
188
@NonNull List<
RuleAction
> actions,
202
@NonNull
RuleAction
action,
238
actions.add(
RuleAction
.createToggle(ACTION_FILL_WIDTH, "Toggle Fill Width"
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
LinearLayoutRuleTest.java
35
import com.android.ide.common.api.
RuleAction
;
36
import com.android.ide.common.api.
RuleAction
.NestedAction;
131
List<
RuleAction
> contextMenu = new ArrayList<
RuleAction
>();
135
assertTrue(contextMenu.get(1) instanceof
RuleAction
.Separator);
138
assertTrue(contextMenu.get(4) instanceof
RuleAction
.Separator);
141
RuleAction
propertiesMenu = contextMenu.get(5);
153
List<
RuleAction
> contextMenu = new ArrayList<
RuleAction
>();
157
RuleAction
menuAction = contextMenu.get(2)
[
all
...]
/prebuilts/devtools/tools/lib/
rule-api.jar
Completed in 41 milliseconds