Lines Matching refs:factory
193 * Gets the media route dialog factory to use when showing the route chooser
196 * @return The dialog factory, never null.
203 * Sets the media route dialog factory to use when showing the route chooser
206 * @param factory The dialog factory, must not be null.
208 public void setDialogFactory(MediaRouteDialogFactory factory) {
209 if (factory == null) {
210 throw new IllegalArgumentException("factory must not be null");
213 if (mDialogFactory != factory) {
214 mDialogFactory = factory;
217 mButton.setDialogFactory(factory);