Lines Matching refs:factory
199 * Gets the media route dialog factory to use when showing the route chooser
202 * @return The dialog factory, never null.
210 * Sets the media route dialog factory to use when showing the route chooser
213 * @param factory The dialog factory, must not be null.
215 public void setDialogFactory(@NonNull MediaRouteDialogFactory factory) {
216 if (factory == null) {
217 throw new IllegalArgumentException("factory must not be null");
220 if (mDialogFactory != factory) {
221 mDialogFactory = factory;
224 mButton.setDialogFactory(factory);