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()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 …]
102 private AppWidgetHostView mAppWidgetHostView; field in CollectionAppWidgetTest186 () -> 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()
70 private SimpleAppWidgetHostView mAppWidgetHostView; field in SimpleAppWidgetHostService168 mAppWidgetHostView = (SimpleAppWidgetHostView) mAppWidgetHost.createView(this, in bindAppWidget()