Home
last modified time | relevance | path

Searched refs:rect (Results 601 - 625 of 1248) sorted by relevance

1...<<21222324252627282930>>...50

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_tip_modifier.cpp584 RectF rect; in UpdateOverlayRect() local
588 rect.SetOffset(OffsetF(-bubbleSize_.Width(), bubbleSize_.Height() + distance)); in UpdateOverlayRect()
590 rect.SetOffset(OffsetF(-bubbleSize_.Width(), -bubbleSize_.Height() - distance)); in UpdateOverlayRect()
592 rect.SetSize( in UpdateOverlayRect()
595 float bubbleCenterX = rect.GetOffset().GetX() + bubbleSize_.Width() * HALF; in UpdateOverlayRect()
599 rect.SetOffset(OffsetF(AceApplicationInfo::GetInstance().IsRightToLeft() in UpdateOverlayRect()
603 rect.SetOffset(OffsetF(AceApplicationInfo::GetInstance().IsRightToLeft() in UpdateOverlayRect()
607 rect.SetSize( in UpdateOverlayRect()
611 if (origin.IsValid() && rect.IsValid()) { in UpdateOverlayRect()
612 rect in UpdateOverlayRect()
[all...]
/foundation/window/window_manager/utils/src/
H A Dwindow_property.cpp41 void WindowProperty::SetWindowRect(const struct Rect& rect) in SetWindowRect() argument
44 windowRect_ = rect; in SetWindowRect()
169 Rect rect = WindowHelper::TransformRect(transformMat_, windowRect_); in ClearTransformZAxisOffset() local
178 float scale = rect.width_ * 1.0f / rectWithoutZAxisOffset.width_; in ClearTransformZAxisOffset()
316 void WindowProperty::SetOriginRect(const Rect& rect) in SetOriginRect() argument
318 originRect_ = rect; in SetOriginRect()
650 for (const auto& rect : touchHotAreas_) { in MarshallingTouchHotAreas()
651 if (!(parcel.WriteInt32(rect.posX_) && parcel.WriteInt32(rect.posY_) && in MarshallingTouchHotAreas()
652 parcel.WriteUint32(rect in MarshallingTouchHotAreas()
750 Rect rect = { parcel.ReadInt32(), parcel.ReadInt32(), parcel.ReadUint32(), parcel.ReadUint32() }; Unmarshalling() local
[all...]
/foundation/barrierfree/accessibility/common/interface/test/unittest/mock/
H A Dmock_accessibility_element_info_parcel.cpp75 sptr<RectParcel> rect = parcel.ReadStrongParcelable<RectParcel>(); in ReadFromParcelSecondPart() local
76 if (rect == nullptr) { in ReadFromParcelSecondPart()
79 bounds_ = *rect; in ReadFromParcelSecondPart()
475 RectParcel::RectParcel(const Rect &rect) in RectParcel() argument
476 : Rect(rect) in RectParcel()
500 sptr<RectParcel> rect = new(std::nothrow) RectParcel(); in Unmarshalling() local
501 if (rect == nullptr) { in Unmarshalling()
502 HILOG_ERROR("Failed to create rect."); in Unmarshalling()
505 if (!rect->ReadFromParcel(parcel)) { in Unmarshalling()
509 return rect; in Unmarshalling()
[all...]
/foundation/barrierfree/accessibility/common/interface/src/parcel/
H A Daccessibility_element_info_parcel.cpp75 sptr<RectParcel> rect = parcel.ReadStrongParcelable<RectParcel>(); in ReadFromParcelSecondPart() local
76 if (rect == nullptr) { in ReadFromParcelSecondPart()
79 bounds_ = *rect; in ReadFromParcelSecondPart()
477 RectParcel::RectParcel(const Rect &rect) in RectParcel() argument
478 : Rect(rect) in RectParcel()
502 sptr<RectParcel> rect = new(std::nothrow) RectParcel(); in Unmarshalling() local
503 if (rect == nullptr) { in Unmarshalling()
504 HILOG_ERROR("Failed to create rect."); in Unmarshalling()
507 if (!rect->ReadFromParcel(parcel)) { in Unmarshalling()
511 return rect; in Unmarshalling()
[all...]
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_list.cpp147 auto& rect = adapterRelativeRect_; in MoveAdapterItemsRelativeRect() local
148 rect.SetPosition(rect.GetX() + x, rect.GetY() + y); in MoveAdapterItemsRelativeRect()
832 Rect rect = GetAllChildRelativeRect(); in CalculateReboundDistance() local
833 int16_t top = rect.GetTop(); in CalculateReboundDistance()
834 int16_t bottom = rect.GetBottom(); in CalculateReboundDistance()
836 int16_t left = rect.GetLeft(); in CalculateReboundDistance()
837 int16_t right = rect.GetRight(); in CalculateReboundDistance()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_image.cpp120 void RSImage::CanvasDrawImage(Drawing::Canvas& canvas, const Drawing::Rect& rect, in CanvasDrawImage() argument
128 if (!isDrawn_ || rect != lastRect_) { in CanvasDrawImage()
132 frameRect_.SetAll(rect.GetLeft(), rect.GetTop(), rect.GetWidth(), rect.GetHeight()); in CanvasDrawImage()
171 lastRect_ = rect; in CanvasDrawImage()
355 auto rect = (imageRepeat_ == ImageRepeat::NO_REPEAT) ? dstRect_.IntersectRect(frameRect_) : frameRect_; in ApplyCanvasClip() local
356 Drawing::RoundRect rrect(RSPropertiesPainter::Rect2DrawingRect(rect), radius_); in ApplyCanvasClip()
437 // draw repeat rect in DrawImageRepeatRect()
[all...]
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_session_impl_test.cpp540 WSRect rect; in HWTEST_F() local
541 rect.posX_ = 0; in HWTEST_F()
542 rect.posY_ = 0; in HWTEST_F()
543 rect.height_ = 50; in HWTEST_F()
544 rect.width_ = 50; in HWTEST_F()
549 rectW.height_ = 200; // rectW - rect > 50 in HWTEST_F()
550 rectW.width_ = 200; // rectW - rect > 50 in HWTEST_F()
554 WSError res = window->UpdateRect(rect, reason); in HWTEST_F()
559 res = window->UpdateRect(rect, reason); in HWTEST_F()
565 res = window->UpdateRect(rect, reaso in HWTEST_F()
587 WSRect rect; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Dlist_item_group_element.h31 bool RequestNextFocus(bool vertical, bool reverse, const Rect& rect) override;
/foundation/arkui/ace_engine/frameworks/core/components/search/
H A Dsearch_element.cpp58 bool SearchElement::RequestNextFocus(bool vertical, bool reverse, const Rect& rect) in RequestNextFocus() argument
/foundation/arkui/ace_engine/frameworks/core/components/navigation_bar/
H A Dnavigation_bar_element.h35 bool RequestNextFocus(bool vertical, bool reverse, const Rect& rect) override
/foundation/arkui/ace_engine/frameworks/core/components/dialog/
H A Ddialog_element.cpp57 bool DialogElement::RequestNextFocus(bool vertical, bool reverse, const Rect& rect) in RequestNextFocus() argument
/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/
H A Dtab_bar_element.h36 bool RequestNextFocus(bool vertical, bool reverse, const Rect& rect) override;
/foundation/arkui/ace_engine/frameworks/core/components/bubble/
H A Dbubble_element.cpp46 bool BubbleElement::RequestNextFocus(bool vertical, bool reverse, const Rect& rect) in RequestNextFocus() argument
/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_rect.h25 TestingRect(const TestingRect& rect) = default; member in OHOS::Ace::Testing::TestingRect
/foundation/arkui/ace_engine/frameworks/core/components_v2/swiper/
H A Dswiper_element.h30 bool RequestNextFocus(bool vertical, bool reverse, const Rect& rect) override;
/foundation/arkui/ui_lite/tools/qt/simulator/drivers/display/
H A Dmonitor.h39 void Flush(const Rect &rect) override;
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/
H A Dtexgine_rect.h77 * @param rect SkRect user want
79 void SetRect(const RSRect &rect);
83 * @param rect SkRRect user want
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/common/
H A Dcommon_clip_operate.h39 #include <gfx_utils/rect.h>
/foundation/multimedia/image_framework/interfaces/kits/native/include/
H A Dimage_mdk.h139 * @param rect Indicates the pointer to the {@link OhosImageRect} object obtained.
149 int32_t OH_Image_ClipRect(const ImageNative* native, struct OhosImageRect* rect);
/foundation/multimodalinput/input/test/unittest/common/include/
H A Dwindow_utils_test.h40 Rosen::Rect rect; member
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_paint.h47 static bool GetFillPath(const Pen& pen, const Path& src, Path& dst, const Rect* rect, const Matrix& matrix);
/foundation/window/window_manager/window_scene/interfaces/kits/napi/screen_session_manager/
H A Djs_screen_utils.h27 bool ConvertDMRectFromJs(napi_env env, napi_value jsObject, DMRect& rect);
/foundation/window/window_manager/window_scene/session/host/include/
H A Dsub_session.h36 void UpdatePointerArea(const WSRect& rect) override;
/foundation/window/window_manager/wm/include/
H A Dgtx_input_event_sender.h69 void SetTouchEvent(Rosen::Rect rect, std::shared_ptr<MMI::PointerEvent> pointerEvent);
/foundation/window/window_manager_lite/interfaces/innerkits/
H A Dlite_wm_type.h28 Rect rect; member

Completed in 16 milliseconds

1...<<21222324252627282930>>...50