Home
last modified time | relevance | path

Searched refs:SetUserData (Results 1 - 25 of 61) sorted by relevance

123

/foundation/arkui/ui_lite/frameworks/components/
H A Dui_surface_view.cpp55 surface_->SetUserData(REGION_POSITION_X, std::to_string(x)); in SetPosition()
56 surface_->SetUserData(REGION_POSITION_Y, std::to_string(y)); in SetPosition()
68 surface_->SetUserData(REGION_POSITION_X, std::to_string(x)); in SetPosition()
69 surface_->SetUserData(REGION_POSITION_Y, std::to_string(y)); in SetPosition()
70 surface_->SetUserData(REGION_WIDTH, std::to_string(width)); in SetPosition()
71 surface_->SetUserData(REGION_HEIGHT, std::to_string(height)); in SetPosition()
81 surface_->SetUserData(REGION_WIDTH, std::to_string(width)); in Resize()
82 surface_->SetUserData(REGION_HEIGHT, std::to_string(height)); in Resize()
92 surface_->SetUserData(REGION_WIDTH, std::to_string(width)); in SetWidth()
102 surface_->SetUserData(REGION_HEIGH in SetHeight()
[all...]
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_content_modifier.cpp72 ArkUI_Int32 SetUserData(ArkUINodeContentHandle content, void* userData) in SetUserData() function
76 nodeContent->SetUserData(userData); in SetUserData()
91 static const ArkUINodeContentModifier modifier = { AddChild, InsertChild, RemoveChild, RegisterEvent, SetUserData, in GetNodeContentModifier()
98 static const CJUINodeContentModifier modifier = { AddChild, InsertChild, RemoveChild, RegisterEvent, SetUserData, in GetCJUINodeContentModifier()
H A Dnode_gesture_modifier.cpp73 panGestureObject->SetUserData(userData); in createPanGesture()
81 tapGestureObject->SetUserData(userData); in createTapGesture()
91 tapGestureObject->SetUserData(userData); in createTapGestureWithDistanceThreshold()
99 longPressGestureObject->SetUserData(userData); in createLongPressGesture()
107 pinchGestureObject->SetUserData(userData); in createPinchGesture()
115 rotationGestureObject->SetUserData(userData); in createRotationGesture()
130 swipeGestureObject->SetUserData(userData); in createSwipeGesture()
859 gestureInfo->SetUserData(arkUIGestureRecognizer); in CreateGestureRecognizer()
H A Dnode_adapter_impl.cpp143 handle_->builder->SetUserData(this); in UINodeAdapter()
323 handle->builder->SetUserData(userData); in RegisterEventReceiver()
333 handle->builder->SetUserData(nullptr); in UnregisterEventReceiver()
/foundation/arkui/ace_engine/frameworks/core/components/camera/standard_system/
H A Dcamera.cpp215 previewSurface_->SetUserData(SURFACE_STRIDE_ALIGNMENT, std::to_string(SURFACE_STRIDE_ALIGNMENT_VAL)); in createSubWindowSurface()
216 previewSurface_->SetUserData(SURFACE_FORMAT, std::to_string(PIXEL_FMT_RGBA_8888)); in createSubWindowSurface()
217 previewSurface_->SetUserData(CameraStandard::CameraManager::surfaceFormat, in createSubWindowSurface()
219 previewSurface_->SetUserData(SURFACE_WIDTH, std::to_string(PREVIEW_SURFACE_WIDTH)); in createSubWindowSurface()
220 previewSurface_->SetUserData(SURFACE_HEIGHT, std::to_string(PREVIEW_SURFACE_HEIGHT)); in createSubWindowSurface()
221 previewSurface_->SetUserData(REGION_WIDTH, std::to_string(windowSize_.Width())); in createSubWindowSurface()
222 previewSurface_->SetUserData(REGION_HEIGHT, std::to_string(windowSize_.Height())); in createSubWindowSurface()
223 previewSurface_->SetUserData(REGION_POSITION_X, std::to_string(windowOffset_.GetX())); in createSubWindowSurface()
224 previewSurface_->SetUserData(REGION_POSITION_Y, std::to_string(windowOffset_.GetY())); in createSubWindowSurface()
270 captureConsumerSurface_->SetUserData(CameraStandar in PreparePhoto()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/
H A Dtap_gesture.cpp34 clickRecognizer->SetUserData(userData_); in CreateRecognizer()
H A Dlong_press_gesture.cpp43 longPressRecognizer->SetUserData(userData_); in CreateRecognizer()
H A Dpinch_gesture.cpp49 pinchRecognizer->SetUserData(userData_); in CreateRecognizer()
H A Dswipe_gesture.cpp38 swipeRecognizer->SetUserData(userData_); in CreateRecognizer()
H A Drotation_gesture.cpp62 rotationRecognizer->SetUserData(userData_); in CreateRecognizer()
/foundation/graphic/graphic_3d/3d_widget_adapter/src/ohos/
H A Dtexture_layer.cpp173 producerSurface_->SetUserData("SURFACE_STRIDE_ALIGNMENT", "8"); in CreateNativeWindow()
174 producerSurface_->SetUserData("SURFACE_FORMAT", std::to_string(GRAPHIC_PIXEL_FMT_RGBA_8888)); in CreateNativeWindow()
175 producerSurface_->SetUserData("SURFACE_WIDTH", std::to_string(width)); in CreateNativeWindow()
176 producerSurface_->SetUserData("SURFACE_HEIGHT", std::to_string(height)); in CreateNativeWindow()
/foundation/multimedia/av_codec/test/nativedemo/avmuxer/
H A Davmuxer_engine_demo.h36 void SetUserData();
H A Davmuxer_engine_demo.cpp74 SetUserData(); in DoRunMuxer()
138 void AVMuxerEngineDemo::SetUserData() in SetUserData() function in OHOS::MediaAVCodec::AVMuxerEngineDemo
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
H A Dnode_content.h58 void SetUserData(void* userData) in SetUserData() function in OHOS::Ace::NG::NodeContent
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_surface.cpp196 producerSurface_->SetUserData("SURFACE_STRIDE_ALIGNMENT", SURFACE_STRIDE_ALIGNMENT); in UpdateSurfaceConfig()
197 producerSurface_->SetUserData("SURFACE_FORMAT", std::to_string(GRAPHIC_PIXEL_FMT_RGBA_8888)); in UpdateSurfaceConfig()
213 producerSurface_->SetUserData("SURFACE_WIDTH", std::to_string(surfaceWidth)); in ConfigSurface()
214 producerSurface_->SetUserData("SURFACE_HEIGHT", std::to_string(surfaceHeight)); in ConfigSurface()
236 producerSurface_->SetUserData(SURFACE_WIDTH, std::to_string(width)); in UpdateSurfaceSizeInUserData()
237 producerSurface_->SetUserData(SURFACE_HEIGHT, std::to_string(height)); in UpdateSurfaceSizeInUserData()
/foundation/graphic/surface_lite/interfaces/innerkits/
H A Dbuffer_producer.h183 virtual void SetUserData(const std::string& key, const std::string& value) = 0;
H A Dsurface_impl.h148 void SetUserData(const std::string& key, const std::string& value) override;
/foundation/graphic/surface_lite/interfaces/kits/
H A Dsurface.h220 virtual void SetUserData(const std::string& key, const std::string& value) = 0;
/foundation/graphic/surface_lite/frameworks/
H A Dbuffer_client_producer.h170 void SetUserData(const std::string& key, const std::string& value) override;
H A Dsurface_impl.cpp193 void SurfaceImpl::SetUserData(const std::string& key, const std::string& value) in SetUserData() function in OHOS::SurfaceImpl
196 producer_->SetUserData(key, value); in SetUserData()
H A Dbuffer_queue_producer.h173 void SetUserData(const std::string& key, const std::string& value) override;
H A Dbuffer_queue_producer.cpp183 product->SetUserData(sKey, sValue); in OnSetUserData()
387 void BufferQueueProducer::SetUserData(const std::string& key, const std::string& value) in SetUserData() function in OHOS::BufferQueueProducer
389 bufferQueue_->SetUserData(key, value); in SetUserData()
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/video_capture/
H A Dvideo_capture_plugin.cpp90 auto ret = surfaceConsumer_->SetUserData("video_width", std::to_string(width_)); in ConfigSurfaceConsumer()
94 ret = surfaceConsumer_->SetUserData("video_height", std::to_string(height_)); in ConfigSurfaceConsumer()
102 ret = surfaceConsumer_->SetUserData("surface_size", std::to_string(DEFAULT_SURFACE_SIZE)); in ConfigSurfaceConsumer()
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/
H A Dxcomponent_element.cpp278 producerSurface_->SetUserData("SURFACE_STRIDE_ALIGNMENT", SURFACE_STRIDE_ALIGNMENT); in CreateSurface()
279 producerSurface_->SetUserData("SURFACE_FORMAT", std::to_string(PIXEL_FMT_RGBA_8888)); in CreateSurface()
327 producerSurface_->SetUserData("SURFACE_WIDTH", std::to_string(surfaceWidth)); in ConfigSurface()
328 producerSurface_->SetUserData("SURFACE_HEIGHT", std::to_string(surfaceHeight)); in ConfigSurface()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/
H A Drender_service_client_surface_node_demo.cpp154 producerSurface->SetUserData("SURFACE_STRIDE_ALIGNMENT", SURFACE_STRIDE_ALIGNMENT); in Init()
155 producerSurface->SetUserData("SURFACE_FORMAT", std::to_string(GRAPHIC_PIXEL_FMT_RGBA_8888)); in Init()

Completed in 20 milliseconds

123