Lines Matching defs:mRules
1224 private int[] mRules = new int[VERB_COUNT];
1249 final int[] rules = mRules;
1365 System.arraycopy(source.mRules, LEFT_OF, this.mRules, LEFT_OF, VERB_COUNT);
1390 mRules[verb] = TRUE;
1411 mRules[verb] = anchor;
1427 mRules[verb] = 0;
1445 return mRules[verb];
1471 System.arraycopy(mInitialRules, LEFT_OF, mRules, LEFT_OF, VERB_COUNT);
1475 if (mRules[ALIGN_START] != 0) {
1476 if (mRules[ALIGN_LEFT] == 0) {
1479 mRules[ALIGN_LEFT] = mRules[ALIGN_START];
1481 mRules[ALIGN_START] = 0;
1484 if (mRules[ALIGN_END] != 0) {
1485 if (mRules[ALIGN_RIGHT] == 0) {
1488 mRules[ALIGN_RIGHT] = mRules[ALIGN_END];
1490 mRules[ALIGN_END] = 0;
1493 if (mRules[START_OF] != 0) {
1494 if (mRules[LEFT_OF] == 0) {
1497 mRules[LEFT_OF] = mRules[START_OF];
1499 mRules[START_OF] = 0;
1502 if (mRules[END_OF] != 0) {
1503 if (mRules[RIGHT_OF] == 0) {
1506 mRules[RIGHT_OF] = mRules[END_OF];
1508 mRules[END_OF] = 0;
1511 if (mRules[ALIGN_PARENT_START] != 0) {
1512 if (mRules[ALIGN_PARENT_LEFT] == 0) {
1515 mRules[ALIGN_PARENT_LEFT] = mRules[ALIGN_PARENT_START];
1517 mRules[ALIGN_PARENT_START] = 0;
1520 if (mRules[ALIGN_PARENT_END] != 0) {
1521 if (mRules[ALIGN_PARENT_RIGHT] == 0) {
1524 mRules[ALIGN_PARENT_RIGHT] = mRules[ALIGN_PARENT_END];
1526 mRules[ALIGN_PARENT_END] = 0;
1530 if ((mRules[ALIGN_START] != 0 || mRules[ALIGN_END] != 0) &&
1531 (mRules[ALIGN_LEFT] != 0 || mRules[ALIGN_RIGHT] != 0)) {
1533 mRules[ALIGN_LEFT] = 0;
1534 mRules[ALIGN_RIGHT] = 0;
1536 if (mRules[ALIGN_START] != 0) {
1538 mRules[isLayoutRtl ? ALIGN_RIGHT : ALIGN_LEFT] = mRules[ALIGN_START];
1539 mRules[ALIGN_START] = 0;
1541 if (mRules[ALIGN_END] != 0) {
1543 mRules[isLayoutRtl ? ALIGN_LEFT : ALIGN_RIGHT] = mRules[ALIGN_END];
1544 mRules[ALIGN_END] = 0;
1547 if ((mRules[START_OF] != 0 || mRules[END_OF] != 0) &&
1548 (mRules[LEFT_OF] != 0 || mRules[RIGHT_OF] != 0)) {
1550 mRules[LEFT_OF] = 0;
1551 mRules[RIGHT_OF] = 0;
1553 if (mRules[START_OF] != 0) {
1555 mRules[isLayoutRtl ? RIGHT_OF : LEFT_OF] = mRules[START_OF];
1556 mRules[START_OF] = 0;
1558 if (mRules[END_OF] != 0) {
1560 mRules[isLayoutRtl ? LEFT_OF : RIGHT_OF] = mRules[END_OF];
1561 mRules[END_OF] = 0;
1564 if ((mRules[ALIGN_PARENT_START] != 0 || mRules[ALIGN_PARENT_END] != 0) &&
1565 (mRules[ALIGN_PARENT_LEFT] != 0 || mRules[ALIGN_PARENT_RIGHT] != 0)) {
1567 mRules[ALIGN_PARENT_LEFT] = 0;
1568 mRules[ALIGN_PARENT_RIGHT] = 0;
1570 if (mRules[ALIGN_PARENT_START] != 0) {
1572 mRules[isLayoutRtl ? ALIGN_PARENT_RIGHT : ALIGN_PARENT_LEFT] = mRules[ALIGN_PARENT_START];
1573 mRules[ALIGN_PARENT_START] = 0;
1575 if (mRules[ALIGN_PARENT_END] != 0) {
1577 mRules[isLayoutRtl ? ALIGN_PARENT_LEFT : ALIGN_PARENT_RIGHT] = mRules[ALIGN_PARENT_END];
1578 mRules[ALIGN_PARENT_END] = 0;
1606 return mRules;
1618 return mRules;
1756 final int[] rules = layoutParams.mRules;