摘要: 效果图:參看下面代码:public class MainActivity extends Activity { private ImageView imageView1; private ImageView imageView2; Bitmap mBitmap; @Override protecte... 阅读全文
posted @ 2015-10-08 20:55 yxwkaifa 阅读(249) 评论(0) 推荐(0)
摘要: 移植版本 libuv:https://github.com/liigo/libuv-vc6(支持VC6和XP。作者Liigo)。我从一年前(大概2013年6,7月份)開始在业余时间做这项移植工作,走走停停,陆续用了一两个月的时间。才基本完毕。这期间做了具体的移植记录。如今公布出来,希望对某些人实用。... 阅读全文
posted @ 2015-10-08 19:28 yxwkaifa 阅读(1608) 评论(0) 推荐(0)
摘要: 前言:Acircular buffer,cyclic bufferorring bufferis adata structurethat uses a single, fixed-sizebufferas if it were connected end-to-end. This structure... 阅读全文
posted @ 2015-10-08 17:53 yxwkaifa 阅读(473) 评论(0) 推荐(0)
摘要: 问题:慢慢地熟悉android 的过程中。发现view 要么layout初始化,建或者生产活动是很清楚。被添加到父控制,然后开始了相应的生命周期。但父控件的整个界面。还是第一个系统view。 怎么来的,如何初始化和绘制?概述:带着困扰我的问题,本文试图分析理解view 的measure 的过程,在分... 阅读全文
posted @ 2015-10-08 16:29 yxwkaifa 阅读(1464) 评论(0) 推荐(0)
摘要: n积分m文章无向边它输出一个哈密顿电路#include #include #include using namespace std;const int N = 155;int n, m;bool mp[N][N];int S, T, top, Stack[N];bool vis[N];void _r... 阅读全文
posted @ 2015-10-08 15:48 yxwkaifa 阅读(202) 评论(0) 推荐(0)
摘要: Alice and BobTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2901Accepted Submission(s): 941Probl... 阅读全文
posted @ 2015-10-08 14:49 yxwkaifa 阅读(296) 评论(0) 推荐(1)
摘要: 浅析单调队列By钟桓9月 16 2014更新日期:9月 16 2014文章文件夹1.简单的单调队列的应用:1.1.1.果子合并问题1.2.Window1.2.1.poj28231.3.广告印刷2.单调队列在动态规划中的应用3.參考资料:大家应该了解什么是队列,那么在队列前面加上“单调”。意思也是显而... 阅读全文
posted @ 2015-10-08 13:16 yxwkaifa 阅读(325) 评论(0) 推荐(0)
摘要: 参考:博客园《Python正則表達式指南》博客园《Python之re模块》在此感谢博主的无私奉献,本文主要介绍python中re模块的几个简单使用方法。具体的使用方法请參考博客园的这两篇博文python在文本处理方面是非常强大的,得益于有re这样强大的模块。re模块是用于处理文本的超级强大的工具。当... 阅读全文
posted @ 2015-10-08 11:48 yxwkaifa 阅读(1711) 评论(0) 推荐(0)
摘要: 百度视频最近动作可真。延续“DHot.exe 热点资讯”之后,又在桌面上出现了Tips窗体,例如以下图:尽管是迷你的,可还是把其他桌面图标给挡了啊!突然出来这么个窗体。我还以为电脑中毒了?立刻打开任务管理器查看。在状态栏单击鼠标右键》启动任务管理器(噢,我的是Windows Server 2008,... 阅读全文
posted @ 2015-10-08 10:30 yxwkaifa 阅读(349) 评论(0) 推荐(0)
摘要: DescriptionGiven an undirected graph, in which two vertices can be connected by multiple edges, what is the size of the minimum cut of the graph? i.e.... 阅读全文
posted @ 2015-10-08 09:45 yxwkaifa 阅读(303) 评论(0) 推荐(0)
摘要: 从飞机到现在移植模型来开发遥控器按键,调查发现,大部分的功能键始终没有任何效果。跑dumpsys input要查看当前的关键kl, 查找KeyLayoutFile它原来是默认Generic.kl,而不是我希望映射的Vendor_xxxx_Product_xxxx.kl这类的文件。会映射到默认的Gen... 阅读全文
posted @ 2015-10-08 08:15 yxwkaifa 阅读(2671) 评论(0) 推荐(0)