Home
last modified time | relevance | path

Searched refs:getLayoutId (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DFontResourceTest.java44 private int getLayoutId() { in getLayoutId() method in FontResourceTest
61 RemoteViews remoteViews = new RemoteViews(RESOURCE_PACKAGE, getLayoutId()); in inflateWithRemoteViews()
67 return (TextView) inflater.inflate(getLayoutId(), null); in inflateWithInflator()
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsSizeMapTest.java109 assertEquals(R.layout.remoteviews_small, mRemoteViews.getLayoutId()); in constructor_defaultIsSmallest()
112 assertEquals(R.layout.remoteviews_good, mRemoteViews.getLayoutId()); in constructor_defaultIsSmallest()
DRemoteViewsFixedCollectionAdapterTest.java133 assertEquals(R.layout.textview_singleline, unparceled.getItemView(0).getLayoutId()); in testParcelingAndUnparceling()
134 assertEquals(R.layout.textview_gravity, unparceled.getItemView(1).getLayoutId()); in testParcelingAndUnparceling()
147 assertEquals(R.layout.textview_singleline, unparceled.getItemView(0).getLayoutId()); in testParcelingAndUnparceling()
148 assertEquals(R.layout.textview_gravity, unparceled.getItemView(1).getLayoutId()); in testParcelingAndUnparceling()
172 assertEquals(R.layout.textview_singleline, unparceled.getItemView(0).getLayoutId()); in testParcelingAndUnparceling_afterAttaching()
173 assertEquals(R.layout.textview_gravity, unparceled.getItemView(1).getLayoutId()); in testParcelingAndUnparceling_afterAttaching()
201 assertEquals(R.layout.textview_singleline, unparceled.getItemView(0).getLayoutId()); in testParcelingAndUnparceling_multiplePackages()
202 assertEquals(R.layout.textview_gravity, unparceled.getItemView(1).getLayoutId()); in testParcelingAndUnparceling_multiplePackages()
DRemoteViewsTest.java200 assertEquals(R.layout.remoteviews_good, mRemoteViews.getLayoutId()); in testGetLayoutId()
203 assertEquals(R.layout.listview_layout, mRemoteViews.getLayoutId()); in testGetLayoutId()
206 assertEquals(INVALID_ID, mRemoteViews.getLayoutId()); in testGetLayoutId()
209 assertEquals(0, mRemoteViews.getLayoutId()); in testGetLayoutId()
516 assertEquals(R.layout.remoteviews_good, mRemoteViews.getLayoutId()); in testWriteToParcel()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java913 new RemoteViewsMatcher(content.getLayoutId(), in testUpdateAppWidgetViaComponentName()
918 new RemoteViewsMatcher(content.getLayoutId(), in testUpdateAppWidgetViaComponentName()
990 new RemoteViewsMatcher(content.getLayoutId(), in testUpdateAppWidgetViaWidgetId()
1078 argThat(new RemoteViewsMatcher(content.getLayoutId(), in testUpdateAppWidgetViaWidgetIds()
1083 argThat(new RemoteViewsMatcher(content.getLayoutId(), in testUpdateAppWidgetViaWidgetIds()
1161 argThat(new RemoteViewsMatcher(content.getLayoutId(), in testPartiallyUpdateAppWidgetViaWidgetId()
1267 argThat(new RemoteViewsMatcher(content.getLayoutId(), in testPartiallyUpdateAppWidgetViaWidgetIds()
1272 argThat(new RemoteViewsMatcher(content.getLayoutId(), in testPartiallyUpdateAppWidgetViaWidgetIds()
1599 return remoteViews != null && remoteViews.getLayoutId() == mLayoutId in matches()
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DPlatformInspectableProcessorTest.java643 public int getLayoutId() { in getLayoutId() method in PlatformInspectableProcessorTest.ResourceIdTest
745 assertEquals(node.getLayoutId(), mPropertyReader.get("layoutId")); in testResourceId()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java1957 assertEquals(layoutId, result.getLayoutId()); in testStyle_getStandardView()