Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DViewGroupTest.java51 final TestView viewGroup = new TestView(context, 0 /* left */, 0 /* top */, in testDispatchMouseEventsUnderCursor()
53 final TestView viewA = spy(new TestView(context, 0 /* left */, 0 /* top */, in testDispatchMouseEventsUnderCursor()
55 final TestView viewB = spy(new TestView(context, 100 /* left */, 0 /* top */, in testDispatchMouseEventsUnderCursor()
139 final TestView viewA = new TestView(context, 8 /* right */); in testSubtractObscuredTouchableRegion()
140 final TestView viewB = new TestView(context, 6 /* right */); in testSubtractObscuredTouchableRegion()
141 final TestView viewC = new TestView(context, 10 /* right */); in testSubtractObscuredTouchableRegion()
142 final TestView viewD = new TestView(context, 4 /* right */); in testSubtractObscuredTouchableRegion()
143 final TestView viewE = new TestView(context, 2 /* right */); in testSubtractObscuredTouchableRegion()
144 final TestView viewF = new TestView(context, 2 /* right */); in testSubtractObscuredTouchableRegion()
198 public static class TestView extends ViewGroup { class in ViewGroupTest
[all …]
DViewGroupTransientViewTest.java49 private TestView mTestView;
56 mTestView = new TestView(activity); in setUp()
135 private static class TestView extends View { class in ViewGroupTransientViewTest
140 TestView(Context context) { in TestView() method in ViewGroupTransientViewTest.TestView
DHapticScrollFeedbackProviderTest.java50 private TestView mView;
64 mView = new TestView(InstrumentationRegistry.getContext()); in setUp()
432 private void assertNoFeedback(TestView view) { in assertNoFeedback()
438 private void assertOnlyFeedback(TestView view, int expectedFeedback) { in assertOnlyFeedback()
442 private void assertOnlyFeedback(TestView view, int expectedFeedback, int expectedCount) { in assertOnlyFeedback()
448 private void assertFeedbackCount(TestView view, int feedback, int expectedCount) { in assertFeedbackCount()
463 private static class TestView extends View { class in HapticScrollFeedbackProviderTest
466 TestView(Context context) { in TestView() method in HapticScrollFeedbackProviderTest.TestView
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
DTestView.java54 class TestView extends GLSurfaceView { class
55 TestView(Context context) { in TestView() method in TestView
60 public TestView(Context context, AttributeSet attrs) { in TestView() method in TestView
DTestActivity.java25 TestView mView;
47 mView = new TestView(getApplication()); in onCreate()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/smartspace/
DDreamSmartspaceControllerTest.kt77 Mockito.spy(TestView(context)) in <lambda>()
93 Mockito.spy(TestView(context)) in <lambda>()
113 private class TestView(context: Context?) : View(context), SmartspaceView { class
197 val mockView = Mockito.mock(TestView::class.java) in testConnectOnViewCreate()
216 val customView = Mockito.mock(TestView::class.java) in testConnectOnWeatherViewCreate()
239 val customView = Mockito.mock(TestView::class.java) in testAddListenerInController_registersListenerForWeatherPlugin()
265 val customView = Mockito.mock(TestView::class.java) in testDisconnect_emitsEmptyListAndRemovesNotifier()
DCommunalSmartspaceControllerTest.kt80 private class TestView(context: Context?) : View(context), SmartspaceView { class in com.android.systemui.smartspace.CommunalSmartspaceControllerTest
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
DTestActivity.java25 TestView mView;
30 mView = new TestView(getApplication()); in onCreate()
DTestView.java60 class TestView extends GLSurfaceView { class
61 TestView(Context context) { in TestView() method in TestView
66 public TestView(Context context, AttributeSet attrs) { in TestView() method in TestView
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/events/
DSystemEventChipAnimationControllerTest.kt58 private var testView = TestView(mContext)
175 private class TestView(context: Context) : View(context), BackgroundAnimatableView { class in com.android.systemui.statusbar.events.SystemEventChipAnimationControllerTest
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DWindowDecorationTests.java108 private final WindowDecoration.RelayoutResult<TestView> mRelayoutResult =
122 private TestView mMockView;
893 private static class TestView extends View implements TaskFocusStateConsumer {
894 private TestView(Context context) {
902 private class TestWindowDecoration extends WindowDecoration<TestView> {