Searched refs:mAppWidgetHostView (Results 1 – 4 of 4) sorted by relevance
79 private MyHostView mAppWidgetHostView; field in DarkTextThemeTest126 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 …]
86 private MyHostView mAppWidgetHostView; field in WidgetTransitionTest133 mAppWidgetHostView = (MyHostView) mAppWidgetHost in bindNewWidget()135 mActivity.setContentView(mAppWidgetHostView); in bindNewWidget()151 mAppWidgetHostView.mCommands.put( in testWidget_sendBroadcast()156 verifyClickBroadcast(mAppWidgetHostView); in testWidget_sendBroadcast()173 mAppWidgetHostView.mCommands.put( in testWidget_startActivity()193 () -> mAppWidgetHostView.findViewById(R.id.hello).performClick()); in testWidget_startActivity()238 mActivityRule.runOnUiThread(() -> mAppWidgetHostView.getViewTreeObserver() in testCollection_sendBroadcast()242 mAppWidgetHostView.post(this::verifyChildrenAdded); in testCollection_sendBroadcast()246 ListView listView = mAppWidgetHostView.findViewById(R.id.remoteViews_list); in testCollection_sendBroadcast()[all …]
97 private AppWidgetHostView mAppWidgetHostView; field in CollectionAppWidgetTest179 () -> mAppWidgetHostView = mAppWidgetHost.createView( in setup()193 activity.setContentView(mAppWidgetHostView); in setup()219 assertNotNull(mAppWidgetHostView); in testInitialState()220 mStackView = (StackView) mAppWidgetHostView.findViewById(R.id.remoteViews_stack); in testInitialState()258 mStackView = (StackView) mAppWidgetHostView.findViewById(R.id.remoteViews_stack); in testSetDisplayedChild()296 mStackView = (StackView) mAppWidgetHostView.findViewById(R.id.remoteViews_stack); in testShowNextPrevious()316 mStackView = (StackView) mAppWidgetHostView.findViewById(R.id.remoteViews_stack); in verifyItemClickIntents()372 mListView = (ListView) mAppWidgetHostView.findViewById(R.id.remoteViews_list); in testSetScrollPosition()
70 private SimpleAppWidgetHostView mAppWidgetHostView; field in SimpleAppWidgetHostService168 mAppWidgetHostView = (SimpleAppWidgetHostView) mAppWidgetHost.createView(this, in bindAppWidget()