Home
last modified time | relevance | path

Searched refs:orientationString (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp397 std::optional<std::string> orientationString = config.getString("touch.orientation"); in computeParameters() local
398 if (orientationString.has_value()) { in computeParameters()
401 } else if (*orientationString == "ORIENTATION_90") { in computeParameters()
403 } else if (*orientationString == "ORIENTATION_180") { in computeParameters()
405 } else if (*orientationString == "ORIENTATION_270") { in computeParameters()
407 } else if (*orientationString != "ORIENTATION_0") { in computeParameters()
408 ALOGW("Invalid value for touch.orientation: '%s'", orientationString->c_str()); in computeParameters()