Home
last modified time | relevance | path

Searched refs:BuildIntProperty (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_napi.cpp351 static void BuildIntProperty(napi_env env, const std::string &name, in BuildIntProperty() function
365 BuildIntProperty(env, "width", width, result); in BuildJsSize()
366 BuildIntProperty(env, "height", height, result); in BuildJsSize()
379 BuildIntProperty(env, "x", x, result); in BuildJsRegion()
380 BuildIntProperty(env, "y", y, result); in BuildJsRegion()
592 BuildIntProperty(env, "componentType", type, *result); in BuildJsComponentObject()
593 BuildIntProperty(env, "rowStride", component->rowStride, *result); in BuildJsComponentObject()
594 BuildIntProperty(env, "pixelStride", component->pixelStride, *result); in BuildJsComponentObject()
611 BuildIntProperty(env, "componentType", context->componentType, result); in TestGetComponentCallBack()
612 BuildIntProperty(env, "rowStride", NUM0, result); in TestGetComponentCallBack()
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/
H A Dsendable_image_napi.cpp337 static void BuildIntProperty(napi_env env, const std::string &name, in BuildIntProperty() function
351 BuildIntProperty(env, "width", width, result); in BuildJsSize()
352 BuildIntProperty(env, "height", height, result); in BuildJsSize()
365 BuildIntProperty(env, "x", x, result); in BuildJsRegion()
366 BuildIntProperty(env, "y", y, result); in BuildJsRegion()
578 BuildIntProperty(env, "componentType", type, *result); in BuildJsComponentObject()
579 BuildIntProperty(env, "rowStride", component->rowStride, *result); in BuildJsComponentObject()
580 BuildIntProperty(env, "pixelStride", component->pixelStride, *result); in BuildJsComponentObject()
597 BuildIntProperty(env, "componentType", context->componentType, result); in TestGetComponentCallBack()
598 BuildIntProperty(env, "rowStride", NUM0, result); in TestGetComponentCallBack()
[all …]