Home
last modified time | relevance | path

Searched refs:surfaceControl (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTransactionCompat.java39 public TransactionCompat show(SurfaceControlCompat surfaceControl) { in show() argument
40 mTransaction.show(surfaceControl.mSurfaceControl); in show()
44 public TransactionCompat hide(SurfaceControlCompat surfaceControl) { in hide() argument
45 mTransaction.hide(surfaceControl.mSurfaceControl); in hide()
49 public TransactionCompat setPosition(SurfaceControlCompat surfaceControl, float x, float y) { in setPosition() argument
50 mTransaction.setPosition(surfaceControl.mSurfaceControl, x, y); in setPosition()
54 public TransactionCompat setSize(SurfaceControlCompat surfaceControl, int w, int h) { in setSize() argument
55 mTransaction.setBufferSize(surfaceControl.mSurfaceControl, w, h); in setSize()
59 public TransactionCompat setLayer(SurfaceControlCompat surfaceControl, int z) { in setLayer() argument
60 mTransaction.setLayer(surfaceControl.mSurfaceControl, z); in setLayer()
[all …]
DSurfaceControlCompat.java24 public SurfaceControlCompat(SurfaceControl surfaceControl) { in SurfaceControlCompat() argument
25 mSurfaceControl = surfaceControl; in SurfaceControlCompat()
/frameworks/base/native/android/
Dsurface_control.cpp47 static bool getWideColorSupport(const sp<SurfaceControl>& surfaceControl) { in getWideColorSupport() argument
48 sp<SurfaceComposerClient> client = surfaceControl->getClient(); in getWideColorSupport()
65 static bool getHdrSupport(const sp<SurfaceControl>& surfaceControl) { in getHdrSupport() argument
66 sp<SurfaceComposerClient> client = surfaceControl->getClient(); in getHdrSupport()
84 static bool isDataSpaceValid(const sp<SurfaceControl>& surfaceControl, ADataSpace dataSpace) { in isDataSpaceValid() argument
100 return getWideColorSupport(surfaceControl); in isDataSpaceValid()
103 return getHdrSupport(surfaceControl); in isDataSpaceValid()
117 void SurfaceControl_acquire(SurfaceControl* surfaceControl) { in SurfaceControl_acquire() argument
119 surfaceControl->incStrong((void*)SurfaceControl_acquire); in SurfaceControl_acquire()
122 void SurfaceControl_release(SurfaceControl* surfaceControl) { in SurfaceControl_release() argument
[all …]
/frameworks/base/libs/input/
DSpriteController.cpp82 void SpriteController::disposeSurfaceLocked(const sp<SurfaceControl>& surfaceControl) { in disposeSurfaceLocked() argument
84 mLocked.disposedSurfaces.push(surfaceControl); in disposeSurfaceLocked()
127 if (update.state.surfaceControl == NULL && update.state.wantSurfaceVisible()) { in doUpdateSprites()
132 update.state.surfaceControl = obtainSurface( in doUpdateSprites()
134 if (update.state.surfaceControl != NULL) { in doUpdateSprites()
145 if (update.state.surfaceControl == nullptr) { in doUpdateSprites()
156 t.setSize(update.state.surfaceControl, in doUpdateSprites()
164 t.hide(update.state.surfaceControl); in doUpdateSprites()
172 t.setLayerStack(update.state.surfaceControl, update.state.displayId); in doUpdateSprites()
189 if (update.state.surfaceControl != NULL && !update.state.surfaceDrawn in doUpdateSprites()
[all …]
DSpriteController.h171 sp<SurfaceControl> surfaceControl; member
212 inline void setSurfaceLocked(const sp<SurfaceControl>& surfaceControl, in setSurfaceLocked() argument
214 mLocked.state.surfaceControl = surfaceControl; in setSurfaceLocked()
259 void disposeSurfaceLocked(const sp<SurfaceControl>& surfaceControl);
/frameworks/av/camera/tests/
DCameraZSLTests.cpp169 sp<SurfaceControl> surfaceControl; in TEST_F() local
249 surfaceControl = mComposerClient->createSurface( in TEST_F()
256 ASSERT_TRUE(nullptr != surfaceControl.get()); in TEST_F()
257 ASSERT_TRUE(surfaceControl->isValid()); in TEST_F()
260 .setLayer(surfaceControl, 0x7fffffff) in TEST_F()
261 .show(surfaceControl) in TEST_F()
264 previewSurface = surfaceControl->getSurface(); in TEST_F()
/frameworks/native/cmds/surfacereplayer/replayer/
DBufferQueueScheduler.cpp26 const sp<SurfaceControl>& surfaceControl, const HSV& color, int id) in BufferQueueScheduler() argument
27 : mSurfaceControl(surfaceControl), mColor(color), mSurfaceId(id), mContinueScheduling(true) {} in BufferQueueScheduler()
68 const sp<SurfaceControl>& surfaceControl, const HSV& color) { in setSurfaceControl() argument
70 mSurfaceControl = surfaceControl; in setSurfaceControl()
DBufferQueueScheduler.h55 BufferQueueScheduler(const sp<SurfaceControl>& surfaceControl, const HSV& color, int id);
61 void setSurfaceControl(const sp<SurfaceControl>& surfaceControl, const HSV& color);
DReplayer.cpp602 sp<SurfaceControl> surfaceControl = mComposerClient->createSurface( in createSurfaceControl() local
605 if (surfaceControl == nullptr) { in createSurfaceControl()
612 layer = surfaceControl; in createSurfaceControl()
/frameworks/native/services/surfaceflinger/
DTransactionCompletedThread.cpp203 sp<IBinder> surfaceControl = handle->surfaceControl.promote(); in addCallbackHandle() local
204 if (surfaceControl) { in addCallbackHandle()
205 transactionStats->surfaceStats.emplace_back(surfaceControl, handle->acquireTime, in addCallbackHandle()
302 : listener(transactionListener), callbackIds(ids), surfaceControl(sc) {} in CallbackHandle()
DTransactionCompletedThread.h52 wp<IBinder> surfaceControl; variable
/frameworks/base/services/core/java/com/android/server/wm/
DDragDropController.java167 final SurfaceControl surfaceControl = mDragState.mSurfaceControl; in performDrag() local
171 transaction.setAlpha(surfaceControl, mDragState.mOriginalAlpha); in performDrag()
173 surfaceControl, touchX - thumbCenterX, touchY - thumbCenterY); in performDrag()
174 transaction.show(surfaceControl); in performDrag()
175 displayContent.reparentToOverlay(transaction, surfaceControl); in performDrag()
DTaskSnapshotSurface.java144 final SurfaceControl surfaceControl = new SurfaceControl(); in create() local
218 surfaceControl, snapshot, layoutParams.getTitle(), taskDescription, sysUiVis, in create()
225 tmpCutout, tmpMergedConfiguration, surfaceControl, mTmpInsetsState); in create()
235 TaskSnapshotSurface(WindowManagerService service, Window window, SurfaceControl surfaceControl, in TaskSnapshotSurface() argument
244 mSurfaceControl = surfaceControl; in TaskSnapshotSurface()
DAccessibilityController.java767 SurfaceControl surfaceControl = null; in ViewportWindow() local
770 surfaceControl = mDisplayContent in ViewportWindow()
779 mSurfaceControl = surfaceControl; in ViewportWindow()
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp84 sp<SurfaceControl> surfaceControl = in makeColorInputSurface() local
87 return std::make_unique<InputSurface>(surfaceControl, width, height); in makeColorInputSurface()
92 sp<SurfaceControl> surfaceControl = in makeBufferInputSurface() local
95 return std::make_unique<InputSurface>(surfaceControl, width, height); in makeBufferInputSurface()
100 sp<SurfaceControl> surfaceControl = in makeContainerInputSurface() local
104 return std::make_unique<InputSurface>(surfaceControl, width, height); in makeContainerInputSurface()
/frameworks/native/libs/gui/include/gui/
DITransactionCompletedListener.h44 : surfaceControl(sc), acquireTime(time), previousReleaseFence(prevReleaseFence) {} in SurfaceStats()
46 sp<IBinder> surfaceControl; variable
DSurfaceComposerClient.h62 : surfaceControl(sc), acquireTime(time), previousReleaseFence(prevReleaseFence) {} in SurfaceControlStats()
64 sp<SurfaceControl> surfaceControl; member
577 void addSurfaceControlToCallbacks(const sp<SurfaceControl>& surfaceControl,
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp310 auto surfaceControl = in TEST_F() local
313 ASSERT_TRUE(surfaceControl != nullptr); in TEST_F()
314 ASSERT_TRUE(surfaceControl->isValid()); in TEST_F()
315 fillSurfaceRGBA8(surfaceControl, BLUE); in TEST_F()
321 ts.setLayer(surfaceControl, INT32_MAX - 2) in TEST_F()
322 .show(surfaceControl); in TEST_F()
346 auto surfaceControl = in TEST_F() local
349 ASSERT_TRUE(surfaceControl != nullptr); in TEST_F()
350 ASSERT_TRUE(surfaceControl->isValid()); in TEST_F()
351 fillSurfaceRGBA8(surfaceControl, BLUE); in TEST_F()
[all …]
/frameworks/native/libs/gui/
DITransactionCompletedListener.cpp34 status_t err = output->writeStrongBinder(surfaceControl); in writeToParcel()
55 status_t err = input->readStrongBinder(&surfaceControl); in readFromParcel()
DSurfaceComposerClient.cpp171 for (const auto& surfaceControl : surfaceControls) { in addCallbackFunction() local
172 callbackSurfaceControls[surfaceControl->getHandle()] = surfaceControl; in addCallbackFunction()
179 const sp<SurfaceControl>& surfaceControl, in addSurfaceControlToCallbacks() argument
186 surfaceControl->getHandle()), in addSurfaceControlToCallbacks()
187 std::forward_as_tuple(surfaceControl)); in addSurfaceControlToCallbacks()
222 surfaceControlStats.emplace_back(surfaceControls[surfaceStats.surfaceControl], in onTransactionCompleted()
460 for (const auto& surfaceControl : surfaceControls) { in apply() local
461 layer_state_t* s = getLayerState(surfaceControl); in apply()
/frameworks/native/cmds/flatland/
DGLHelper.h58 sp<SurfaceControl>* surfaceControl, EGLSurface* surface);
DGLHelper.cpp246 sp<SurfaceControl>* surfaceControl, EGLSurface* surface) { in createWindowSurface() argument
284 *surfaceControl = sc; in createWindowSurface()
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java745 int displayId, SurfaceControl surfaceControl) {
748 mSurfaceControl = surfaceControl;
/frameworks/base/core/java/android/view/
DSurfaceControl.java2107 final SurfaceControl surfaceControl = mResizedSurfaces.keyAt(i); in applyResizedSurfaces() local
2108 synchronized (surfaceControl.mSizeLock) { in applyResizedSurfaces()
2109 surfaceControl.mWidth = size.x; in applyResizedSurfaces()
2110 surfaceControl.mHeight = size.y; in applyResizedSurfaces()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp512 SurfaceControl* const surfaceControl = reinterpret_cast<SurfaceControl*>(nativeObject); in nativeSetColorTransform() local
517 transaction->setColorTransform(surfaceControl, matrix, translation); in nativeSetColorTransform()
523 SurfaceControl* const surfaceControl = reinterpret_cast<SurfaceControl*>(nativeObject); in nativeSetColorSpaceAgnostic() local
524 transaction->setColorSpaceAgnostic(surfaceControl, agnostic); in nativeSetColorSpaceAgnostic()

12