Home
last modified time | relevance | path

Searched refs:foldState (Results 1 - 9 of 9) sorted by relevance

/base/theme/wallpaper_mgr/frameworks/js/napi/
H A Dnative_module.cpp78 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 Dwallpaper_js_util.cpp87 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 Dnapi_wallpaper_ability.cpp705 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 Dnapi_wallpaper_ability.h51 int32_t foldState = 0; member
/base/theme/wallpaper_mgr/utils/include/
H A Dwallpaper_manager_common_info.h58 FoldState foldState; member
/base/tee/tee_client/services/cadaemon/src/tui_daemon/
H A Dtui_event.h36 uint32_t foldState; /* state of foldable screen */ member
H A Dtui_event.cpp197 mTUIPanelInfo.foldState = 0; // FOLD_STATE_UNKNOWN in TUIGetPannelInfo()
/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 7 milliseconds