Mainmenu is the screen to list and entry various Cosmos apps

Main functionality:
– Browse apps in multi-page style menu
– User can customize the app item order
– Shortcut bar for common apps

1.File Structure

venusmmi/app/Cosmos/Mainmenu  Vapp_mainmenu.[cpp | h]   Mainmenu app/screen, app order data handling
venusmmi/app/Cosmos/Mainmenu   Vapp_mainmenu_builder.[cpp | h]  Init the mainmenu presentation from the app order data
venusmmi/app/Cosmos/Mainmenu   Vapp_mainmenu_default_order.h  Contain the default order list
venusmmi/app/Cosmos/Mainmenu   Vapp_mainmenu_gprot.h   Mainmenu interface
venusmmi/app/Cosmos/Mainmenu   Vapp_mainmenu_page_menu.[cpp | h]   The mainmenu presentation (browse/organize modes handling)
venusmmi/app/Cosmos/Mainmenu   Vapp_mainmenu_shortcut_bar.[cpp | h]  The shortcut bar to be shown in Home
venusmmi/app/Cosmos/Mainmenu    /res  Resource files

Common Files with 3D Mainmenu

venusmmi/app/common/Interface/cp/  vcp_page_menu_util.h   Handling Mainmenu layout / effect
venusmmi/app/common/cp/                  vcp_page_menu_util.cpp  Handling Mainmenu layout / effect

2.Class

VappMainmenuApp
– Represent mainmenu app

VappMainmenuScr
– The mainmenu screen, handling the overall layout, and maintain the mainmenuapp order data

VappMainmenuPageMenu

VappMainmenuPageMenu
– Presentation of the mainmenu items

VcpPageMenuView
– The classes starts with Vcp are the common part of Cosmos Mainmenu and  3D Mainmenu, this class handling the layout of memu items

IVcpPageView, VcpRotatePageView
– Handle menu item level layout/animation/effect

VcpPageMenuLayout
– Struct to hold the menu item layout setting

VcpPageMenuIndicator
– The menu indicator control

VcpPageMenuIndicatorLayout
– Struct to hold the indicator layout setting

VcpPageMenuCell
– Base class for menu item(cell)

VappMainmenuCell
– Class to handle cosmos specific menu item functions

VappMainMenuBuilder
– Setup the menu items from the Mainmenu App Order Data

VappMainmenuShortcutBar
– A Control to be shown on the bottom of Home, to access part of the mainmenu functions

VappMainmenuScr::m_allOrderData
– An array of app names
 Each app name max size is 60
 Ex: {“APP_NAME_1 /0”,
“APP_NAME_2 /0”,
“APP_NAME_3 /0”,
…}

VappMainmenuPageMenu::m_cells
– An array to cell frames

Menu Item Order Table: {“APP_NAME_4 /0”,
“APP_NAME_5 /0”,
“APP_NAME_6 /0”,
“APP_NAME_7 /0”,
“/0”,
“APP_NAME_0 /0”…}

Cell Array: number means a pointer to a cell, assume 16 cells per page
{4, 5, 6, 7, NULL X 12, 第一页
0, 1, 2, 3, 8, 9, 10, 11, NULL X 8} 第2页

MTK 11A MAINMENU相关推荐

  1. MTK 11A, 11B

    1.模拟器编译错误   1.1 在vs2008 中的忽略库去除msvcrt.lib   1.2 整个项目的文件夹名称路径最好不要太长 2.添加vapp的package文件   vapp_package ...

  2. MTK 11A经验总结(1)

    1.模拟器编译错误   1.1 在vs2008 中的忽略库去除msvcrt.lib   1.2 整个项目的文件夹名称路径最好不要太长 2.添加vapp的package文件   vapp_package ...

  3. MTK 11A SMS

    There are two ways to show a SMS's information: – In UM conversation mode's dialog screen. – In UM c ...

  4. MTK 11A MMS

    MMS  Applications consist of MMS Viewer, MMS Settings, MMS Templates and Some other basic MMS operat ...

  5. 个人收集的一些手机研发资料

    FlashTool_v3.1.04 FlashTool v3[1][1].1.04 MTK平台板测校准原理 FlashTool v5.1140.00 MTK6223方案介绍 高薪诚聘软件J2ME开发工 ...

  6. MTK 10A常用函数集锦

    mmi_idle_exe_callback  进入待机前的准备,检查是否有新短信.未接来电(mmi_nmgr_entry_default_idle) 等 NetWorkAttachedIndicati ...

  7. MTK旧平台与RDA8851开机详解

    MTK6261D旧平台与RDA8851开机详解.注意,MTK新平台框架已经变了,所以开机流程与下面的有差异! L4是MMI/AT和协议栈的适配层. ATCI是AT命令解析器. UEM是用于抽象如键盘. ...

  8. MTK 4G核心板MT6771可做什么方案?

    XY6771 是一款基于 MTK 的 MT6771(联发科技曦力 P60)平台.工业级高性能.可运行 android9.0操作系统的 4G AI 智能模块,支持 LTE-FDD(CAT-7)/LTE- ...

  9. 开发调试指令大全--(MTK开发调试命令)

    MTK无线驱动开发调试手册 1.前言 2.MTK Wifi芯片简介 2.1 单频WIFI芯片信息 2.2 WiFi驱动版本 3.MTK 无线驱动开发调试 3.1 常用命令行 3.1.1 设置WLAN驱 ...

  10. MTK 手机开发小技巧(2)(3)

    http://blog.csdn.net/jiangyu912/article/details/5721672 MMICheckDiskDisplay            开机点亮背光 PEN_CH ...

最新文章

  1. 由右移运算符引发的思考(计算机原理)
  2. Semaphore信号量
  3. 初学 Delphi 嵌入汇编[9] - asm 可以代替 begin
  4. 关于Windows Phone 7开发工具离线安装包
  5. C++编译之提示ld: can‘t open output file for writing: test1, errno=21 for architecture x86_64
  6. JS模拟的Ping程序 (Web Ping)
  7. Ubuntu 删除dash 中无效的图标
  8. web前端(滚动条样式)
  9. 如何避免ASP.NET网页初次加载缓慢
  10. 新举措!ACL系列会议引入滚动审稿机制
  11. 田字格写汉字word模板下载可打印【教程】
  12. 八、软考·系统架构师——架构设计
  13. 圣诞节!教你用 Python 画棵圣诞树
  14. 微信自定义分享--失效问题
  15. Android 悬浮窗的使用(1)
  16. HighwayNet网络详解及复现
  17. python汉语词典_使用python进行汉语分词
  18. APICS与AX的Master Planning(三)---Firm Planned Orders已确认计划订单
  19. 世界各国新娘幸福瞬间
  20. runtime-compiler和runtime-only的区别

热门文章

  1. Android Studio Keymap
  2. Excel在指定范围内匹配/查找文本(MATCH)
  3. 4种营销概念 -seo sem edm affi - 立体营销
  4. html如何制作图片蒙版,如何制作遮罩蒙版手机照片?详细图文教程
  5. 游戏建模资料大放送,3DMX+MAYA+ZBrush集教程,20G教学视频
  6. 启用视口着色:在视图窗口实时显示灯光照明效果_daiding
  7. Validation 全注解+使用示例+官方文档
  8. linux中匹配邮箱地址,Python正则匹配邮箱和电话号码
  9. 【等保常见问题解答】等保测评机构能帮忙做等保整改吗?
  10. 编译icedTea-web报错填坑之旅