Searched refs:rotateState (Results 1 - 7 of 7) sorted by relevance
/base/theme/wallpaper_mgr/frameworks/js/napi/ |
H A D | native_module.cpp | 65 napi_value rotateState = nullptr; in InitRotateState() local 70 NAPI_CALL(env, napi_create_object(env, &rotateState)); in InitRotateState() 71 NAPI_CALL(env, napi_set_named_property(env, rotateState, "PORT", port)); in InitRotateState() 72 NAPI_CALL(env, napi_set_named_property(env, rotateState, "LAND", land)); in InitRotateState() 73 return rotateState; in InitRotateState() 97 napi_value rotateState = InitRotateState(env); in Init() local 126 DECLARE_NAPI_STATIC_PROPERTY("RotateState", rotateState), in Init()
|
H A D | wallpaper_js_util.cpp | 92 NAPI_CALL_BASE(env, napi_get_named_property(env, jsWallpaper, "rotateState", &value), napi_invalid_arg); in Convert2WallpaperInfo() 93 int32_t rotateState; in Convert2WallpaperInfo() local 94 NAPI_CALL_BASE(env, napi_get_value_int32(env, value, &rotateState), napi_invalid_arg); in Convert2WallpaperInfo() 95 wallpaperInfo.rotateState = static_cast<RotateState>(rotateState); in Convert2WallpaperInfo()
|
H A D | napi_wallpaper_ability.cpp | 706 napi_get_value_int32(env, argv[2], &context->rotateState); in GetCorrespondWallpaperInner() 718 context->wallpaperType, context->foldState, context->rotateState, apiInfo, pixelMap); in GetCorrespondWallpaperInner() 1038 int rotateState; in IsValidRotateStateRange() local 1039 napi_get_value_int32(env, argValue, &rotateState); in IsValidRotateStateRange() 1040 return rotateState == PORT || rotateState == LAND; in IsValidRotateStateRange()
|
H A D | napi_wallpaper_ability.h | 52 int32_t rotateState = 0; member
|
/base/theme/wallpaper_mgr/utils/include/ |
H A D | wallpaper_manager_common_info.h | 59 RotateState rotateState; member
|
/base/theme/wallpaper_mgr/frameworks/native/include/ |
H A D | wallpaper_manager.h | 73 ErrorCode GetCorrespondWallpaper(int32_t wallpaperType, int32_t foldState, int32_t rotateState,
|
/base/theme/wallpaper_mgr/frameworks/native/src/ |
H A D | wallpaper_manager.cpp | 357 ErrorCode WallpaperManager::GetCorrespondWallpaper(int32_t wallpaperType, int32_t foldState, int32_t rotateState, in GetCorrespondWallpaper() argument
|
Completed in 6 milliseconds