/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewGroupTest.java | 51 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 …]
|
D | ViewGroupTransientViewTest.java | 49 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
|
D | HapticScrollFeedbackProviderTest.java | 50 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/ |
D | TestView.java | 54 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
|
D | TestActivity.java | 25 TestView mView; 47 mView = new TestView(getApplication()); in onCreate()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/smartspace/ |
D | DreamSmartspaceControllerTest.kt | 77 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()
|
D | CommunalSmartspaceControllerTest.kt | 80 private class TestView(context: Context?) : View(context), SmartspaceView { class in com.android.systemui.smartspace.CommunalSmartspaceControllerTest
|
/frameworks/native/opengl/tests/testViewport/src/com/android/test/ |
D | TestActivity.java | 25 TestView mView; 30 mView = new TestView(getApplication()); in onCreate()
|
D | TestView.java | 60 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/ |
D | SystemEventChipAnimationControllerTest.kt | 58 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/ |
D | WindowDecorationTests.java | 108 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> {
|