Searched refs:layout1 (Results 1 – 2 of 2) sorted by relevance
/frameworks/minikin/tests/unittest/ |
D | LayoutCacheTest.cpp | 60 LayoutCapture layout1; in TEST() local 62 EndHyphenEdit::NO_EDIT, false, layout1); in TEST() 68 EXPECT_EQ(layout1.get(), layout2.get()); in TEST() 78 LayoutCapture layout1; in TEST() local 84 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, false, layout1); in TEST() 87 EXPECT_NE(layout1.get(), layout2.get()); in TEST() 92 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, false, layout1); in TEST() 95 EXPECT_NE(layout1.get(), layout2.get()); in TEST() 100 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, false, layout1); in TEST() 103 EXPECT_NE(layout1.get(), layout2.get()); in TEST() [all …]
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | LogicalDisplayMapperTest.java | 419 Layout layout1 = new Layout(); in testGetDisplayInfoForStateLocked_defaultLayout() local 420 createDefaultDisplay(layout1, device1); in testGetDisplayInfoForStateLocked_defaultLayout() 421 createNonDefaultDisplay(layout1, device2, /* enabled= */ true, /* group= */ null); in testGetDisplayInfoForStateLocked_defaultLayout() 422 when(mDeviceStateToLayoutMapSpy.get(STATE_DEFAULT)).thenReturn(layout1); in testGetDisplayInfoForStateLocked_defaultLayout() 423 assertThat(layout1.size()).isEqualTo(2); in testGetDisplayInfoForStateLocked_defaultLayout() 424 final int logicalId2 = layout1.getByAddress(info(device2).address).getLogicalDisplayId(); in testGetDisplayInfoForStateLocked_defaultLayout() 453 Layout layout1 = new Layout(); in testGetDisplayInfoForStateLocked_multipleLayouts() local 454 createDefaultDisplay(layout1, device1); in testGetDisplayInfoForStateLocked_multipleLayouts() 455 when(mDeviceStateToLayoutMapSpy.get(STATE_DEFAULT)).thenReturn(layout1); in testGetDisplayInfoForStateLocked_multipleLayouts()
|