Home
last modified time | relevance | path

Searched refs:mAppWidgetHost (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/
DSimpleAppWidgetHostService.java69 private SimpleAppWidgetHost mAppWidgetHost; field in SimpleAppWidgetHostService
94 AppWidgetProviderInfo info = mAppWidgetHost.getProvider(params); in handleMessage()
147 mAppWidgetHost = new SimpleAppWidgetHost(this, 0); in setup()
148 mAppWidgetHost.deleteHost(); in setup()
149 mAppWidgetHost.startListening(); in setup()
159 mAppWidgetHost.stopListening(); in onDestroy()
160 mAppWidgetHost.deleteAppWidgetId(mAppWidgetId); in onDestroy()
161 mAppWidgetHost.deleteHost(); in onDestroy()
165 mAppWidgetId = mAppWidgetHost.allocateAppWidgetId(); in bindAppWidget()
168 mAppWidgetHostView = (SimpleAppWidgetHostView) mAppWidgetHost.createView(this, in bindAppWidget()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DDarkTextThemeTest.java77 private AppWidgetHost mAppWidgetHost; field in DarkTextThemeTest
101 mAppWidgetHost.deleteHost(); in teardown()
106 mAppWidgetHost = new AppWidgetHost(mActivity, 0) { in bindNewWidget()
113 mAppWidgetHost.deleteHost(); in bindNewWidget()
114 mAppWidgetHost.startListening(); in bindNewWidget()
117 mAppWidgetId = mAppWidgetHost.allocateAppWidgetId(); in bindNewWidget()
126 mAppWidgetHostView = (MyHostView) mAppWidgetHost in bindNewWidget()
DWidgetTransitionTest.java84 private AppWidgetHost mAppWidgetHost; field in WidgetTransitionTest
108 mAppWidgetHost.deleteHost(); in teardown()
113 mAppWidgetHost = new AppWidgetHost(mActivity, 0) { in bindNewWidget()
120 mAppWidgetHost.deleteHost(); in bindNewWidget()
121 mAppWidgetHost.startListening(); in bindNewWidget()
124 mAppWidgetId = mAppWidgetHost.allocateAppWidgetId(); in bindNewWidget()
133 mAppWidgetHostView = (MyHostView) mAppWidgetHost in bindNewWidget()
DCollectionAppWidgetTest.java105 private AppWidgetHost mAppWidgetHost; field in CollectionAppWidgetTest
121 mAppWidgetHost = new AppWidgetHost(mContext, 0); in setup()
123 mAppWidgetHost.deleteHost(); in setup()
124 mAppWidgetHost.startListening(); in setup()
134 mAppWidgetId = mAppWidgetHost.allocateAppWidgetId(); in setup()
179 () -> mAppWidgetHostView = mAppWidgetHost.createView( in setup()
202 mAppWidgetHost.deleteHost(); in teardown()