Home
last modified time | relevance | path

Searched refs:getDisplay (Results 1 – 25 of 172) sorted by relevance

1234567

/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java60 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/
Dcom_google_android_gles_jni_EGLImpl.cpp46 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/
DDisplayController.java58 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/
DDisplayUtils.java32 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/
DNavigationBarButtonTest.java91 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/
DVirtualDisplayTest.java118 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/
DVisibleRecipientChip.java49 public CharSequence getDisplay() { in getDisplay() method in VisibleRecipientChip
50 return mDelegate.getDisplay(); in getDisplay()
DInvisibleRecipientChip.java51 public CharSequence getDisplay() { in getDisplay() method in InvisibleRecipientChip
52 return mDelegate.getDisplay(); in getDisplay()
DBaseRecipientChip.java40 CharSequence getDisplay(); in getDisplay() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DRotationUtils.java52 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/
DSizeCompatUIWindowManager.java78 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/
DWindowMagnificationControllerTest.java235 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/
DAppPairsControllerTests.java60 when(mDisplayController.getDisplay(anyInt())).thenReturn( in setUp()
61 mContext.getSystemService(DisplayManager.class).getDisplay(DEFAULT_DISPLAY)); in setUp()
DAppPairTests.java67 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/
DOneHandedBackgroundPanelOrganizerTest.java76 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/
DShellTestCase.java43 context.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY))); in shellSetup()
/frameworks/base/core/tests/coretests/src/android/os/
DBrightnessLimit.java45 final int displayId = getBaseContext().getDisplay().getDisplayId(); in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DGlobalModule.java57 context.getDisplay().getMetrics(displayMetrics); in provideDisplayMetrics()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DMirrorWindowControl.java119 mContext.getDisplay().getSize(displaySize); in setDefaultPosition()
173 mContext.getDisplay().getSize(size); in updateDraggableBound()
DDisplayIdIndexSupplier.java56 final Display display = mDisplayManager.getDisplay(displayId); in get()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DSurfaceViewRequestUtils.java36 bundle.putInt(KEY_DISPLAY_ID, surfaceView.getDisplay().getDisplayId()); in createSurfaceBundle()
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodManagerTest.java50 testContext.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY)); in testPrivateApiGetInstance()
/frameworks/base/core/java/android/hardware/display/
DVirtualDisplay.java51 public Display getDisplay() { in getDisplay() method in VirtualDisplay
/frameworks/base/core/tests/coretests/src/android/window/
DWindowMetricsHelperTest.java62 activity.getDisplay().getSize(expectedSize); in testGetLegacySizeMatchesDisplayGetSize()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DDisplaySourceService.java210 virtualDisplay.getDisplay()).sendToTarget(); in run()
215 virtualDisplay.getDisplay()).sendToTarget(); in run()

1234567