diff options
author | Dake Gu <dake@google.com> | 2017-09-13 14:23:59 -0700 |
---|---|---|
committer | Dake Gu <dake@google.com> | 2017-09-20 17:42:03 -0700 |
commit | bec4a06812a665ba21e3e0bff26ea41225b6c5a2 (patch) | |
tree | 6c5a1f86fc2dd43e593d5bff0edc6da8265771e6 /rs/java/android/renderscript/ProgramRaster.java | |
parent | f4a484064bd015c3762f06b4563c5fc34586f2c5 (diff) |
hwuitest: added hwui test for TV application
This is a test that simulates a standard TV application screen.
The UI elements:
A full screen background bitmap.
Few rows of cards.
Each card has a bitmap and an info area.
Info area has two lines text.
Each card is dimmed, implemented in two modes:
1. adding translucent color RenderNode on top of card
2. applying ColorFilter to bitmap.
Firt card of each row is scaled up and has shadow.
The animations:
Cards are updating translation Y and updating display list
and overlay color alpha or colorfilter.
Test: there are four tests:
tvapp: baseline test, with rounded corner, use Color RenderNode to dim
tvapp_norc: no rounded corner
tvapp_cf: use colorfilter to dim
tvapp_norc_cf: no rounded corner, use colorfilter to dim
Bug: 64990221
Change-Id: I385e349386c41e32b7313180db8c81b8f3e39f88
Diffstat (limited to 'rs/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions