Home
last modified time | relevance | path

Searched refs:orientation_ (Results 1 – 25 of 37) sorted by relevance

12

/foundation/ace/ace_engine/adapter/preview/osal/
Dsystem_properties.cpp70 DeviceOrientation SystemProperties::orientation_ { DeviceOrientation::PORTRAIT };
108 orientation_ = DeviceOrientation::PORTRAIT; in InitDeviceInfo()
110 orientation_ = DeviceOrientation::LANDSCAPE; in InitDeviceInfo()
128 if (orientation == ORIENTATION_PORTRAIT && orientation_ != DeviceOrientation::PORTRAIT) { in SetDeviceOrientation()
130 orientation_ = DeviceOrientation::PORTRAIT; in SetDeviceOrientation()
131 … } else if (orientation == ORIENTATION_LANDSCAPE && orientation_ != DeviceOrientation::LANDSCAPE) { in SetDeviceOrientation()
133 orientation_ = DeviceOrientation::LANDSCAPE; in SetDeviceOrientation()
/foundation/ace/ace_engine/interfaces/innerkits/ace/
Dviewport_config.h75 orientation_ = orientation; in SetOrientation()
80 return orientation_; in Orientation()
87 config.append(" orintentation:" + std::to_string(orientation_)); in ToString()
98 int32_t orientation_ = 0; variable
/foundation/graphic/ui/interfaces/kits/components/
Dui_arc_label.h322 if (orientation_ != orientation) { in SetArcTextOrientation()
323 orientation_ = orientation; in SetArcTextOrientation()
337 return orientation_; in GetArcTextOrientation()
387 TextOrientation orientation_; variable
/foundation/ace/ace_engine/frameworks/base/utils/
Dresource_configuration.h50 orientation_ = orientation; in SetOrientation()
55 return orientation_; in GetOrientation()
96 DeviceOrientation orientation_ = DeviceOrientation::PORTRAIT; variable
Dsystem_properties.h95 return orientation_; in GetDevcieOrientation()
278 static DeviceOrientation orientation_; variable
/foundation/ace/ace_engine/adapter/ohos/osal/
Dsystem_properties.cpp143 DeviceOrientation SystemProperties::orientation_ { DeviceOrientation::PORTRAIT };
224 if (orientation == ORIENTATION_PORTRAIT && orientation_ != DeviceOrientation::PORTRAIT) { in SetDeviceOrientation()
226 orientation_ = DeviceOrientation::PORTRAIT; in SetDeviceOrientation()
227 … } else if (orientation == ORIENTATION_LANDSCAPE && orientation_ != DeviceOrientation::LANDSCAPE) { in SetDeviceOrientation()
229 orientation_ = DeviceOrientation::LANDSCAPE; in SetDeviceOrientation()
/foundation/graphic/ui/frameworks/components/
Dui_arc_label.cpp32 orientation_(TextOrientation::INSIDE),
139 arcTextInfo_, orientation_, *style_, opaScale); in DrawArcText()
160 …TypedText::GetArcTextRect(arcLabelText_->GetText(), arcCenter_, style_->letterSpace_, orientation_, in ReMeasure()
181 …arcTextInfo_.radius = ((orientation_ == TextOrientation::INSIDE) ? radius_ : (radius_ - letterHeig… in MeasureArcTextInfo()
210 arcTextInfo_.direct, orientation_); in MeasureArcTextInfo()
/foundation/windowmanager/dmserver/src/
Dabstract_display.cpp95 orientation_ = orientation; in SetOrientation()
167 displayInfo->orientation_ = orientation_; in ConvertToDisplayInfo()
Dabstract_screen.cpp205 info->orientation_ = orientation_; in FillScreenInfo()
213 orientation_ = orientation; in SetOrientation()
/foundation/ace/ace_engine/frameworks/base/resource/
Dace_res_config.cpp429 if (bestConfig.orientation_ != candidateConfig.orientation_ && in IsCandidateResConfigPreferred()
430 deviceConfig.orientation_ != DeviceOrientation::ORIENTATION_UNDEFINED) { in IsCandidateResConfigPreferred()
431 return candidateConfig.orientation_ != DeviceOrientation::ORIENTATION_UNDEFINED; in IsCandidateResConfigPreferred()
468 if (bestConfig.orientation_ != candidateConfig.orientation_ && in IsCandidateDeclarativeResConfigPreferred()
469 deviceConfig.orientation_ != DeviceOrientation::ORIENTATION_UNDEFINED) { in IsCandidateDeclarativeResConfigPreferred()
470 return candidateConfig.orientation_ != DeviceOrientation::ORIENTATION_UNDEFINED; in IsCandidateDeclarativeResConfigPreferred()
597 return supported.orientation_ == DeviceOrientation::ORIENTATION_UNDEFINED || in IsOrientationMatch()
598 supported.orientation_ == desired.orientation_; in IsOrientationMatch()
691orientation_ == other.orientation_ && colorMode_ == other.colorMode_ && deviceType_ == other.devic… in operator ==()
903 orientation_ = static_cast<DeviceOrientation>(keyParam.value); in ParseConfig()
[all …]
Dace_res_config.h40 … : mcc_(mcc), mnc_(mnc), orientation_(orientation), colorMode_(colorMode), deviceType_(deviceType), in AceResConfig()
48orientation_(orientation), colorMode_(colorMode), deviceType_(deviceType), resolution_(resolution) in AceResConfig()
86 DeviceOrientation orientation_ = DeviceOrientation::ORIENTATION_UNDEFINED; variable
/foundation/windowmanager/utils/src/
Ddisplay_info.cpp26 parcel.WriteUint32(static_cast<uint32_t>(orientation_)) && in Marshalling()
52 displayInfo->orientation_ = static_cast<Orientation>(orientation); in Unmarshalling()
Dscreen_info.cpp25 parcel.WriteUint32(static_cast<uint32_t>(orientation_)) && in Marshalling()
84 orientation_ = static_cast<Orientation>(orientation); in InnerUnmarshalling()
/foundation/windowmanager/wm/test/systemtest/
Dwindow_rotation_test.cpp133 fullInfo_.orientation_ = Orientation::UNSPECIFIED;
164 fullInfo_.orientation_ = Orientation::REVERSE_HORIZONTAL;
201 fullInfo_.orientation_ = Orientation::REVERSE_HORIZONTAL;
234 fullInfo_.orientation_ = Orientation::HORIZONTAL;
Dwindow_test_utils.h45 Orientation orientation_ { Orientation::UNSPECIFIED };
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/src/mission/
Dsnapshot_converter.cpp30 snapshot.orientation_ = 0; in ConvertToSnapshot()
63 snapshot->orientation_ = 0; in ConvertToSnapshot()
Dsnapshot.cpp47 PARCEL_WRITE_HELPER_RET(data, Int32, orientation_, false); in WriteToParcel()
115 snapShot->orientation_ = orientation; in FillSnapShot()
214 PARCEL_WRITE_HELPER_RET(parcel, Int32, orientation_, false); // for orientation in WriteSnapshotInfo()
/foundation/multimedia/medialibrary_standard/frameworks/innerkitsimpl/media_scanner/src/
Dmetadata.cpp42 orientation_(FILE_ORIENTATION_DEFAULT), in Metadata()
244 orientation_ = std::get<int32_t>(orientation); in SetOrientation()
249 return orientation_; in GetOrientation()
/foundation/multimedia/medialibrary_standard/frameworks/innerkitsimpl/media_library/src/
Dfile_asset.cpp40 orientation_(DEFAULT_MEDIA_ORIENTATION), in FileAsset()
210 return orientation_; in GetOrientation()
215 orientation_ = orientation; in SetOrientation()
/foundation/aafwk/standard/services/abilitymgr/src/
Dams_configuration_parameter.cpp72 return orientation_; in GetOrientation()
190orientation_ = Object.at(AmsConfig::SYSTEM_CONFIGURATION).at(AmsConfig::SYSTEM_ORIENTATION).get<st… in LoadSystemConfiguration()
/foundation/multimedia/image_standard/plugins/common/libs/image/libjpegplugin/include/
Dexif_info.h43 std::string orientation_; variable
/foundation/aafwk/standard/services/abilitymgr/include/
Dams_configuration_parameter.h143 std::string orientation_ {""};
/foundation/windowmanager/dmserver/include/
Dabstract_display.h72 Orientation orientation_ { Orientation::UNSPECIFIED };
/foundation/ace/ace_engine/frameworks/core/components/semi_modal/
Drender_semi_modal.h115 DeviceOrientation orientation_ = DeviceOrientation::ORIENTATION_UNDEFINED; variable
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/include/mission/
Dsnapshot.h31 int32_t orientation_ = 0; variable

12