Home
last modified time | relevance | path

Searched refs:mInputSurface (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/inputmethod/
DHandwritingEventReceiverSurface.java43 private final SurfaceControl mInputSurface; field in HandwritingEventReceiverSurface
49 mInputSurface = sc; in HandwritingEventReceiverSurface()
71 t.setInputWindowInfo(mInputSurface, mWindowHandle); in HandwritingEventReceiverSurface()
72 t.setLayer(mInputSurface, HANDWRITING_SURFACE_LAYER); in HandwritingEventReceiverSurface()
73 t.setPosition(mInputSurface, 0, 0); in HandwritingEventReceiverSurface()
74 t.setCrop(mInputSurface, null /* crop to parent surface */); in HandwritingEventReceiverSurface()
75 t.show(mInputSurface); in HandwritingEventReceiverSurface()
87 .setInputWindowInfo(mInputSurface, mWindowHandle) in startIntercepting()
98 t.remove(mInputSurface); in remove()
107 return mInputSurface; in getSurface()
/frameworks/base/services/core/java/com/android/server/input/
DGestureMonitorSpyWindow.java45 final SurfaceControl mInputSurface; field in GestureMonitorSpyWindow
51 mInputSurface = sc; in GestureMonitorSpyWindow()
69 t.setInputWindowInfo(mInputSurface, mWindowHandle); in GestureMonitorSpyWindow()
70 t.setLayer(mInputSurface, Integer.MAX_VALUE); in GestureMonitorSpyWindow()
71 t.setPosition(mInputSurface, 0, 0); in GestureMonitorSpyWindow()
72 t.setCrop(mInputSurface, null /* crop to parent surface */); in GestureMonitorSpyWindow()
73 t.show(mInputSurface); in GestureMonitorSpyWindow()
80 t.hide(mInputSurface); in remove()
81 t.remove(mInputSurface); in remove()
/frameworks/base/services/core/java/com/android/server/wm/
DInputConsumerImpl.java47 final SurfaceControl mInputSurface; field in InputConsumerImpl
79 mInputSurface = mService.makeSurfaceBuilder( in InputConsumerImpl()
119 t.setPosition(mInputSurface, r.left, r.top); in layout()
120 t.setWindowCrop(mInputSurface, mTmpClipRect); in layout()
127 t.hide(mInputSurface); in hide()
131 t.show(mInputSurface); in show()
132 t.setInputWindowInfo(mInputSurface, mWindowHandle); in show()
133 t.setRelativeLayer(mInputSurface, w.getSurfaceControl(), 1); in show()
137 t.show(mInputSurface); in show()
138 t.setInputWindowInfo(mInputSurface, mWindowHandle); in show()
[all …]
DTaskPositioningController.java36 private SurfaceControl mInputSurface; field in TaskPositioningController
60 && mInputSurface != null) { in hideInputSurface()
61 mTransaction.hide(mInputSurface); in hideInputSurface()
71 if (mInputSurface == null) { in showInputSurface()
72 mInputSurface = mService.makeSurfaceBuilder(dc.getSession()) in showInputSurface()
92 mTransaction.show(mInputSurface) in showInputSurface()
93 .setInputWindowInfo(mInputSurface, h) in showInputSurface()
94 .setLayer(mInputSurface, Integer.MAX_VALUE) in showInputSurface()
95 .setPosition(mInputSurface, 0, 0) in showInputSurface()
96 .setCrop(mInputSurface, mTmpClipRect) in showInputSurface()
DDragState.java135 SurfaceControl mInputSurface; field in DragState
164 if (mInputSurface == null) { in showInputSurface()
165 mInputSurface = mService.makeSurfaceBuilder(mDisplayContent.getSession()) in showInputSurface()
182 mTransaction.show(mInputSurface) in showInputSurface()
183 .setInputWindowInfo(mInputSurface, h) in showInputSurface()
184 .setLayer(mInputSurface, Integer.MAX_VALUE) in showInputSurface()
185 .setCrop(mInputSurface, mTmpClipRect); in showInputSurface()
254 if (mInputSurface != null) { in closeLocked()
255 mTransaction.remove(mInputSurface).apply(); in closeLocked()
256 mInputSurface = null; in closeLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenMediaRecorder.java82 private Surface mInputSurface; field in ScreenMediaRecorder
170 mInputSurface = mMediaRecorder.getSurface(); in prepare()
177 mInputSurface, in prepare()
289 closer.register(mInputSurface::release); in end()
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp1704 config->mInputSurface = surface; in setupInputSurface()
1815 if (config->mInputSurface) { in start()
1816 err2 = config->mInputSurface->start(); in start()
1817 config->mInputSurfaceDataspace = config->mInputSurface->getDataspace(); in start()
1917 if (config->mInputSurface) { in stop()
1918 config->mInputSurface->disconnect(); in stop()
1919 config->mInputSurface = nullptr; in stop()
1967 if (config->mInputSurface) { in initiateRelease()
1968 config->mInputSurface->disconnect(); in initiateRelease()
1969 config->mInputSurface = nullptr; in initiateRelease()
[all …]
DCCodecBufferChannel.cpp191 mInputSurface = surface; in setInputSurface()
192 return mInputSurface->connect(mComponent); in setInputSurface()
196 if (mInputSurface == nullptr) { in signalEndOfInputStream()
199 return mInputSurface->signalEndOfInputStream(); in signalEndOfInputStream()
1211 if (mInputSurface) { in start()
1486 if (mInputSurface) { in prepareInitialInputBuffers()
1602 if (mInputSurface != nullptr) { in reset()
1603 mInputSurface.reset(); in reset()
1695 if (mInputSurface) { in onInputBufferDone()
1752 if (mInputSurface == nullptr && (work->worklets.size() != 1u in handleWork()
[all …]
DCCodecBufferChannel.h333 std::shared_ptr<InputSurfaceWrapper> mInputSurface; variable
DCCodecConfig.h126 std::shared_ptr<InputSurfaceWrapper> mInputSurface; member
DCCodecConfig.cpp1270 if (mInputSurface in updateConfiguration()
1272 && mInputSurfaceDataspace != mInputSurface->getDataspace()) { in updateConfiguration()
1274 mInputSurfaceDataspace = mInputSurface->getDataspace(); in updateConfiguration()
1552 if (mInputSurface) { in getFormatForDomain()
1553 android_dataspace dataspace = mInputSurface->getDataspace(); in getFormatForDomain()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2ReprocessCaptureTest.java89 private Surface mInputSurface; field in Camera2ReprocessCaptureTest
906 mInputSurface = mSession.getInputSurface(); in setupReprocessableSession()
907 mImageWriter = ImageWriter.newInstance(mInputSurface, in setupReprocessableSession()
918 mInputSurface = null; in closeReprossibleSession()
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecConfig_test.cpp514 mConfig.mInputSurface = std::make_shared<InputSurfaceStub>(); in TEST_F()
545 mConfig.mInputSurface->setDataSpace(HAL_DATASPACE_BT2020_PQ); in TEST_F()