summaryrefslogtreecommitdiff
path: root/libs/hwui/tests
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2020-01-14 02:22:28 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-01-14 02:22:28 +0000
commit1eb06c3e9f097b6e429c48887de8ed8ee22fd2ab (patch)
tree7bdfbe2ff81046f8f7b33d51b649a689cb2478f1 /libs/hwui/tests
parent6a10c36efe2ae4bff73df9853d49a3dfa59d169a (diff)
parent2a3d9aaebb57728c8e1d6496a157854f02f7bdd5 (diff)
Merge "Use ui::Rotation in libgui calls"
Diffstat (limited to 'libs/hwui/tests')
-rw-r--r--libs/hwui/tests/common/TestContext.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libs/hwui/tests/common/TestContext.cpp b/libs/hwui/tests/common/TestContext.cpp
index 0a54aca4970d..e075d806126b 100644
--- a/libs/hwui/tests/common/TestContext.cpp
+++ b/libs/hwui/tests/common/TestContext.cpp
@@ -25,16 +25,16 @@ namespace test {
static const int IDENT_DISPLAYEVENT = 1;
static android::DisplayInfo DUMMY_DISPLAY{
- 1080, // w
- 1920, // h
- 320.0, // xdpi
- 320.0, // ydpi
- 60.0, // fps
- 2.0, // density
- 0, // orientation
- false, // secure?
- 0, // appVsyncOffset
- 0, // presentationDeadline
+ 1080, // w
+ 1920, // h
+ 320.0, // xdpi
+ 320.0, // ydpi
+ 60.0, // fps
+ 2.0, // density
+ ui::ROTATION_0, // orientation
+ false, // secure?
+ 0, // appVsyncOffset
+ 0, // presentationDeadline
};
DisplayInfo getInternalDisplay() {