Home
last modified time | relevance | path

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

/cts/tests/tests/appwidget/src/android/appwidget/cts/
DDarkTextThemeTest.java79 private MyHostView mAppWidgetHostView; field in DarkTextThemeTest
126 mAppWidgetHostView = (MyHostView) mAppWidgetHost in bindNewWidget()
128 mActivity.setContentView(mAppWidgetHostView); in bindNewWidget()
142 mAppWidgetHostView.mCommands.put( in testWidget_light()
147 verifyColor(mAppWidgetHostView, Color.WHITE); in testWidget_light()
155 mActivity.runOnUiThread(() -> mAppWidgetHostView.setOnLightBackground(true)); in testWidget_dark()
163 mAppWidgetHostView.mCommands.put( in testWidget_dark()
168 verifyColor(mAppWidgetHostView, Color.BLACK); in testWidget_dark()
180 ListView listView = mAppWidgetHostView.findViewById(R.id.remoteViews_list); in testCollection_light()
191 mActivity.runOnUiThread(() -> mAppWidgetHostView.setOnLightBackground(true)); in testCollection_dark()
[all …]
DWidgetTransitionTest.java86 private MyHostView mAppWidgetHostView; field in WidgetTransitionTest
133 mAppWidgetHostView = (MyHostView) mAppWidgetHost in bindNewWidget()
135 mActivity.setContentView(mAppWidgetHostView); in bindNewWidget()
152 mAppWidgetHostView.mCommands.put( in testWidget_sendBroadcast()
157 verifyClickBroadcast(mAppWidgetHostView); in testWidget_sendBroadcast()
174 mAppWidgetHostView.mCommands.put( in testWidget_startActivity()
194 () -> mAppWidgetHostView.findViewById(R.id.hello).performClick()); in testWidget_startActivity()
240 mActivityRule.runOnUiThread(() -> mAppWidgetHostView.getViewTreeObserver() in testCollection_sendBroadcast()
244 mAppWidgetHostView.post(this::verifyChildrenAdded); in testCollection_sendBroadcast()
248 ListView listView = mAppWidgetHostView.findViewById(R.id.remoteViews_list); in testCollection_sendBroadcast()
[all …]
DCollectionAppWidgetTest.java102 private AppWidgetHostView mAppWidgetHostView; field in CollectionAppWidgetTest
186 () -> mAppWidgetHostView = mAppWidgetHost.createView( in setup()
200 activity.setContentView(mAppWidgetHostView); in setup()
226 assertNotNull(mAppWidgetHostView); in testInitialState()
227 mStackView = (StackView) mAppWidgetHostView.findViewById(R.id.remoteViews_stack); in testInitialState()
265 mStackView = (StackView) mAppWidgetHostView.findViewById(R.id.remoteViews_stack); in testSetDisplayedChild()
303 mStackView = (StackView) mAppWidgetHostView.findViewById(R.id.remoteViews_stack); in testShowNextPrevious()
323 mStackView = (StackView) mAppWidgetHostView.findViewById(R.id.remoteViews_stack); in verifyItemClickIntents()
360 mStackView = (StackView) mAppWidgetHostView.findViewById(R.id.remoteViews_stack); in verifyItemCheckedChangeIntents()
456 mListView = (ListView) mAppWidgetHostView.findViewById(R.id.remoteViews_list); in testSetScrollPosition()
/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/
DSimpleAppWidgetHostService.java70 private SimpleAppWidgetHostView mAppWidgetHostView; field in SimpleAppWidgetHostService
168 mAppWidgetHostView = (SimpleAppWidgetHostView) mAppWidgetHost.createView(this, in bindAppWidget()