Home | History | Annotate | Download | only in widget

Lines Matching refs:mRules

1227         private int[] mRules = new int[VERB_COUNT];
1252 final int[] rules = mRules;
1368 System.arraycopy(source.mRules, LEFT_OF, this.mRules, LEFT_OF, VERB_COUNT);
1392 mRules[verb] = TRUE;
1412 mRules[verb] = anchor;
1427 mRules[verb] = 0;
1455 System.arraycopy(mInitialRules, LEFT_OF, mRules, LEFT_OF, VERB_COUNT);
1459 if (mRules[ALIGN_START] != 0) {
1460 if (mRules[ALIGN_LEFT] == 0) {
1463 mRules[ALIGN_LEFT] = mRules[ALIGN_START];
1465 mRules[ALIGN_START] = 0;
1468 if (mRules[ALIGN_END] != 0) {
1469 if (mRules[ALIGN_RIGHT] == 0) {
1472 mRules[ALIGN_RIGHT] = mRules[ALIGN_END];
1474 mRules[ALIGN_END] = 0;
1477 if (mRules[START_OF] != 0) {
1478 if (mRules[LEFT_OF] == 0) {
1481 mRules[LEFT_OF] = mRules[START_OF];
1483 mRules[START_OF] = 0;
1486 if (mRules[END_OF] != 0) {
1487 if (mRules[RIGHT_OF] == 0) {
1490 mRules[RIGHT_OF] = mRules[END_OF];
1492 mRules[END_OF] = 0;
1495 if (mRules[ALIGN_PARENT_START] != 0) {
1496 if (mRules[ALIGN_PARENT_LEFT] == 0) {
1499 mRules[ALIGN_PARENT_LEFT] = mRules[ALIGN_PARENT_START];
1501 mRules[ALIGN_PARENT_START] = 0;
1504 if (mRules[ALIGN_PARENT_END] != 0) {
1505 if (mRules[ALIGN_PARENT_RIGHT] == 0) {
1508 mRules[ALIGN_PARENT_RIGHT] = mRules[ALIGN_PARENT_END];
1510 mRules[ALIGN_PARENT_END] = 0;
1514 if ((mRules[ALIGN_START] != 0 || mRules[ALIGN_END] != 0) &&
1515 (mRules[ALIGN_LEFT] != 0 || mRules[ALIGN_RIGHT] != 0)) {
1517 mRules[ALIGN_LEFT] = 0;
1518 mRules[ALIGN_RIGHT] = 0;
1520 if (mRules[ALIGN_START] != 0) {
1522 mRules[isLayoutRtl ? ALIGN_RIGHT : ALIGN_LEFT] = mRules[ALIGN_START];
1523 mRules[ALIGN_START] = 0;
1525 if (mRules[ALIGN_END] != 0) {
1527 mRules[isLayoutRtl ? ALIGN_LEFT : ALIGN_RIGHT] = mRules[ALIGN_END];
1528 mRules[ALIGN_END] = 0;
1531 if ((mRules[START_OF] != 0 || mRules
1532 (mRules[LEFT_OF] != 0 || mRules[RIGHT_OF] != 0)) {
1534 mRules[LEFT_OF] = 0;
1535 mRules[RIGHT_OF] = 0;
1537 if (mRules[START_OF] != 0) {
1539 mRules[isLayoutRtl ? RIGHT_OF : LEFT_OF] = mRules[START_OF];
1540 mRules[START_OF] = 0;
1542 if (mRules[END_OF] != 0) {
1544 mRules[isLayoutRtl ? LEFT_OF : RIGHT_OF] = mRules[END_OF];
1545 mRules[END_OF] = 0;
1548 if ((mRules[ALIGN_PARENT_START] != 0 || mRules[ALIGN_PARENT_END] != 0) &&
1549 (mRules[ALIGN_PARENT_LEFT] != 0 || mRules[ALIGN_PARENT_RIGHT] != 0)) {
1551 mRules[ALIGN_PARENT_LEFT] = 0;
1552 mRules[ALIGN_PARENT_RIGHT] = 0;
1554 if (mRules[ALIGN_PARENT_START] != 0) {
1556 mRules[isLayoutRtl ? ALIGN_PARENT_RIGHT : ALIGN_PARENT_LEFT] = mRules[ALIGN_PARENT_START];
1557 mRules[ALIGN_PARENT_START] = 0;
1559 if (mRules[ALIGN_PARENT_END] != 0) {
1561 mRules[isLayoutRtl ? ALIGN_PARENT_LEFT : ALIGN_PARENT_RIGHT] = mRules[ALIGN_PARENT_END];
1562 mRules[ALIGN_PARENT_END] = 0;
1590 return mRules;
1602 return mRules;
1733 final int[] rules = layoutParams.mRules;