码迷,mamicode.com
首页 >  
搜索关键字:direction    ( 1061个结果
AudioManager类:调节系统各种音量
效果图:方法解析:增大/降低音量值public void adjustStreamVolume(int streamType, int direction, int flags)设置音量值public void setStreamVolume(int streamType, int index, int flags)参数介绍streamType是需要调整音量的类型,可以是: ST...
分类:其他好文   时间:2015-11-24 21:16:36    阅读次数:150
ViewPager如下效果你研究过吗
1:ViewPager实现欢迎页面动画效果ViewPager实现欢迎页面动画滑动切换view效果,页面切换添加优美的动画,//主要代码实现publicvoidanimateSecondScreenClock(floatposition){if(mCurrentDirection==Path.Direction.CCW){mCurrentDirection=Path.Direction.CW..
分类:其他好文   时间:2015-11-23 14:59:13    阅读次数:162
【在网页中添加滚动文字】
在网页中添加滚动文字 你是一只猪direction设置滚动的方向:从右向左滚动behavior设置滚动的方式:来回滚动scrollamount设置滚动的速度:15loop设置滚动的次数:向左一次,向右一次,向左一次。
分类:Web程序   时间:2015-11-20 01:43:04    阅读次数:177
HDU4452 Running Rabbits
涉及知识点:1. direction数组。2. 一一映射(哈希)。Running RabbitsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): ...
分类:其他好文   时间:2015-11-16 22:45:39    阅读次数:324
8.1.6 弹性盒模型
弹性盒模型注意在使用弹性盒模型的时候 父元素必须要加display: box或display: inline-boxbox-orient 定义盒模型的布局方向(写在父元素上 ) Horizontal 水平显示(默认) vertical 垂直方向box-direction 元素排列顺序(写在父元素.....
分类:其他好文   时间:2015-11-14 20:30:51    阅读次数:246
Sencha Touch 使用笔记
注意: ext中 function(e,target) 有着本质的却别 target为ext对象// 配置滚动条scrollable: { direction: 'vertical', direcitonLock: true },/...
分类:其他好文   时间:2015-11-13 18:55:10    阅读次数:224
(NO.00003)iOS游戏简单的机器人投射游戏成形记(六)
为什么要将手臂移动的代码单独放在一个方法中?其实这里是多次重构之后的版本.原来的移动代码是放在touchMoved方法里的.后来发现除了触摸手臂移动方式外,还要实现触摸屏幕移动手臂这第二种方式. 所以将其提取出来放在一个方法中,后面还会在Arm类的接口中做声明.现在我们暂且不管,单单看这个方法:-(void)moveArm:(MoveDirection)direction{ CCPhysi...
分类:移动开发   时间:2015-11-11 16:41:33    阅读次数:256
(NO.00003)iOS游戏简单的机器人投射游戏成形记(十五)
在Xcode中打开Robot.h文件添加如下2个方法:-(void)moveArm:(MoveDirection)direction; -(void)armShoot;在Robot.m中实现这2个方法:-(void)armShoot{ [_arm armShoot]; }-(void)moveArm:(MoveDirection)direction{ [_arm moveArm:di...
分类:移动开发   时间:2015-11-11 11:45:36    阅读次数:256
poj 1573 Robot Motion
DescriptionA robot has been programmed to follow the instructions in its path. Instructions for the next direction the robot is to move are laid down ...
分类:其他好文   时间:2015-11-10 20:56:40    阅读次数:205
光照——01光照基础
学习笔记适合新手,如有错误请指正。?号处也请各位指点下,谢谢。光照有3个基本组成部分:Intensity(强度)、Color(颜色)、和Direction(方向)新建一个场景》选取Directional Light,属性如下图,我们可以直接设置Intensity和Color,而方向是由光照类型Typ...
分类:其他好文   时间:2015-11-05 00:34:54    阅读次数:293
1061条   上一页 1 ... 87 88 89 90 91 ... 107 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!