Searched refs:mAddWidget (Results 1 – 3 of 3) sorted by relevance
37 private View mAddWidget; field in AddPreference58 if (mAddWidget != null) { in setAddWidgetEnabled()59 mAddWidget.setEnabled(enabled); in setAddWidgetEnabled()77 mAddWidget = holder.findViewById(getAddWidgetResId()); in onBindViewHolder()78 mAddWidget.setEnabled(true); in onBindViewHolder()79 mAddWidget.setOnClickListener(this); in onBindViewHolder()
47 private View mAddWidget; field in AddPreferenceTest58 mAddWidget = spy(View.inflate(mContext, mPreference.getSecondTargetResId(), null)); in setUp()59 when(mViewHolder.findViewById(mPreference.getAddWidgetResId())).thenReturn(mAddWidget); in setUp()120 mPreference.onClick(mAddWidget); in onClick_noListener_noCrash()132 mPreference.onClick(mAddWidget); in onClick_hasListenerBeforeBind_firesCorrectly()146 mPreference.onClick(mAddWidget); in onClick_listenerAddedAfterBind_firesCorrectly()