Home
last modified time | relevance | path

Searched refs:rotateState (Results 1 - 7 of 7) sorted by relevance

/base/theme/wallpaper_mgr/frameworks/js/napi/
H A Dnative_module.cpp65 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 Dwallpaper_js_util.cpp92 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 Dnapi_wallpaper_ability.cpp706 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 Dnapi_wallpaper_ability.h52 int32_t rotateState = 0; member
/base/theme/wallpaper_mgr/utils/include/
H A Dwallpaper_manager_common_info.h59 RotateState rotateState; member
/base/theme/wallpaper_mgr/frameworks/native/include/
H A Dwallpaper_manager.h73 ErrorCode GetCorrespondWallpaper(int32_t wallpaperType, int32_t foldState, int32_t rotateState,
/base/theme/wallpaper_mgr/frameworks/native/src/
H A Dwallpaper_manager.cpp357 ErrorCode WallpaperManager::GetCorrespondWallpaper(int32_t wallpaperType, int32_t foldState, int32_t rotateState, in GetCorrespondWallpaper() argument

Completed in 6 milliseconds