/* (non-Javadoc)
@see android.arch.lifecycle.LiveData#onInactive()
163189
@CallSuper
    @Override
    protected void onInactive() {
        for (Map.Entry<LiveData<?>, Source<?>> source : mSources) {
            source.getValue().unplug();
        }
    }
1351249
@Override
    public void setMaxInactiveInterval(int time) {
        this.maxInactiveTimeSetting = time;
        if (time < 0) {
            this.maxInactiveTime = NO_TIMEOUT;
        } else {
            this.maxInactiveTime = (time * 1000L);
        }
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(tc, "max-inactive time: " + this.maxInactiveTimeSetting);
        }
    }
350437
@OnLifecycleEvent(Lifecycle.Event.ON_START)
  public void onStart() {
    if (navigation != null) {
      navigation.addProgressChangeListener(progressChangeListener);
    }
  }
374603
@Override
  public void onActive(Result<? super Boolean> result)
  {
    _stubClass.onActive(this, result);
    
    if (_container != null) {
      _container.onActive();
      
      _stubClass.onActive(_container);
    }
  }
717979
@Override
	public void onCreate(Bundle savedInstanceState) {
		
		super.onCreate(savedInstanceState);
		
		EVENT_CONFIGURATION = EventLinker.Configuration.newInstance(this);
	}
955814
@Override
    public void instanceIsActive() throws AtlasException {
        LOG.info("Reacting to active: initializing index");
        try {
            initialize();
        } catch (RepositoryException | IndexException e) {
            throw new AtlasException("Error in reacting to active on initialization", e);
        }
    }
841372
public function setInactive() {
		if ($this->_active) {
			$this->removeClass(self::CLASS_ACTIVE);
			$this->_active = false;
		}
		
		return $this;
	}
364900
@EventHandler("action")
    private void onAction(PluginEvent event) {
        PluginException exception = null;
        PluginAction action = event.getAction();
        boolean debug = log.isDebugEnabled();

        if (pluginEventListeners1 != null) {
            for (IPluginEvent listener : new ArrayList<>(pluginEventListeners1)) {
                try {
                    if (debug) {
                        log.debug("Invoking IPluginEvent.on" + WordUtils.capitalizeFully(action.name()) + " for listener "
                                + listener);
                    }

                    switch (action) {
                        case LOAD:
                            listener.onLoad(this);
                            continue;

                        case UNLOAD:
                            listener.onUnload();
                            continue;

                        case ACTIVATE:
                            listener.onActivate();
                            continue;

                        case INACTIVATE:
                            listener.onInactivate();
                            continue;
                    }
                } catch (Throwable e) {
                    exception = createChainedException(action.name(), e, exception);
                }
            }
        }

        if (pluginEventListeners2 != null) {
            for (IPluginEventListener listener : new ArrayList<>(pluginEventListeners2)) {
                try {
                    if (debug) {
                        log.debug("Delivering " + action.name() + " event to IPluginEventListener listener " + listener);
                    }
                    listener.onPluginEvent(event);
                } catch (Throwable e) {
                    exception = createChainedException(action.name(), e, exception);
                }
            }
        }

        if (action == PluginAction.LOAD) {
            doAfterLoad();
        }

        if (exception != null) {
            throw exception;
        }
    }
797318
public static void executeNoninteractive() throws Exception
    {
        SQLCommandLineReader stdinReader = new LineReaderAdapter(new InputStreamReader(System.in));
        FileInfo fileInfo = FileInfo.forSystemIn();
        executeScriptFromReader(fileInfo, stdinReader, null);
    }
460535
public void setOn(final boolean ON) {
        boolean oldState = on;
        on = ON;
        propertySupport.firePropertyChange(STATE_PROPERTY, oldState, on);
        repaint(getInnerBounds());
    }
602592
public synchronized void onRunning() {

    LOG.entering(CLASS_NAME, "onRunning");

    if (this.driverStatus == DriverStatus.PRE_INIT) {
      this.onInit();
    }

    this.clientConnection.send(this.getRunningMessage());
    this.setStatus(DriverStatus.RUNNING);

    LOG.exiting(CLASS_NAME, "onRunning");
  }
215240
public void setActive()
        throws IOException, ServerException, ClientException {
        Session local = localServer.getSession();
        if (local.serverAddress == null) {
            throw new ClientException(ClientException.CALL_PASSIVE_FIRST);
        }
        setActive(local.serverAddress);
    }
676272
public void setInteractive(final boolean INTERACTIVE) {
        if (null == interactive) {
            _interactive = INTERACTIVE;
            fireUpdateEvent(INTERACTIVITY_EVENT);
        } else {
            interactive.set(INTERACTIVE);
        }
    }
650001
@Override
    public boolean onTouchEvent(MotionEvent event) {
        if (isEnabled()) {
            switch (event.getAction()) {
                case MotionEvent.ACTION_DOWN:
                    isSelected = true;
                    break;

                case MotionEvent.ACTION_UP:
                case MotionEvent.ACTION_CANCEL:
                    isSelected = false;
                    break;
            }
            invalidate();
        }
        return super.onTouchEvent(event);
    }
799960
private void notifyActive(Peer peer) {
		for(Listener listener : new HashSet<>(listeners)) {
			listener.onActive(peer);
		}
	}
298924
void setActive(boolean active) {

        m_deactivationPanel.setVisible(!active);
        m_datesPanel.setVisible(active);
        if (m_seriesCheckBox.getFormValue().booleanValue()) {
            setSerialOptionsVisible(active);
        }
        m_controller.sizeChanged();
    }
362783
@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mConfigResId = getArguments().getInt(EXTRA_CONFIG);

        //setStyle(DialogFragment.STYLE_NO_TITLE, R.style.Theme_AppCompat_Light);
    }