Lines Matching defs:width
100 windowConfig.width = nativeWindow->surface->GetDefaultWidth();
178 config.width = requestWidth;
233 .w = windowConfig.width,
314 int32_t width = va_arg(args, int32_t);
316 window->surface->SetWindowConfigWidthAndHeight(width, height);
389 int32_t *width = va_arg(args, int32_t*);
390 if (height != nullptr && width != nullptr) {
393 *width = windowConfig.width;
688 int32_t NativeWindowGetDefaultWidthAndHeight(OHNativeWindow *window, int32_t *width, int32_t *height)
690 if (window == nullptr || window->surface == nullptr || width == nullptr || height == nullptr) {
694 if (windowConfig.width != 0 && windowConfig.height != 0) {
695 *width = windowConfig.width;
698 *width = window->surface->GetDefaultWidth();
704 int32_t NativeWindowSetRequestWidthAndHeight(OHNativeWindow *window, int32_t width, int32_t height)
709 window->surface->SetRequestWidthAndHeight(width, height);