thread_local变量是C++ 11新引入的一种存储类型。它会影响变量的存储周期(Storage duration),C++中有4种存储周期: automatic static dynamic thread 有且只有thread_local关键字修饰的变量具有线程周期(thread durat ...
分类:
编程语言 时间:
2017-01-18 23:24:48
阅读次数:
215
根据listview的手指移动事件,动态设置listview上面的图片的宽高,并在手指放开的时候 实现图片的动画(随时间变化的动画值) ValueAnimator.ofInt ( ) ...
分类:
其他好文 时间:
2017-01-14 20:03:01
阅读次数:
246
willMove(toParentViewController:)调用时机调用addChildViewController(_:)以钱会被自动调用调用removeFromParentViewController()之前被手动调用。didMove(toParentViewController:)调用时... ...
分类:
其他好文 时间:
2017-01-14 11:12:55
阅读次数:
164
transtion:属性简写设置4个过渡属性。 transtion-property:规定过渡css属性名称 transtion-duration:规定过渡花费时间。默认为0 transtion-timing-function:规定过渡时间曲线。默认是ease transtion-delay:规定过 ...
分类:
Web程序 时间:
2017-01-12 18:20:05
阅读次数:
210
public void propertyValuesHolderDown(final View view) { PropertyValuesHolder pvhX = PropertyValuesHolder.ofFloat("alpha", 1f, 0.9f, 0.9f, 0.91f, 0.92f... ...
分类:
移动开发 时间:
2017-01-11 14:15:21
阅读次数:
252
具有播放视频,拖拽,自定义右键菜单,上传头像的功能 <!DOCTYPE html><html lang="en"> <head> <meta charset="utf-8"> <title>my videoPodcast</title> <style type="text/css"> *{ marg ...
分类:
Web程序 时间:
2017-01-10 21:08:58
阅读次数:
270
CSS3: 一、transition: <property> <duration> <animation type> <delay> eg: .div{width:10px;} .div:hover{transition:width:100px 2s ease-in-out 1s;}//1s后div ...
分类:
Web程序 时间:
2017-01-06 17:00:15
阅读次数:
342
FromVMware:1stCommand:NormalSupportBundle#vm-support–w/vmfs/volumes/storage_location2ndCommand:PerformanceSnapshot#vm-support–p-aPerformanceSnapshot:vsi-d600-i5–w/vmfs/volumes/storage_locationRemark:-d:Duration(Second)-i:Interval(Second)storage_location..
分类:
系统相关 时间:
2017-01-04 17:19:24
阅读次数:
248
//旋转手机重新定位视图 /// /// 重新定位视图 /// /// To interface orientation. /// Duration. public override void WillRotate(UIInterfaceOrientation toInterfaceOrientat... ...
分类:
移动开发 时间:
2017-01-04 10:29:55
阅读次数:
224
1 // UIView.transition 2 3 // 1、可以设置从一个View到另一个View的转场动画 4 // UIView.transition(from: , to: , duration: , options: , completion: Void)?##((Bool) -> Vo... ...
分类:
其他好文 时间:
2017-01-03 20:46:53
阅读次数:
185