Home
last modified time | relevance | path

Searched refs:drawableRect (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.45/
H A Dchangelogs-window.md3 ## cl.window.1 优化getWindowProperties,增加返回值中drawableRect的实时性,调用行为变更
11 …operties可以获取窗口属性,返回的结构体中表示可绘制区域的字段为drawableRect,如果在on('windowSizeChange')回调中调用getWindowproperties,…
12 通过本次变更,在on('windowSizeChange')回调中同步更新windowRect和drawableRect,应用可基于此进行更加灵活的自绘制布局。
18 变更前:on('windowSizeChange')回调中调用getWindowProperties获取drawableRect,可能获得未更新的drawableRect
20 变更后:on('windowSizeChange')回调中调用getWindowProperties获取drawableRect,可以获得正确的drawableRect
40 drawableRect字段从API 11开始提供。
/ohos5.0/foundation/window/window_manager/interfaces/kits/cj/window_runtime/
H A Dwindow_impl.cpp246 Rect drawableRect = g_emptyRect; in GetWindowProperties() local
251 uicontent->GetAppPaintSize(drawableRect); in GetWindowProperties()
253 wp.drawableRect.posX = drawableRect.posX_; in GetWindowProperties()
254 wp.drawableRect.posY = drawableRect.posY_; in GetWindowProperties()
255 wp.drawableRect.height = drawableRect.height_; in GetWindowProperties()
256 wp.drawableRect.width = drawableRect.width_; in GetWindowProperties()
H A Dwindow_utils.h53 CRect drawableRect; member
/ohos5.0/foundation/window/window_manager/test/common/mock/
H A Dmock_uicontent.h97 MOCK_METHOD1(GetAppPaintSize, void(OHOS::Rosen::Rect& drawableRect));
/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/
H A Djs_window_utils.h289 …value CreateJsWindowPropertiesObject(napi_env env, sptr<Window>& window, const Rect& drawableRect);
H A Djs_window_utils.cpp437 …_value CreateJsWindowPropertiesObject(napi_env env, sptr<Window>& window, const Rect& drawableRect) in CreateJsWindowPropertiesObject() argument
450 napi_value drawableRectObj = GetRectAndConvertToJsValue(env, drawableRect); in CreateJsWindowPropertiesObject()
H A Djs_window.cpp2045 Rect drawableRect = g_emptyRect; in OnGetProperties() local
2050 uicontent->GetAppPaintSize(drawableRect); in OnGetProperties()
2052 auto objValue = CreateJsWindowPropertiesObject(env, weakWindow, drawableRect); in OnGetProperties()
2078 Rect drawableRect = g_emptyRect; in OnGetWindowPropertiesSync() local
2083 uicontent->GetWindowPaintSize(drawableRect); in OnGetWindowPropertiesSync()
2085 auto objValue = CreateJsWindowPropertiesObject(env, window, drawableRect); in OnGetWindowPropertiesSync()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-window.md227 | drawableRect<sup>11+</sup> | [Rect](#rect7) | 否 | 否 | 窗口内可绘制区域尺寸,其中左边界…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-window.md227 | drawableRect<sup>11+</sup> | [Rect](#rect7) | No | No | Size of the rect…