diff options
author | Xavier Ducrohet <xav@google.com> | 2013-11-14 18:18:11 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@google.com> | 2013-12-03 17:24:06 -0800 |
commit | c4f572d8dd9664c63a04f48a99b79acfb9513de9 (patch) | |
tree | f768becf4a13dd287f20d0915572d978e0b8cb91 /tests/ndkRsHelloCompute/src/main/res | |
parent | 260a78f1e975b117a71fcc4b287198cb38d44293 (diff) | |
download | build-c4f572d8dd9664c63a04f48a99b79acfb9513de9.tar.gz |
Renderscript NDK mode support.
This is a work in progress.
Change-Id: I5c31a07f12b672e29874e173ee3047a1c7775379
Diffstat (limited to 'tests/ndkRsHelloCompute/src/main/res')
-rw-r--r-- | tests/ndkRsHelloCompute/src/main/res/drawable/data.jpg | bin | 0 -> 76367 bytes | |||
-rw-r--r-- | tests/ndkRsHelloCompute/src/main/res/layout/main.xml | 31 |
2 files changed, 31 insertions, 0 deletions
diff --git a/tests/ndkRsHelloCompute/src/main/res/drawable/data.jpg b/tests/ndkRsHelloCompute/src/main/res/drawable/data.jpg Binary files differnew file mode 100644 index 0000000..81a87b1 --- /dev/null +++ b/tests/ndkRsHelloCompute/src/main/res/drawable/data.jpg diff --git a/tests/ndkRsHelloCompute/src/main/res/layout/main.xml b/tests/ndkRsHelloCompute/src/main/res/layout/main.xml new file mode 100644 index 0000000..7b2c76a --- /dev/null +++ b/tests/ndkRsHelloCompute/src/main/res/layout/main.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2013 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. +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <ImageView + android:id="@+id/displayin" + android:layout_width="320dip" + android:layout_height="266dip" /> + + <ImageView + android:id="@+id/displayout" + android:layout_width="320dip" + android:layout_height="266dip" /> + +</LinearLayout> |