Home
last modified time | relevance | path

Searched refs:NativeWindowSetRequestWidthAndHeight (Results 1 - 4 of 4) sorted by relevance

/foundation/graphic/graphic_surface/interfaces/inner_api/surface/
H A Dwindow.h72 int32_t NativeWindowSetRequestWidthAndHeight(OHNativeWindow *window, int32_t width, int32_t height);
/foundation/graphic/graphic_surface/surface/test/fuzztest/nativewindow_fuzzer/
H A Dnativewindow_fuzzer.cpp170 NativeWindowSetRequestWidthAndHeight(nativeWindow, width, height); in NativeWindowFuzzTest1()
/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dnative_window_test.cpp2108 * Function: NativeWindowSetRequestWidthAndHeight
2112 * CaseDescription: 1. call NativeWindowSetRequestWidthAndHeight with invalid parameters and check ret
2113 * 2. call NativeWindowSetRequestWidthAndHeight with normal parameters and check ret
2114 * 3. call NativeWindowSetRequestWidthAndHeight with zore width and check ret
2115 * 3. call NativeWindowSetRequestWidthAndHeight with zore height and check ret
2120 ASSERT_EQ(NativeWindowSetRequestWidthAndHeight(nullptr, 0, 0), SURFACE_ERROR_INVALID_PARAM); in HWTEST_F()
2123 ASSERT_EQ(NativeWindowSetRequestWidthAndHeight(nativeWindow, 100, 200), OHOS::GSERROR_OK); in HWTEST_F()
2133 ASSERT_EQ(NativeWindowSetRequestWidthAndHeight(nativeWindow, 0, 200), OHOS::GSERROR_OK); in HWTEST_F()
2136 ASSERT_EQ(NativeWindowSetRequestWidthAndHeight(nativeWindow, 100, 0), OHOS::GSERROR_OK); in HWTEST_F()
/foundation/graphic/graphic_surface/surface/src/
H A Dnative_window.cpp704 int32_t NativeWindowSetRequestWidthAndHeight(OHNativeWindow *window, int32_t width, int32_t height) in NativeWindowSetRequestWidthAndHeight() function

Completed in 7 milliseconds