/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContextTest.java | 61 assertEquals(systemContext.getDisplay().getDisplayId(), systemContext.getDisplayId()); in testDisplayIdForSystemContext() 69 assertEquals(systemUiContext.getDisplay().getDisplayId(), systemUiContext.getDisplayId()); in testDisplayIdForSystemUiContext() 86 testContext.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY)); in testDisplayIdForDefaultDisplayContext() 88 assertEquals(defaultDisplayContext.getDisplay().getDisplayId(), in testDisplayIdForDefaultDisplayContext() 161 display = displayManager.getDisplay(DEFAULT_DISPLAY); in verifyGetDisplayFromDisplayContextDerivedContext() 165 assertEquals(display, context.getDisplay()); in verifyGetDisplayFromDisplayContextDerivedContext() 177 return virtualDisplay.getDisplay(); in getSecondaryDisplay() 216 final Display display = displayManager.getDisplay(DEFAULT_DISPLAY); in createUiContext()
|
/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/accessibilityservice/ |
D | AccessibilityServiceTest.java | 78 .getDisplay(DEFAULT_DISPLAY); in AccessibilityServiceTestClass() 155 final Context context = mService.createDisplayContext(session.getDisplay()); in testAddViewWithA11yServiceDerivedDisplayContext() 166 final Context context = mService.createDisplayContext(session.getDisplay()) in testAddViewWithA11yServiceDerivedWindowContext() 178 final Context context = mService.createWindowContext(session.getDisplay(), in testAddViewWithA11yServiceDerivedWindowContextWithDisplay() 191 final Context context = mService.createWindowContext(session.getDisplay(), in testAddViewWithA11yServiceDerivedWindowContextWithDifferentType() 217 private Display getDisplay() { in getDisplay() method in AccessibilityServiceTest.VirtualDisplaySession 218 return mVirtualDisplay.getDisplay(); in getDisplay()
|
/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/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayController.java | 96 public Display getDisplay(int displayId) { in getDisplay() method in DisplayController 98 return displayManager.getDisplay(displayId); in getDisplay() 179 final Display display = getDisplay(displayId); in onDisplayAdded() 206 final Display display = getDisplay(displayId); in onDisplayConfigurationChanged() 238 if (mDisplays.get(displayId) == null || getDisplay(displayId) == null) { in onFixedRotationStarted() 252 if (mDisplays.get(displayId) == null || getDisplay(displayId) == null) { in onFixedRotationFinished() 266 if (mDisplays.get(displayId) == null || getDisplay(displayId) == null) { in onKeepClearAreasChanged()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | SystemBarUtils.java | 39 return getStatusBarHeight(context.getResources(), context.getDisplay().getCutout()); in getStatusBarHeight() 59 final int rotation = context.getDisplay().getRotation(); in getStatusBarHeightForRotation() 60 final DisplayCutout cutout = context.getDisplay().getCutout(); in getStatusBarHeightForRotation()
|
/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/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | TaskDisplayAreaWrapper.java | 55 public Display getDisplay() { in getDisplay() method in TaskDisplayAreaWrapper 56 return mTaskDisplayArea.getDisplayContent().getDisplay(); in getDisplay()
|
/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/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/android/companion/virtual/ |
D | VirtualDeviceManager.java | 335 mVirtualDevice.createVirtualKeyboard(display.getDisplay().getDisplayId(), in createVirtualKeyboard() 361 mVirtualDevice.createVirtualMouse(display.getDisplay().getDisplayId(), in createVirtualMouse() 388 display.getDisplay().getSize(size); in createVirtualTouchscreen() 389 mVirtualDevice.createVirtualTouchscreen(display.getDisplay().getDisplayId(), in createVirtualTouchscreen()
|
/frameworks/base/core/java/android/companion/virtual/audio/ |
D | VirtualAudioDevice.java | 107 mVirtualDevice.onAudioSessionStarting(mVirtualDisplay.getDisplay().getDisplayId(), in startAudioInjection() 138 mVirtualDevice.onAudioSessionStarting(mVirtualDisplay.getDisplay().getDisplayId(), in startAudioCapture()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/display/ |
D | DisplayHelper.java | 47 final Display display = mDisplayManager.getDisplay(displayId); in getMaxBounds()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | WindowDecorationTests.java | 135 .getDisplay(Display.DEFAULT_DISPLAY); in testLayoutResultCalculation_invisibleTask() 189 .getDisplay(Display.DEFAULT_DISPLAY); in testLayoutResultCalculation_visibleFocusedTask() 280 .getDisplay(Display.DEFAULT_DISPLAY); in testLayoutResultCalculation_visibleFocusedTaskToInvisible() 343 .getDisplay(Display.DEFAULT_DISPLAY); in testNotCrashWhenDisplayAppearsAfterTask() 373 doReturn(mockDisplay).when(mMockDisplayController).getDisplay(displayId); in testNotCrashWhenDisplayAppearsAfterTask() 389 .getDisplay(Display.DEFAULT_DISPLAY); in testAddWindow() 466 .getDisplay(Display.DEFAULT_DISPLAY); in testLayoutResultCalculation_fullWidthCaption()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ContentRecorder.java | 125 || mDisplayContent.getDisplay().getState() == Display.STATE_OFF)) { in updateRecording() 258 || mDisplayContent.getDisplay().getState() == Display.STATE_OFF in startRecordingIfNeeded() 280 mDisplayContent.getDisplayId(), mDisplayContent.getDisplay().getState()); in startRecordingIfNeeded()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BrightnessLimit.java | 45 final int displayId = getBaseContext().getDisplay().getDisplayId(); in onClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | GlobalModule.java | 69 context.getDisplay().getMetrics(displayMetrics); in provideDisplayMetrics()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | MirrorWindowControl.java | 119 mContext.getDisplay().getSize(displaySize); in setDefaultPosition() 173 mContext.getDisplay().getSize(size); in updateDraggableBound()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | SurfaceViewRequestUtils.java | 36 bundle.putInt(KEY_DISPLAY_ID, surfaceView.getDisplay().getDisplayId()); in createSurfaceBundle()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/ |
D | ShellTestCase.java | 50 context.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY))); in shellSetup()
|
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
D | InputMethodManagerTest.java | 50 testContext.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY)); in testPrivateApiGetInstance()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorations.java | 409 mContext.getDisplay().getDisplayInfo(mDisplayInfo); in startOnScreenDecorationsThread() 420 mHwcScreenDecorationSupport = mContext.getDisplay().getDisplayDecorationSupport(); in startOnScreenDecorationsThread() 428 mContext.getDisplay().getDisplayInfo(mDisplayInfo); in startOnScreenDecorationsThread() 480 mContext.getDisplay().getDisplayDecorationSupport(); in startOnScreenDecorationsThread() 648 mContext.getDisplay()); in getCutoutFactory() 961 mContext.getDisplay().getDisplayInfo(mDisplayInfo); in getPhysicalPixelDisplaySizeRatio() 1061 mContext.getDisplay().getDisplayInfo(mDisplayInfo); in updateConfiguration() 1115 context.getResources(), context.getDisplay().getUniqueId()); in shouldDrawCutout() 1264 getDisplay().getDisplayInfo(displayInfo); in updateCutout() 1468 mContext.getDisplay().getDisplayInfo(mDisplayInfo);
|