05 2014 档案

摘要: 阅读全文
posted @ 2014-05-31 14:09 等风来。。 阅读(133) 评论(0) 推荐(0) 编辑
摘要:一、魔棒工具 魔棒工具主要是使用户可以选择颜色一致的区域(例如,一朵红花)或者背景比较单调的图片,而不必跟踪其轮廓。魔棒工具选择的颜色范围可以由工具选项栏中的误差范围参数值来控制。二、钢笔工具 路径是Photoshop提供的一种用来绘制选区边界和描边的方法,它是我们绘制图像的得力助手。路径是由贝... 阅读全文
posted @ 2014-05-27 14:49 等风来。。 阅读(197) 评论(0) 推荐(0) 编辑
摘要:鸳鸯被里成双夜,一树梨花压海棠 -- 苏东坡梨花淡白柳深青,柳絮飞时花满城 -- 苏东坡忽如一夜春风来,千树万树梨花开 -- 岑参玉容寂寞泪阑干,梨花一枝春带雨 -- 白居易砌下梨花一堆雪,明年谁此凭栏杆 -- 杜牧柳絮池塘淡淡风,梨花院落溶溶月 -- 晏殊 阅读全文
posted @ 2014-05-27 11:48 等风来。。 阅读(182) 评论(0) 推荐(0) 编辑
摘要:If you are supporting pre-3.0 with your application be sure you put this version of the custom theme invalues-v11or similar. 阅读全文
posted @ 2014-05-26 10:43 等风来。。 阅读(269) 评论(0) 推荐(0) 编辑
摘要:众所周知,图片格式大至分为两类存储方式, 一类点阵存储,计算机在存这一类图片的时候,对每一点存储的是位置和相对应的颜色值。像BMP、Png24、Tiff等图片格式都是采用这一种,这种图片的特点是颜色可以表现的很丰富,色感好,图片占用空间较大(png24采用了无损压缩技术,相对已经小了很多); 另... 阅读全文
posted @ 2014-05-24 23:48 等风来。。 阅读(1828) 评论(0) 推荐(0) 编辑
摘要:onFling will get executed when a user makes a "fling" motion, and said motion has a velocity with it to determine the type of fling it was. However,... 阅读全文
posted @ 2014-05-23 16:35 等风来。。 阅读(417) 评论(0) 推荐(0) 编辑
摘要:1.IPC解决方案 而非 序列化机制 Container for a message (data and object references) that can be sent through an IBinder. A Parcel can contain both flatteneddata ... 阅读全文
posted @ 2014-05-22 18:16 等风来。。 阅读(1568) 评论(0) 推荐(1) 编辑
摘要:Contains methods to standard constants used in the UI for timeouts, sizes, and distances.一。几个常用的方法返回初始化滑动的最大速度值和最小速度值,以像素/秒为单位getScaledMinimumFlingVel... 阅读全文
posted @ 2014-05-21 18:35 等风来。。 阅读(891) 评论(0) 推荐(0) 编辑
摘要:TouchDelegate(Rect bounds, View delegateView)Parameters:bounds Bounds in local coordinates of the containing view that should be mapped to the delegat... 阅读全文
posted @ 2014-05-21 16:35 等风来。。 阅读(289) 评论(0) 推荐(0) 编辑
摘要:There is no real difference, except that theView.postis helpful when you don't have a direct access to the activity. public boolean post(Runnable a... 阅读全文
posted @ 2014-05-21 16:25 等风来。。 阅读(298) 评论(0) 推荐(0) 编辑
摘要:A MeasureSpec encapsulates the layout requirements passed from parent to child. Each MeasureSpec represents a requirementfor either the width or the h... 阅读全文
posted @ 2014-05-18 18:28 等风来。。 阅读(1302) 评论(0) 推荐(0) 编辑
摘要:He is worth no weal that can bide no woe.禁不起吃苦的人不配得到幸福有句谚语叫No weal without woe 福兮祸所伏 ; 祸兮福所倚weal和woe是一对反义词 很像no pain no gain1.be worth sth..=deserve s... 阅读全文
posted @ 2014-05-16 15:28 等风来。。 阅读(371) 评论(0) 推荐(0) 编辑
摘要:public voidoverridePendingTransition(int enterAnim, int exitAnim) Call immediately after one of the flavors ofstartActivity(Intent)orfinish()to speci... 阅读全文
posted @ 2014-05-16 14:48 等风来。。 阅读(272) 评论(0) 推荐(0) 编辑
摘要:当用户触摸屏幕的时候,会产生许多手势,例如down,up,scroll,filing等等,我们知道View类有个View.OnTouchListener接口,通过重写他的onTouch(Viewv,MotionEventevent)方法,我们可以处理一些touch事件,但是这个方法太过简单,如果... 阅读全文
posted @ 2014-05-16 14:28 等风来。。 阅读(157) 评论(0) 推荐(0) 编辑
摘要:/** * Schedule a countdown until a time in the future, with regular notifications on intervals along the way. * * Example of showing a 30 second count... 阅读全文
posted @ 2014-05-15 10:33 等风来。。 阅读(207) 评论(0) 推荐(0) 编辑
摘要:一。start 和end 方法下面是一个对单词"cat"出现在输入字符串中出现次数进行计数的例子:public class RegexMatches{ private static final String REGEX = "\\bcat\\b"; //边界 private stat... 阅读全文
posted @ 2014-05-13 00:25 等风来。。 阅读(183) 评论(0) 推荐(0) 编辑
摘要:1.Realize that nobody cares, and if they do, you shouldn't care that they care. Got a new car? Nobody cares. You'll get some gawkers for a couple of ... 阅读全文
posted @ 2014-05-13 00:15 等风来。。 阅读(301) 评论(0) 推荐(0) 编辑
摘要:在JAVA中,闭包可以通过“接口+内部类”来实现,通过非静态内部类可以访问外部类的全部成员(包括私有成员),因此可以把非静态内部类当成面向对象领域的闭包。 当父类和实现的接口出现同名函数时,你又不想父类的函数被覆盖,闭包可以帮你解决这个问题。例如: 一个Teachable接口和Program... 阅读全文
posted @ 2014-05-11 21:41 等风来。。 阅读(465) 评论(0) 推荐(0) 编辑
摘要:1.attr.xml 2.在构造方法中使用public MyView(Context context,AttributeSet attrs){ super(context,attrs); mPaint = new Paint(... 阅读全文
posted @ 2014-05-08 17:16 等风来。。 阅读(243) 评论(0) 推荐(0) 编辑
摘要:Consider a simple function that adds the first N integers. (e.g.sum(5) = 1 + 2 + 3 + 4 + 5 = 15).Here is a simple Python implementation that uses recu... 阅读全文
posted @ 2014-05-08 11:20 等风来。。 阅读(248) 评论(0) 推荐(0) 编辑
摘要:1.the use of functions in table fields is a key ingredient for some advanceduses of Lua, such as modules and object-oriented programming. 阅读全文
posted @ 2014-05-08 09:57 等风来。。 阅读(145) 评论(2) 推荐(0) 编辑
摘要:递归是静中有动,有去有回。循环是动静如一,有去无回。 阅读全文
posted @ 2014-05-06 11:47 等风来。。 阅读(153) 评论(0) 推荐(0) 编辑

------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------
点击右上角即可分享
微信分享提示