Searched refs:foldState (Results 1 - 9 of 9) sorted by relevance
/base/theme/wallpaper_mgr/frameworks/js/napi/ |
H A D | native_module.cpp | 78 napi_value foldState = nullptr; in InitFoldState() local 85 NAPI_CALL(env, napi_create_object(env, &foldState)); in InitFoldState() 86 NAPI_CALL(env, napi_set_named_property(env, foldState, "NORMAL", normal)); in InitFoldState() 87 NAPI_CALL(env, napi_set_named_property(env, foldState, "UNFOLD_1", unfold_1)); in InitFoldState() 88 NAPI_CALL(env, napi_set_named_property(env, foldState, "UNFOLD_2", unfold_2)); in InitFoldState() 89 return foldState; in InitFoldState() 98 napi_value foldState = InitFoldState(env); in Init() local 127 DECLARE_NAPI_STATIC_PROPERTY("FoldState", foldState), in Init()
|
H A D | wallpaper_js_util.cpp | 87 NAPI_CALL_BASE(env, napi_get_named_property(env, jsWallpaper, "foldState", &value), napi_invalid_arg); in Convert2WallpaperInfo() 88 int32_t foldState; in Convert2WallpaperInfo() local 89 NAPI_CALL_BASE(env, napi_get_value_int32(env, value, &foldState), napi_invalid_arg); in Convert2WallpaperInfo() 90 wallpaperInfo.foldState = static_cast<FoldState>(foldState); in Convert2WallpaperInfo()
|
H A D | napi_wallpaper_ability.cpp | 705 napi_get_value_int32(env, argv[1], &context->foldState); in GetCorrespondWallpaperInner() 718 context->wallpaperType, context->foldState, context->rotateState, apiInfo, pixelMap); in GetCorrespondWallpaperInner() 1031 int foldState; in IsValidFoldStateRange() local 1032 napi_get_value_int32(env, argValue, &foldState); in IsValidFoldStateRange() 1033 return foldState == NORMAL || foldState == UNFOLD_1 || foldState == UNFOLD_2; in IsValidFoldStateRange()
|
H A D | napi_wallpaper_ability.h | 51 int32_t foldState = 0; member
|
/base/theme/wallpaper_mgr/utils/include/ |
H A D | wallpaper_manager_common_info.h | 58 FoldState foldState; member
|
/base/tee/tee_client/services/cadaemon/src/tui_daemon/ |
H A D | tui_event.h | 36 uint32_t foldState; /* state of foldable screen */
member
|
H A D | tui_event.cpp | 197 mTUIPanelInfo.foldState = 0; // FOLD_STATE_UNKNOWN
in TUIGetPannelInfo()
|
/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