/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | TransactionCompat.java | 39 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 …]
|
D | SurfaceControlCompat.java | 24 public SurfaceControlCompat(SurfaceControl surfaceControl) { in SurfaceControlCompat() argument 25 mSurfaceControl = surfaceControl; in SurfaceControlCompat()
|
/frameworks/base/native/android/ |
D | surface_control.cpp | 47 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/ |
D | SpriteController.cpp | 82 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 …]
|
D | SpriteController.h | 171 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/ |
D | CameraZSLTests.cpp | 169 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/ |
D | BufferQueueScheduler.cpp | 26 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()
|
D | BufferQueueScheduler.h | 55 BufferQueueScheduler(const sp<SurfaceControl>& surfaceControl, const HSV& color, int id); 61 void setSurfaceControl(const sp<SurfaceControl>& surfaceControl, const HSV& color);
|
D | Replayer.cpp | 602 sp<SurfaceControl> surfaceControl = mComposerClient->createSurface( in createSurfaceControl() local 605 if (surfaceControl == nullptr) { in createSurfaceControl() 612 layer = surfaceControl; in createSurfaceControl()
|
/frameworks/native/services/surfaceflinger/ |
D | TransactionCompletedThread.cpp | 203 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()
|
D | TransactionCompletedThread.h | 52 wp<IBinder> surfaceControl; variable
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragDropController.java | 167 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()
|
D | TaskSnapshotSurface.java | 144 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()
|
D | AccessibilityController.java | 767 SurfaceControl surfaceControl = null; in ViewportWindow() local 770 surfaceControl = mDisplayContent in ViewportWindow() 779 mSurfaceControl = surfaceControl; in ViewportWindow()
|
/frameworks/native/libs/gui/tests/ |
D | EndToEndNativeInputTest.cpp | 84 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/ |
D | ITransactionCompletedListener.h | 44 : surfaceControl(sc), acquireTime(time), previousReleaseFence(prevReleaseFence) {} in SurfaceStats() 46 sp<IBinder> surfaceControl; variable
|
D | SurfaceComposerClient.h | 62 : 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/ |
D | SFFakeHwc_test.cpp | 310 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/ |
D | ITransactionCompletedListener.cpp | 34 status_t err = output->writeStrongBinder(surfaceControl); in writeToParcel() 55 status_t err = input->readStrongBinder(&surfaceControl); in readFromParcel()
|
D | SurfaceComposerClient.cpp | 171 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/ |
D | GLHelper.h | 58 sp<SurfaceControl>* surfaceControl, EGLSurface* surface);
|
D | GLHelper.cpp | 246 sp<SurfaceControl>* surfaceControl, EGLSurface* surface) { in createWindowSurface() argument 284 *surfaceControl = sc; in createWindowSurface()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | ColorFade.java | 745 int displayId, SurfaceControl surfaceControl) { 748 mSurfaceControl = surfaceControl;
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControl.java | 2107 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/ |
D | android_view_SurfaceControl.cpp | 512 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()
|