Searched refs:mExternalDisplaysConnected (Results 1 – 2 of 2) sorted by relevance
94 private final SparseBooleanArray mExternalDisplaysConnected = new SparseBooleanArray(); field in FoldableDeviceStateProvider380 && !mExternalDisplaysConnected.get(displayId, false)) { in onDisplayAdded()385 mExternalDisplaysConnected.put(displayId, true); in onDisplayAdded()388 if (mExternalDisplaysConnected.size() == 1) { in onDisplayAdded()399 if (mIsDualDisplayBlockingEnabled && mExternalDisplaysConnected.get(displayId, false)) { in onDisplayRemoved()400 mExternalDisplaysConnected.delete(displayId); in onDisplayRemoved()403 if (mExternalDisplaysConnected.size() == 0) { in onDisplayRemoved()570 return mExternalDisplaysConnected.size() == 0;
1380 private final Set<Integer> mExternalDisplaysConnected = new HashSet<>(); field in DisplayModeDirector.DisplayObserver1475 return mExternalDisplaysConnected.contains(displayId); in isExternalDisplayLocked()1567 mExternalDisplaysConnected.add(info.displayId); in addDisplaysSynchronizedPeakRefreshRate()1568 if (mExternalDisplaysConnected.size() != 1) { in addDisplaysSynchronizedPeakRefreshRate()1589 mExternalDisplaysConnected.remove(displayId); in removeDisplaysSynchronizedPeakRefreshRate()1590 if (mExternalDisplaysConnected.size() != 0) { in removeDisplaysSynchronizedPeakRefreshRate()