Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DWorkspaceItemSpaceFinderTest.kt78 val spaceFound = findSpace(1, 1) in justEnoughSpaceOnFirstScreen_whenFindSpaceForItem_thenReturnFirstScreenId() constant
80 assertThat(spaceFound.screenId).isEqualTo(1) in justEnoughSpaceOnFirstScreen_whenFindSpaceForItem_thenReturnFirstScreenId()
81 assertRegionVacant(spaceFound, 1, 1) in justEnoughSpaceOnFirstScreen_whenFindSpaceForItem_thenReturnFirstScreenId()
95 val spaceFound = findSpace(2, 3) in notEnoughSpaceOnFirstScreen_whenFindSpaceForItem_thenReturnSecondScreenId() constant
97 assertThat(spaceFound.screenId).isEqualTo(2) in notEnoughSpaceOnFirstScreen_whenFindSpaceForItem_thenReturnSecondScreenId()
98 assertRegionVacant(spaceFound, 2, 3) in notEnoughSpaceOnFirstScreen_whenFindSpaceForItem_thenReturnSecondScreenId()
113 val spaceFound = findSpace(3, 3) in notEnoughSpaceOnExistingScreens_returnNewScreenId() constant
115 assertThat(oldScreens.contains(spaceFound.screenId)).isFalse() in notEnoughSpaceOnExistingScreens_returnNewScreenId()
116 assertThat(mNewScreens.contains(spaceFound.screenId)).isTrue() in notEnoughSpaceOnExistingScreens_returnNewScreenId()
128 val spaceFound = findSpace(2, 1) in firstScreenIsEmptyButSecondIsNotEmpty_returnSecondScreenId() constant
[all …]