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.java308 public TestCaseBuilder addLayout(int layoutId, @Nullable ViewInitializer viewInitializer) { in addLayout() argument
309 return addLayout(layoutId, viewInitializer, false) in addLayout()
310 .addLayout(layoutId, viewInitializer, true); in addLayout()
313 public TestCaseBuilder addLayout(int layoutId, @Nullable ViewInitializer viewInitializer, in addLayout() argument
315 mTestCases.add(new TestCase(layoutId, viewInitializer, useHardware)); in addLayout()
319 public TestCaseBuilder addLayout(int layoutId, @Nullable ViewInitializer viewInitializer, in addLayout() argument
321 TestCase test = new TestCase(layoutId, viewInitializer, useHardware); in addLayout()
390 public TestCase(int layoutId, ViewInitializer viewInitializer, boolean useHardware) { in TestCase() argument
391 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/tests/tests/widget/src/android/widget/cts/
DRemoteViewsRecyclingTest.java428 private void addTextsWithStableIds(RemoteViews views, int layoutId, boolean insertInMiddle, in addTextsWithStableIds() argument
430 views.addStableView(layoutId, createRemoteViews(R.layout.remoteviews_textview), in addTextsWithStableIds()
433 views.addStableView(layoutId, in addTextsWithStableIds()
437 views.addStableView(layoutId, createRemoteViews(R.layout.remoteviews_textview), in addTextsWithStableIds()
440 views.addStableView(layoutId, in addTextsWithStableIds()
443 views.addStableView(layoutId, in addTextsWithStableIds()
449 private void addTextsWithoutStableIds(RemoteViews views, int layoutId, boolean insertInMiddle, in addTextsWithoutStableIds() argument
451 views.addView(layoutId, createRemoteViews(R.layout.remoteviews_textview)); in addTextsWithoutStableIds()
453 views.addView(layoutId, createRemoteViews(R.layout.remoteviews_textview)); in addTextsWithoutStableIds()
455 views.addView(layoutId, createRemoteViews(R.layout.remoteviews_textview)); in addTextsWithoutStableIds()
[all …]
DTextViewTest.java8899 private void layout(final int layoutId) throws Throwable { in layout() argument
8900 mActivityRule.runOnUiThread(() -> mActivity.setContentView(layoutId)); in layout()
/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/audio/
DAudioFrequencyActivity.java128 void enableLayout(int layoutId, boolean enable) { in enableLayout() argument
129 ViewGroup group = (ViewGroup)findViewById(layoutId); in enableLayout()
/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.java78 protected DialogTestListActivity(int layoutId, int titleStringId, int infoStringId, in DialogTestListActivity() argument
80 mLayoutId = layoutId; in DialogTestListActivity()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DBaseSensorTestActivity.java123 protected BaseSensorTestActivity(Class testClass, int layoutId) { in BaseSensorTestActivity() argument
125 mLayoutId = layoutId; in BaseSensorTestActivity()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java1591 public RemoteViewsMatcher(int layoutId, String packageName) { in RemoteViewsMatcher() argument
1592 mLayoutId = layoutId; in RemoteViewsMatcher()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java1975 int layoutId = 0; in testStyle_getStandardView() local
1979 RemoteViews result = overrideStyle.testGetStandardView(layoutId); in testStyle_getStandardView()
1982 assertEquals(layoutId, result.getLayoutId()); in testStyle_getStandardView()
1990 public RemoteViews testGetStandardView(int layoutId) { in testGetStandardView() argument
1992 return getStandardView(layoutId); in testGetStandardView()