summaryrefslogtreecommitdiffstats
path: root/tests/HwAccelerationTest/res/layout/text_fade.xml
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-07-28 15:39:12 -0700
committerRomain Guy <romainguy@google.com>2011-07-28 15:40:47 -0700
commitb50149825fae95b2918bcf67b2ddb773b9797068 (patch)
tree0a7e7b7deda72360adfabed3bc7d64eeccc7311c /tests/HwAccelerationTest/res/layout/text_fade.xml
parenta7ffaee29892cc38ae2327017b6670adafef711b (diff)
downloadframeworks_base-b50149825fae95b2918bcf67b2ddb773b9797068.zip
frameworks_base-b50149825fae95b2918bcf67b2ddb773b9797068.tar.gz
frameworks_base-b50149825fae95b2918bcf67b2ddb773b9797068.tar.bz2
Correctly apply linear filter to drawBitmap(Rect, Rect)
Change-Id: I1049282e1996b1020c92cb7bec46e9f28e94e967
Diffstat (limited to 'tests/HwAccelerationTest/res/layout/text_fade.xml')
-rw-r--r--tests/HwAccelerationTest/res/layout/text_fade.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/HwAccelerationTest/res/layout/text_fade.xml b/tests/HwAccelerationTest/res/layout/text_fade.xml
new file mode 100644
index 0000000..8da2204
--- /dev/null
+++ b/tests/HwAccelerationTest/res/layout/text_fade.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 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.
+-->
+
+<FrameLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <TextView
+ android:id="@+id/contact_tile_name"
+ android:layout_width="105dip"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true"
+ android:layout_marginLeft="8dip"
+ android:layout_marginBottom="20dip"
+ android:textColor="@android:color/white"
+ android:singleLine="true"
+ android:ellipsize="marquee"
+ android:fadingEdgeLength="16sp"
+ android:fadingEdge="horizontal"
+ android:text="This is a really really really really really really long string"
+ android:textSize="16sp" />
+
+</FrameLayout>