Loading graphics/java/android/renderscript/Float2.java +5 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,11 @@ public class Float2 { public Float2() { } public Float2(float initX, float initY) { x = initX; y = initY; } public float x; public float y; } Loading graphics/java/android/renderscript/Float3.java +5 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,11 @@ import android.util.Log; public class Float3 { public Float3() { } public Float3(float initX, float initY, float initZ) { x = initX; y = initY; z = initZ; } public float x; public float y; Loading graphics/java/android/renderscript/Float4.java +7 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,13 @@ public class Float4 { public Float4() { } public Float4(float initX, float initY, float initZ, float initW) { x = initX; y = initY; z = initZ; w = initW; } public float x; public float y; public float z; Loading libs/rs/java/SceneGraph/Android.mk 0 → 100644 +31 −0 Original line number Diff line number Diff line # # Copyright (C) 2008 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. # ifneq ($(TARGET_SIMULATOR),true) LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) #LOCAL_STATIC_JAVA_LIBRARIES := android.renderscript LOCAL_PACKAGE_NAME := SceneGraph include $(BUILD_PACKAGE) endif libs/rs/java/SceneGraph/AndroidManifest.xml 0 → 100644 +13 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.scenegraph"> <application android:label="SceneGraph"> <activity android:name="SceneGraph" android:theme="@android:style/Theme.Black.NoTitleBar"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest> Loading
graphics/java/android/renderscript/Float2.java +5 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,11 @@ public class Float2 { public Float2() { } public Float2(float initX, float initY) { x = initX; y = initY; } public float x; public float y; } Loading
graphics/java/android/renderscript/Float3.java +5 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,11 @@ import android.util.Log; public class Float3 { public Float3() { } public Float3(float initX, float initY, float initZ) { x = initX; y = initY; z = initZ; } public float x; public float y; Loading
graphics/java/android/renderscript/Float4.java +7 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,13 @@ public class Float4 { public Float4() { } public Float4(float initX, float initY, float initZ, float initW) { x = initX; y = initY; z = initZ; w = initW; } public float x; public float y; public float z; Loading
libs/rs/java/SceneGraph/Android.mk 0 → 100644 +31 −0 Original line number Diff line number Diff line # # Copyright (C) 2008 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. # ifneq ($(TARGET_SIMULATOR),true) LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) #LOCAL_STATIC_JAVA_LIBRARIES := android.renderscript LOCAL_PACKAGE_NAME := SceneGraph include $(BUILD_PACKAGE) endif
libs/rs/java/SceneGraph/AndroidManifest.xml 0 → 100644 +13 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.scenegraph"> <application android:label="SceneGraph"> <activity android:name="SceneGraph" android:theme="@android:style/Theme.Black.NoTitleBar"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest>