Home
last modified time | relevance | path

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

/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/drawable/
DIconTest.kt46 val masked = (72.0f * density + 0.5f).toInt() in fromBitmapAdaptive() constant
47 assertEquals(masked, rendered.width) in fromBitmapAdaptive()
48 assertEquals(masked, rendered.height) in fromBitmapAdaptive()
50 assertEquals(Color.RED, rendered.getPixel(masked / 2, masked / 2)) in fromBitmapAdaptive()
/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/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DItemTouchHelper.java1463 int masked = flags & ABS_HORIZONTAL_DIR_FLAGS; in convertToRelativeDirection() local
1464 if (masked == 0) { in convertToRelativeDirection()
1467 flags &= ~masked; //remove left / right. in convertToRelativeDirection()
1470 flags |= masked << 2; // START is 2 bits after LEFT, END is 2 bits after RIGHT. in convertToRelativeDirection()
1474 flags |= ((masked << 1) & ~ABS_HORIZONTAL_DIR_FLAGS); in convertToRelativeDirection()
1476 flags |= ((masked << 1) & ABS_HORIZONTAL_DIR_FLAGS) << 2; in convertToRelativeDirection()
1554 int masked = flags & RELATIVE_DIR_FLAGS; in convertToAbsoluteDirection() local
1555 if (masked == 0) { in convertToAbsoluteDirection()
1558 flags &= ~masked; //remove start / end in convertToAbsoluteDirection()
1561 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.java677 final int masked = state1 & (StatusBarManager.DISABLE_HOME in disable() local
681 if (masked != mDisabledFlags1) { in disable()
682 mDisabledFlags1 = masked; in disable()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3906 public boolean setMaskedByQuietProfileLocked(boolean masked) { in setMaskedByQuietProfileLocked() argument
3908 maskedByQuietProfile = masked; in setMaskedByQuietProfileLocked()
3909 return masked != oldState; in setMaskedByQuietProfileLocked()
3913 public boolean setMaskedByLockedProfileLocked(boolean masked) { in setMaskedByLockedProfileLocked() argument
3915 maskedByLockedProfile = masked; in setMaskedByLockedProfileLocked()
3916 return masked != oldState; in setMaskedByLockedProfileLocked()
3920 public boolean setMaskedBySuspendedPackageLocked(boolean masked) { in setMaskedBySuspendedPackageLocked() argument
3922 maskedBySuspendedPackage = masked; in setMaskedBySuspendedPackageLocked()
3923 return masked != oldState; in setMaskedBySuspendedPackageLocked()
/frameworks/support/work/integration-tests/testapp/src/main/assets/
Dretn.txt6781 nor bolted! I touched Holmes on the arm, and he turned his masked
12535 demoniacal force of the man masked behind that listless manner burst
Dadvs.txt2886 those keen eyes with tinted glasses, masked the face with a moustache