Home
last modified time | relevance | path

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

123456789

/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java61 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/
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/core/tests/coretests/src/android/accessibilityservice/
DAccessibilityServiceTest.java78 .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/
DDisplayUtils.java34 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/
DDisplayController.java96 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/
DSystemBarUtils.java39 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/
DNavigationBarButtonTest.java94 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/
DTaskDisplayAreaWrapper.java55 public Display getDisplay() { in getDisplay() method in TaskDisplayAreaWrapper
56 return mTaskDisplayArea.getDisplayContent().getDisplay(); in getDisplay()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java125 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/
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.java74 int rot = context.getDisplay().getRotation(); in getRotation()
90 int rot = context.getDisplay().getRotation(); in getExactRotation()
/frameworks/base/core/java/android/companion/virtual/
DVirtualDeviceManager.java335 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/
DVirtualAudioDevice.java107 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/
DDisplayHelper.java47 final Display display = mDisplayManager.getDisplay(displayId); in getMaxBounds()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DWindowDecorationTests.java135 .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/
DContentRecorder.java125 || 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/
DBrightnessLimit.java45 final int displayId = getBaseContext().getDisplay().getDisplayId(); in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DGlobalModule.java69 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()
/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/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DShellTestCase.java50 context.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY))); in shellSetup()
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodManagerTest.java50 testContext.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY)); in testPrivateApiGetInstance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java409 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);

123456789