Lines Matching refs:mParameters
256 info->setButtonUnderPad(mParameters.hasButtonUnderPad); in populateDeviceInfo()
419 mParameters.gestureMode = getDeviceContext().hasInputProperty(INPUT_PROP_SEMI_MT) in configureParameters()
427 mParameters.gestureMode = Parameters::GestureMode::SINGLE_TOUCH; in configureParameters()
429 mParameters.gestureMode = Parameters::GestureMode::MULTI_TOUCH; in configureParameters()
437 mParameters.deviceType = Parameters::DeviceType::TOUCH_SCREEN; in configureParameters()
440 mParameters.deviceType = Parameters::DeviceType::POINTER; in configureParameters()
445 mParameters.deviceType = Parameters::DeviceType::TOUCH_PAD; in configureParameters()
448 mParameters.deviceType = Parameters::DeviceType::POINTER; in configureParameters()
451 mParameters.hasButtonUnderPad = getDeviceContext().hasInputProperty(INPUT_PROP_BUTTONPAD); in configureParameters()
457 mParameters.deviceType = Parameters::DeviceType::TOUCH_SCREEN; in configureParameters()
459 mParameters.deviceType = Parameters::DeviceType::TOUCH_PAD; in configureParameters()
461 mParameters.deviceType = Parameters::DeviceType::TOUCH_NAVIGATION; in configureParameters()
463 mParameters.deviceType = Parameters::DeviceType::POINTER; in configureParameters()
469 mParameters.orientationAware = mParameters.deviceType == Parameters::DeviceType::TOUCH_SCREEN; in configureParameters()
471 mParameters.orientationAware); in configureParameters()
473 mParameters.hasAssociatedDisplay = false; in configureParameters()
474 mParameters.associatedDisplayIsExternal = false; in configureParameters()
475 if (mParameters.orientationAware || in configureParameters()
476 mParameters.deviceType == Parameters::DeviceType::TOUCH_SCREEN || in configureParameters()
477 mParameters.deviceType == Parameters::DeviceType::POINTER) { in configureParameters()
478 mParameters.hasAssociatedDisplay = true; in configureParameters()
479 if (mParameters.deviceType == Parameters::DeviceType::TOUCH_SCREEN) { in configureParameters()
480 mParameters.associatedDisplayIsExternal = getDeviceContext().isExternal(); in configureParameters()
484 mParameters.uniqueDisplayId = uniqueDisplayId.c_str(); in configureParameters()
488 mParameters.hasAssociatedDisplay = true; in configureParameters()
494 mParameters.wake = getDeviceContext().isExternal(); in configureParameters()
495 getDeviceContext().getConfiguration().tryGetProperty(String8("touch.wake"), mParameters.wake); in configureParameters()
501 dump += INDENT4 "GestureMode: " + NamedEnum::string(mParameters.gestureMode) + "\n"; in dumpParameters()
503 dump += INDENT4 "DeviceType: " + NamedEnum::string(mParameters.deviceType) + "\n"; in dumpParameters()
507 toString(mParameters.hasAssociatedDisplay), in dumpParameters()
508 toString(mParameters.associatedDisplayIsExternal), in dumpParameters()
509 mParameters.uniqueDisplayId.c_str()); in dumpParameters()
510 dump += StringPrintf(INDENT4 "OrientationAware: %s\n", toString(mParameters.orientationAware)); in dumpParameters()
548 if (mParameters.hasAssociatedDisplay && mDeviceMode != DeviceMode::UNSCALED) { in findViewport()
567 if (!mParameters.uniqueDisplayId.empty()) { in findViewport()
568 return mConfig.getDisplayViewportByUniqueId(mParameters.uniqueDisplayId); in findViewport()
572 if (mParameters.associatedDisplayIsExternal) { in findViewport()
605 if (mParameters.deviceType == Parameters::DeviceType::POINTER && in configureSurface()
621 } else if (mParameters.deviceType == Parameters::DeviceType::TOUCH_NAVIGATION) { in configureSurface()
743 mSurfaceOrientation = mParameters.orientationAware in configureSurface()
748 skipViewportUpdate = mParameters.orientationAware && in configureSurface()
752 mSurfaceOrientation = mParameters.orientationAware ? mViewport.orientation in configureSurface()
779 (mParameters.deviceType == Parameters::DeviceType::POINTER && mConfig.pointerCapture)) { in configureSurface()
1557 if (mParameters.wake) { in cookAndDispatch()
1674 return mParameters.deviceType == Parameters::DeviceType::TOUCH_SCREEN && in isTouchScreen()
1675 mParameters.hasAssociatedDisplay; in isTouchScreen()
2401 if (mParameters.gestureMode == Parameters::GestureMode::MULTI_TOUCH) { in dispatchPointerGestures()
2420 if (mParameters.gestureMode == Parameters::GestureMode::MULTI_TOUCH && in dispatchPointerGestures()
2439 if (mParameters.gestureMode == Parameters::GestureMode::MULTI_TOUCH) { in dispatchPointerGestures()
3988 if (mParameters.hasAssociatedDisplay) { in getAssociatedDisplayId()