/frameworks/base/core/jni/ |
D | com_google_android_gles_jni_EGLImpl.cpp | 46 static inline EGLDisplay getDisplay(JNIEnv* env, jobject o) { in getDisplay() function 121 EGLDisplay dpy = getDisplay(_env, display); in jni_eglInitialize() 143 EGLDisplay dpy = getDisplay(_env, display); in jni_eglQueryContext() 162 EGLDisplay dpy = getDisplay(_env, display); in jni_eglQuerySurface() 176 EGLDisplay dpy = getDisplay(_env, display); in jni_getInitCount() 193 EGLDisplay dpy = getDisplay(_env, display); in jni_eglChooseConfig() 226 EGLDisplay dpy = getDisplay(_env, display); in jni_eglCreateContext() 242 EGLDisplay dpy = getDisplay(_env, display); in jni_eglCreatePbufferSurface() 264 EGLDisplay dpy = getDisplay(_env, display); in jni_eglCreateWindowSurface() 291 EGLDisplay dpy = getDisplay(_env, display); in jni_eglCreateWindowSurfaceTexture() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContextTest.java | 82 assertEquals(systemContext.getDisplay().getDisplayId(), systemContext.getDisplayId()); in testDisplayIdForSystemContext() 91 assertEquals(systemUiContext.getDisplay().getDisplayId(), systemUiContext.getDisplayId()); in testDisplayIdForSystemUiContext() 110 testContext.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY)); in testDisplayIdForDefaultDisplayContext() 112 assertEquals(defaultDisplayContext.getDisplay().getDisplayId(), in testDisplayIdForDefaultDisplayContext() 194 display = displayManager.getDisplay(DEFAULT_DISPLAY); in verifyGetDisplayFromDisplayContextDerivedContext() 198 assertEquals(display, context.getDisplay()); in verifyGetDisplayFromDisplayContextDerivedContext() 210 return virtualDisplay.getDisplay(); in getSecondaryDisplay() 279 final Display display = displayManager.getDisplay(DEFAULT_DISPLAY); in createUiContext()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | DisplayUtils.java | 34 Display d = context.getDisplay(); in convertDpToPx() 49 Display d = context.getDisplay(); in getWidth() 69 Display d = context.getDisplay(); in getHeight()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperDisplayHelper.java | 135 mDisplayManager.getDisplay(DEFAULT_DISPLAY).getSize(displaySize); in getDefaultDisplayCurrentOrientation() 155 Display display = mDisplayManager.getDisplay(displayId); in getMaximumSizeDimension() 158 display = mDisplayManager.getDisplay(DEFAULT_DISPLAY); in getMaximumSizeDimension() 176 mDisplayManager.getDisplay(displayId).getDisplayInfo(displayInfo); in getDisplayInfo() 181 return isUsableDisplay(mDisplayManager.getDisplay(displayId), clientUid); in isUsableDisplay() 202 return mDisplayManager.getDisplay(displayId) != null; in isValidDisplay()
|
/frameworks/base/tests/FlickerTests/Rotation/src/com/android/server/wm/flicker/rotation/ |
D | RotationTransition.kt | 65 val display = getDisplay(testApp) in appLayerRotates_StartingPos() 75 val display = getDisplay(testApp) in appLayerRotates_EndingPos() 80 private fun LayerTraceEntrySubject.getDisplay(componentMatcher: IComponentMatcher): Display { in LayerTraceEntrySubject() method
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | TaskDisplayAreaWrapper.java | 50 public Display getDisplay() { in getDisplay() method in TaskDisplayAreaWrapper 51 return mTaskDisplayArea.mDisplayContent.getDisplay(); in getDisplay()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayController.java | 92 public Display getDisplay(int displayId) { in getDisplay() method in DisplayController 94 return displayManager.getDisplay(displayId); in getDisplay() 175 final Display display = getDisplay(displayId); in onDisplayAdded() 222 final Display display = getDisplay(displayId); in onDisplayConfigurationChanged() 254 if (mDisplays.get(displayId) == null || getDisplay(displayId) == null) { in onFixedRotationStarted() 268 if (mDisplays.get(displayId) == null || getDisplay(displayId) == null) { in onFixedRotationFinished() 282 if (mDisplays.get(displayId) == null || getDisplay(displayId) == null) { in onKeepClearAreasChanged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
D | NavigationBarButtonTest.java | 94 mContext.getDisplay().getDisplayInfo(displayInfo); in createVirtualDisplay() 109 waitForDisplayReady(mVirtualDisplay.getDisplay().getDisplayId()); in createVirtualDisplay() 111 return mVirtualDisplay.getDisplay(); in createVirtualDisplay() 130 Display display = displayManager.getDisplay(displayId); in isDisplayOn()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | RefreshRateSettingsUtilsTest.java | 72 when(mDisplayManagerMock.getDisplay(Display.DEFAULT_DISPLAY)).thenReturn(mDisplayMock); in setUp() 83 when(mDisplayManagerMock.getDisplay(Display.DEFAULT_DISPLAY + 1)).thenReturn(mDisplayMock2); in setUp() 99 when(mDisplayManagerMock.getDisplay(Display.DEFAULT_DISPLAY)).thenReturn(null); in testFindHighestRefreshRateForDefaultDisplay_DisplayIsNull()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
D | AbsSplashWindowCreator.java | 54 protected Display getDisplay(int displayId) { in getDisplay() method in AbsSplashWindowCreator 55 return mDisplayManager.getDisplay(displayId); in getDisplay()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | WindowDecorationTests.java | 167 .getDisplay(Display.DEFAULT_DISPLAY); in testLayoutResultCalculation_invisibleTask() 214 .getDisplay(Display.DEFAULT_DISPLAY); in testLayoutResultCalculation_visibleFocusedTask() 279 .getDisplay(Display.DEFAULT_DISPLAY); in testLayoutResultCalculation_visibleFocusedTaskToInvisible() 334 .getDisplay(Display.DEFAULT_DISPLAY); in testNotCrashWhenDisplayAppearsAfterTask() 363 doReturn(mockDisplay).when(mMockDisplayController).getDisplay(displayId); in testNotCrashWhenDisplayAppearsAfterTask() 379 .getDisplay(Display.DEFAULT_DISPLAY); in testAddViewHostViewContainer() 433 .getDisplay(Display.DEFAULT_DISPLAY); in testLayoutResultCalculation_fullWidthCaption() 473 .getDisplay(Display.DEFAULT_DISPLAY); in testRelayout_applyTransactionInSyncWithDraw() 514 .getDisplay(Display.DEFAULT_DISPLAY); in testRelayout_fluidResizeEnabled_freeformTask_setTaskSurfaceColor() 549 .getDisplay(Display.DEFAULT_DISPLAY); in testInsetsAddedWhenCaptionIsVisible() [all …]
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 125 Display display = virtualDisplay.getDisplay(); in testPrivateVirtualDisplay() 146 Display display = virtualDisplay.getDisplay(); in testPrivatePresentationVirtualDisplay() 173 Display display = virtualDisplay.getDisplay(); in testPublicPresentationVirtualDisplay() 180 Display defaultDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testPublicPresentationVirtualDisplay() 220 Display display = virtualDisplay.getDisplay(); in testSecurePublicPresentationVirtualDisplay() 227 Display defaultDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testSecurePublicPresentationVirtualDisplay() 251 Display display = virtualDisplay.getDisplay(); in testTrustedVirtualDisplay()
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
D | VisibleRecipientChip.java | 49 public CharSequence getDisplay() { in getDisplay() method in VisibleRecipientChip 50 return mDelegate.getDisplay(); in getDisplay()
|
D | InvisibleRecipientChip.java | 51 public CharSequence getDisplay() { in getDisplay() method in InvisibleRecipientChip 52 return mDelegate.getDisplay(); in getDisplay()
|
D | BaseRecipientChip.java | 40 CharSequence getDisplay(); in getDisplay() method
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/area/ |
D | RearDisplayPresentationRequestCallback.java | 85 Display display = mDisplayManager.getDisplay(displayId); in onDisplayAdded() 96 Display display = mDisplayManager.getDisplay(displayId); in onDisplayChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | RotationUtils.java | 74 int rot = context.getDisplay().getRotation(); in getRotation() 90 int rot = context.getDisplay().getRotation(); in getExactRotation()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | SystemBarUtils.java | 40 return getStatusBarHeight(context.getResources(), context.getDisplay().getCutout()); in getStatusBarHeight() 60 final Display display = context.getDisplay(); in getStatusBarHeightForRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/data/repository/ |
D | DisplayRepository.kt | 139 allDisplayEvents.filterIsInstance<DisplayEvent.Added>().map { getDisplay(it.displayId) } in <lambda>() 178 .mapElementsLazily { displayId -> getDisplay(displayId) } in displayId() 268 traceSection("$TAG#getDisplayType") { displayManager.getDisplay(displayId)?.type } in getDisplayType() 270 private fun getDisplay(displayId: Int): Display? = in getDisplay() method 271 traceSection("$TAG#getDisplay") { displayManager.getDisplay(displayId) } in getDisplay()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | PointerIconCache.java | 161 if (displayId == mContext.getDisplay().getDisplayId()) { in getContextForDisplayLocked() 169 final Display display = displayManager.getDisplay(displayId); in getContextForDisplayLocked() 245 final Display display = displayManager.getDisplay(displayId); in updateDisplayDensityLocked()
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | ProximitySensorObserver.java | 112 boolean isDozeState = mInjector.isDozeState(mInjector.getDisplay(displayId)); in onDisplayAdded() 124 mInjector.isDozeState(mInjector.getDisplay(displayId))); in onDisplayChanged()
|
/frameworks/base/core/java/android/companion/virtual/audio/ |
D | VirtualAudioDevice.java | 121 mVirtualDevice.onAudioSessionStarting(mVirtualDisplay.getDisplay().getDisplayId(), in startAudioInjection() 152 mVirtualDevice.onAudioSessionStarting(mVirtualDisplay.getDisplay().getDisplayId(), in startAudioCapture()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/data/repository/ |
D | DisplayRepositoryTest.kt | 509 whenever(displayManager.getDisplay(eq(id))).thenReturn(mockDisplay) in <lambda>() 523 whenever(displayManager.getDisplay(eq(id))).thenReturn(null) in <lambda>() 528 whenever(displayManager.getDisplay(eq(id))).thenReturn(mockDisplay) in <lambda>() 539 whenever(displayManager.getDisplay(eq(display.displayId))).thenReturn(display) in <lambda>() 552 whenever(displayManager.getDisplay(eq(display.displayId))).thenReturn(display) in <lambda>()
|
/frameworks/base/core/java/android/window/ |
D | WindowProviderService.java | 201 Display display = displayManager.getDisplay(initialDisplayId); in createServiceBaseContext() 207 display = displayManager.getDisplay(DEFAULT_DISPLAY); in createServiceBaseContext()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | DisplayTracker.kt | 52 fun getDisplay(displayId: Int): Display in addDisplayChangeCallback() method
|