Searched refs:displayIds (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManager.java | 359 final int[] displayIds = mGlobal.getDisplayIds(); in getDisplays() local 363 addAllDisplaysLocked(mTempDisplays, displayIds); in getDisplays() 365 addPresentationDisplaysLocked(mTempDisplays, displayIds, Display.TYPE_WIFI); in getDisplays() 366 addPresentationDisplaysLocked(mTempDisplays, displayIds, Display.TYPE_HDMI); in getDisplays() 367 addPresentationDisplaysLocked(mTempDisplays, displayIds, Display.TYPE_OVERLAY); in getDisplays() 368 addPresentationDisplaysLocked(mTempDisplays, displayIds, Display.TYPE_VIRTUAL); in getDisplays() 377 private void addAllDisplaysLocked(ArrayList<Display> displays, int[] displayIds) { in addAllDisplaysLocked() argument 378 for (int i = 0; i < displayIds.length; i++) { in addAllDisplaysLocked() 379 Display display = getOrCreateDisplayLocked(displayIds[i], true /*assumeValid*/); in addAllDisplaysLocked() 387 ArrayList<Display> displays, int[] displayIds, int matchType) { in addPresentationDisplaysLocked() argument [all …]
|
D | DisplayManagerGlobal.java | 175 int[] displayIds = mDm.getDisplayIds(); in getDisplayIds() local 177 mDisplayIdCache = displayIds; in getDisplayIds() 180 return displayIds; in getDisplayIds()
|
/frameworks/native/libs/gui/include/gui/ |
D | ISurfaceComposer.h | 122 const auto displayIds = getPhysicalDisplayIds(); in getInternalDisplayId() local 123 return displayIds.empty() ? std::nullopt : std::make_optional(displayIds.front()); in getInternalDisplayId()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 201 final int displayIds[] = bs.getDisplayIds(); in testPhysicalViewports() local 202 assertEquals(1, displayIds.length); in testPhysicalViewports() 203 final int displayId = displayIds[0]; in testPhysicalViewports()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 554 const auto displayIds = SurfaceComposerClient::getPhysicalDisplayIds(); in nativeGetPhysicalDisplayIds() local 555 jlongArray array = env->NewLongArray(displayIds.size()); in nativeGetPhysicalDisplayIds() 561 if (displayIds.empty()) { in nativeGetPhysicalDisplayIds() 566 for (size_t i = 0; i < displayIds.size(); ++i) { in nativeGetPhysicalDisplayIds() 567 values[i] = static_cast<jlong>(displayIds[i]); in nativeGetPhysicalDisplayIds()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerService.java | 589 int[] displayIds = new int[count]; in getDisplayIdsInternal() local 595 displayIds[n++] = mLogicalDisplays.keyAt(i); in getDisplayIdsInternal() 599 displayIds = Arrays.copyOfRange(displayIds, 0, n); in getDisplayIdsInternal() 601 return displayIds; in getDisplayIdsInternal()
|
/frameworks/native/libs/gui/ |
D | ISurfaceComposer.cpp | 327 std::vector<PhysicalDisplayId> displayIds; in getPhysicalDisplayIds() local 328 if (reply.readUint64Vector(&displayIds) == NO_ERROR) { in getPhysicalDisplayIds() 329 return displayIds; in getPhysicalDisplayIds()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 495 std::vector<PhysicalDisplayId> displayIds; in getPhysicalDisplayIds() local 496 displayIds.reserve(mPhysicalDisplayTokens.size()); in getPhysicalDisplayIds() 497 displayIds.push_back(internalDisplayId->value); in getPhysicalDisplayIds() 501 displayIds.push_back(id.value); in getPhysicalDisplayIds() 505 return displayIds; in getPhysicalDisplayIds()
|