Home
last modified time | relevance | path

Searched refs:lastBoundsRect_ (Results 1 - 5 of 5) sorted by relevance

/foundation/arkui/ace_engine/test/unittest/core/pattern/video/
H A Dvideo_property_test_ng.cpp694 EXPECT_FLOAT_EQ(videoPattern->lastBoundsRect_.Width(), SCREEN_WIDTH_SMALL); in HWTEST_F()
695 EXPECT_FLOAT_EQ(videoPattern->lastBoundsRect_.Height(), 0.0f); in HWTEST_F()
697 EXPECT_FLOAT_EQ(videoPattern->lastBoundsRect_.Width(), SCREEN_WIDTH_SMALL); in HWTEST_F()
698 EXPECT_FLOAT_EQ(videoPattern->lastBoundsRect_.Height(), 0.0f); in HWTEST_F()
702 * @tc.expected: step3. VideoPattern lastBoundsRect_'s width and height set correctly. in HWTEST_F()
707 EXPECT_FLOAT_EQ(videoPattern->lastBoundsRect_.Width(), SCREEN_WIDTH_SMALL); in HWTEST_F()
708 EXPECT_FLOAT_EQ(videoPattern->lastBoundsRect_.Height(), 0.0f); in HWTEST_F()
712 EXPECT_FLOAT_EQ(videoPattern->lastBoundsRect_.Width(), SCREEN_WIDTH_SMALL); in HWTEST_F()
713 EXPECT_FLOAT_EQ(videoPattern->lastBoundsRect_.Height(), SCREEN_HEIGHT_SMALL); in HWTEST_F()
716 EXPECT_FLOAT_EQ(videoPattern->lastBoundsRect_ in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/
H A Dvideo_pattern.h238 lastBoundsRect_.SetRect(0.0f, 0.0f, 0.0f, 0.0f); in ResetLastBoundsRect()
438 Rect lastBoundsRect_; member in OHOS::OHOS::Ace::NG::VideoPattern
H A Dvideo_pattern.cpp1209 if (renderSurface_ && (rect != lastBoundsRect_)) { in OnModifyDone()
1211 lastBoundsRect_ = rect; in OnModifyDone()
/foundation/arkui/ace_engine/component_ext/movingphoto/
H A Dmovingphoto_pattern.h244 Rect lastBoundsRect_; member in OHOS::Ace::NG::MovingPhotoPattern
H A Dmovingphoto_pattern.cpp1359 if (renderSurface_ && (rect != lastBoundsRect_)) { in OnAreaChangedInner()
1361 lastBoundsRect_ = rect; in OnAreaChangedInner()

Completed in 9 milliseconds