Home
last modified time | relevance | path

Searched refs:nativeMode (Results 1 – 3 of 3) sorted by relevance

/foundation/aafwk/standard/frameworks/kits/ability/native/src/
Djs_datashare_ext_ability.cpp290 NativeValue* nativeMode = reinterpret_cast<NativeValue*>(napiMode); in OpenFile() local
291 NativeValue* argv[] = {nativeUri, nativeMode}; in OpenFile()
316 NativeValue* nativeMode = reinterpret_cast<NativeValue*>(napiMode); in OpenRawFile() local
317 NativeValue* argv[] = {nativeUri, nativeMode}; in OpenRawFile()
/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_napi/
Djs_window.cpp530 NativeNumber* nativeMode = ConvertNativeValueTo<NativeNumber>(info.argv[0]); in OnSetWindowMode() local
531 if (nativeMode == nullptr) { in OnSetWindowMode()
535 …if (static_cast<uint32_t>(*nativeMode) >= static_cast<uint32_t>(WindowMode::WINDOW_MODE_SPLIT_PRIM… in OnSetWindowMode()
536 winMode = static_cast<WindowMode>(static_cast<uint32_t>(*nativeMode)); in OnSetWindowMode()
537 …} else if (static_cast<uint32_t>(*nativeMode) >= static_cast<uint32_t>(ApiWindowMode::UNDEFINED) && in OnSetWindowMode()
538 … static_cast<uint32_t>(*nativeMode) <= static_cast<uint32_t>(ApiWindowMode::MODE_END)) { in OnSetWindowMode()
540 static_cast<ApiWindowMode>(static_cast<uint32_t>(*nativeMode))); in OnSetWindowMode()
901 NativeNumber* nativeMode = ConvertNativeValueTo<NativeNumber>(info.argv[0]); in OnGetAvoidArea() local
902 if (nativeMode == nullptr) { in OnGetAvoidArea()
906 avoidAreaType = static_cast<AvoidAreaType>(static_cast<uint32_t>(*nativeMode)); in OnGetAvoidArea()
/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_manager_napi/
Djs_window_manager.cpp490 NativeNumber* nativeMode = ConvertNativeValueTo<NativeNumber>(info.argv[0]); in OnSetWindowLayoutMode() local
491 if (nativeMode == nullptr) { in OnSetWindowLayoutMode()
495 winLayoutMode = static_cast<WindowLayoutMode>(static_cast<uint32_t>(*nativeMode)); in OnSetWindowLayoutMode()