Searched refs:mRemoteViews (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RemoteViewsTest.java | 114 private RemoteViews mRemoteViews; field in RemoteViewsTest 123 mRemoteViews = new RemoteViews(PACKAGE_NAME, R.layout.remoteviews_good); in setup() 124 mResult = mRemoteViews.apply(mContext, null); in setup() 147 assertEquals(PACKAGE_NAME, mRemoteViews.getPackage()); in testGetPackage() 149 mRemoteViews = new RemoteViews(null, R.layout.remoteviews_good); in testGetPackage() 150 assertNull(mRemoteViews.getPackage()); in testGetPackage() 155 assertEquals(R.layout.remoteviews_good, mRemoteViews.getLayoutId()); in testGetLayoutId() 157 mRemoteViews = new RemoteViews(PACKAGE_NAME, R.layout.listview_layout); in testGetLayoutId() 158 assertEquals(R.layout.listview_layout, mRemoteViews.getLayoutId()); in testGetLayoutId() 160 mRemoteViews = new RemoteViews(PACKAGE_NAME, INVALID_ID); in testGetLayoutId() [all …]
|
/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/ |
D | SimpleAppWidgetHostService.java | 75 private RemoteViews mRemoteViews; field in SimpleAppWidgetHostService 170 mRemoteViews = new RemoteViews(info.provider.getPackageName(), R.layout.simple_widget); in bindAppWidget() 185 mAppWidgetManager.updateAppWidget(mAppWidgetId, mRemoteViews); in updateWidgetViaWidgetId()
|