/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContextTest.java | 60 assertEquals(systemContext.getDisplay().getDisplayId(), systemContext.getDisplayId()); in testDisplayIdForSystemContext() 68 assertEquals(systemUiContext.getDisplay().getDisplayId(), systemUiContext.getDisplayId()); in testDisplayIdForSystemUiContext() 85 testContext.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY)); in testDisplayIdForDefaultDisplayContext() 87 assertEquals(defaultDisplayContext.getDisplay().getDisplayId(), in testDisplayIdForDefaultDisplayContext() 167 display = displayManager.getDisplay(DEFAULT_DISPLAY); in verifyGetDisplayFromDisplayContextDerivedContext() 171 assertEquals(display, context.getDisplay()); in verifyGetDisplayFromDisplayContextDerivedContext() 183 return virtualDisplay.getDisplay(); in getSecondaryDisplay() 222 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/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayController.java | 58 public Display getDisplay(int displayId) { in getDisplay() method in DisplayController 60 return displayManager.getDisplay(displayId); in getDisplay() 137 Display display = getDisplay(displayId); in onDisplayAdded() 163 Display display = getDisplay(displayId); in onDisplayConfigurationChanged() 196 if (mDisplays.get(displayId) == null || getDisplay(displayId) == null) { in onFixedRotationStarted() 210 if (mDisplays.get(displayId) == null || getDisplay(displayId) == null) { in onFixedRotationFinished()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | DisplayUtils.java | 32 Display d = context.getDisplay(); in convertDpToPx() 47 Display d = context.getDisplay(); in getWidth() 67 Display d = context.getDisplay(); in getHeight()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
D | NavigationBarButtonTest.java | 91 mContext.getDisplay().getDisplayInfo(displayInfo); in createVirtualDisplay() 106 waitForDisplayReady(mVirtualDisplay.getDisplay().getDisplayId()); in createVirtualDisplay() 108 return mVirtualDisplay.getDisplay(); in createVirtualDisplay() 127 Display display = displayManager.getDisplay(displayId); in isDisplayOn()
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 118 Display display = virtualDisplay.getDisplay(); in testPrivateVirtualDisplay() 142 Display display = virtualDisplay.getDisplay(); in testPrivatePresentationVirtualDisplay() 171 Display display = virtualDisplay.getDisplay(); in testPublicPresentationVirtualDisplay() 178 Display defaultDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testPublicPresentationVirtualDisplay() 225 Display display = virtualDisplay.getDisplay(); in testSecurePublicPresentationVirtualDisplay() 232 Display defaultDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testSecurePublicPresentationVirtualDisplay() 260 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 | 52 int rot = context.getDisplay().getRotation(); in getRotation() 68 int rot = context.getDisplay().getRotation(); in getExactRotation()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sizecompatui/ |
D | SizeCompatUIWindowManager.java | 78 mViewHost = new SurfaceControlViewHost(mContext, mContext.getDisplay(), this); in createSizeCompatButton() 94 mViewHost = new SurfaceControlViewHost(mContext, mContext.getDisplay(), this); in createSizeCompatHint()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | WindowMagnificationControllerTest.java | 235 Display display = Mockito.spy(mContext.getDisplay()); in onConfigurationChanged_disabled_withoutException() 237 when(mContext.getDisplay()).thenReturn(display); in onConfigurationChanged_disabled_withoutException() 247 final Display display = Mockito.spy(mContext.getDisplay()); in onOrientationChanged_enabled_updateDisplayRotationAndLayout() 249 when(mContext.getDisplay()).thenReturn(display); in onOrientationChanged_enabled_updateDisplayRotationAndLayout() 266 final Display display = Mockito.spy(mContext.getDisplay()); in onOrientationChanged_disabled_updateDisplayRotation() 268 when(mContext.getDisplay()).thenReturn(display); in onOrientationChanged_disabled_updateDisplayRotation()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/apppairs/ |
D | AppPairsControllerTests.java | 60 when(mDisplayController.getDisplay(anyInt())).thenReturn( in setUp() 61 mContext.getSystemService(DisplayManager.class).getDisplay(DEFAULT_DISPLAY)); in setUp()
|
D | AppPairTests.java | 67 when(mDisplayController.getDisplay(anyInt())).thenReturn( in setUp() 68 mContext.getSystemService(DisplayManager.class).getDisplay(DEFAULT_DISPLAY)); in setUp()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | OneHandedBackgroundPanelOrganizerTest.java | 76 mDisplay = mContext.getDisplay(); in setUp() 78 when(mMockDisplayController.getDisplay(anyInt())).thenReturn(mDisplay); in setUp()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/ |
D | ShellTestCase.java | 43 context.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY))); in shellSetup()
|
/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 | 57 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()
|
D | DisplayIdIndexSupplier.java | 56 final Display display = mDisplayManager.getDisplay(displayId); in get()
|
/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/core/tests/coretests/src/android/view/inputmethod/ |
D | InputMethodManagerTest.java | 50 testContext.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY)); in testPrivateApiGetInstance()
|
/frameworks/base/core/java/android/hardware/display/ |
D | VirtualDisplay.java | 51 public Display getDisplay() { in getDisplay() method in VirtualDisplay
|
/frameworks/base/core/tests/coretests/src/android/window/ |
D | WindowMetricsHelperTest.java | 62 activity.getDisplay().getSize(expectedSize); in testGetLegacySizeMatchesDisplayGetSize()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | DisplaySourceService.java | 210 virtualDisplay.getDisplay()).sendToTarget(); in run() 215 virtualDisplay.getDisplay()).sendToTarget(); in run()
|