Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/
DSimpleAppWidgetHostService.java71 private int mAppWidgetId; field in SimpleAppWidgetHostService
160 mAppWidgetHost.deleteAppWidgetId(mAppWidgetId); in onDestroy()
165 mAppWidgetId = mAppWidgetHost.allocateAppWidgetId(); in bindAppWidget()
166 Log.d(TAG, "Registering app widget with id:" + mAppWidgetId); in bindAppWidget()
167 mAppWidgetManager.bindAppWidgetIdIfAllowed(mAppWidgetId, mUserHandle, info.provider, null); in bindAppWidget()
169 mAppWidgetId, info); in bindAppWidget()
185 mAppWidgetManager.updateAppWidget(mAppWidgetId, mRemoteViews); in updateWidgetViaWidgetId()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DDarkTextThemeTest.java80 private int mAppWidgetId; field in DarkTextThemeTest
117 mAppWidgetId = mAppWidgetHost.allocateAppWidgetId(); in bindNewWidget()
121 boolean isBinding = getAppWidgetManager().bindAppWidgetIdIfAllowed(mAppWidgetId, in bindNewWidget()
127 .createView(mActivity, mAppWidgetId, providerInfo); in bindNewWidget()
138 getAppWidgetManager().updateAppWidget(new int[] {mAppWidgetId}, views); in testWidget_light()
159 getAppWidgetManager().updateAppWidget(new int[] {mAppWidgetId}, views); in testWidget_dark()
220 .putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); in setupAndAwaitCollectionWidget()
227 getAppWidgetManager().updateAppWidget(new int[] {mAppWidgetId}, views); in setupAndAwaitCollectionWidget()
DWidgetTransitionTest.java87 private int mAppWidgetId; field in WidgetTransitionTest
124 mAppWidgetId = mAppWidgetHost.allocateAppWidgetId(); in bindNewWidget()
128 boolean isBinding = getAppWidgetManager().bindAppWidgetIdIfAllowed(mAppWidgetId, in bindNewWidget()
134 .createView(mActivity, mAppWidgetId, providerInfo); in bindNewWidget()
147 getAppWidgetManager().updateAppWidget(new int[] {mAppWidgetId}, views); in testWidget_sendBroadcast()
169 getAppWidgetManager().updateAppWidget(new int[] {mAppWidgetId}, views); in testWidget_startActivity()
226 .putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); in testCollection_sendBroadcast()
236 getAppWidgetManager().updateAppWidget(new int[] {mAppWidgetId}, views); in testCollection_sendBroadcast()
DCollectionAppWidgetTest.java99 private int mAppWidgetId; field in CollectionAppWidgetTest
134 mAppWidgetId = mAppWidgetHost.allocateAppWidgetId(); in setup()
137 boolean isBinding = getAppWidgetManager().bindAppWidgetIdIfAllowed(mAppWidgetId, in setup()
180 mContext, mAppWidgetId, providerInfo)); in setup()
236 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_IDS, new int[] { mAppWidgetId }); in verifySetDisplayedChild()
274 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_IDS, new int[] { mAppWidgetId }); in verifyShowCommand()
401 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_IDS, new int[] { mAppWidgetId }); in testSetScrollPosition()