Lines Matching refs:mDeviceMode
3060 mSource(0), mDeviceMode(DEVICE_MODE_DISABLED), in TouchInputMapper()
3076 if (mDeviceMode != DEVICE_MODE_DISABLED) { in populateDeviceInfo()
3132 dump += StringPrintf(INDENT2 "Touch Input Mapper (mode - %s):\n", modeToString(mDeviceMode)); in dump()
3209 if (mDeviceMode == DEVICE_MODE_POINTER) { in dump()
3504 int32_t oldDeviceMode = mDeviceMode; in configureSurface()
3512 mDeviceMode = DEVICE_MODE_POINTER; in configureSurface()
3519 mDeviceMode = DEVICE_MODE_DIRECT; in configureSurface()
3528 mDeviceMode = DEVICE_MODE_NAVIGATION; in configureSurface()
3531 mDeviceMode = DEVICE_MODE_UNSCALED; in configureSurface()
3538 mDeviceMode = DEVICE_MODE_DISABLED; in configureSurface()
3549 mDeviceMode = DEVICE_MODE_DISABLED; in configureSurface()
3561 if (mDeviceMode == DEVICE_MODE_DIRECT || mDeviceMode == DEVICE_MODE_POINTER) { in configureSurface()
3644 bool deviceModeChanged = mDeviceMode != oldDeviceMode; in configureSurface()
3650 if (mDeviceMode == DEVICE_MODE_POINTER || in configureSurface()
3651 (mDeviceMode == DEVICE_MODE_DIRECT && mConfig.showTouches)) { in configureSurface()
3663 mSurfaceOrientation, mDeviceMode, mViewport.displayId); in configureSurface()
3892 if (mDeviceMode == DEVICE_MODE_POINTER) { in configureSurface()
4377 if (mDeviceMode == DEVICE_MODE_DISABLED) { in processRawTouches()
4442 if (mDeviceMode == DEVICE_MODE_DIRECT) { in cookAndDispatch()
4471 if (mDeviceMode == DEVICE_MODE_POINTER) { in cookAndDispatch()
4514 if (mDeviceMode == DEVICE_MODE_DIRECT in cookAndDispatch()
4554 if (mDeviceMode == DEVICE_MODE_DIRECT && hasExternalStylus() && mExternalStylusId != -1) { in applyExternalStylusButtonState()
4581 if (mDeviceMode != DEVICE_MODE_DIRECT || !hasExternalStylus()) { in assignExternalStylusId()
4624 if (mDeviceMode == DEVICE_MODE_POINTER) { in timeoutExpired()
4628 } else if (mDeviceMode == DEVICE_MODE_DIRECT) { in timeoutExpired()
6845 if (mDeviceMode == DEVICE_MODE_POINTER) { in getAssociatedDisplay()