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.java127 assertEquals(R.layout.textview_singleline, unparceled.getItemView(0).getLayoutId()); in testParcelingAndUnparceling()
128 assertEquals(R.layout.textview_gravity, unparceled.getItemView(1).getLayoutId()); in testParcelingAndUnparceling()
DRemoteViewsTest.java191 assertEquals(R.layout.remoteviews_good, mRemoteViews.getLayoutId()); in testGetLayoutId()
194 assertEquals(R.layout.listview_layout, mRemoteViews.getLayoutId()); in testGetLayoutId()
197 assertEquals(INVALID_ID, mRemoteViews.getLayoutId()); in testGetLayoutId()
200 assertEquals(0, mRemoteViews.getLayoutId()); in testGetLayoutId()
510 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.java1982 assertEquals(layoutId, result.getLayoutId()); in testStyle_getStandardView()