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 D | changelogs-window.md | 3 ## 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 D | window_impl.cpp | 246 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 D | window_utils.h | 53 CRect drawableRect; member
|
/ohos5.0/foundation/window/window_manager/test/common/mock/ |
H A D | mock_uicontent.h | 97 MOCK_METHOD1(GetAppPaintSize, void(OHOS::Rosen::Rect& drawableRect));
|
/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/ |
H A D | js_window_utils.h | 289 …value CreateJsWindowPropertiesObject(napi_env env, sptr<Window>& window, const Rect& drawableRect);
|
H A D | js_window_utils.cpp | 437 …_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 D | js_window.cpp | 2045 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 D | js-apis-window.md | 227 | drawableRect<sup>11+</sup> | [Rect](#rect7) | 否 | 否 | 窗口内可绘制区域尺寸,其中左边界…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | js-apis-window.md | 227 | drawableRect<sup>11+</sup> | [Rect](#rect7) | No | No | Size of the rect…
|