diff --git a/samples/RenderScript/Levels/Android.mk b/samples/RenderScript/Levels/Android.mk new file mode 100644 index 000000000..dc7a412f3 --- /dev/null +++ b/samples/RenderScript/Levels/Android.mk @@ -0,0 +1,26 @@ +# +# 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. +# + +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_PACKAGE_NAME := LevelsRS + +include $(BUILD_PACKAGE) diff --git a/samples/RenderScript/Levels/AndroidManifest.xml b/samples/RenderScript/Levels/AndroidManifest.xml new file mode 100644 index 000000000..393daba6f --- /dev/null +++ b/samples/RenderScript/Levels/AndroidManifest.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/samples/RenderScript/Levels/res/drawable-nodpi/city.png b/samples/RenderScript/Levels/res/drawable-nodpi/city.png new file mode 100644 index 000000000..856eeff59 Binary files /dev/null and b/samples/RenderScript/Levels/res/drawable-nodpi/city.png differ diff --git a/samples/RenderScript/Levels/res/layout/main.xml b/samples/RenderScript/Levels/res/layout/main.xml new file mode 100644 index 000000000..254129ef4 --- /dev/null +++ b/samples/RenderScript/Levels/res/layout/main.xml @@ -0,0 +1,140 @@ + + + + + + + + + +