Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DViewGroupTest.java54 final TestView viewB = spy(new TestView(context, 100 /* left */, 0 /* top */, in testDispatchMouseEventsUnderCursor() local
58 viewGroup.addView(viewB); in testDispatchMouseEventsUnderCursor()
62 doReturn(true).when(viewB).dispatchTouchEvent(any()); in testDispatchMouseEventsUnderCursor()
88 verify(viewB).dispatchTouchEvent(event); in testDispatchMouseEventsUnderCursor()
96 verify(viewB).dispatchTouchEvent(event); in testDispatchMouseEventsUnderCursor()
123 final TestView viewB = new TestView(context, 6 /* right */); in testSubtractObscuredTouchableRegion() local
129 viewA.addView(viewB); in testSubtractObscuredTouchableRegion()
131 viewB.addView(viewC); in testSubtractObscuredTouchableRegion()
132 viewB.addView(viewD); in testSubtractObscuredTouchableRegion()
146 getUnobscuredTouchableRegion(r, viewB); in testSubtractObscuredTouchableRegion()
/frameworks/base/core/java/android/view/
DScrollCaptureTargetResolver.java121 final View viewB = b.getContainingView(); in chooseTarget() local
126 boolean hintIncludeB = hasIncludeHint(viewB); in chooseTarget()
136 if (isDescendant(viewA, viewB)) { in chooseTarget()
140 if (isDescendant(viewB, viewA)) { in chooseTarget()