Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceInfo.java173 public static final int FLAG_OWN_FOCUS = 1 << 17; field in DisplayDeviceInfo
716 if ((flags & FLAG_OWN_FOCUS) != 0) { in flagsToString()
DLogicalDisplay.java478 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_OWN_FOCUS) != 0) { in updateLocked()
479 mBaseDisplayInfo.flags |= Display.FLAG_OWN_FOCUS; in updateLocked()
DVirtualDisplayAdapter.java541 mInfo.flags |= DisplayDeviceInfo.FLAG_OWN_FOCUS; in getDisplayDeviceInfoLocked()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowManagerServiceTests.java28 import static android.view.Display.FLAG_OWN_FOCUS;
693 display.getDisplayInfo().flags &= ~FLAG_OWN_FOCUS; in testSetInTouchMode_multiDisplay_globalTouchModeUpdate()
695 displayOwnTouchMode.getDisplayInfo().flags |= FLAG_OWN_FOCUS; in testSetInTouchMode_multiDisplay_globalTouchModeUpdate()
699 .filter(d -> (d.getDisplayInfo().flags & FLAG_OWN_FOCUS) == 0) in testSetInTouchMode_multiDisplay_globalTouchModeUpdate()
725 virtualDisplay.getDisplayInfo().flags &= ~FLAG_OWN_FOCUS; in testSetInTouchMode_multiDisplay_singleDisplayTouchModeUpdate()
746 virtualDisplay.getDisplayInfo().flags |= FLAG_OWN_FOCUS; in testSetInTouchMode_multiDisplay_singleDisplayTouchModeUpdate()
761 display.getDisplayInfo().flags &= ~FLAG_OWN_FOCUS; in testSetInTouchModeOnAllDisplays()
763 displayOwnTouchMode.getDisplayInfo().flags |= FLAG_OWN_FOCUS; in testSetInTouchModeOnAllDisplays()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayManagerServiceTest.java674 assertTrue((ddi.flags & DisplayDeviceInfo.FLAG_OWN_FOCUS) != 0);
709 assertTrue((ddi.flags & DisplayDeviceInfo.FLAG_OWN_FOCUS) == 0);
746 assertTrue((displayInfo.flags & DisplayDeviceInfo.FLAG_OWN_FOCUS) == 0);
761 assertTrue((ddi.flags & DisplayDeviceInfo.FLAG_OWN_FOCUS) == 0);
/frameworks/base/core/java/android/view/
DDisplay.java339 public static final int FLAG_OWN_FOCUS = 1 << 11; field in Display
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java6638 || (mDisplayInfo.flags & Display.FLAG_OWN_FOCUS) != 0; in hasOwnFocus()