From 54229ee5eb92e3e2fc63d75353bcf09e0ebc8030 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Tue, 1 Feb 2011 13:05:16 -0800 Subject: Correctly set the alpha of a hardware layer before drawing it. Bug #3410819 Change-Id: I3ebaca2233f4edf5b59d84ec7706555056a1a4b1 --- tests/HwAccelerationTest/AndroidManifest.xml | 9 ++ .../res/layout/view_layers_4.xml | 48 +++++++++ .../com/android/test/hwui/ViewLayersActivity4.java | 115 +++++++++++++++++++++ 3 files changed, 172 insertions(+) create mode 100644 tests/HwAccelerationTest/res/layout/view_layers_4.xml create mode 100644 tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity4.java (limited to 'tests/HwAccelerationTest') diff --git a/tests/HwAccelerationTest/AndroidManifest.xml b/tests/HwAccelerationTest/AndroidManifest.xml index 2895b69..2db4417 100644 --- a/tests/HwAccelerationTest/AndroidManifest.xml +++ b/tests/HwAccelerationTest/AndroidManifest.xml @@ -78,6 +78,15 @@ + + + + + + + + + + + + + +