Home
last modified time | relevance | path

Searched refs:mVirtualDisplay (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/vr/
DVr2dDisplay.java94 private VirtualDisplay mVirtualDisplay; field in Vr2dDisplay
171 if (mVirtualDisplay != null) { in startDebugOnlyBroadcastReceiver()
240 if (mVirtualDisplay != null && resized && mIsVirtualDisplayAllowed) { in setVirtualDisplayProperties()
241 mVirtualDisplay.resize(mVirtualDisplayWidth, mVirtualDisplayHeight, in setVirtualDisplayProperties()
262 if (mVirtualDisplay != null) { in getVirtualDisplayId()
263 int virtualDisplayId = mVirtualDisplay.getDisplay().getDisplayId(); in getVirtualDisplayId()
287 if (mVirtualDisplay != null) { in startVirtualDisplay()
303 mVirtualDisplay = mDisplayManager.createVirtualDisplay(null /* projection */, in startVirtualDisplay()
306 if (mVirtualDisplay != null) { in startVirtualDisplay()
307 updateDisplayId(mVirtualDisplay.getDisplay().getDisplayId()); in startVirtualDisplay()
[all …]
/frameworks/native/services/surfaceflinger/tests/
DMultiDisplayLayerBounds_test.cpp50 SurfaceComposerClient::destroyDisplay(mVirtualDisplay); in TearDown()
56 mVirtualDisplay = in createDisplay()
59 t.setDisplaySurface(mVirtualDisplay, mProducer); in createDisplay()
60 t.setDisplayLayerStack(mVirtualDisplay, layerStack); in createDisplay()
61 t.setDisplayProjection(mVirtualDisplay, mMainDisplayState.orientation, in createDisplay()
86 sp<IBinder> mVirtualDisplay; member in android::MultiDisplayLayerBoundsTest
105 ScreenCapture::captureScreen(&sc, mVirtualDisplay); in TEST_F()
128 ScreenCapture::captureScreen(&sc, mVirtualDisplay); in TEST_F()
DCredentials_test.cpp51 sp<IBinder> mVirtualDisplay; member in android::CredentialsTest
83 mVirtualDisplay = SurfaceComposerClient::createDisplay(DISPLAY_NAME, true); in setupVirtualDisplay()
95 t.setDisplayLayerStack(mVirtualDisplay, 0); in setupVirtualDisplay()
/frameworks/base/core/java/android/window/
DVirtualDisplayTaskEmbedder.java66 private VirtualDisplay mVirtualDisplay; field in VirtualDisplayTaskEmbedder
93 return mVirtualDisplay != null; in isInitialized()
107 mVirtualDisplay = displayManager.createVirtualDisplay( in onInitialize()
111 if (mVirtualDisplay == null) { in onInitialize()
154 mVirtualDisplay.release(); in onRelease()
155 mVirtualDisplay = null; in onRelease()
168 mVirtualDisplay.setDisplayState(true); in start()
179 mVirtualDisplay.setDisplayState(false); in stop()
194 mVirtualDisplay.resize(width, height, mDisplayDensityDpi); in resizeTask()
207 final int displayId = mVirtualDisplay.getDisplay().getDisplayId(); in performBackPress()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarButtonTest.java57 private VirtualDisplay mVirtualDisplay; field in NavigationBarButtonTest
83 mVirtualDisplay = displayManager.createVirtualDisplay(displayName, displayInfo.logicalWidth, in createVirtualDisplay()
87 assertNotNull("virtual display must not be null", mVirtualDisplay); in createVirtualDisplay()
89 waitForDisplayReady(mVirtualDisplay.getDisplay().getDisplayId()); in createVirtualDisplay()
91 return mVirtualDisplay.getDisplay(); in createVirtualDisplay()
120 mVirtualDisplay.release(); in releaseDisplay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenMediaRecorder.java76 private VirtualDisplay mVirtualDisplay; field in ScreenMediaRecorder
154 mVirtualDisplay = mMediaProjection.createVirtualDisplay( in prepare()
195 mVirtualDisplay.release(); in end()