Searched refs:mTestViewSize (Results 1 – 1 of 1) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DisplayHashManagerTest.java | 77 private final Point mTestViewSize = new Point(200, 300); field in DisplayHashManagerTest 146 assertEquals(mTestViewSize.x, verifiedDisplayHash.getBoundsInWindow().width()); in testGenerateAndVerifyDisplayHash() 147 assertEquals(mTestViewSize.y, verifiedDisplayHash.getBoundsInWindow().height()); in testGenerateAndVerifyDisplayHash() 155 Rect bounds = new Rect(10, 20, mTestViewSize.x / 2, mTestViewSize.y / 2); in testGenerateAndVerifyDisplayHash_BoundsInView() 180 Rect bounds = new Rect(0, 0, mTestViewSize.x + 100, mTestViewSize.y + 100); in testGenerateAndVerifyDisplayHash_BoundsBiggerThanView() 187 assertEquals(mTestViewSize.x, verifiedDisplayHash.getBoundsInWindow().width()); in testGenerateAndVerifyDisplayHash_BoundsBiggerThanView() 188 assertEquals(mTestViewSize.y, verifiedDisplayHash.getBoundsInWindow().height()); in testGenerateAndVerifyDisplayHash_BoundsBiggerThanView() 195 Rect bounds = new Rect(mTestViewSize.x + 1, mTestViewSize.y + 1, mTestViewSize.x + 100, in testGenerateDisplayHash_BoundsOutOfView() 196 mTestViewSize.y + 100); in testGenerateDisplayHash_BoundsOutOfView() 208 final RelativeLayout.LayoutParams p = new RelativeLayout.LayoutParams(mTestViewSize.x, in testGenerateDisplayHash_ViewOffscreen() [all …]
|