Enable the use of the given controller type by
adding it to the cursor controller types list.
@param controllerType GVRControllerType to add to the list
514719
public void addControllerType(GVRControllerType controllerType)
    {
        if (cursorControllerTypes == null)
        {
            cursorControllerTypes = new ArrayList<GVRControllerType>();
        }
        else if (cursorControllerTypes.contains(controllerType))
        {
            return;
        }
        cursorControllerTypes.add(controllerType);
    }
1369480
public void setController(@Nullable DraweeController draweeController) {
    mDraweeHolder.setController(draweeController);
    super.setImageDrawable(mDraweeHolder.getTopLevelDrawable());
  }
346298
function () {
    var data = this.data;
    var controllerIndex = data.hand === 'right' ? 0 : data.hand === 'left' ? 1 : 2;
    checkControllerPresentAndSetup(this, GAMEPAD_ID_PREFIX, {index: controllerIndex});
  }
190410
def _get_controller_type(self):
        """"""

        if self.node_type == self.NODE_CONTROLLER_ROOT and self.name in self.CONTROLLERS:
            return self.name
        elif self.parent:
            return self.parent.controller_type
        else:
            return None
1139460
public <T> void register(Class<T> type, Converter<T> converter) {
        addConverter(type, converter);
    }
802897
private GVRCursorController addDevice(int deviceId) {
        InputDevice device = inputManager.getInputDevice(deviceId);
        GVRControllerType controllerType = getGVRInputDeviceType(device);

        if (mEnabledControllerTypes == null)
        {
            return null;
        }
        if (controllerType == GVRControllerType.GAZE && !mEnabledControllerTypes.contains(GVRControllerType.GAZE))
        {
            return null;
        }

        int key;
        if (controllerType == GVRControllerType.GAZE) {
            // create the controller if there isn't one. 
            if (gazeCursorController == null) {
                gazeCursorController = new GVRGazeCursorController(context, GVRControllerType.GAZE,
                        GVRDeviceConstants.OCULUS_GEARVR_DEVICE_NAME,
                        GVRDeviceConstants.OCULUS_GEARVR_TOUCHPAD_VENDOR_ID,
                        GVRDeviceConstants.OCULUS_GEARVR_TOUCHPAD_PRODUCT_ID);
            }
            // use the cached gaze key
            key = GAZE_CACHED_KEY;
        } else {
            key = getCacheKey(device, controllerType);
        }

        if (key != -1)
        {
            GVRCursorController controller = cache.get(key);
            if (controller == null)
            {
                if ((mEnabledControllerTypes == null) || !mEnabledControllerTypes.contains(controllerType))
                {
                    return null;
                }
                if (controllerType == GVRControllerType.MOUSE)
                {
                    controller = mouseDeviceManager.getCursorController(context, device.getName(), device.getVendorId(), device.getProductId());
                }
                else if (controllerType == GVRControllerType.GAMEPAD)
                {
                    controller = gamepadDeviceManager.getCursorController(context, device.getName(), device.getVendorId(), device.getProductId());
                }
                else if (controllerType == GVRControllerType.GAZE)
                {
                    controller = gazeCursorController;
                }
                cache.put(key, controller);
                controllerIds.put(device.getId(), controller);
                return controller;
            }
            else
            {
                controllerIds.put(device.getId(), controller);
            }
        }
        return null;
    }
429588
public void setType(java.lang.String type) {
        getStateHelper().put(PropertyKeys.type, type);
        handleAttribute("type", type);
    }
1051448
public void setLedType(final LedType TYPE) {
        if (null == ledType) {
            _ledType = null == TYPE ? LedType.STANDARD : TYPE;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            ledType.set(TYPE);
        }
    }
913720
public void addBindingType(DescriptionType descriptionType)
    {
        String interfacens;
        String interfacename;
        QName qname;
        String value;
        String name;
        
        // Create the bindings type
        BindingType bindingType = wsdlFactory.createBindingType();
        descriptionType.getImportOrIncludeOrTypes().add(wsdlFactory.createBinding(bindingType));
        name = this.getControlProperty(MessageControl.BINDING_NAME);
        bindingType.setName(name);
        interfacens = this.getNamespace();
        interfacename = this.getControlProperty(MessageControl.INTERFACE_NAME);
        qname = new QName(interfacens, interfacename);
        bindingType.setInterface(qname);
        bindingType.setType(this.getControlProperty(WSOAP_BINDING_URI));
        interfacens = this.getControlProperty(SOAP_SENDING_URI);
        interfacename = "protocol";
        qname = new QName(interfacens, interfacename);
        value = this.getControlProperty(SOAP_URI);
        bindingType.getOtherAttributes().put(qname, value);
        
        this.addBindingOperationTypes(bindingType);
    }
798735
public void setType(TYPE type) {
    if(type == null) {
      type = TYPE.UNSET;
    }
    this.type = type;
  }
846715
@Api
	public void setMapType(MapType type) {
		this.type = type;
		if (googleMap != null) {
			setMapType(googleMap, type.toString());
		}
	}
789534
public void setEnableLogTypes(java.util.Collection<String> enableLogTypes) {
        if (enableLogTypes == null) {
            this.enableLogTypes = null;
            return;
        }

        this.enableLogTypes = new java.util.ArrayList<String>(enableLogTypes);
    }
1298856
public void addControllerListener(ControllerListener<? super INFO> controllerListener) {
    Preconditions.checkNotNull(controllerListener);
    if (mControllerListener instanceof InternalForwardingListener) {
      ((InternalForwardingListener<INFO>) mControllerListener).addListener(controllerListener);
      return;
    }
    if (mControllerListener != null) {
      mControllerListener = InternalForwardingListener.createInternal(
          mControllerListener,
          controllerListener);
      return;
    }
    // Listener only receives <INFO>, it never produces one.
    // That means if it can accept <? super INFO>, it can very well accept <INFO>.
    mControllerListener = (ControllerListener<INFO>) controllerListener;
  }
19249
public  <T extends AppController> RouteBuilder to(Class<T> type) {

        boolean hasControllerSegment = false;
        for (Segment segment : segments) {
            hasControllerSegment = segment.controller;
        }

        if (type != null && hasControllerSegment) {
            throw new IllegalArgumentException("Cannot combine {controller} segment and .to(\"...\") method. Failed route: " + routeConfig);
        }

        this.type = type;
        return this;
    }
811344
public static void putTicketGrantingTicketInScopes(final RequestContext context, final TicketGrantingTicket ticket) {
        val ticketValue = ticket != null ? ticket.getId() : null;
        putTicketGrantingTicketInScopes(context, ticketValue);
    }
196161
protected final <U extends GenericEvent> void bind(
      EventBus eventBus,
      List<HandlerRegistration> registrations,
      Class<U> type,
      GenericEventHandler handler) {
    registrations.add(eventBus.addHandler(GenericEventType.getTypeOf(type), handler));
  }
502357
public void setCdnConfigurationType(com.google.api.ads.admanager.axis.v201811.CdnConfigurationType cdnConfigurationType) {
        this.cdnConfigurationType = cdnConfigurationType;
    }