/foundation/multimedia/image_framework/interfaces/kits/native/include/image/ |
H A D | image_native.h | 88 * @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 D | image_native.cpp | 70 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 D | native_module.cpp | 30 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 D | js_app_control.cpp | 510 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 D | image_impl.cpp | 120 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 D | ace_scoring_log.cpp | 39 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 D | ace_scoring_log.h | 32 AceScoringLog(const std::string& pageName, const std::string& componentType, const std::string& procType);
|
/foundation/multimedia/image_framework/interfaces/kits/native/include/ |
H A D | image_mdk.h | 115 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 D | disposed_rule.cpp | 28 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 D | image_mdk.cpp | 78 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 D | native_interface_accessibility_impl.h | 339 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 D | disposed_observer.cpp | 64 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 D | mock_accessibility_event_info_parcel.cpp | 84 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 D | accessibility_event_info_parcel.cpp | 84 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 D | image_native_test.cpp | 158 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 D | image_utils.h | 38 int32_t componentType; member
|
H A D | image_impl.h | 35 uint32_t GetComponent(int32_t componentType, CRetComponent *ret);
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | disposed_rule.h | 47 ComponentType componentType = ComponentType::UI_ABILITY; member
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_util.cpp | 72 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 D | disposed_rule_interceptor.cpp | 45 "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 D | bundle_info_resolve_util.h | 115 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 D | accessibility_event_info_test.cpp | 358 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 D | mock_accessibility_event_info.cpp | 358 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 D | sendable_image_napi.cpp | 47 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 D | image_napi.cpp | 47 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()
|