Home
last modified time | relevance | path

Searched refs:componentType (Results 1 - 25 of 53) sorted by relevance

123

/foundation/multimedia/image_framework/interfaces/kits/native/include/image/
H A Dimage_native.h88 * @param componentType Indicates the type of component.
95 uint32_t componentType, OH_NativeBuffer **nativeBuffer);
101 * @param componentType Indicates the type of component.
108 uint32_t componentType, size_t *size);
114 * @param componentType Indicates the type of component.
121 uint32_t componentType, int32_t *rowStride);
127 * @param componentType Indicates the type of component.
134 uint32_t componentType, int32_t *pixelStride);
/foundation/multimedia/image_framework/frameworks/kits/native/common/ndk/
H A Dimage_native.cpp70 uint32_t componentType, OH_NativeBuffer** nativeBuffer) in OH_ImageNative_GetByteBuffer()
77 auto component = image->imgNative->GetComponent(componentType); in OH_ImageNative_GetByteBuffer()
90 Image_ErrorCode OH_ImageNative_GetBufferSize(OH_ImageNative* image, uint32_t componentType, size_t* size) in OH_ImageNative_GetBufferSize() argument
97 auto component = image->imgNative->GetComponent(componentType); in OH_ImageNative_GetBufferSize()
107 Image_ErrorCode OH_ImageNative_GetRowStride(OH_ImageNative* image, uint32_t componentType, int32_t* rowStride) in OH_ImageNative_GetRowStride() argument
114 auto component = image->imgNative->GetComponent(componentType); in OH_ImageNative_GetRowStride()
124 Image_ErrorCode OH_ImageNative_GetPixelStride(OH_ImageNative* image, uint32_t componentType, int32_t* pixelStride) in OH_ImageNative_GetPixelStride() argument
131 auto component = image->imgNative->GetComponent(componentType); in OH_ImageNative_GetPixelStride()
69 OH_ImageNative_GetByteBuffer(OH_ImageNative* image, uint32_t componentType, OH_NativeBuffer** nativeBuffer) OH_ImageNative_GetByteBuffer() argument
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/app_control/
H A Dnative_module.cpp30 napi_value componentType = nullptr; in AppControlExport() local
31 NAPI_CALL(env, napi_create_object(env, &componentType)); in AppControlExport()
32 CreateComponentType(env, componentType); in AppControlExport()
49 DECLARE_NAPI_PROPERTY("ComponentType", componentType), in AppControlExport()
H A Djs_app_control.cpp510 NAPI_CALL_RETURN_VOID(env, napi_create_uint32(env, static_cast<int32_t>(rule.componentType), &nComponentType)); in ConvertRuleInfo()
511 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, nRule, "componentType", nComponentType)); in ConvertRuleInfo()
549 napi_get_named_property(env, nRule, "componentType", &prop); in ParseDiposedRule()
550 int32_t componentType; in ParseDiposedRule() local
551 if (!CommonFunc::ParseInt(env, prop, componentType)) { in ParseDiposedRule()
552 APP_LOGW("componentType parseInt failed"); in ParseDiposedRule()
555 if (componentType > static_cast<int32_t>(ComponentType::UI_EXTENSION) || in ParseDiposedRule()
556 componentType < static_cast<int32_t>(ComponentType::UI_ABILITY)) { in ParseDiposedRule()
557 APP_LOGW("componentType not valid"); in ParseDiposedRule()
560 rule.componentType in ParseDiposedRule()
[all...]
/foundation/multimedia/image_framework/frameworks/kits/cj/src/
H A Dimage_impl.cpp120 uint32_t ImageImpl::GetComponent(int32_t componentType, CRetComponent *ret) in GetComponent() argument
126 auto nativePtr = native_->GetComponent(componentType); in GetComponent()
131 ret->componentType = componentType; in GetComponent()
/foundation/arkui/ace_engine/frameworks/base/log/
H A Dace_scoring_log.cpp39 AceScoringLog::AceScoringLog(const std::string& pageName, const std::string& componentType, const std::string& procType) in AceScoringLog() argument
47 logInfo_.append(componentType); in AceScoringLog()
H A Dace_scoring_log.h32 AceScoringLog(const std::string& pageName, const std::string& componentType, const std::string& procType);
/foundation/multimedia/image_framework/interfaces/kits/native/include/
H A Dimage_mdk.h115 int32_t componentType; member
187 * @param componentType Indicates the type of the required component.
199 int32_t componentType, struct OhosImageComponent* componentNative);
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Ddisposed_rule.cpp28 const char* COMPONENT_TYPE = "componentType";
40 componentType = static_cast<ComponentType>(parcel.ReadInt32()); in ReadFromParcel()
62 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, static_cast<int32_t>(componentType)); in Marshalling()
144 {COMPONENT_TYPE, disposedRule.componentType}, in to_json()
168 disposedRule.componentType, in from_json()
/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/
H A Dimage_mdk.cpp78 int32_t OH_Image_GetComponent(const ImageNative* native, int32_t componentType, in OH_Image_GetComponent() argument
85 args.inNum0 = componentType; in OH_Image_GetComponent()
/foundation/arkui/ace_engine/frameworks/core/accessibility/
H A Dnative_interface_accessibility_impl.h339 void SetComponentType(const std::string& componentType) in SetComponentType()
341 this->componentType = componentType; in SetComponentType()
346 return componentType; in GetComponentType()
478 std::string componentType; member
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Ddisposed_observer.cpp64 if (disposedRule_.componentType == AppExecFwk::ComponentType::UI_ABILITY) { in OnPageShow()
73 if (disposedRule_.componentType == AppExecFwk::ComponentType::UI_EXTENSION) { in OnPageShow()
/foundation/barrierfree/accessibility/common/interface/test/unittest/mock/
H A Dmock_accessibility_event_info_parcel.cpp84 std::string componentType; in ReadFromParcelSecondPart() local
85 READ_PARCEL_AND_RETURN_FALSE_IF_FAIL(String, parcel, componentType); in ReadFromParcelSecondPart()
86 SetComponentType(componentType); in ReadFromParcelSecondPart()
/foundation/barrierfree/accessibility/common/interface/src/parcel/
H A Daccessibility_event_info_parcel.cpp84 std::string componentType; in ReadFromParcelSecondPart() local
85 READ_PARCEL_AND_RETURN_FALSE_IF_FAIL(String, parcel, componentType); in ReadFromParcelSecondPart()
86 SetComponentType(componentType); in ReadFromParcelSecondPart()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dimage_native_test.cpp158 uint32_t componentType = 128; in HWTEST_F() local
160 nRst = OH_ImageNative_GetBufferSize(pImg, componentType, size); in HWTEST_F()
163 nRst = OH_ImageNative_GetRowStride(pImg, componentType, rowStride); in HWTEST_F()
166 nRst = OH_ImageNative_GetPixelStride(pImg, componentType, pixelStride); in HWTEST_F()
/foundation/multimedia/image_framework/frameworks/kits/cj/include/
H A Dimage_utils.h38 int32_t componentType; member
H A Dimage_impl.h35 uint32_t GetComponent(int32_t componentType, CRetComponent *ret);
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Ddisposed_rule.h47 ComponentType componentType = ComponentType::UI_ABILITY; member
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_util.cpp72 const uint32_t componentByteSize = GetComponentByteSize(accessor.componentType); in Read()
179 auto const componentByteSize = GetComponentByteSize(accessor.sparse.indices.componentType); in LoadSparseAccessor()
193 auto const componentByteSize = GetComponentByteSize(accessor.componentType); in LoadSparseAccessor()
200 switch (accessor.sparse.indices.componentType) { in LoadSparseAccessor()
224 result.error += "invalid accessor.sparse.indices.componentType\n"; in LoadSparseAccessor()
1046 componentType(other.componentType), componentByteSize(other.componentByteSize),
1056 componentType = other.componentType;
1138 const auto component = accessor.componentType; in LoadData()
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/interceptor/
H A Ddisposed_rule_interceptor.cpp45 "componentType: %{public}d", disposedRule.disposedType, disposedRule.controlType, in DoProcess()
46 disposedRule.componentType); in DoProcess()
58 if (disposedRule.componentType == AppExecFwk::ComponentType::UI_ABILITY) { in DoProcess()
66 if (disposedRule.componentType == AppExecFwk::ComponentType::UI_EXTENSION) { in DoProcess()
/foundation/ability/ability_runtime/service_router_framework/services/srms/include/
H A Dbundle_info_resolve_util.h115 purposeInfo.componentType = ComponentType::UI_ABILITY; in ConvertAbilityToPurposes()
146 purposeInfo.componentType = ComponentType::UI_EXTENSION; in ConvertExtAbilityToPurposes()
157 purposeInfo.componentType = ComponentType::FORM; in ConvertExtAbilityToPurposes()
/foundation/barrierfree/accessibility/frameworks/common/test/unittest/
H A Daccessibility_event_info_test.cpp358 std::string componentType = "text"; in HWTEST_F() local
359 eventInfo_->SetComponentType(componentType); in HWTEST_F()
360 EXPECT_EQ(eventInfo_->GetComponentType(), componentType); in HWTEST_F()
/foundation/barrierfree/accessibility/frameworks/common/test/mock/src/
H A Dmock_accessibility_event_info.cpp358 std::string componentType = "text"; in HWTEST_F() local
359 eventInfo_->SetComponentType(componentType); in HWTEST_F()
360 EXPECT_EQ(eventInfo_->GetComponentType(), componentType); in HWTEST_F()
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/
H A Dsendable_image_napi.cpp47 int32_t componentType; member
578 BuildIntProperty(env, "componentType", type, *result); in BuildJsComponentObject()
597 BuildIntProperty(env, "componentType", context->componentType, result); in TestGetComponentCallBack()
640 if (BuildJsComponentObject(env, context->componentType, buffer, component, &result)) { in JsGetComponentCallBack()
661 context->component = native->GetComponent(context->componentType); in JsGetComponentExec()
671 if (!JsGetInt32Args(env, argv[NUM0], &(context->componentType))) { in JsGetComponentArgs()
688 if (!CheckComponentType(context->componentType, format)) { in JsGetComponentArgs()
689 IMAGE_ERR("Unsupport component type 0 value: %{public}d", context->componentType); in JsGetComponentArgs()
/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_napi.cpp47 int32_t componentType; member
587 BuildIntProperty(env, "componentType", type, *result); in BuildJsComponentObject()
606 BuildIntProperty(env, "componentType", context->componentType, result); in TestGetComponentCallBack()
649 if (BuildJsComponentObject(env, context->componentType, buffer, component, &result)) { in JsGetComponentCallBack()
670 context->component = native->GetComponent(context->componentType); in JsGetComponentExec()
680 if (!JsGetInt32Args(env, argv[NUM0], &(context->componentType))) { in JsGetComponentArgs()
699 if (!CheckComponentType(context->componentType, format)) { in JsGetComponentArgs()
700 IMAGE_ERR("Unsupport component type 0 value: %{public}d", context->componentType); in JsGetComponentArgs()

Completed in 16 milliseconds

123