91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

Android4.4原生動態壁紙源碼: Basic、Galaxy4、HoloSpiral、LivePicker、MagicSmoke、MusicVisualization、NoiseField、PhaseBeam

資源截圖

代碼片段和文件信息

/*
?*?Copyright?(C)?2009?The?Android?Open?Source?Project
?*
?*?Licensed?under?the?Apache?License?Version?2.0?(the?“License“);
?*?you?may?not?use?this?file?except?in?compliance?with?the?License.
?*?You?may?obtain?a?copy?of?the?License?at
?*
?*??????http://www.apache.org/licenses/LICENSE-2.0
?*
?*?Unless?required?by?applicable?law?or?agreed?to?in?writing?software
?*?distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS
?*?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?express?or?implied.
?*?See?the?License?for?the?specific?language?governing?permissions?and
?*?limitations?under?the?License.
?*/


package?com.android.wallpaper;

import?android.content.res.Resources;
import?android.os.Bundle;
import?android.renderscript.RenderscriptGL;
import?android.renderscript.scriptC;

public?abstract?class?RenderscriptScene?{
????protected?int?mWidth;
????protected?int?mHeight;
????protected?boolean?mPreview;
????protected?Resources?mResources;
????protected?RenderscriptGL?mRS;
????protected?scriptC?mscript;

????public?RenderscriptScene(int?width?int?height)?{
????????mWidth?=?width;
????????mHeight?=?height;
????}

????public?void?init(RenderscriptGL?rs?Resources?res?boolean?isPreview)?{
????????mRS?=?rs;
????????mResources?=?res;
????????mPreview?=?isPreview;
????????mscript?=?createscript();
????}

????public?boolean?isPreview()?{
????????return?mPreview;
????}

????public?int?getWidth()?{
????????return?mWidth;
????}

????public?int?getHeight()?{
????????return?mHeight;
????}

????public?Resources?getResources()?{
????????return?mResources;
????}

????public?RenderscriptGL?getRS()?{
????????return?mRS;
????}

????public?scriptC?getscript()?{
????????return?mscript;
????}

????protected?abstract?scriptC?createscript();

????public?void?stop()?{
????????mRS.bindRootscript(null);
????}

????public?void?start()?{
????????mRS.bindRootscript(mscript);
????}

????public?void?resize(int?width?int?height)?{
????????mWidth?=?width;
????????mHeight?=?height;
????}

????@SuppressWarnings({“UnusedDeclaration“})
????public?void?setOffset(float?xOffset?float?yOffset?int?xPixels?int?yPixels)?{
????}

????@SuppressWarnings({“UnusedDeclaration“})
????public?Bundle?onCommand(String?action?int?x?int?y?int?z?Bundle?extras
????????????boolean?resultRequested)?{
????????return?null;
????}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-12-23?10:21??Basic\
?????目錄???????????0??2014-04-11?08:44??Basic\.git\
?????文件?????????305??2014-03-07?16:21??Basic\.git\config
?????文件??????????73??2013-12-14?21:06??Basic\.git\description
?????文件??????????20??2014-03-07?16:21??Basic\.git\HEAD
?????目錄???????????0??2014-06-03?08:43??Basic\.git\hooks\
?????文件????????1646??2013-12-14?15:40??Basic\.git\hooks\pre-auto-gc
?????文件???????14232??2014-03-07?16:21??Basic\.git\index
?????目錄???????????0??2013-12-14?21:06??Basic\.git\info\
?????文件?????????240??2013-12-14?21:06??Basic\.git\info\exclude
?????目錄???????????0??2014-03-07?16:21??Basic\.git\logs\
?????文件?????????190??2014-03-07?16:21??Basic\.git\logs\HEAD
?????目錄???????????0??2014-03-07?16:21??Basic\.git\logs\refs\
?????目錄???????????0??2014-03-07?16:21??Basic\.git\logs\refs\heads\
?????文件?????????182??2014-03-07?16:21??Basic\.git\logs\refs\heads\jwd
?????目錄???????????0??2013-12-14?21:07??Basic\.git\logs\refs\remotes\
?????目錄???????????0??2013-12-14?21:07??Basic\.git\logs\refs\remotes\m\
?????文件?????????338??2013-12-23?10:18??Basic\.git\logs\refs\remotes\m\android-4.4
?????目錄???????????0??2013-12-14?21:06??Basic\.git\objects\
?????目錄???????????0??2013-12-14?21:06??Basic\.git\objects\info\
?????目錄???????????0??2013-12-14?21:07??Basic\.git\objects\pack\
?????文件???????72948??2013-12-14?21:07??Basic\.git\objects\pack\pack-12c47968924d1ec4f37fbb37b7f0f035ce64f5e4.idx
?????文件?????4403805??2013-12-14?21:07??Basic\.git\objects\pack\pack-12c47968924d1ec4f37fbb37b7f0f035ce64f5e4.pack
?????文件?????????246??2013-12-14?21:07??Basic\.git\packed-refs
?????目錄???????????0??2013-12-14?21:07??Basic\.git\refs\
?????目錄???????????0??2014-03-07?16:21??Basic\.git\refs\heads\
?????文件??????????41??2014-03-07?16:21??Basic\.git\refs\heads\jwd
?????目錄???????????0??2013-12-14?21:07??Basic\.git\refs\remotes\
?????目錄???????????0??2013-12-23?10:18??Basic\.git\refs\remotes\m\
?????文件??????????32??2013-12-23?10:18??Basic\.git\refs\remotes\m\android-4.4
?????目錄???????????0??2013-12-14?21:07??Basic\.git\refs\tags\
............此處省略1675個文件信息

評論

共有 條評論