Lines Matching refs:ui
41 mFlinger.mutableActiveDisplayRotationFlags() = ui::Transform::ROT_0; in SetUp()
46 ui::Transform::RotationFlags mOldRotationFlags;
50 ASSERT_EQ(ui::Transform::ROT_0, SurfaceFlinger::getActiveDisplayRotationFlags()); in TEST_F()
55 mFlinger.mutableDrawingState().displays.editValueFor(displayToken).orientation = ui::ROTATION_0; in TEST_F()
57 ui::ROTATION_90; in TEST_F()
60 ASSERT_EQ(ui::Transform::ROT_90, SurfaceFlinger::getActiveDisplayRotationFlags()); in TEST_F()
65 mFlinger.mutableDrawingState().displays.editValueFor(displayToken).orientation = ui::ROTATION_0; in TEST_F()
67 ui::ROTATION_90; in TEST_F()
70 ASSERT_EQ(ui::Transform::ROT_0, SurfaceFlinger::getActiveDisplayRotationFlags()); in TEST_F()
75 mFlinger.mutableDrawingState().displays.editValueFor(displayToken).orientation = ui::ROTATION_0; in TEST_F()
77 ui::ROTATION_180; in TEST_F()
80 mFlinger.mutableDrawingState().displays.editValueFor(displayToken).orientation = ui::ROTATION_0; in TEST_F()
82 ui::ROTATION_270; in TEST_F()
85 ASSERT_EQ(ui::Transform::ROT_180, SurfaceFlinger::getActiveDisplayRotationFlags()); in TEST_F()
91 mFlinger.mutableDrawingState().displays.editValueFor(displayToken).orientation = ui::ROTATION_0; in TEST_F()
93 ui::ROTATION_180; in TEST_F()
96 mFlinger.mutableDrawingState().displays.editValueFor(displayToken).orientation = ui::ROTATION_0; in TEST_F()
98 ui::ROTATION_270; in TEST_F()
101 ASSERT_EQ(ui::Transform::ROT_270, SurfaceFlinger::getActiveDisplayRotationFlags()); in TEST_F()
106 mFlinger.mutableDrawingState().displays.editValueFor(displayToken).orientation = ui::ROTATION_0; in TEST_F()
108 ui::ROTATION_180; in TEST_F()
111 mFlinger.mutableDrawingState().displays.editValueFor(displayToken).orientation = ui::ROTATION_0; in TEST_F()
113 ui::ROTATION_270; in TEST_F()
116 ASSERT_EQ(ui::Transform::ROT_180, SurfaceFlinger::getActiveDisplayRotationFlags()); in TEST_F()
119 ASSERT_EQ(ui::Transform::ROT_270, SurfaceFlinger::getActiveDisplayRotationFlags()); in TEST_F()