Lines Matching defs:rule

1403          * Adds a layout rule to be interpreted by the RelativeLayout.
1410 * If the rule is relative to the layout direction (ex.
1413 * {@link #getRule(int)} an absolute rule (ex.
1426 * Adds a layout rule to be interpreted by the RelativeLayout.
1432 * If the rule is relative to the layout direction (ex.
1435 * {@link #getRule(int)} with an absolute rule (ex. {@link #LEFT_OF}.
1446 // If we're removing a relative rule, we'll need to force layout
1459 * Removes a layout rule to be interpreted by the RelativeLayout.
1461 * If the rule is relative to the layout direction (ex.
1465 * {@link #getRule(int)} with an absolute rule (ex. {@link #LEFT_OF}.
1479 * Returns the layout rule associated with a specific verb.
1500 private boolean isRelativeRule(int rule) {
1501 return rule == START_OF || rule == END_OF
1502 || rule == ALIGN_START || rule == ALIGN_END
1503 || rule == ALIGN_PARENT_START || rule == ALIGN_PARENT_END;
1511 // if no "left"/"right" rule has been defined and "start"/"end" rules are defined then we
1515 // rules. If no "start"/"end" rule is defined then we use "left"/"right" rules.
1529 // "left" rule is not defined but "start" rule is: use the "start" rule as
1530 // the "left" rule
1538 // "right" rule is not defined but "end" rule is: use the "end" rule as the
1539 // "right" rule
1547 // "left" rule is not defined but "start" rule is: use the "start" rule as
1548 // the "left" rule
1556 // "right" rule is not defined but "end" rule is: use the "end" rule as the
1557 // "right" rule
1565 // "left" rule is not defined but "start" rule is: use the "start" rule as
1566 // the "left" rule
1574 // "right" rule is not defined but "end" rule is: use the "end" rule as the
1575 // "right" rule
1589 // "start" rule resolved to "left" or "right" depending on the direction
1594 // "end" rule resolved to "left" or "right" depending on the direction
1606 // "start" rule resolved to "left" or "right" depending on the direction
1611 // "end" rule resolved to "left" or "right" depending on the direction
1623 // "start" rule resolved to "left" or "right" depending on the direction
1628 // "end" rule resolved to "left" or "right" depending on the direction
1639 * Retrieves a complete list of all supported rules, where the index is the rule
1658 * Retrieves a complete list of all supported rules, where the index is the rule
1824 final int rule = rules[rulesFilter[j]];
1825 if (rule > 0) {
1827 final Node dependency = keyNodes.get(rule);
1835 node.dependencies.put(rule, dependency);