Searched refs:lastBoundsRect_ (Results 1 - 5 of 5) sorted by relevance
/foundation/arkui/ace_engine/test/unittest/core/pattern/video/ |
H A D | video_property_test_ng.cpp | 694 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 D | video_pattern.h | 238 lastBoundsRect_.SetRect(0.0f, 0.0f, 0.0f, 0.0f); in ResetLastBoundsRect() 438 Rect lastBoundsRect_; member in OHOS::OHOS::Ace::NG::VideoPattern
|
H A D | video_pattern.cpp | 1209 if (renderSurface_ && (rect != lastBoundsRect_)) { in OnModifyDone() 1211 lastBoundsRect_ = rect; in OnModifyDone()
|
/foundation/arkui/ace_engine/component_ext/movingphoto/ |
H A D | movingphoto_pattern.h | 244 Rect lastBoundsRect_; member in OHOS::Ace::NG::MovingPhotoPattern
|
H A D | movingphoto_pattern.cpp | 1359 if (renderSurface_ && (rect != lastBoundsRect_)) { in OnAreaChangedInner() 1361 lastBoundsRect_ = rect; in OnAreaChangedInner()
|
Completed in 9 milliseconds