Home
last modified time | relevance | path

Searched refs:layoutId (Results 1 – 20 of 20) sorted by relevance

/cts/tests/fragment/src/android/fragment/cts/
DStrictViewFragment.java29 public void setLayoutId(int layoutId) { in setLayoutId() argument
30 mLayoutId = layoutId; in setLayoutId()
33 public static StrictViewFragment create(int layoutId) { in create() argument
35 fragment.mLayoutId = layoutId; in create()
DFragmentTestUtil.java135 final int layoutId) { in setContentView() argument
140 activity.setContentView(layoutId); in setContentView()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java298 public TestCaseBuilder addLayout(int layoutId, @Nullable ViewInitializer viewInitializer) { in addLayout() argument
299 return addLayout(layoutId, viewInitializer, false) in addLayout()
300 .addLayout(layoutId, viewInitializer, true); in addLayout()
303 public TestCaseBuilder addLayout(int layoutId, @Nullable ViewInitializer viewInitializer, in addLayout() argument
305 mTestCases.add(new TestCase(layoutId, viewInitializer, useHardware)); in addLayout()
309 public TestCaseBuilder addLayout(int layoutId, @Nullable ViewInitializer viewInitializer, in addLayout() argument
311 TestCase test = new TestCase(layoutId, viewInitializer, useHardware); in addLayout()
380 public TestCase(int layoutId, ViewInitializer viewInitializer, boolean useHardware) { in TestCase() argument
381 this.layoutID = layoutId; in TestCase()
DDrawActivity.kt101 layoutId: Int, in hashCode()
113 mHandler.obtainMessage(LAYOUT_MSG, layoutId, arg2) in hashCode()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java296 public TestCaseBuilder addLayout(int layoutId, @Nullable ViewInitializer viewInitializer) { in addLayout() argument
297 return addLayout(layoutId, viewInitializer, false) in addLayout()
298 .addLayout(layoutId, viewInitializer, true); in addLayout()
301 public TestCaseBuilder addLayout(int layoutId, @Nullable ViewInitializer viewInitializer, in addLayout() argument
303 mTestCases.add(new TestCase(layoutId, viewInitializer, useHardware)); in addLayout()
307 public TestCaseBuilder addLayout(int layoutId, @Nullable ViewInitializer viewInitializer, in addLayout() argument
309 TestCase test = new TestCase(layoutId, viewInitializer, useHardware); in addLayout()
378 public TestCase(int layoutId, ViewInitializer viewInitializer, boolean useHardware) { in TestCase() argument
379 this.layoutID = layoutId; in TestCase()
DDrawActivity.kt101 layoutId: Int, in hashCode()
115 mHandler.obtainMessage(LAYOUT_MSG, layoutId, arg2) in hashCode()
/cts/tests/tests/transition/src/android/transition/cts/
DBaseTransitionTest.java114 protected Scene loadScene(final int layoutId) throws Throwable { in loadScene() argument
117 () -> scene[0] = Scene.getSceneForLayout(mSceneRoot, layoutId, mActivity)); in loadScene()
121 protected void startTransition(final int layoutId) throws Throwable { in startTransition() argument
122 startTransition(loadScene(layoutId)); in startTransition()
134 protected void enterScene(final int layoutId) throws Throwable { in enterScene() argument
135 enterScene(loadScene(layoutId)); in enterScene()
DTargetActivity.java66 int layoutId = R.layout.transition_main; in onCreate() local
70 layoutId = intent.getIntExtra(EXTRA_LAYOUT_ID, layoutId); in onCreate()
75 setContentView(layoutId); in onCreate()
DChangeBoundsTest.java211 private List<RedAndGreen> startTransitionAndWatch(int layoutId) throws Throwable { in startTransitionAndWatch() argument
212 final Scene scene = loadScene(layoutId); in startTransitionAndWatch()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectionActivity.java92 protected View setContentViewAndInfoResources(int layoutId, int titleId, int infoId) { in setContentViewAndInfoResources() argument
93 View view = getLayoutInflater().inflate(layoutId, null); in setContentViewAndInfoResources()
/cts/tests/app/app/src/android/app/stubs/
DFragmentTestActivity.java76 public TestFragment(int layoutId) { in TestFragment() argument
78 mLayoutId = layoutId; in TestFragment()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DGnssCtsTestActivity.java70 protected GnssCtsTestActivity(Class<? extends GnssTestCase> testClass, int layoutId) { in GnssCtsTestActivity() argument
71 super(testClass, layoutId); in GnssCtsTestActivity()
DBaseGnssTestActivity.java106 protected BaseGnssTestActivity(Class testClass, int layoutId) { in BaseGnssTestActivity() argument
108 mLayoutId = layoutId; in BaseGnssTestActivity()
/cts/tests/tests/view/src/android/view/cts/
DFrameMetricsListenerTest.java64 private void layout(final int layoutId) throws Throwable { in layout() argument
65 mActivityRule.runOnUiThread(() -> mActivity.setContentView(layoutId)); in layout()
DViewTreeObserverTest.java80 private void layout(final int layoutId) throws Throwable { in layout() argument
81 mActivityRule.runOnUiThread(() -> mActivity.setContentView(layoutId)); in layout()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DDialogTestListActivity.java58 protected DialogTestListActivity(int layoutId, int titleStringId, int infoStringId, in DialogTestListActivity() argument
60 mLayoutId = layoutId; in DialogTestListActivity()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DBaseSensorTestActivity.java122 protected BaseSensorTestActivity(Class testClass, int layoutId) { in BaseSensorTestActivity() argument
124 mLayoutId = layoutId; in BaseSensorTestActivity()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java1484 int layoutId = 0; in testStyle_getStandardView() local
1488 RemoteViews result = overrideStyle.testGetStandardView(layoutId); in testStyle_getStandardView()
1491 assertEquals(layoutId, result.getLayoutId()); in testStyle_getStandardView()
1499 public RemoteViews testGetStandardView(int layoutId) { in testGetStandardView() argument
1501 return getStandardView(layoutId); in testGetStandardView()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java1484 public RemoteViewsMatcher(int layoutId, String packageName) { in RemoteViewsMatcher() argument
1485 mLayoutId = layoutId; in RemoteViewsMatcher()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java8641 private void layout(final int layoutId) throws Throwable { in layout() argument
8642 mActivityRule.runOnUiThread(() -> mActivity.setContentView(layoutId)); in layout()