Use nearest region for all the nav buttons in 3-button folded mode

Bug: 230395757
Test: In 3-button folded mode, make sure that the touches that happen between nav buttons go to the nearest button. No regression in other modes.

Change-Id: Icb776a9a4ed4fc31d33dc3267c7053f2b0da0bfc
This commit is contained in:
Tracy Zhou committed 2024-01-24 11:06:01 -08:00
1 parent 5f3b761451
commit 9c9befae5f
9 files changed
+232 -11

No files matched your search

@@ -27,7 +27,7 @@ import org.mockito.kotlin.whenever
class NavButtonLayoutFactoryTest {
private val mockDeviceProfile: DeviceProfile = mock()
private val mockParentButtonContainer: FrameLayout = mock()
private val mockParentButtonContainer: NearestTouchFrame = mock()
private val mockNavLayout: LinearLayout = mock()
private val mockStartContextualLayout: ViewGroup = mock()
private val mockEndContextualLayout: ViewGroup = mock()