|
|
|
|
\contentsline {section}{\numberline {1}小米便签的代码泛读}{4}{section.1}%
|
|
|
|
|
\contentsline {subsection}{\numberline {1.1}功能描述}{4}{subsection.1.1}%
|
|
|
|
|
\contentsline {subsection}{\numberline {1.2}小米便签的软件架构以及各个包和类的作用}{6}{subsection.1.2}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {1.2.1}小米便签的软件架构}{6}{subsubsection.1.2.1}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {1.2.2}各个包内的关系图}{7}{subsubsection.1.2.2}%
|
|
|
|
|
\contentsline {subsection}{\numberline {1.3}软件功能与类间的对应关系}{14}{subsection.1.3}%
|
|
|
|
|
\contentsline {section}{\numberline {2}小米便签的代码标注}{15}{section.2}%
|
|
|
|
|
\contentsline {section}{\numberline {3}小米便签的代码维护}{19}{section.3}%
|
|
|
|
|
\contentsline {subsection}{\numberline {3.1}维护的内容}{19}{subsection.3.1}%
|
|
|
|
|
\contentsline {subsection}{\numberline {3.2}开源软件维护后所产生的设计}{21}{subsection.3.2}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.2.1}类解释}{21}{subsubsection.3.2.1}%
|
|
|
|
|
\contentsline {paragraph}{1. Activity 类的继承层次结构}{21}{section*.12}%
|
|
|
|
|
\contentsline {paragraph}{2. 笔记列表相关类}{22}{section*.13}%
|
|
|
|
|
\contentsline {paragraph}{3. 密码管理功能类}{22}{section*.14}%
|
|
|
|
|
\contentsline {paragraph}{4. 第三方服务和工具类}{23}{section*.15}%
|
|
|
|
|
\contentsline {paragraph}{5. 语音识别和语音合成相关类}{23}{section*.16}%
|
|
|
|
|
\contentsline {paragraph}{6. 通用对话框类}{23}{section*.17}%
|
|
|
|
|
\contentsline {paragraph}{7. 类之间的关系}{23}{section*.18}%
|
|
|
|
|
\contentsline {paragraph}{总结}{24}{section*.19}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.2.2}架构解释}{26}{subsubsection.3.2.2}%
|
|
|
|
|
\contentsline {paragraph}{1. 界面层(UI Layer)}{26}{section*.21}%
|
|
|
|
|
\contentsline {paragraph}{2. 第三方 API 层(Third-party API Layer)}{26}{section*.22}%
|
|
|
|
|
\contentsline {paragraph}{3. 业务层(Business Layer)}{26}{section*.23}%
|
|
|
|
|
\contentsline {paragraph}{4. 模型层(Model Layer)}{27}{section*.24}%
|
|
|
|
|
\contentsline {paragraph}{5. 数据层(Data Layer)}{27}{section*.25}%
|
|
|
|
|
\contentsline {paragraph}{总体架构特性总结}{27}{section*.26}%
|
|
|
|
|
\contentsline {paragraph}{适用场景和优势}{27}{section*.27}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.2.3}界面设计}{28}{subsubsection.3.2.3}%
|
|
|
|
|
\contentsline {paragraph}{主界面}{28}{section*.28}%
|
|
|
|
|
\contentsline {paragraph}{内容详情界面}{28}{section*.29}%
|
|
|
|
|
\contentsline {paragraph}{界面整体布局分析}{28}{section*.30}%
|
|
|
|
|
\contentsline {subsection}{\numberline {3.3}维护代码数量以及质量情况}{31}{subsection.3.3}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.3.1}维护代码数量}{31}{subsubsection.3.3.1}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.3.2}维护后的质量分析}{35}{subsubsection.3.3.2}%
|
|
|
|
|
\contentsline {subsection}{\numberline {3.4}维护后的软件原型以及功能展示}{39}{subsection.3.4}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.4.1}设置界面背景}{39}{subsubsection.3.4.1}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.4.2}欢迎界面}{40}{subsubsection.3.4.2}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.4.3}登录密码}{41}{subsubsection.3.4.3}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.4.4}翻译功能}{47}{subsubsection.3.4.4}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.4.5}插入图片}{51}{subsubsection.3.4.5}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.4.6}统计字符个数}{52}{subsubsection.3.4.6}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.4.7}富文本功能}{53}{subsubsection.3.4.7}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.4.8}朗读功能}{55}{subsubsection.3.4.8}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.4.9}私密模式}{56}{subsubsection.3.4.9}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.4.10}笔记编辑内搜索}{58}{subsubsection.3.4.10}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.4.11}模板便签}{60}{subsubsection.3.4.11}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.4.12}语音听写}{63}{subsubsection.3.4.12}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.4.13}语音合成}{65}{subsubsection.3.4.13}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.4.14}对话式大模型}{68}{subsubsection.3.4.14}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.4.15}撤回功能}{72}{subsubsection.3.4.15}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {3.4.16}获取地理位置}{73}{subsubsection.3.4.16}%
|
|
|
|
|
\contentsline {section}{\numberline {4}实践收获和体会}{74}{section.4}%
|
|
|
|
|
\contentsline {subsection}{\numberline {4.1}收获}{74}{subsection.4.1}%
|
|
|
|
|
\contentsline {subsection}{\numberline {4.2}体会}{74}{subsection.4.2}%
|
|
|
|
|
\contentsline {subsection}{\numberline {4.3}参考文献与网址}{75}{subsection.4.3}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {4.3.1}讯飞智能API介绍}{75}{subsubsection.4.3.1}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {4.3.2}百度翻译API介绍}{75}{subsubsection.4.3.2}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {4.3.3}UML建模}{75}{subsubsection.4.3.3}%
|
|
|
|
|
\contentsline {subsubsection}{\numberline {4.3.4}CodeArts质量分析}{75}{subsubsection.4.3.4}%
|