Home
last modified time | relevance | path

Searched refs:Intersect (Results 1 – 25 of 53) sorted by relevance

123

/ohos5.0/foundation/multimedia/av_codec/frameworks/native/avcodeclist/
H A Davcodec_info.cpp186 Range horizontalBlockNum = horizontalBlockRange_.Intersect( in GetVideoWidthRangeForHeight()
188 ret = ret.Intersect( in GetVideoWidthRangeForHeight()
208 Range verticalBlockNum = verticalBlockRange_.Intersect( in GetVideoHeightRangeForWidth()
210 ret = ret.Intersect( in GetVideoHeightRangeForWidth()
309 frameRateRange_ = frameRateRange_.Intersect(Range(1, maxFrameRate)); in LoadMPEGLevelParams()
339 blockPerFrameRange_ = blockPerFrameRange_.Intersect(blockPerFrameRange); in UpdateBlockParams()
340 blockPerSecondRange_ = blockPerSecondRange_.Intersect(blockPerSecondRange); in UpdateBlockParams()
393 blockPerFrameRange_ = blockPerFrameRange_.Intersect(DivRange(data_->blockPerFrame, factor)); in UpdateParams()
394 blockPerSecondRange_ = blockPerSecondRange_.Intersect(DivRange(data_->blockPerSecond, factor)); in UpdateParams()
395 horizontalBlockRange_ = horizontalBlockRange_.Intersect( in UpdateParams()
[all …]
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_box_scroll_bar.cpp36 if (!rect.Intersect(invalidatedArea, backgroundRect_)) { in OnDraw()
64 rect.Intersect(invalidatedArea, rect); in OnDraw()
H A Droot_view.cpp82 if (!mask.Intersect(originRect, leftoverRect)) { in DivideInvalidateRect()
358 if (!curview->IsVisible() || !rect.Intersect(curview->GetRect(), GetScreenRect())) { in OptimizeInvalidMap()
396 rect.Intersect(viewRenderRect[i], buffRect); in DrawInvalidMap()
452 if (commonRect.Intersect(rect, GetScreenRect())) { in AddInvalidateRect()
570 if (invalidRect.Intersect(invalidRect, invalidatedArea)) { in Render()
657 if (curViewRect.Intersect(curView->GetMaskedRect(), mask) || enableAnimator) { in Render()
695 mask.Intersect(mask, curViewRect); in Render()
726 } else if (curViewRect.Intersect(curViewRect, mask)) { in Render()
H A Dui_button.cpp85 if (trunc.Intersect(trunc, viewRect)) { in DrawImg()
284 invalidatedArea.Intersect(invalidatedArea, rect); in OnPreDraw()
H A Dui_checkbox.cpp236 if (trunc.Intersect(trunc, coords)) { in OnDraw()
241 bool isIntersect = trunc.Intersect(trunc, contentRect); in OnDraw()
H A Dui_slider.cpp246 if (coords.Intersect(coords, invalidatedArea)) { in DrawForeground()
256 if (trunc.Intersect(trunc, GetOrigRect())) { in OnDraw()
H A Dui_circle_progress.cpp130 if (trunc.Intersect(trunc, GetOrigRect())) { in OnDraw()
H A Dui_view.cpp103 invalidatedArea.Intersect(invalidatedArea, rect); in OnPreDraw()
470 isIntersect = trunc.Intersect(par->GetContentRect(), trunc); in InvalidateRect()
721 rect.Intersect(par->GetContentRect(), rect); in GetTargetView()
738 rect.Intersect(par->GetOrigContentRect(), rect); in GetTargetView()
843 mask.Intersect(GetRect(), GetVisibleRect()); in GetMaskedRect()
H A Dui_radio_button.cpp100 bool isIntersect = trunc.Intersect(trunc, contentRect); in OnDraw()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_filter_cache_manager.cpp94 if (dirtyManager.currentFrameDirtyRegion_.Intersect(cachedImageRect) || in UpdateCacheStateWithDirtyRegion()
96 [&cachedImageRect](const RectI& rect) { return rect.Intersect(cachedImageRect); })) { in UpdateCacheStateWithDirtyRegion()
371 if (!visibleIRect.IsEmpty() && deviceClipRect.Intersect(visibleIRect)) { in ClipVisibleRect()
411 src.Intersect(deviceRect); in ValidateParams()
417 dst.Intersect(deviceRect); in ValidateParams()
H A Drs_point_light_manager.cpp134 inIlluminatedRange = illuminatedRange.Intersect(lightAbsPositionX, lightAbsPositionY); in CheckIlluminated()
136 inIlluminatedRange = illuminatedRange.Intersect(lightAbsPositionY, lightAbsPositionX); in CheckIlluminated()
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/
H A Dgeometry2d.cpp21 bool Intersect(const Line& a, const Line& b, Vector2<int16_t>& out) in Intersect() function
97 bool intersect = Intersect(Line(x1, y1, x2, y2), Line(iX, iY, kX, kY), intersectPoint); in Clip()
112 bool intersect = Intersect(Line(x1, y1, x2, y2), Line(iX, iY, kX, kY), intersectPoint); in Clip()
170 Intersect(Line(x1, y1, x2, y2), Line(iX, iY, kX, kY), intersectPoint); in Clip()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/utils/
H A Drect_test.cpp393 EXPECT_FALSE(rectf2.Intersect(rectf1));
406 EXPECT_FALSE(rectf2.Intersect(rectf1));
419 EXPECT_TRUE(rectf2.Intersect(rectf1));
813 EXPECT_FALSE(rectI2.Intersect(rectI1));
826 EXPECT_FALSE(rectI2.Intersect(rectI1));
839 EXPECT_TRUE(rectI2.Intersect(rectI1));
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/
H A Drect.h101 inline bool Intersect(const RectI& other);
214 inline bool RectI::Intersect(const RectI& other) in Intersect() function
298 inline bool Intersect(const RectF& other);
423 inline bool RectF::Intersect(const RectF& other) in Intersect() function
/ohos5.0/foundation/window/window_manager_lite/services/wms/
H A Dlite_wm.cpp260 if (mask.Intersect(rectBefore, rectAfter)) { in Resize()
430 if (mask.Intersect(winRect, rect)) { in CalculateUpdateRegion()
529 window->backBuf_ == nullptr || !mask.Intersect(winRect, rect)) { in DrawRegion()
569 if (!rect.Intersect(rect, rectBg)) { in DrawBackground()
591 if (!rect.Intersect(rect, cursorInfo_.rect)) { in DrawMouseCursor()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/common/
H A Drs_rect_test.cpp230 ASSERT_TRUE(rect1.Intersect(rect2));
243 ASSERT_TRUE(rect.Intersect(1.5, 1.5));
/ohos5.0/foundation/graphic/graphic_utils_lite/test/
H A Drect_unit_test.cpp448 EXPECT_EQ(rect1->Intersect(*rect1, *rect2), true);
449 EXPECT_EQ(rect1->Intersect(*rect1, *rect3), false);
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_image.cpp54 if (!valid.Intersect(valid, mask)) { in DrawCommon()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_occlusion_region.h91 Rect Intersect(const Rect& rect) const in Intersect() function
137 Rect res = this->Intersect(r); in IntersectArea()
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/
H A Dgeometry2d.h267 bool Intersect(const Line& a, const Line& b, Vector2<int16_t>& out);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_rect.cpp44 return rect->Intersect(*otherRect); in OH_Drawing_RectIntersect()
/ohos5.0/foundation/multimedia/av_codec/interfaces/inner_api/native/
H A Davcodec_info.h95 Range Intersect(const int32_t &min, const int32_t &max) in Intersect() function
102 Range Intersect(const Range &range) in Intersect() function
/ohos5.0/foundation/arkui/ui_lite/frameworks/render/
H A Drender_base.cpp35 if (cb.Intersect(cb, Rect32(0, 0, GetWidth() - 1, GetHeight() - 1))) { in ClipBox()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/rect_fuzzer/
H A Drect_fuzzer.cpp111 rectf.Intersect(rectf1); in RectFuzzTest002()
/ohos5.0/foundation/arkui/ui_lite/frameworks/core/
H A Drender_manager.cpp175 mask.Intersect(rect, winRect); in RenderRect()

123