封装打包软件打包工具用什么软件打包工具工具有特效多呢

编程工具相关分类
常用装机软件
软件标签:
软件授权:绿色版
更新时间: 13:53:56
软件类型:国产软件
软件大小:6.56 MB
软件语言:简体中文 
应用平台:/XP/Vista/win7/win8
BoxedApp封装器(boxedapp&packer)是一款绿色免费的单文件程序封装打包工具,它能把.exe和.dll&文件(当然可以是其他格式的档案),封装成一个可执行文件,运行的时候只运行生成的可执行文件(.exe)程序就可以了,你也可以说它是一款“exe&捆绑软件”!绿化软件,还有&exe&捆绑等领域还是蛮不错的一款软件。
软件下载   
点击以下链接下载BoxedApp封装器 3.2.3.9绿色版  
高速下载器通道:
其他下载点通道:
相关资源   
?上一软件:
?下一软件:
 华彩软件站的所有软件都经过严格安装检测,如发现有病毒木马或不能下载,请()反馈。
 推荐使用[]等专业工具下载本站软件,可获取最高速的下载速度。
 请尽量使用[]或[]等解压缩工具,这样能确保您下载的软件运行正常。
 若下载的软件压缩包有加密,密码将是
 华彩软件站中所包含的破解版及注册码均搜集自互联网,如果上述行为侵犯到您的权益,敬请通知。
 感谢您对本站的支持,欢迎您加入华彩软件站用户QQ群①(满),QQ群②,进行交流!您当前的位置: -&
本类下载榜
总下载排行
绿色单文件封装工具v1.7绿色版
软件大小:1.72 MB
软件类型:绿色软件 - 编程开发 - 安装制作
软件标签:
软件语言:简体中文
授权方式:免费软件
软件星级:
更新时间: 11:24:07
运行环境:Win9X/WinMe/Win2000/WinXP/Win2003/
下载帮助:
将多文件绿色软件打包成单文件exe程序,支持格式有exe、bat、cmd。
选项说明:
1、DOS 运行:用命令行执行程序,经测试,过杀软提示,也不出现黑窗口;
2、删除环境:程序运行完毕后,自动删除释放的临时文件;
3、UPX 压缩:新打包的程序通过UPX壳压缩;
4、快捷键支持,Shirt+Enter 开始封装,ESC 终止封装;
上一软件:
下一软件:
* 本站提供的软件我们都会尽可能测试再上传,都亲自运行过,同时通过360等杀毒软件的验证,限于能力及系统等问题,无法保证所有软件都没有任何问题,如果您发现链接错误或其它问题,发email到zarong◎告诉我们,谢谢!
* 为了达到最快的下载速度,推荐使用或下载本站软件。为确保正常使用请用最新版来解压本站提供的软件!
* 为了网站可以继续发展下去,在不太影响大家的情况下还请给予点击站内广告。本站所有下载无需点击任何广告即可正常下载,由于部分是FTP下载,限制了同时连接数,因此还请使用下载工具尝试多一会连接时间。如果您发现下载链接错误,请点击谢谢!
* 站内提供的所有软件如包含破解及注册码均是由网上搜集,若无意中侵犯到您的版权利益,通知我们,我们会在收到信息一周内给予配合处理!
* 本站为非营利性站点,所有资源均是网上搜集或私下交流学习之用,任何涉及商业盈利目的均不得使用,否则产生的一切后果将由您自己承担!本站仅仅提供一个观摩学习的环境,将不对任何资源负法律责任。所有资源请在下载后24小时内删除。如果您觉得满意,请购买正版,唯有如此才能更好支持你所喜欢的软件更好发展!本站严厉谴责和鄙夷一切利用本站资源进行牟利的盗版行为!您当前的位置: →
常用工具栏
安装打包封装工具|Inno Setup v5.5.9 汉化优化版
====== [下面软件真实下载地址列表] ======
[版权原因部分软件停止下载] ======
高速下载通道:
inno setup 是一个免费的安装制作软件,小巧、简便、精美是其最大特点,支持pascal脚本,能快速制作出标准windows2000风格的安装界面,足以完成一般安装任务。该软件用delphi写成,其官方网站同时也提供源程序免费下载。它虽不能与installshield这类恐龙级的安装制作软件相比,但也当之无愧算是后起之秀。 可能部分杀毒误报,请用户注意判断....
包含ansi和unicode版本。
加入加密组件iscrypt.dll。
加入inno setup预处理器。(可选择安装)
加入一些辅助工具。(可选择安装)
本站提供安装打包封装工具|Inno Setup v5.5.9 汉化优化版软件免费下载,版权归原作者或公司所有。如有侵权,请与我们联系删除。
* 本站提供的软件我们都会尽可能测试再上传,都亲自运行过,同时通过卡巴斯基杀毒软件的验证,限于能力及系统等问题,无法保证所有软件都没有任何问题,如果您发现链接错误或其它问题,发email到zarong◎告诉我们,谢谢!
* 为了达到最快的下载速度,推荐使用或下载本站软件。为确保正常使用请用最新版来解压本站提供的软件!
* 为了网站可以继续发展下去,在不太影响大家的情况下还请给予点击站内广告。本站所有下载无需点击任何广告即可正常下载,由于部分是FTP下载,限制了同时连接数,因此还请使用下载工具尝试多一会连接时间。如果您发现下载链接错误,请点击谢谢!
* 站内提供的所有软件如包含破解及注册码均是由网上搜集,若无意中侵犯到您的版权利益,通知我们,我们会在收到信息一周内给予配合处理!
* 本站为非营利性站点,所有资源均是网上搜集或私下交流学习之用,任何涉及商业盈利目的均不得使用,否则产生的一切后果将由您自己承担!本站仅仅提供一个观摩学习的环境,将不对任何资源负法律责任。所有资源请在下载后24小时内删除。如果您觉得满意,请购买正版,唯有如此才能更好支持你所喜欢的软件更好发展!本站严厉谴责和鄙夷一切利用本站资源进行牟利的盗版行为!自己打包封装类库以及构成GalleryCoverFlow3D特效程序总结 非常简单
自己打包封装类库以及构成GalleryCoverFlow3D特效程序总结 非常简单
[摘要:本身挨包启拆类库和组成GalleryCoverFlow3D殊效顺序总结 特别很是简略 殊效后果图 注重自界说gallery控件内里xml中 spacing的间距60px,如许图象才方才好 1.项目挨包文件三个 1.GalleryFlow.java 自定]
自己打包封装类库以及构成GalleryCoverFlow3D特效程序总结 非常简单
特效效果图
注意自定义gallery控件里面xml中 spacing的间距60px,这样图像才刚刚好
1.项目打包文件三个
1.GalleryFlow.java 自定义gallery实现图像角度显示
package com.strong.
import android.content.C
import android.graphics.C
import android.graphics.M
import android.util.AttributeS
import android.view.V
import android.view.animation.T
import android.widget.G
import android.widget.ImageV
public class GalleryFlow extends Gallery
&&&& * Graphics Camera used for transforming the matrix of ImageViews
&&& private Camera mCamera = new Camera();
&&&& * The maximum angle the Child ImageView will be rotated by
&&& private int mMaxRotationAngle = 60;
&&&& * The maximum zoom on the centre Child
&&& private int mMaxZoom = -120;
&&&& * The Centre of the Coverflow
&&& private int mCoveflowC
&&& public GalleryFlow(Context context) {
&&&&&&&&&&& super(context);
&&&&&&&&&&& this.setStaticTransformationsEnabled(true);
&&& public GalleryFlow(Context context, AttributeSet attrs) {
&&&&&&&&&&& super(context, attrs);
&&&&&&&&&&& this.setStaticTransformationsEnabled(true);
&&& public GalleryFlow(Context context, AttributeSet attrs, int defStyle) {
&&&&&&&&&&& super(context, attrs, defStyle);
&&&&&&&&&&& this.setStaticTransformationsEnabled(true);
&&&& * Get the max rotational angle of the image
&&&& * @return the mMaxRotationAngle
&&& public int getMaxRotationAngle() {
&&&&&&&&&&& return mMaxRotationA
&&&& * Set the max rotational angle of each image
&&&& * @param maxRotationAngle
&&&& *&&&&&&&&&&& the mMaxRotationAngle to set
&&& public void setMaxRotationAngle(int maxRotationAngle) {
&&&&&&&&&&& mMaxRotationAngle = maxRotationA
&&&& * Get the Max zoom of the centre image
&&&& * @return the mMaxZoom
&&& public int getMaxZoom() {
&&&&&&&&&&& return mMaxZ
&&&& * Set the max zoom of the centre image
&&&& * @param maxZoom
&&&& *&&&&&&&&&&& the mMaxZoom to set
&&& public void setMaxZoom(int maxZoom) {
&&&&&&&&&&& mMaxZoom = maxZ
&&&& * Get the Centre of the Coverflow
&&&& * @return The centre of this Coverflow.
&&& private int getCenterOfCoverflow() {
&&&&&&&&&&& return (getWidth() - getPaddingLeft() - getPaddingRight()) / 2
&&&&&&&&&&&&&&&&&&&&&&&&&&& + getPaddingLeft();
&&&& * Get the Centre of the View
&&&& * @return The centre of the given view.
&&& private static int getCenterOfView(View view) {
&&&&&&&&&&& return view.getLeft() + view.getWidth() / 2;
&&&& * {@inheritDoc}
&&&& * @see #setStaticTransformationsEnabled(boolean)
&&& protected boolean getChildStaticTransformation(View child, Transformation t) {
&&&&&&&&&&& final int childCenter = getCenterOfView(child);
&&&&&&&&&&& final int childWidth = child.getWidth();
&&&&&&&&&&& int rotationAngle = 0;
&&&&&&&&&&& t.clear();
&&&&&&&&&&& t.setTransformationType(Transformation.TYPE_MATRIX);
&&&&&&&&&&& if (childCenter == mCoveflowCenter) {
&&&&&&&&&&&&&&&&&&& transformImageBitmap((ImageView) child, t, 0);
&&&&&&&&&&& } else {
&&&&&&&&&&&&&&&&&&& rotationAngle = (int) (((float) (mCoveflowCenter - childCenter) / childWidth) * mMaxRotationAngle);
&&&&&&&&&&&&&&&&&&& if (Math.abs(rotationAngle) & mMaxRotationAngle) {
&&&&&&&&&&&&&&&&&&&&&&&&&&& rotationAngle = (rotationAngle & 0) ? -mMaxRotationAngle
&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&: mMaxRotationA
&&&&&&&&&&&&&&&&&&& }
&&&&&&&&&&&&&&&&&&& transformImageBitmap((ImageView) child, t, rotationAngle);
&&&&&&&&&&& }
&&&&&&&&&&&
&&&& * This is called during layout when the size of this view has changed. If
&&&& * you were just added to the view hierarchy, you're called with the old
&&&& * values of 0.
&&&& * @param w
&&&& *&&&&&&&&&&& Current width of this view.
&&&& * @param h
&&&& *&&&&&&&&&&& Current height of this view.
&& &&* @param oldw
&&&& *&&&&&&&&&&& Old width of this view.
&&&& * @param oldh
&&&& *&&&&&&&&&&& Old height of this view.
&&& protected void onSizeChanged(int w, int h, int oldw, int oldh) {
&&&&&&&&&&& mCoveflowCenter = getCenterOfCoverflow();
&&&& &&&&&&&super.onSizeChanged(w, h, oldw, oldh);
&&&& * Transform the Image Bitmap by the Angle passed
&&&& * @param imageView
&&&& *&&&&&&&&&&& ImageView the ImageView whose bitmap we want to rotate
&&&& * @param t
&&&& *&&&&&&&&&&& transformation
&&&& * @param rotationAngle
&&&& *&&&&&&&&&&& the Angle by which to rotate the Bitmap
&&& private void transformImageBitmap(ImageView child, Transformation t,
&&&&&&&&&&&&&&&&&&& int rotationAngle) {
&&&&&&&&&&& mCamera.save();
&&&&&& &&&&&final Matrix imageMatrix = t.getMatrix();
&&&&&&&&&&& final int imageHeight = child.getLayoutParams().
&&&&&&&&&&& final int imageWidth = child.getLayoutParams().
&&&&&&&&&&& final int rotation = Math.abs(rotationAngle);
&&&&&&&&&&& // 鍦╖杞翠笂姝e悜绉诲姩camera鐨勮?瑙掞紝瀹為檯鏁堟灉涓烘斁澶у浘鐗囥?
&&&&&&&&&&& // 濡傛灉鍦╕杞翠笂绉诲姩锛屽垯鍥剧墖涓婁笅绉诲姩锛沊杞翠笂瀵瑰簲鍥剧墖宸﹀彸绉诲姩銆?
&&&&&&&&&&& mCamera.translate(0.0f, 0.0f, 100.0f);
&&&&&&&&&&& // As the angle of the view gets less, zoom in
&&&&&&&&&&& if (rotation & mMaxRotationAngle) {
&&&&&&&&&&&&&&&&&&& float zoomAmount = (float) (mMaxZoom + (rotation * 1.5));
&&&&&&&&&&&&&&&&&&& mCamera.translate(0.0f, 0.0f, zoomAmount);
&&&&&&&&&&& }
&&&&&&&&&&& // 鍦╕杞翠笂鏃嬭浆锛屽?搴斿浘鐗囩珫鍚戝悜閲岀炕杞??
&&&&&&&&&&& // 濡傛灉鍦╔杞翠笂鏃嬭浆锛屽垯瀵瑰簲鍥剧墖妯?悜鍚戦噷缈昏浆銆?
&&&&&&&&&&& mCamera.rotateY(rotationAngle);
&&&&&&&&&&& mCamera.getMatrix(imageMatrix);
&&&&&&&&&&& imageMatrix.preTranslate(-(imageWidth / 2), -(imageHeight / 2));
&&&&&&&&&&& imageMatrix.postTranslate((imageWidth / 2), (imageHeight / 2));
&&&&&&&&&&& mCamera.restore();
ImageAdapter.java& BaseAdapter 自定义Gallery图片切换特效 角度
package com.strong.
import android.content.C
import android.graphics.B
import android.graphics.Bitmap.C
import android.graphics.BitmapF
import android.graphics.C
import android.graphics.LinearG
import android.graphics.M
import android.graphics.P
import android.graphics.PorterDuff.M
import android.graphics.PorterDuffX
import android.graphics.Shader.TileM
import android.view.V
import android.view.ViewG
import android.widget.BaseA
import android.widget.G
import android.widget.ImageV
public class ImageAdapter extends BaseAdapter
&&&&&&&& int mGalleryItemB
&&&&&&&& private Context mC
&&&&&&&& private int[] mImageI
&&&&&&&& private ImageView[] mI
public ImageAdapter(Context c, int[] ImageIds)
&&&&&&&& {
&&&&&&&&&&&&&&&&&& mContext =
&&&&&&&&&&&&&&&&&& mImageIds = ImageI
&&&&&&&&&&&&&&&&&& mImages = new ImageView[mImageIds.length];
public boolean createReflectedImages()
&&&&&&&& {
&&&&&&&& // The gap we want between the reflection and the original image
&&&&&&&& final int reflectionGap = 4;
&&&&&&&& int index = 0;
&&&&&&&& for (int imageId : mImageIds)
&&&&&&&&&&&&&&&&&& {
&&&&&&&&&&&&&&&&&&&&&&&&&&& Bitmap originalImage = BitmapFactory.decodeResource(mContext.getResources(), imageId);
&&&&&&&&&&&&&&&&&&&&&&&&&&& int width = originalImage.getWidth();
&&&&&&&&&&&&&&&&&&&&&&&&&&& int height = originalImage.getHeight();
&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&& // This will not scale but will flip on the Y axis
&&&&&&&&&&&&&&&&&&&&&&&&&&& Matrix matrix = new Matrix();
&&&&&&&&&&&&&&&&&&&&&&&&&&& matrix.preScale(1, -1);
&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&& // Create a Bitmap with the flip matrix applied to it.
&&&&&&&&&&&&&&&&&&&&&&&&&&& // We only want the bottom half of the image
&&&&&&&&&&&&&&&&&&&&&&&&&&& Bitmap reflectionImage = Bitmap.createBitmap(originalImage, 0,
&&&&&&&&&&&&&&&&&&&&&&&&&&& height / 2, width, height / 2, matrix, false);
&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&& // Create a new bitmap with same width but taller to fit
&&&&&&&&&&&&&&&&&&&&&&&&&&& // reflection
&&&&&&&&&&&&&&&&&&&&&&&&&&& Bitmap bitmapWithReflection = Bitmap.createBitmap(width,
&&&&&&&&&&&&&&&&&&&&&&&&&&& (height + height / 2), Config.ARGB_8888);
&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&& // Create a new Canvas with the bitmap that's big enough for
&&&&&&&&&&&&&&&&&&&&&&&&&&& // the image plus gap plus reflection
&&&&&&&&&&&&&&&&&&&&&&&&&&& Canvas canvas = new Canvas(bitmapWithReflection);
&&&&&&&&&&&&&&&&&&&&&&&&&&& // Draw in the original image
&&&&&&&&&&&&&&&&&&&&&&&&&&& canvas.drawBitmap(originalImage, 0, 0, null);
&&&&&&&&&&&&&&&&&&&&&&&&&&& // Draw in the gap
&&&&&&&&&&&&&&&&&&&&&&&&&&& Paint deafaultPaint = new Paint();
&&&&&&&&&&&&&&&&&&&&&&&&&&& canvas.drawRect(0, height, width, height + reflectionGap,
&&&&&&&&&&&&&&&&&&&&&&&&&&& deafaultPaint);
&&&&&&&&&&&&&&&&&&&&&&&&&&& // Draw in the reflection
&&&&&&&&&&&&&&&&&&&&&&&&&&& canvas.drawBitmap(reflectionImage, 0, height + reflectionGap,
&&&&&&&&&&&&&&&&&&&&&&&&&&& null);
&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&& // Create a shader that is a linear gradient that covers the
&&&&&&&&&&&&&&&&&&&&&&&&&&& // reflection
&&&&&&&&&&&&&&&&&&&&&&&&&&& Paint paint = new Paint();
&&&&&&&&&&&&&&&&&&&&&&&&&&& LinearGradient shader = new LinearGradient(0,
&&&&&&&&&&&&&&&&&&&&&&&&&&& originalImage.getHeight(), 0,
&&&&&&&&&&&&&&&&&&&&&&&&&&& bitmapWithReflection.getHeight() + reflectionGap,0x70ffffff, 0x00ffffff, TileMode.CLAMP);
&&&&&&&&&&&&&&&&&&&&&&&&&&& // Set the paint to use this shader (linear gradient)
&&&&&&&&&&&&&&&&&&&&&&&&&&& paint.setShader(shader);
&&&&&&&&&&&&&&&&&&&&&&&&&&& // Set the Transfer mode to be porter duff and destination in
&&&&&&&&&&&&&&&&&&&&&&&&&&& paint.setXfermode(new PorterDuffXfermode(Mode.DST_IN));
&&&&&&&&&&&&&&&&&&&&&&&&&&& // Draw a rectangle using the paint with our linear gradient
&&&&&&&&&&&&&&&&&&&&&&&&&&& canvas.drawRect(0, height, width,
&&&&&&&&&&&&&&&&&&&&&&&&&&& bitmapWithReflection.getHeight() + reflectionGap, paint);
&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&& ImageView imageView = new ImageView(mContext);
&&&&&&&&&&&&&&&&&&&&&&&&&&& imageView.setImageBitmap(bitmapWithReflection);
&&&&&&&&&&&&&&&&&&&&&&&&&&& imageView.setLayoutParams(new Gallery.LayoutParams(160, 240));
&&&&&&&&&&&&&&&&&&&&&&&&&&& // imageView.setScaleType(ScaleType.MATRIX);
&&&&&&&&&&&&&&&&&&&&&&&&&&& mImages[index++] = imageV
&&&&&&&& && }
public int getCount() {
return Integer.MAX_VALUE;
public Object getItem(int position) {
public long getItemId(int position) {
public View getView(int position, View convertView, ViewGroup parent)
&&&&&&&& {
&&&& return mImages[position%mImageIds.length];
* Returns the size (0.0f to 1.0f) of the views depending on the
* 'offset' to the center.
public float getScale(boolean focused, int offset)
&&&&&&&& {
&&&&&&&&&& /* Formula: 1 / (2 ^ offset) */
&&&&&&&&&& return Math.max(0, 1.0f / (float) Math.pow(2, Math.abs(offset)));
ReflectedImage.java&& 倒影淡化功能
package com.strong.
import android.graphics.B
import android.graphics.C
import android.graphics.LinearG
import android.graphics.M
import android.graphics.P
import android.graphics.PixelF
import android.graphics.PorterDuffX
import android.graphics.Bitmap.C
import android.graphics.PorterDuff.M
import android.graphics.Shader.TileM
import android.graphics.drawable.D
//处理图像,并且在图像翻转下面产生透明度不等的倒影
public class ReflectedImage {
&&&&&&&& /**
&&&&&&&& &* 添加倒影,原理,先翻转图片,由上到下放大透明度
&&&&&&&& &*
&&&&&&&& &* @param originalImage
&&&&&&&& &* @return
&&&&&&&& &*/
&&&&&&&& public static Bitmap createReflectedImage(Bitmap originalImage) {
&&&&&&&&&&&&&&&&&& // The gap we want between the reflection and the original image
&&&&&&&&&&&&&&&&&& final int reflectionGap = 4;
&&&&&&&&&&&&&&&&&& int width = originalImage.getWidth();
&&&&&&&&&&&&&&&&&& int height = originalImage.getHeight();
&&&&&&&&&&&&&&&&&& // This will not scale but will flip on the Y axis
&&&&&&&&&&&&&&&&&& Matrix matrix = new Matrix();
&&&&&&&&&&&&&&&&&& matrix.preScale(1, -1);
&&&&&&&&&&&&&&&&&& // Create a Bitmap with the flip matrix applied to it.
&&&&&&&&&&&&&&&&&& // We only want the bottom half of the image
&&&&&&&&&&&&&&&&&& Bitmap reflectionImage = Bitmap.createBitmap(originalImage, 0,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& height / 2, width, height / 2, matrix, false);
&&&&&&&&&&&&&&&&&& // Create a new bitmap with same width but taller to fit reflection
&&&&&&&&&&&&&&&&&& Bitmap bitmapWithReflection = Bitmap.createBitmap(width,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& (height + height / 2), Config.ARGB_8888);
&&&&&&&&&&&&&&&&&& // Create a new Canvas with the bitmap that's big enough for
&&&&&&&&&&&&&&&&&& // the image plus gap plus reflection
&&&&&&&&&&&&&&&&&& Canvas canvas = new Canvas(bitmapWithReflection);
&&&&&&&&&&&&&&&&&& // Draw in the original image
&&&&&&&&&&&&&&&&&& canvas.drawBitmap(originalImage, 0, 0, null);
&&&&&&&&&&&&&&&&&& // Draw in the gap
&&&&&&&&&&&&&&&&&& Paint defaultPaint = new Paint();
&&&&&&&&&&&&&&&&&& canvas.drawRect(0, height, width, height + reflectionGap, defaultPaint);
&&&&&&&&&&&&&&&&&& // Draw in the reflection
&&&&&&&&&&&&&&&&&& canvas.drawBitmap(reflectionImage, 0, height + reflectionGap, null);
&&&&&&&&&&&&&&&&&& // Create a shader that is a linear gradient that covers the reflection
&&&&&&&&&&&&&&&&&& Paint paint = new Paint();
&&&&&&&&&&&&&&&&&& LinearGradient shader = new LinearGradient(0,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& originalImage.getHeight(), 0, bitmapWithReflection.getHeight()
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& + reflectionGap, 0x70ffffff, 0x00ffffff, TileMode.CLAMP);
&&&&&&&&&&&&&&&&&& // Set the paint to use this shader (linear gradient)
&&&&&&&&&&&&&&&&&& paint.setShader(shader);
&&&&&&&&&&&&&&&&&& // Set the Transfer mode to be porter duff and destination in
&&&&&&&&&&&&&&&&&& paint.setXfermode(new PorterDuffXfermode(Mode.DST_IN));
&&&&&&&&&&&&&&&&&& // Draw a rectangle using the paint with our linear gradient
&&&&&&&&&&&&&&&&&& canvas.drawRect(0, height, width, bitmapWithReflection.getHeight()
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& + reflectionGap, paint);
&&&&&&&&&&&&&&&&&& return bitmapWithR
&&&&&&&& }
&&&&&&&& //drawable 类型转化为bitmap
&&&&&&&& public static Bitmap drawableToBitmap(Drawable drawable) {
&&&&&&&&&&&&&&&&&& Bitmap bitmap = Bitmap
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& .createBitmap(
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& drawable.getIntrinsicWidth(),
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& drawable.getIntrinsicHeight(),
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& drawable.getOpacity() != PixelFormat.OPAQUE ? Bitmap.Config.ARGB_8888
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& : Bitmap.Config.RGB_565);
&&&&&&&&&&&&&&&&&& Canvas canvas = new Canvas(bitmap);
&&&&&&&&&&&&&&&&&& // canvas.setBitmap(bitmap);
&&&&&&&&&&&&&&&&&& drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& .getIntrinsicHeight());
&&&&&&&&&&&&&&&&&& drawable.draw(canvas);
&&&&&&&&&&&&&&&&&&
&&&&&&&& }
主函数调用
package com.m
import com.strong.graphics.GalleryF
import com.strong.graphics.ImageA
import android.app.A
import android.os.B
import android.widget.G
public class MainActivity extends Activity
&&& int []resIds =
&&&&&&&&&& {
&&&&&&&&&&&&&&&&& R.drawable.image001,R.drawable.image002,R.drawable.image003,
&&&&&&&&&&&&&&&&& R.drawable.image004,R.drawable.image005,R.drawable.image006,
&&&&&&&&&&&&&&&&& R.drawable.image007,R.drawable.image008,R.drawable.image009,
&&&&&&&&&&&&&&&&& R.drawable.image010};
&&& GalleryFlow&&& galleryFlow&&& =
&&& ImageAdapter imageAdapter =
&&& @Override
&&& public void onCreate(Bundle savedInstanceState)
&&&&&&& super.onCreate(savedInstanceState);
&&&&&&& setContentView(R.layout.main);
&&&&&& //1.找到控件位置
&&&&&&& galleryFlow = (GalleryFlow)(findViewById(R.id.gallery));
&&&&&&& //2.初始化对象
&&&&&&& imageAdapter = new ImageAdapter(this, resIds);
&&&&&&& //3.创建倒影
&&&&&&& imageAdapter.createReflectedImages();
&&&&& //4.设置映射
&&&&&&& galleryFlow.setAdapter(imageAdapter);
1.导入android.jar 自定义特效包
2.定义Gallery xml文件中 一定要用子类 com.strong.graphics.galleryflow 否则父类Gallery不能向子类造型 会出现错误
感谢关注 Ithao123Android频道,是专门为互联网人打造的学习交流平台,全面满足互联网人工作与学习需求,更多互联网资讯尽在 IThao123!
Laravel是一套简洁、优雅的PHP Web开发框架(PHP Web Framework)。它可以让你从面条一样杂乱的代码中解脱出来;它可以帮你构建一个完美的网络APP,而且每行代码都可以简洁、富于表达力。
Hadoop是一个由Apache基金会所开发的分布式系统基础架构。
用户可以在不了解分布式底层细节的情况下,开发分布式程序。充分利用集群的威力进行高速运算和存储。
Hadoop实现了一个分布式文件系统(Hadoop Distributed File System),简称HDFS。HDFS有高容错性的特点,并且设计用来部署在低廉的(low-cost)硬件上;而且它提供高吞吐量(high throughput)来访问应用程序的数据,适合那些有着超大数据集(large data set)的应用程序。HDFS放宽了(relax)POSIX的要求,可以以流的形式访问(streaming access)文件系统中的数据。
Hadoop的框架最核心的设计就是:HDFS和MapReduce。HDFS为海量的数据提供了存储,则MapReduce为海量的数据提供了计算。
产品设计是互联网产品经理的核心能力,一个好的产品经理一定在产品设计方面有扎实的功底,本专题将从互联网产品设计的几个方面谈谈产品设计
随着国内互联网的发展,产品经理岗位需求大幅增加,在国内,从事产品工作的大部分岗位为产品经理,其实现实中,很多从事产品工作的岗位是不能称为产品经理,主要原因是对产品经理的职责不明确,那产品经理的职责有哪些,本专题将详细介绍产品经理的主要职责
IThao123周刊

我要回帖

更多关于 软件打包工具 的文章

 

随机推荐