aboutsummaryrefslogtreecommitdiffstats
path: root/policy_manager/stm/zipc/StateTransitionor/hud/layer/near_apps/Zhud_near_apps_hud_near_apps_func.c
diff options
context:
space:
mode:
Diffstat (limited to 'policy_manager/stm/zipc/StateTransitionor/hud/layer/near_apps/Zhud_near_apps_hud_near_apps_func.c')
-rwxr-xr-xpolicy_manager/stm/zipc/StateTransitionor/hud/layer/near_apps/Zhud_near_apps_hud_near_apps_func.c49
1 files changed, 49 insertions, 0 deletions
diff --git a/policy_manager/stm/zipc/StateTransitionor/hud/layer/near_apps/Zhud_near_apps_hud_near_apps_func.c b/policy_manager/stm/zipc/StateTransitionor/hud/layer/near_apps/Zhud_near_apps_hud_near_apps_func.c
new file mode 100755
index 0000000..7c8fb61
--- /dev/null
+++ b/policy_manager/stm/zipc/StateTransitionor/hud/layer/near_apps/Zhud_near_apps_hud_near_apps_func.c
@@ -0,0 +1,49 @@
+/************************************************************/
+/* Zhud_near_apps_hud_near_apps_func.c */
+/* Function and variable source file */
+/* ZIPC Designer Version 1.2.1 */
+/************************************************************/
+#include "../../../ZST_include.h"
+
+/*************************************************************
+ Function definition
+ *************************************************************/
+
+/**
+ * stm_hud_near_apps_initialize_variable
+ */
+void stm_hud_near_apps_initialize_variable() {
+ g_stm_prv_state.layer[StmLayerNoNearApps].state = StmLayoutNoUpperLeft;
+ g_stm_prv_state.layer[StmLayerNoNearApps].changed = STM_FALSE;
+
+ g_stm_crr_state.layer[StmLayerNoNearApps].state = StmLayoutNoUpperLeft;
+ g_stm_crr_state.layer[StmLayerNoNearApps].changed = STM_FALSE;
+}
+
+/**
+ * stm_hud_near_apps_start_stm
+ */
+void stm_hud_near_apps_start_stm() {
+ if (g_stm_event == StmEvtNoUndo) {
+ // nop
+ } else {
+ g_stm_prv_state.layer[StmLayerNoNearApps].state =
+ g_stm_crr_state.layer[StmLayerNoNearApps].state;
+ }
+ g_stm_crr_state.layer[StmLayerNoNearApps].changed = STM_FALSE;
+}
+/*
+ * @name stm_hud_near_apps_start_activity_none
+ */
+void stm_hud_near_apps_start_activity_none() {
+ g_stm_crr_state.layer[StmLayerNoNearApps].state = StmLayoutNoNone;
+ g_stm_crr_state.layer[StmLayerNoNearApps].changed = STM_TRUE;
+}
+
+/**
+ * stm_hud_near_apps_start_activity_upper_left
+ */
+void stm_hud_near_apps_start_activity_upper_left() {
+ g_stm_crr_state.layer[StmLayerNoNearApps].state = StmLayoutNoUpperLeft;
+ g_stm_crr_state.layer[StmLayerNoNearApps].changed = STM_TRUE;
+}