Searched refs:AddPreference (Results 1 – 6 of 6) sorted by relevance
48 private AddPreference mPreference;53 mPreference = new AddPreference(mContext, null); in setUp()125 final AddPreference.OnAddClickListener listener = mock( in onClick_hasListenerBeforeBind_firesCorrectly()126 AddPreference.OnAddClickListener.class); in onClick_hasListenerBeforeBind_firesCorrectly()141 final AddPreference.OnAddClickListener listener = mock( in onClick_listenerAddedAfterBind_firesCorrectly()142 AddPreference.OnAddClickListener.class); in onClick_listenerAddedAfterBind_firesCorrectly()
33 public class AddPreference extends RestrictedPreference implements View.OnClickListener { class39 public AddPreference(Context context, AttributeSet attrs) { in AddPreference() method in AddPreference90 void onAddClick(AddPreference p); in onAddClick()
32 import com.android.car.developeroptions.widget.AddPreference;53 private AddPreference mPreference;
34 import com.android.settings.widget.AddPreference;56 private AddPreference mPreference;
44 import com.android.settings.widget.AddPreference;77 private AddPreference mPreference;95 mPreference = spy(new AddPreference(mContext, null)); in setUp()