Home
last modified time | relevance | path

Searched refs:layout2 (Results 1 – 3 of 3) sorted by relevance

/frameworks/minikin/tests/unittest/
DLayoutCacheTest.cpp64 LayoutCapture layout2; in TEST() local
66 EndHyphenEdit::NO_EDIT, false, layout2); in TEST()
68 EXPECT_EQ(layout1.get(), layout2.get()); in TEST()
79 LayoutCapture layout2; in TEST() local
86 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, false, layout2); in TEST()
87 EXPECT_NE(layout1.get(), layout2.get()); in TEST()
94 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, false, layout2); in TEST()
95 EXPECT_NE(layout1.get(), layout2.get()); in TEST()
102 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, false, layout2); in TEST()
103 EXPECT_NE(layout1.get(), layout2.get()); in TEST()
[all …]
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DSetupWizardLayoutTest.java186 final SetupWizardLayout layout2 = new SetupWizardLayout(mContext); in testOnRestoreFromInstanceState() local
187 layout2.setId(ID1234); in testOnRestoreFromInstanceState()
188 layout2.restoreHierarchyState(container); in testOnRestoreFromInstanceState()
190 assertFalse("Progress bar should not be shown", layout2.isProgressBarShown()); in testOnRestoreFromInstanceState()
203 final SetupWizardLayout layout2 = new SetupWizardLayout(mContext); in testOnRestoreFromInstanceStateProgressBarShown() local
204 layout2.setId(ID1234); in testOnRestoreFromInstanceStateProgressBarShown()
205 layout2.restoreHierarchyState(container); in testOnRestoreFromInstanceStateProgressBarShown()
207 assertTrue("Progress bar should be shown", layout2.isProgressBarShown()); in testOnRestoreFromInstanceStateProgressBarShown()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLogicalDisplayMapperTest.java458 Layout layout2 = new Layout(); in testGetDisplayInfoForStateLocked_multipleLayouts() local
459 createNonDefaultDisplay(layout2, device2, /* enabled= */ true, /* group= */ null); in testGetDisplayInfoForStateLocked_multipleLayouts()
461 createDefaultDisplay(layout2, device3); in testGetDisplayInfoForStateLocked_multipleLayouts()
462 when(mDeviceStateToLayoutMapSpy.get(layoutState2)).thenReturn(layout2); in testGetDisplayInfoForStateLocked_multipleLayouts()
463 assertThat(layout2.size()).isEqualTo(2); in testGetDisplayInfoForStateLocked_multipleLayouts()
464 final int logicalId2 = layout2.getByAddress(info(device2).address).getLogicalDisplayId(); in testGetDisplayInfoForStateLocked_multipleLayouts()