diff --git a/tests/CanvasCompare/Android.mk b/tests/CanvasCompare/Android.mk new file mode 100644 index 0000000000000..642c9e918336d --- /dev/null +++ b/tests/CanvasCompare/Android.mk @@ -0,0 +1,28 @@ +# +# Copyright (C) 2012 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_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) + +LOCAL_PACKAGE_NAME := CanvasCompare + +LOCAL_MODULE_TAGS := tests + +LOCAL_JAVA_LIBRARIES := android.test.runner + +include $(BUILD_PACKAGE) diff --git a/tests/CanvasCompare/AndroidManifest.xml b/tests/CanvasCompare/AndroidManifest.xml new file mode 100644 index 0000000000000..1cb8c37a85d6e --- /dev/null +++ b/tests/CanvasCompare/AndroidManifest.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/CanvasCompare/res/drawable/sunset1.jpg b/tests/CanvasCompare/res/drawable/sunset1.jpg new file mode 100644 index 0000000000000..92851f3df9249 Binary files /dev/null and b/tests/CanvasCompare/res/drawable/sunset1.jpg differ diff --git a/tests/CanvasCompare/res/layout/automatic_layout.xml b/tests/CanvasCompare/res/layout/automatic_layout.xml new file mode 100644 index 0000000000000..e049ec0a50007 --- /dev/null +++ b/tests/CanvasCompare/res/layout/automatic_layout.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + diff --git a/tests/CanvasCompare/res/layout/manual_layout.xml b/tests/CanvasCompare/res/layout/manual_layout.xml new file mode 100644 index 0000000000000..1a9288ce1993c --- /dev/null +++ b/tests/CanvasCompare/res/layout/manual_layout.xml @@ -0,0 +1,119 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +