Test
更新日期:
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in trobuleshooting or you can ask me on GitHub.
My test
html 彩色字体:
An activity is a single, focused thing that the user can do. Almost all activities interact with the user, so the Activity class takes care of creating a window for you in which you can place your UI with setContentView(View). While activities are often presented to the user as full-screen windows, they can also be used in other ways: as floating windows (via a theme with windowIsFloating set) or embedded inside of another activity (using ActivityGroup). There are two methods almost all subclasses of Activity will implement:
- onCreate(Bundle) is where you initialize your activity. Most importantly, here you will usually call setContentView(int) with a layout resource defining your UI, and using findViewById(int) to retrieve the widgets in that UI that you need to interact with programmatically.
- onPause() is where you deal with the user leaving your activity. Most importantly, any changes made by the user should at this point be committed (usually to the ContentProvider holding the data).
To be of use with Context.startActivity(), all activity classes must have a corresponding <activity>
declaration in their package’s AndroidManifest.xml.The Activity class is an important part of an application’s overall lifecycle, and the way activities are launched and put together is a fundamental part of the platform’s application model. For a detailed perspective on the structure of an Android application and how activities behave, please read the Application Fundamentals and Tasks and Back Stack developer guides.
垂直同步又称场同步(Vertical Hold),从CRT显示器的显示原理来看,单个象素组成了水平扫描线,水平扫描线在垂直方向的堆积形成了完整的画面。显示器的刷新率受显卡DAC控制,显卡DAC完成一帧的扫描后就会产生一个垂直同步信号。我们平时所说的打开垂直同步指的是将该信号送入显卡3D图形处理部分,从而让显卡在生成3D图形时受垂直同步信号的制约。主要区别在于那些高速运行的游戏,比如实况,FPS游戏,打开后能防止游戏画面高速移动时画面撕裂现象,当然打开后如果你的游戏画面FPS数能达到或超过你显示器的刷新率,这时你的游戏画面FPS数被限制为你显示器的刷新率。你会觉得原来移动时的游戏画面是如此舒服,如果达不到会出现不同程度的跳帧现象,FPS与刷新率差距越大跳帧越严重。关闭后除高速运动的游戏外其他游戏基本看不出画面撕裂现象。
code hightlight:
cpp:
|
|
java:
|
|
bash show as code file list:
|
|
xml:
|
|
表格:
markdown origin table: (en, the origin table format is render well)
API(left) | 存储(center) | 区域 | 特性(right) |
---|---|---|---|
GetMemDC | on-screen | 指定大小 | 我就是要写长一点一点一点点,哈哈 |
CreateSubMemDC | off-screen | 指定大小 | 短一点 |
html table: (en, the parser render bug … …)
API | 存储位置 | 区域 | 特性 |
---|---|---|---|
CreateMemDC | off-screen | 指定大小 | 我就是要写长一点一点一点点,哈哈 |
CreateSubMemDC | off-screen | 指定大小 | 短一点 |
html table(manually fix):
API | 存储位置 | 区域 | 特性 |
---|---|---|---|
CreateMemDC | off-screen | 指定大小 | 我就是要写长一点一点一点点,哈哈 |
CreateSubMemDC | off-screen | 指定大小 | 短一点 |
html 标签:
空格:
首行空格,测试、测试速度很快就说的话虽然很叫阿骚扰电话叫阿是你好傻的快乐和就阿斯顿好及时反馈拉伸沙发杀毒好上的汗水三打哈说的话阿斯的发生的发生的概率结婚了卡斯蒂结婚了卡斯djfklsdajflkasd结婚了卡斯蒂激活格兰仕大家好那个傻大幅拉升。
换行:
haha
yes
no
段落:
This is a test. just show some text.may haha. yes no howto clean build compile sources.
链接:
图片:
Quick Start
Create a new post
|
|
More info: Writing
Run server
|
|
More info: Server
Generate static files
|
|
More info: Generating
Deploy to remote sites
|
|
More info: Deployment