Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DAdapterView_AdapterContextMenuInfoTest.java37 View testView = new View(InstrumentationRegistry.getTargetContext()); in testConstructor() local
40 menuInfo = new AdapterView.AdapterContextMenuInfo(testView, position, id); in testConstructor()
44 assertEquals(testView, menuInfo.targetView); in testConstructor()
/cts/tests/app/src/android/app/cts/
DExpandableListActivityTest.java37 public void testView() { in testView() method in ExpandableListActivityTest
/cts/tests/app/app/src/android/app/stubs/
DExpandableListTestActivity.java104 private int testView() { in testView() method in ExpandableListTestActivity
154 setResult(testView()); in onResume()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DKeepClearRectsTests.java401 final View testView = new View(activity); in testKeepClearRectsOnDisplayTwoWindows() local
402 testView.setPreferKeepClear(true); in testKeepClearRectsOnDisplayTwoWindows()
403 testView.setBackgroundColor(Color.argb(20, 255, 0, 0)); in testKeepClearRectsOnDisplayTwoWindows()
409 activity.getWindowManager().addView(testView, params); in testKeepClearRectsOnDisplayTwoWindows()