Searched refs:nativeMode (Results 1 – 3 of 3) sorted by relevance
290 NativeValue* nativeMode = reinterpret_cast<NativeValue*>(napiMode); in OpenFile() local291 NativeValue* argv[] = {nativeUri, nativeMode}; in OpenFile()316 NativeValue* nativeMode = reinterpret_cast<NativeValue*>(napiMode); in OpenRawFile() local317 NativeValue* argv[] = {nativeUri, nativeMode}; in OpenRawFile()
530 NativeNumber* nativeMode = ConvertNativeValueTo<NativeNumber>(info.argv[0]); in OnSetWindowMode() local531 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() local902 if (nativeMode == nullptr) { in OnGetAvoidArea()906 avoidAreaType = static_cast<AvoidAreaType>(static_cast<uint32_t>(*nativeMode)); in OnGetAvoidArea()
490 NativeNumber* nativeMode = ConvertNativeValueTo<NativeNumber>(info.argv[0]); in OnSetWindowLayoutMode() local491 if (nativeMode == nullptr) { in OnSetWindowLayoutMode()495 winLayoutMode = static_cast<WindowLayoutMode>(static_cast<uint32_t>(*nativeMode)); in OnSetWindowLayoutMode()