Home
last modified time | relevance | path

Searched refs:masked (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java1445 int masked = flags & ABS_HORIZONTAL_DIR_FLAGS; in convertToRelativeDirection() local
1446 if (masked == 0) { in convertToRelativeDirection()
1449 flags &= ~masked; //remove left / right. in convertToRelativeDirection()
1452 flags |= masked << 2; // START is 2 bits after LEFT, END is 2 bits after RIGHT. in convertToRelativeDirection()
1456 flags |= ((masked << 1) & ~ABS_HORIZONTAL_DIR_FLAGS); in convertToRelativeDirection()
1458 flags |= ((masked << 1) & ABS_HORIZONTAL_DIR_FLAGS) << 2; in convertToRelativeDirection()
1534 int masked = flags & RELATIVE_DIR_FLAGS; in convertToAbsoluteDirection() local
1535 if (masked == 0) { in convertToAbsoluteDirection()
1538 flags &= ~masked; //remove start / end in convertToAbsoluteDirection()
1541 flags |= masked >> 2; // START is 2 bits after LEFT, END is 2 bits after RIGHT. in convertToAbsoluteDirection()
[all …]
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java1439 int masked = flags & ABS_HORIZONTAL_DIR_FLAGS; in convertToRelativeDirection() local
1440 if (masked == 0) { in convertToRelativeDirection()
1443 flags &= ~masked; //remove left / right. in convertToRelativeDirection()
1446 flags |= masked << 2; // START is 2 bits after LEFT, END is 2 bits after RIGHT. in convertToRelativeDirection()
1450 flags |= ((masked << 1) & ~ABS_HORIZONTAL_DIR_FLAGS); in convertToRelativeDirection()
1452 flags |= ((masked << 1) & ABS_HORIZONTAL_DIR_FLAGS) << 2; in convertToRelativeDirection()
1528 int masked = flags & RELATIVE_DIR_FLAGS; in convertToAbsoluteDirection() local
1529 if (masked == 0) { in convertToAbsoluteDirection()
1532 flags &= ~masked; //remove start / end in convertToAbsoluteDirection()
1535 flags |= masked >> 2; // START is 2 bits after LEFT, END is 2 bits after RIGHT. in convertToAbsoluteDirection()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarFragment.java349 int masked = state1 & (StatusBarManager.DISABLE_HOME in disable() local
353 if (masked != mDisabledFlags1) { in disable()
354 mDisabledFlags1 = masked; in disable()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3798 public boolean setMaskedByQuietProfileLocked(boolean masked) { in setMaskedByQuietProfileLocked() argument
3800 maskedByQuietProfile = masked; in setMaskedByQuietProfileLocked()
3801 return masked != oldState; in setMaskedByQuietProfileLocked()
3805 public boolean setMaskedByLockedProfileLocked(boolean masked) { in setMaskedByLockedProfileLocked() argument
3807 maskedByLockedProfile = masked; in setMaskedByLockedProfileLocked()
3808 return masked != oldState; in setMaskedByLockedProfileLocked()
3812 public boolean setMaskedBySuspendedPackageLocked(boolean masked) { in setMaskedBySuspendedPackageLocked() argument
3814 maskedBySuspendedPackage = masked; in setMaskedBySuspendedPackageLocked()
3815 return masked != oldState; in setMaskedBySuspendedPackageLocked()