/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_surface_view.cpp | 55 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 D | node_content_modifier.cpp | 72 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 D | node_gesture_modifier.cpp | 73 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 D | node_adapter_impl.cpp | 143 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 D | camera.cpp | 215 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 D | tap_gesture.cpp | 34 clickRecognizer->SetUserData(userData_); in CreateRecognizer()
|
H A D | long_press_gesture.cpp | 43 longPressRecognizer->SetUserData(userData_); in CreateRecognizer()
|
H A D | pinch_gesture.cpp | 49 pinchRecognizer->SetUserData(userData_); in CreateRecognizer()
|
H A D | swipe_gesture.cpp | 38 swipeRecognizer->SetUserData(userData_); in CreateRecognizer()
|
H A D | rotation_gesture.cpp | 62 rotationRecognizer->SetUserData(userData_); in CreateRecognizer()
|
/foundation/graphic/graphic_3d/3d_widget_adapter/src/ohos/ |
H A D | texture_layer.cpp | 173 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 D | avmuxer_engine_demo.h | 36 void SetUserData();
|
H A D | avmuxer_engine_demo.cpp | 74 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 D | node_content.h | 58 void SetUserData(void* userData) in SetUserData() function in OHOS::Ace::NG::NodeContent
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_render_surface.cpp | 196 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 D | buffer_producer.h | 183 virtual void SetUserData(const std::string& key, const std::string& value) = 0;
|
H A D | surface_impl.h | 148 void SetUserData(const std::string& key, const std::string& value) override;
|
/foundation/graphic/surface_lite/interfaces/kits/ |
H A D | surface.h | 220 virtual void SetUserData(const std::string& key, const std::string& value) = 0;
|
/foundation/graphic/surface_lite/frameworks/ |
H A D | buffer_client_producer.h | 170 void SetUserData(const std::string& key, const std::string& value) override;
|
H A D | surface_impl.cpp | 193 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 D | buffer_queue_producer.h | 173 void SetUserData(const std::string& key, const std::string& value) override;
|
H A D | buffer_queue_producer.cpp | 183 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 D | video_capture_plugin.cpp | 90 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 D | xcomponent_element.cpp | 278 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 D | render_service_client_surface_node_demo.cpp | 154 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()
|