| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/ |
| H A D | security_component_layout_algorithm.h | 84 PaddingLayoutElement top_; member in OHOS::Ace::NG::SecurityComponentLayoutAlgorithm
|
| /foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_test/ |
| H A D | skia_txt_test.cpp | 42 EXPECT_EQ(rectTest.top_, -1); in HWTEST_F()
|
| /foundation/window/window_manager/window_scene/screen_session_manager/include/connection/ |
| H A D | screen_session_ability_connection.h | 74 int32_t top_ = 0; member in OHOS::Rosen::ScreenSessionAbilityConnectionStub
|
| /foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
| H A D | rs_image.cpp | 447 auto top = dstRect_.top_ + j * dstRect_.height_; in DrawImageRepeatRect() 470 float top = frameRect_.top_; in CalcRepeatBounds() 483 while (dstRect_.top_ + minY * dstRect_.height_ > top + eps) { in CalcRepeatBounds() 486 while (dstRect_.top_ + maxY * dstRect_.height_ < bottom - eps) { in CalcRepeatBounds()
|
| H A D | rs_particles_drawable.cpp | 185 bounds->left_, bounds->top_, bounds->left_ + bounds->width_, bounds->top_ + bounds->height_); in Draw()
|
| /third_party/node/deps/v8/tools/ |
| H A D | windbg.js | 627 h.old_space_.allocation_info_.top_); 634 h.new_space_.allocation_info_.top_, 642 h.map_space_.allocation_info_.top_); 647 h.code_space_.allocation_info_.top_);
|
| /foundation/window/window_manager/window_scene/session/screen/src/ |
| H A D | screen_session.cpp | 95 displayNode_->SetFrame(property_.GetBounds().rect_.left_, property_.GetBounds().rect_.top_, in CreateDisplayNode() 97 displayNode_->SetBounds(property_.GetBounds().rect_.left_, property_.GetBounds().rect_.top_, in CreateDisplayNode() 120 displayNode_->SetFrame(property_.GetBounds().rect_.left_, property_.GetBounds().rect_.top_, in ScreenSession() 122 displayNode_->SetBounds(property_.GetBounds().rect_.left_, property_.GetBounds().rect_.top_, in ScreenSession() 140 displayNode_->SetFrame(property_.GetBounds().rect_.left_, property_.GetBounds().rect_.top_, in ScreenSession() 142 displayNode_->SetBounds(property_.GetBounds().rect_.left_, property_.GetBounds().rect_.top_, in ScreenSession() 159 displayNode_->SetFrame(property_.GetBounds().rect_.left_, property_.GetBounds().rect_.top_, in ScreenSession() 161 displayNode_->SetBounds(property_.GetBounds().rect_.left_, property_.GetBounds().rect_.top_, in ScreenSession()
|
| /foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
| H A D | rs_surface_render_node.cpp | 1582 layer.srcRect = {srcRect_.left_, srcRect_.top_, srcRect_.width_, srcRect_.height_}; in UpdateHwcNodeLayerInfo() 1583 layer.dstRect = {dstRect_.left_, dstRect_.top_, dstRect_.width_, dstRect_.height_}; in UpdateHwcNodeLayerInfo() 1893 RoundFloor(rrect.rect_.top_), in Update() 1917 absRect.top_, in SetUnfocusedWindowOpaqueRegion() 1921 absRect.top_ + config.outR, in SetUnfocusedWindowOpaqueRegion() 1941 absRect.top_, in SetFocusedWindowOpaqueRegion() 1945 absRect.top_ + config.outR, in SetFocusedWindowOpaqueRegion() 1954 innerRect.top_, in SetFocusedWindowOpaqueRegion() 1958 innerRect.top_ + config.inR, in SetFocusedWindowOpaqueRegion() 2013 containerConfig_.innerRect.top_, in GetAbsContainerConfig() [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
| H A D | dialog_layout_algorithm.cpp | 132 maxSize.MinusPadding(0, 0, safeAreaInsets_.top_.Length(), 0); in UpdateChildMaxSizeHeight() 143 maxSize.SetHeight(foldCreaseRect.Top() - safeAreaInsets_.top_.Length()); in UpdateChildMaxSizeHeight() 856 if (!customSize_ && topLeftPoint.GetY() < safeAreaInsets_.top_.end) { in AdjustChildPosition() 857 topLeftPoint.SetY(safeAreaInsets_.top_.end); in AdjustChildPosition() 874 static_cast<float>(safeAreaInsets_.top_.Length() + AVOID_LIMIT_PADDING.ConvertToPx())); in AdjustChildPosition()
|
| /foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
| H A D | rs_composer_adapter.cpp | 365 info.srcRect = GraphicIRect {srcRect.left_, srcRect.top_, srcRect.width_, srcRect.height_}; in BuildComposeInfo() 368 static_cast<int32_t>(static_cast<float>(dstRect.top_) * mirrorAdaptiveCoefficient_ + offsetY), in BuildComposeInfo() 757 dstRect = {resDstRect.left_, resDstRect.top_, resDstRect.width_, resDstRect.height_}; in LayerCrop() 760 srcRect.y = (resDstRect.IsEmpty() || dstRectI.IsEmpty()) ? 0 : std::ceil((resDstRect.top_ - dstRectI.top_) * in LayerCrop()
|
| H A D | rs_uni_render_composer_adapter.cpp | 144 dirtyRects.emplace_back(GraphicIRect {rect.left_, rect.top_, rect.width_, rect.height_}); in BuildComposeInfo() 192 info.srcRect = GraphicIRect {srcRect.left_, srcRect.top_, srcRect.width_, srcRect.height_}; in BuildComposeInfo() 194 static_cast<int32_t>(dstRect.top_ * screenInfo_.GetRogHeightRatio()), in BuildComposeInfo() 780 info.srcRect = GraphicIRect {srcRect.left_, srcRect.top_, srcRect.width_, srcRect.height_}; in BuildComposeInfo() 783 static_cast<int32_t>(static_cast<float>(dstRect.top_) * screenInfo_.GetRogHeightRatio()), in BuildComposeInfo() 852 info.srcRect = GraphicIRect {srcRect.left_, srcRect.top_, srcRect.width_, srcRect.height_}; in BuildComposeInfo() 991 dstRect = {resDstRect.left_, resDstRect.top_, resDstRect.width_, resDstRect.height_}; in LayerCrop() 994 srcRect.y = (resDstRect.IsEmpty() || dstRectI.IsEmpty()) ? 0 : std::ceil((resDstRect.top_ - dstRectI.top_) * in LayerCrop()
|
| H A D | rs_uni_render_visitor.cpp | 1391 dstRect.top_ = dstRect.top_ - curDisplayNode_->GetDisplayOffsetY();
in UpdateDstRect() 1401 dstRect.top_ = static_cast<int>(std::round(dstRect.top_ * screenInfo_.GetRogHeightRatio()));
in UpdateDstRect() 2214 RectI{ rect.left_, rect.top_, rect.right_ - rect.left_, rect.bottom_ - rect.top_ });
in CheckMergeDisplayDirtyByTransparentRegions() 2234 curDisplayNode_->GetDirtyManager()->MergeDirtyRect(RectI{ rect.left_, rect.top_,
in CheckMergeDisplayDirtyByTransparentRegions() 2235 rect.right_ - rect.left_, rect.bottom_ - rect.top_ });
in CheckMergeDisplayDirtyByTransparentRegions() 2581 RectI rect = {std::round(absRect.left_), std::round(absRect.top_),
in UpdateHwcNodeRectInSkippedSubTree()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/app_bar/ |
| H A D | atomic_service_pattern.cpp | 40 topMargin += systemSafeArea.top_.Length(); in BeforeCreateLayoutWrapper() 66 margin.top = CalcLength(safeArea.top_.Length()); in UpdateLayoutMargin()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navrouter/ |
| H A D | navdestination_layout_algorithm.cpp | 59 safeAreaPos.top_.IsOverlapped(frame.Top())) { in CheckTopEdgeOverlap() 123 safeArea.top = static_cast<float>(inset.top_.Length()); in CheckIgnoreLayoutSafeArea()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
| H A D | nav_bar_layout_algorithm.cpp | 146 safeAreaPos.top_.IsOverlapped(frame.Top())) { in CheckTopEdgeOverlap() 210 safeArea.top = static_cast<float>(inset.top_.Length()); in CheckIgnoreLayoutSafeArea()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/folder_stack/ |
| H A D | folder_stack_layout_algorithm.cpp | 196 int32_t length = static_cast<int32_t>(safeArea.top_.Length()); in RangeCalculation() 229 !NearEqual(realHeight, pipeline->GetRootHeight() - safeArea.top_.Length() - safeArea.bottom_.Length()) || in IsFullWindow()
|
| /foundation/window/window_manager/utils/test/unittest/ |
| H A D | wm_occlusion_region_test.cpp | 381 ASSERT_EQ(10, region->bound_.top_); in HWTEST_F() 393 ASSERT_EQ(4, region->bound_.top_); in HWTEST_F()
|
| /foundation/window/window_manager/window_scene/screen_session_manager/src/connection/ |
| H A D | screen_session_ability_connection.cpp | 311 top_ = data.ReadInt32(); in OnRemoteRequest() 341 return top_; in GetTop()
|
| /test/testfwk/arkxtest/uitest/record/ |
| H A D | ui_record.cpp | 362 << windowBounds.top_ << "," << windowBounds.right_ << "," in RecordInitEnv() 370 outFile << windowBounds.top_ << ','; in RecordInitEnv()
|
| /third_party/node/deps/v8/src/compiler/ |
| H A D | memory-lowering.cc | 699 top_(nullptr), in AllocationState() 706 top_(nullptr), in AllocationState() 712 : group_(group), size_(size), top_(top), effect_(effect) {} in AllocationState()
|
| /foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
| H A D | rs_point_light_manager.cpp | 126 auto illuminatedRange = RectI(illuminatedAbsRect.left_ - radius, illuminatedAbsRect.top_ - radius, in CheckIlluminated()
|
| /foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/animation/window_animation_manager/ |
| H A D | rs_window_animation_utils.cpp | 143 napi_set_named_property(env, object, "top", CreateJsValue(env, rrect.rect_.top_)); in CreateJsRRect()
|
| /foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/ |
| H A D | rs_surface_render_node_drawable.cpp | 202 tempRegion.SetRect(Drawing::RectI(rect.left_, rect.top_, rect.right_, rect.bottom_)); in CalculateVisibleRegion() 377 absDrawRect.left_, absDrawRect.top_, absDrawRect.width_, absDrawRect.height_, surfaceParams->GetGlobalAlpha()); in OnDraw() 521 rect.left_, rect.top_, rect.right_, rect.bottom_)); in MergeDirtyRegionBelowCurSurface() 975 Occlusion::Rect tmpRect { rect.left_, rect.top_, rect.GetRight(), rect.GetBottom() }; in SetGlobalDirtyRegion()
|
| /foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
| H A D | component.cpp | 89 top_(-1, DimensionType::TYPE_UNKNOWN), in Component() 389 return top_; in GetDimension() 412 CalculateDimensionPixel(top_, param.maxHeight); in AlignDimensions() 465 if (top_.type == DimensionType::TYPE_PIXEL) { in ApplyAlignedPosition() 466 uiView.SetY(top_.value.pixel); in ApplyAlignedPosition() 665 GetDimensionFromStyle(top_, *style); in ApplyCommonStyle()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/screen/ |
| H A D | screen_pattern.cpp | 227 Rosen::Rect rect = { screenBounds.rect_.left_, screenBounds.rect_.top_, in OnDirtyLayoutWrapperSwap()
|