Home
last modified time | relevance | path

Searched refs:getLayoutId (Results 1 – 8 of 8) 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/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java937 new RemoteViewsMatcher(content.getLayoutId(), in testUpdateAppWidgetViaComponentName()
942 new RemoteViewsMatcher(content.getLayoutId(), in testUpdateAppWidgetViaComponentName()
1014 new RemoteViewsMatcher(content.getLayoutId(), in testUpdateAppWidgetViaWidgetId()
1102 argThat(new RemoteViewsMatcher(content.getLayoutId(), in testUpdateAppWidgetViaWidgetIds()
1107 argThat(new RemoteViewsMatcher(content.getLayoutId(), in testUpdateAppWidgetViaWidgetIds()
1185 argThat(new RemoteViewsMatcher(content.getLayoutId(), in testPartiallyUpdateAppWidgetViaWidgetId()
1291 argThat(new RemoteViewsMatcher(content.getLayoutId(), in testPartiallyUpdateAppWidgetViaWidgetIds()
1296 argThat(new RemoteViewsMatcher(content.getLayoutId(), in testPartiallyUpdateAppWidgetViaWidgetIds()
1489 assertThat(homePreview.getLayoutId()).isEqualTo(whiteLayout.getLayoutId()); in testSetGeneratedPreview()
1490 assertThat(keyguardPreview.getLayoutId()).isEqualTo(blackLayout.getLayoutId()); in testSetGeneratedPreview()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsSizeMapTest.java118 assertEquals(R.layout.remoteviews_small, mRemoteViews.getLayoutId()); in constructor_defaultIsSmallest()
121 assertEquals(R.layout.remoteviews_good, mRemoteViews.getLayoutId()); in constructor_defaultIsSmallest()
DRemoteViewsFixedCollectionAdapterTest.java142 assertEquals(R.layout.textview_singleline, unparceled.getItemView(0).getLayoutId()); in testParcelingAndUnparceling()
143 assertEquals(R.layout.textview_gravity, unparceled.getItemView(1).getLayoutId()); in testParcelingAndUnparceling()
156 assertEquals(R.layout.textview_singleline, unparceled.getItemView(0).getLayoutId()); in testParcelingAndUnparceling()
157 assertEquals(R.layout.textview_gravity, unparceled.getItemView(1).getLayoutId()); in testParcelingAndUnparceling()
181 assertEquals(R.layout.textview_singleline, unparceled.getItemView(0).getLayoutId()); in testParcelingAndUnparceling_afterAttaching()
182 assertEquals(R.layout.textview_gravity, unparceled.getItemView(1).getLayoutId()); in testParcelingAndUnparceling_afterAttaching()
210 assertEquals(R.layout.textview_singleline, unparceled.getItemView(0).getLayoutId()); in testParcelingAndUnparceling_multiplePackages()
211 assertEquals(R.layout.textview_gravity, unparceled.getItemView(1).getLayoutId()); in testParcelingAndUnparceling_multiplePackages()
DRemoteViewsTest.java226 assertEquals(R.layout.remoteviews_good, mRemoteViews.getLayoutId()); in testGetLayoutId()
229 assertEquals(R.layout.listview_layout, mRemoteViews.getLayoutId()); in testGetLayoutId()
232 assertEquals(INVALID_ID, mRemoteViews.getLayoutId()); in testGetLayoutId()
235 assertEquals(0, mRemoteViews.getLayoutId()); in testGetLayoutId()
976 assertEquals(R.layout.remoteviews_good, mRemoteViews.getLayoutId()); in testWriteToParcel()
/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/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerTest.java1438 assertEquals(layoutId, result.getLayoutId()); in testStyle_getStandardView()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt60172 method public int getLayoutId();