上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页

2012年4月29日

ZT:公司绝对不会告诉你的潜规则(何杨)

摘要: 1.入职时的工资高低不重要,只要你努力工作你会得到相应待遇的 我估计几乎找过工作的人都听过这句话,当我们确定被聘用跟公司谈工资时,他们都会说“如果以后你业绩突出、努力工作,你的报酬也会相应增加的”,特别是当第一次找工作的时候大多数人会相信这些话, 但是千万别相信。 刚入职时,你的工资就是你的全部(当然有一些岗位,比如销售或弹性工资的岗位除外,而且你入职以后大部分待遇都会跟着你的工资而浮动... 阅读全文

posted @ 2012-04-29 17:08 明明的天天 阅读(226) 评论(0) 推荐(0)

c入门小记

摘要: int i = 0;声明一个int类型的值int a [5] = {1,2,3,4,5};声明一个数组.int* p = &a; 声明一个指针指向地址.a == &a == &a[0] 这里&为取地址, a本身表示的就是数组的地址.数组地址指向数组的首值地址.*p==a[0] *p表示取地址中值,因为int* p = &a(这里的星和*p不一样,这里表示"声明类型",*p表示"取值"), 而a地址又为首项地址,所以取值后为首项值.*(p+1) == a[1] 数组中的次项地址为首项地址加一, 取首项+1的值就为取次 阅读全文

posted @ 2012-04-29 17:07 明明的天天 阅读(160) 评论(0) 推荐(0)

2012年4月28日

android 绘图的基本知识

摘要: 1。定义颜色的几种格式:A color value specifies an RGB value with an alpha channel, which can be used in various places such as specifying a solid color for a Drawable or the color to use for text. It always begins with a # character and then is followed by the alpha-red-green-blue information in one of the fol 阅读全文

posted @ 2012-04-28 09:56 明明的天天 阅读(1156) 评论(0) 推荐(0)

2012年4月27日

动画的硬件加速

摘要: 好像是3D的都能加速, 2D的部分能加速. 也不知道怎么加速.以后要总结总结.哪些能加速, 哪些不能加速.android图形系统详解六:View layerView layers 在所有版本的Android中,views都有画到离屏缓冲的能力,这包括使用view的绘制cache,或使用Canvas.saveLayer().离屏缓冲,或者说层,有很多用处.你可以使用它们来为复杂的view动画或使用组合效果时提高性能.例如,你可以使用Canvas.saveLayer()实现淡出效果,这个方法会临时的把一个view画到一个layer中然后使用一个透明系数把它组合回屏幕上. 从Android3.0.. 阅读全文

posted @ 2012-04-27 16:11 明明的天天 阅读(1908) 评论(0) 推荐(0)

android View全面详解2

摘要: Nested ClassesclassView.AccessibilityDelegateThis class represents a delegate that can be registered in aViewto enhance accessibility support via composition rather via inheritance.classView.BaseSavedStateBase class for derived classes that want to save and restore their own state inonSaveInstanceSt 阅读全文

posted @ 2012-04-27 14:44 明明的天天 阅读(8731) 评论(0) 推荐(0)

android View全面详解

摘要: 全面的详解, 必须API文档的介绍, 如下:Class OverviewThis class represents the basic building block for user interface components. A View occupies a rectangular area on the screen and is responsible for drawing and event handling. View is the base class forwidgets, which are used to create interactive UI components 阅读全文

posted @ 2012-04-27 11:37 明明的天天 阅读(1402) 评论(0) 推荐(0)

2012年4月26日

动画类的全部方法..

摘要: PublicMethodsvoidcancel()取消动画Canceltheanimation.longcomputeDurationHint()Computeahintathowlongtheentireanimationmaylast,inmilliseconds.intgetBackgroundColor()Returnsthebackgroundcolorbehindtheanimation.booleangetDetachWallpaper()ReturnvalueofsetDetachWallpaper(boolean).longgetDuration()得到时间Howlongth 阅读全文

posted @ 2012-04-26 18:10 明明的天天 阅读(1216) 评论(0) 推荐(0)

得到View的宽度高度

摘要: 先说结论: 在Activity里的oncreate(), onstart(),onResume()中都是拿不到的, 在onWindowFocusChanged()的是可以拿到的.为什么这样?再说原因: 我TM也说不清, 不过大概的知道一点, view的绘制过程是onMeasure(),onLayout(),onDraw(),有人说在onLayout()之后就可以得到了,我觉得准确的说是在onMeasure()之后就可以得到了,但是为什么在onResume()时拿不到?有人又说了,是因为onResume()不是真正的可见的回调方法 ,见:http://www.seangri-la.com/cgi 阅读全文

posted @ 2012-04-26 17:43 明明的天天 阅读(483) 评论(0) 推荐(0)

android 自定义动画5 小知识点集锦

摘要: 1. 几个动画并发的效果可以用<set>,要是按顺序发生的话可以用handler.postDelay(Runnable runnable,minisecond);2. 动画加速器简介:(直译名称)android.R.animConstantsintaccelerate_decelerate_interpolator加速-减速intaccelerate_interpolatorAcceleration curve matching Flash's quadratic ease out function.加速intanticipate_interpolator反向intanti 阅读全文

posted @ 2012-04-26 14:24 明明的天天 阅读(679) 评论(1) 推荐(0)

Android Handler的使用

摘要: 大家好我们这一节讲的是Android Handler的使用,在讲Handler之前,我们先提个小问题,就是如何让程序5秒钟更新一下Title.首先我们看一下习惯了Java编程的人,在不知道Handler的用法之前是怎么样写的程序,代码如下所示:public class AAA extends Activity { // title为setTitle方法提供变量,这里为了方便我设置成了int型 private int title = 0; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstance. 阅读全文

posted @ 2012-04-26 13:50 明明的天天 阅读(253) 评论(0) 推荐(0)

上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页

导航