• Home
  • Raw
  • Download

Lines Matching refs:mParameters

255         info->setButtonUnderPad(mParameters.hasButtonUnderPad);  in populateDeviceInfo()
420 mParameters.gestureMode = getDeviceContext().hasInputProperty(INPUT_PROP_SEMI_MT) in configureParameters()
428 mParameters.gestureMode = Parameters::GestureMode::SINGLE_TOUCH; in configureParameters()
430 mParameters.gestureMode = Parameters::GestureMode::MULTI_TOUCH; in configureParameters()
438 mParameters.deviceType = Parameters::DeviceType::TOUCH_SCREEN; in configureParameters()
441 mParameters.deviceType = Parameters::DeviceType::POINTER; in configureParameters()
446 mParameters.deviceType = Parameters::DeviceType::TOUCH_PAD; in configureParameters()
449 mParameters.deviceType = Parameters::DeviceType::POINTER; in configureParameters()
452 mParameters.hasButtonUnderPad = getDeviceContext().hasInputProperty(INPUT_PROP_BUTTONPAD); in configureParameters()
458 mParameters.deviceType = Parameters::DeviceType::TOUCH_SCREEN; in configureParameters()
460 mParameters.deviceType = Parameters::DeviceType::TOUCH_PAD; in configureParameters()
462 mParameters.deviceType = Parameters::DeviceType::TOUCH_NAVIGATION; in configureParameters()
464 mParameters.deviceType = Parameters::DeviceType::POINTER; in configureParameters()
470 mParameters.orientationAware = mParameters.deviceType == Parameters::DeviceType::TOUCH_SCREEN; in configureParameters()
472 mParameters.orientationAware); in configureParameters()
474 mParameters.orientation = Parameters::Orientation::ORIENTATION_0; in configureParameters()
478 if (mParameters.deviceType != Parameters::DeviceType::TOUCH_SCREEN) { in configureParameters()
481 mParameters.orientation = Parameters::Orientation::ORIENTATION_90; in configureParameters()
483 mParameters.orientation = Parameters::Orientation::ORIENTATION_180; in configureParameters()
485 mParameters.orientation = Parameters::Orientation::ORIENTATION_270; in configureParameters()
491 mParameters.hasAssociatedDisplay = false; in configureParameters()
492 mParameters.associatedDisplayIsExternal = false; in configureParameters()
493 if (mParameters.orientationAware || in configureParameters()
494 mParameters.deviceType == Parameters::DeviceType::TOUCH_SCREEN || in configureParameters()
495 mParameters.deviceType == Parameters::DeviceType::POINTER) { in configureParameters()
496 mParameters.hasAssociatedDisplay = true; in configureParameters()
497 if (mParameters.deviceType == Parameters::DeviceType::TOUCH_SCREEN) { in configureParameters()
498 mParameters.associatedDisplayIsExternal = getDeviceContext().isExternal(); in configureParameters()
502 mParameters.uniqueDisplayId = uniqueDisplayId.c_str(); in configureParameters()
506 mParameters.hasAssociatedDisplay = true; in configureParameters()
512 mParameters.wake = getDeviceContext().isExternal(); in configureParameters()
513 getDeviceContext().getConfiguration().tryGetProperty(String8("touch.wake"), mParameters.wake); in configureParameters()
519 dump += INDENT4 "GestureMode: " + ftl::enum_string(mParameters.gestureMode) + "\n"; in dumpParameters()
521 dump += INDENT4 "DeviceType: " + ftl::enum_string(mParameters.deviceType) + "\n"; in dumpParameters()
525 toString(mParameters.hasAssociatedDisplay), in dumpParameters()
526 toString(mParameters.associatedDisplayIsExternal), in dumpParameters()
527 mParameters.uniqueDisplayId.c_str()); in dumpParameters()
528 dump += StringPrintf(INDENT4 "OrientationAware: %s\n", toString(mParameters.orientationAware)); in dumpParameters()
529 dump += INDENT4 "Orientation: " + ftl::enum_string(mParameters.orientation) + "\n"; in dumpParameters()
566 if (mParameters.hasAssociatedDisplay && mDeviceMode != DeviceMode::UNSCALED) { in findViewport()
589 if (!mParameters.uniqueDisplayId.empty()) { in findViewport()
590 return mConfig.getDisplayViewportByUniqueId(mParameters.uniqueDisplayId); in findViewport()
594 if (mParameters.associatedDisplayIsExternal) { in findViewport()
891 if (mParameters.deviceType == Parameters::DeviceType::POINTER && in configureInputDevice()
907 } else if (mParameters.deviceType == Parameters::DeviceType::TOUCH_NAVIGATION) { in configureInputDevice()
957 (mViewport.orientation - static_cast<int32_t>(mParameters.orientation) + 4) % 4; in configureInputDevice()
1015 mInputDeviceOrientation = mParameters.orientationAware in configureInputDevice()
1020 skipViewportUpdate = !viewportDisplayIdChanged && mParameters.orientationAware && in configureInputDevice()
1026 (mInputDeviceOrientation + static_cast<int32_t>(mParameters.orientation)) % 4; in configureInputDevice()
1049 (mParameters.deviceType == Parameters::DeviceType::POINTER && in configureInputDevice()
1596 if (mParameters.wake) { in cookAndDispatch()
1713 return mParameters.deviceType == Parameters::DeviceType::TOUCH_SCREEN && in isTouchScreen()
1714 mParameters.hasAssociatedDisplay; in isTouchScreen()
2446 if (mParameters.gestureMode == Parameters::GestureMode::MULTI_TOUCH) { in dispatchPointerGestures()
2466 if (mParameters.gestureMode == Parameters::GestureMode::MULTI_TOUCH && in dispatchPointerGestures()
2485 if (mParameters.gestureMode == Parameters::GestureMode::MULTI_TOUCH) { in dispatchPointerGestures()
4066 if (mParameters.hasAssociatedDisplay) { in getAssociatedDisplayId()