Searched refs:getLayoutId (Results 1 – 7 of 7) sorted by relevance
44 private int getLayoutId() { in getLayoutId() method in FontResourceTest61 RemoteViews remoteViews = new RemoteViews(RESOURCE_PACKAGE, getLayoutId()); in inflateWithRemoteViews()67 return (TextView) inflater.inflate(getLayoutId(), null); in inflateWithInflator()
109 assertEquals(R.layout.remoteviews_small, mRemoteViews.getLayoutId()); in constructor_defaultIsSmallest()112 assertEquals(R.layout.remoteviews_good, mRemoteViews.getLayoutId()); in constructor_defaultIsSmallest()
133 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()
200 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()
913 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()
643 public int getLayoutId() { in getLayoutId() method in PlatformInspectableProcessorTest.ResourceIdTest745 assertEquals(node.getLayoutId(), mPropertyReader.get("layoutId")); in testResourceId()
1957 assertEquals(layoutId, result.getLayoutId()); in testStyle_getStandardView()