Searched refs:RotationType (Results 1 – 4 of 4) sorted by relevance
50 OHOS::NWeb::RotationType DisplayAdapterImpl::ConvertRotationType(OHOS::Rosen::Rotation type) in ConvertRotationType()54 return OHOS::NWeb::RotationType::ROTATION_0; in ConvertRotationType()56 return OHOS::NWeb::RotationType::ROTATION_90; in ConvertRotationType()58 return OHOS::NWeb::RotationType::ROTATION_180; in ConvertRotationType()60 return OHOS::NWeb::RotationType::ROTATION_270; in ConvertRotationType()62 return OHOS::NWeb::RotationType::ROTATION_BUTT; in ConvertRotationType()122 RotationType DisplayAdapterImpl::GetRotation() in GetRotation()127 return RotationType::ROTATION_BUTT; in GetRotation()
98 EXPECT_EQ(displayAdapterImpl->GetRotation(), RotationType::ROTATION_BUTT);136 OHOS::NWeb::RotationType retType;138 EXPECT_EQ(retType, OHOS::NWeb::RotationType::ROTATION_0);142 EXPECT_EQ(retType, OHOS::NWeb::RotationType::ROTATION_90);146 EXPECT_EQ(retType, OHOS::NWeb::RotationType::ROTATION_180);150 EXPECT_EQ(retType, OHOS::NWeb::RotationType::ROTATION_270);155 EXPECT_EQ(retType, OHOS::NWeb::RotationType::ROTATION_BUTT);246 EXPECT_NE(displayAdapterImpl->GetRotation(), RotationType::ROTATION_BUTT);
23 enum class RotationType : uint32_t { enum70 virtual RotationType GetRotation() = 0;
49 RotationType GetRotation() override;53 OHOS::NWeb::RotationType ConvertRotationType(OHOS::Rosen::Rotation type);