Called by our overridden MovementInputFromOptions class.
@return true if we've handled the movement; false if the MovementInputFromOptions class should delegate to the default handling.
353401
protected boolean updateState()
    {
        if (!overrideKeyboardInput)
        {
            return false;   // Let the class do the default thing.
        }
        // Update movement:
        mTicksSinceLastVelocityChange++;
        if (mTicksSinceLastVelocityChange <= mInertiaTicks)
        {
            mVelocity += (mTargetVelocity - mVelocity) * ((float)mTicksSinceLastVelocityChange/(float)mInertiaTicks);
        }
        else
        {
            mVelocity = mTargetVelocity;
        }
        
        this.overrideMovement.moveForward = mVelocity;

        // This code comes from the Minecraft MovementInput superclass - needed so as not to give the bot an unfair
        // advantage when sneaking!
        if (this.overrideMovement.sneak)
        {
            this.overrideMovement.moveStrafe = (float)((double)this.overrideMovement.moveStrafe * 0.3D);
            this.overrideMovement.moveForward = (float)((double)this.overrideMovement.moveForward * 0.3D);
        }
        updateYawAndPitch();
        return true;
    }
27418
public boolean isInputVertex() {

		if (this.backwardLinks.size() == 0) {
			return true;
		}

		final Iterator<ExecutionGroupEdge> it = this.backwardLinks.iterator();
		while (it.hasNext()) {
			if (it.next().getSourceVertex().getStageNumber() == this.getStageNumber()) {
				return false;
			}
		}

		return true;
	}
242067
public boolean dispatchMotionEvent(MotionEvent event) {
        GVRCursorController controller = getUniqueControllerId(event.getDeviceId());
        if ((controller != null) && controller.isEnabled()) {
            return controller.dispatchMotionEvent(event);
        }
        return false;
    }
1100260
boolean isMoveNonZero(MovingParams details) {
		boolean moveNonZero = details.getXAxisDelta() != 0.0f
				|| details.getYAxisDelta() != 0.0f;
		if (!moveNonZero) {
			LOGGER.warn("Zero movement detected. No movement will be performed");
		}
		return moveNonZero;
	}
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);
    }
172164
function () {
                for (var index = 0; index < this.actions.length; index++) {
                    var action = this.actions[index];
                    if (action.trigger >= ActionManager._OnPickTrigger && action.trigger <= ActionManager._OnPointerOutTrigger) {
                        return true;
                    }
                }
                return false;
            }
1113759
public boolean onMove(int nIDMoveCommand)
    {
        Record record = this.getMainRecord();
        if (record == null)
            return false;
        try
        {
            if (record.isModified(false))
            {
                if (record.getEditMode() == Constants.EDIT_IN_PROGRESS)
                    record.set();
                else if (record.getEditMode() == Constants.EDIT_ADD)
                    record.add();
            }
            if ((nIDMoveCommand == Constants.NEXT_RECORD) && (!record.hasNext()))
                this.onAdd();   // Next record, enter "Add" mode
            else if ((nIDMoveCommand == Constants.PREVIOUS_RECORD) && (!record.hasPrevious()))
                this.onMove(Constants.FIRST_RECORD);      // Can't move before the first record
            else
                record.move(nIDMoveCommand);
            record.isModified(false);
            this.clearStatusText();
        } catch(DBException ex) {
            this.displayError(ex);
            return false;
        }
        return true;    // Command processed
    }
67559
public boolean doAction(String strAction, int iOptions)
    {
        if (Constants.CLOSE.equalsIgnoreCase(strAction))
        {
            this.linkActivated(null, null);
            return true;	// Don't let anyone else handle my actions
        }
    	return super.doAction(strAction, iOptions);
    }
263628
public boolean doAction(String strAction, int iOptions)
    {
        Container parent = null;
        FieldList record = null;
        if (m_topPane != null)
            parent = m_topPane.getParent();
        if (Constants.BACK.equalsIgnoreCase(strAction))
        {
            strAction = this.popHistory();  // Pop this screen
            strAction = this.popHistory();  // Last screen
        }
        if (Constants.FORM.equalsIgnoreCase(strAction))
        {
            JTable table = (JTable)JBasePanel.getSubScreen(this, JTable.class);
            AbstractThinTableModel model = this.getModel(table);
            if (model != null)
            {
                int iSelectedRow = model.getSelectedRow();
                if (iSelectedRow != -1)
                    record = model.makeRowCurrent(iSelectedRow, false);
                if (record == null)
                    record = model.getFieldTable().getRecord();
                JBasePanel subScreen = null;
                if (table != null)
                    subScreen = (JBasePanel)this.getTargetScreen(table, JBasePanel.class);
                else
                    subScreen = (JBasePanel)JBasePanel.getSubScreen(this, JBasePanel.class);
                if (subScreen != null)
                    subScreen.free();
            
                parent.remove(m_topPane);
            }

            m_topPane = this.createNewScreen(strAction, record);
            m_topPane = this.setupNewScreen((JBaseScreen)m_topPane);
            m_topPane.setAlignmentX(Component.LEFT_ALIGNMENT);
            m_topPane.setAlignmentY(Component.TOP_ALIGNMENT);
            parent.add(m_topPane, 0);
            this.pushHistory(strAction);

            parent.validate();
            return true;
        }
        else if (Constants.GRID.equalsIgnoreCase(strAction))
        {
//x            JScreen screen = (JScreen)JBasePanel.getSubScreen(this, JScreen.class);
            if (m_topPane != null)
            {
                if (m_topPane instanceof JBaseScreen)
                {
                    record = ((JBaseScreen)m_topPane).getFieldList();
                    ((JBaseScreen)m_topPane).free();              
                }
                parent.remove(m_topPane);
            }

            m_topPane = this.createNewScreen(strAction, record);
            m_topPane = this.setupNewScreen((JBaseScreen)m_topPane);
            if (parent == null)
                parent = this;
            m_topPane.setAlignmentX(Component.LEFT_ALIGNMENT);
            m_topPane.setAlignmentY(Component.TOP_ALIGNMENT);
            parent.add(m_topPane, 0);
            this.pushHistory(strAction);

            parent.validate();
            return true;
        }
        return super.doAction(strAction, iOptions);
    }
1250711
public boolean onDrag(MouseButton button)
	{
		if (!isEnabled())
			return false;

		return parent != null ? parent.onDrag(button) : false;
	}
18950
protected boolean isCreateStandardEventHandlers() {
		int idx = 0;
		if (this.isConstructorCreationEnabled) {
			++idx;
		}
		if (this.isInheritedCreationEnabled) {
			++idx;
		}
		return this.isDefaultEventGenerated && this.methodStubsButtons.isSelected(idx);
	}
429700
@Pure
	public boolean isTemporaryChange() {
		final Object src = getSource();
		if (src instanceof MapLayer) {
			return ((MapLayer) src).isTemporaryLayer();
		}
		return false;
	}
30273
public function MoveNext()
	{
		if ( ! $this->iteratorStarted )
		{
			$this->Init();
			$this->pos = -1;
			$this->iteratorStarted = true;
		}

		/**
		 * @var XPathItem $item
		 */
		$item = $this->NextItem();
		if ( ! is_null( $item ) )
		{
			$this->pos++;
			$this->curr = $item;
			return true;
		}

		$this->iteratorFinished = true;
		return false;
	}
53212
public boolean trySettingInputEnabled(boolean inputEnabled) {
        if (mDoingTouch && !inputEnabled) {
            // If we're trying to disable input, but we're in the middle of a touch event,
            // we'll allow the touch event to continue before disabling input.
            return false;
        }

        mInputEnabled = inputEnabled;
        mGrayBox.setVisibility(inputEnabled? View.INVISIBLE : View.VISIBLE);
        return true;
    }
911388
public boolean markInactive() {
		if (TaskSlotState.ACTIVE == state || TaskSlotState.ALLOCATED == state) {
			state = TaskSlotState.ALLOCATED;

			return true;
		} else {
			return false;
		}
	}
751304
public boolean doAction(String strAction, int iOptions)
    {
        if (strAction == Constants.SUBMIT)
        {
            this.controlsToFields();    // Move screen data to record
        }
        else if (strAction == Constants.RESET)
        {
            this.resetFields();
        }
        return super.doAction(strAction, iOptions);
    }
120406
@Override
    public boolean isTransactionActive() {

        if (this.getTransactionManager() != null)
            try {
                if (this.getTransactionManager().getStatus() == Status.STATUS_ACTIVE)
                    return true;

            } catch (SystemException se) {
                if (TC.isDebugEnabled()) {
                    Tr.debug(TC, "Returning isTransactionActive() false: " + se.getMessage());
                }
                return false;
            }
        return false;
    }