MCPcopy Create free account
hub / github.com/Bzi-Han/AndroidSurfaceImgui / SurfaceComposerClientTransaction

Class SurfaceComposerClientTransaction

modules/ANativeWindowCreator.h:829–893  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

827 };
828
829 struct SurfaceComposerClientTransaction
830 {
831 char data[1024];
832
833 SurfaceComposerClientTransaction()
834 {
835 if (12 > SystemVersion)
836 ApiInvoker<"SurfaceComposerClient::Transaction::Constructor@v11">()(data, data);
837 else
838 ApiInvoker<"SurfaceComposerClient::Transaction::Constructor@v12">()(data);
839 }
840
841 void *SetLayer(types::StrongPointer<void> &surfaceControl, int32_t z)
842 {
843 return ApiInvoker<"SurfaceComposerClient::Transaction::SetLayer">()(data, surfaceControl, z);
844 }
845
846 void *SetLayerStack(types::StrongPointer<void> &surfaceControl, uint32_t layerStack)
847 {
848 return ApiInvoker<"SurfaceComposerClient::Transaction::SetLayerStack">()(data, surfaceControl, layerStack);
849 }
850
851 void *SetTrustedOverlay(types::StrongPointer<void> &surfaceControl, bool isTrustedOverlay)
852 {
853 return ApiInvoker<"SurfaceComposerClient::Transaction::SetTrustedOverlay">()(data, surfaceControl, isTrustedOverlay);
854 }
855
856 void Show(types::StrongPointer<void> &surfaceControl)
857 {
858 ApiInvoker<"SurfaceComposerClient::Transaction::Show">()(data, surfaceControl);
859 }
860
861 void Hide(types::StrongPointer<void> &surfaceControl)
862 {
863 ApiInvoker<"SurfaceComposerClient::Transaction::Hide">()(data, surfaceControl);
864 }
865
866 void Reparent(types::StrongPointer<void> &surfaceControl, types::StrongPointer<void> &newParentHandle)
867 {
868 ApiInvoker<"SurfaceComposerClient::Transaction::Reparent">()(data, surfaceControl, newParentHandle);
869 }
870
871 void SetMatrix(types::StrongPointer<void> &surfaceControl, float dsdx, float dtdx, float dsdy, float dtdy)
872 {
873 ApiInvoker<"SurfaceComposerClient::Transaction::SetMatrix">()(data, surfaceControl, dsdx, dtdx, dsdy, dtdy);
874 }
875
876 void SetPosition(types::StrongPointer<void> &surfaceControl, float x, float y)
877 {
878 ApiInvoker<"SurfaceComposerClient::Transaction::SetPosition">()(data, surfaceControl, x, y);
879 }
880
881 void SetInputWindowInfo(types::StrongPointer<void> &surfaceControl, void *windowInfo)
882 {
883 ApiInvoker<"SurfaceComposerClient::Transaction::SetInputWindowInfo@v10">()(data, surfaceControl, windowInfo);
884 }
885
886 int32_t Apply(bool synchronous, bool oneWay)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected