diff options
author | John Reck <jreck@google.com> | 2017-11-06 15:58:25 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2017-11-06 15:58:25 -0800 |
commit | fe38ceab322b44425f7ad2231a1d88b785174a5a (patch) | |
tree | f839d40597477cfaa359327187d67ed1d221f0ee /tests/UiBench | |
parent | 4a76a3f32ad3cedb5bad5353f4c69ece9e83b4a4 (diff) |
Add wide gamut trivial animation to UIBench
Test: Opened activity, verified SF in wide gamut
Bug: 67382861
Change-Id: I0754580fcbd53600d677757871d26548f273c46b
Diffstat (limited to 'tests/UiBench')
-rw-r--r-- | tests/UiBench/AndroidManifest.xml | 9 | ||||
-rw-r--r-- | tests/UiBench/src/com/android/test/uibench/TrivialAnimationActivityWideGamut.java | 18 |
2 files changed, 27 insertions, 0 deletions
diff --git a/tests/UiBench/AndroidManifest.xml b/tests/UiBench/AndroidManifest.xml index f2de7db936e1..c6b4a54f3b0b 100644 --- a/tests/UiBench/AndroidManifest.xml +++ b/tests/UiBench/AndroidManifest.xml @@ -92,6 +92,15 @@ </intent-filter> </activity> <activity + android:name=".TrivialAnimationActivityWideGamut" + android:label="General/Trivial Animation (Wide Gamut)" + android:colorMode="wideColorGamut"> + <intent-filter> + <action android:name="android.intent.action.MAIN" /> + <category android:name="com.android.test.uibench.TEST" /> + </intent-filter> + </activity> + <activity android:name=".TrivialListActivity" android:label="General/Trivial ListView" > <intent-filter> diff --git a/tests/UiBench/src/com/android/test/uibench/TrivialAnimationActivityWideGamut.java b/tests/UiBench/src/com/android/test/uibench/TrivialAnimationActivityWideGamut.java new file mode 100644 index 000000000000..c492753d8b7a --- /dev/null +++ b/tests/UiBench/src/com/android/test/uibench/TrivialAnimationActivityWideGamut.java @@ -0,0 +1,18 @@ +/* + * Copyright (C) 2017 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. + */ +package com.android.test.uibench; + +public class TrivialAnimationActivityWideGamut extends TrivialAnimationActivity { } |