Home
last modified time | relevance | path

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

/ohos5.0/base/print/print_fwk/services/print_service/src/
H A Dprint_cups_attribute.cpp376 int orientationEnum = ippGetInteger(attrPtr, 0); in ParseOrientationAttributes() local
377 … printerCaps.SetPrinterAttrNameAndValue(keyword.c_str(), std::to_string(orientationEnum).c_str()); in ParseOrientationAttributes()
378 PRINT_HILOGD("orientation-default found: %{public}d", orientationEnum); in ParseOrientationAttributes()
389 int orientationEnum = ippGetInteger(attrPtr, i); in ParseOrientationAttributes() local
390 supportedOrientationArray.push_back(orientationEnum); in ParseOrientationAttributes()
391 supportedOrientations.emplace_back(orientationEnum); in ParseOrientationAttributes()
392 PRINT_HILOGD("orientation-supported found: %{public}d", orientationEnum); in ParseOrientationAttributes()
H A Dvendor_helper.cpp629 … int orientationEnum = static_cast<int>(capability->supportedOrientations[i]) + ORIENTATION_OFFSET; in UpdateOrientationCapability() local
630 supportedOrientationArray.push_back(orientationEnum); in UpdateOrientationCapability()
631 supportedOrientations.push_back(static_cast<uint32_t>(orientationEnum)); in UpdateOrientationCapability()