Lines Matching defs:width
933 auto&& viewChangeCallback = [context = pipelineContext_, id = instanceId_](int32_t width, int32_t height,
937 ACE_SCOPED_TRACE("ViewChangeCallback(%d, %d)", width, height);
940 context->SetSurfaceChangeMsg(width, height, type, rsTransaction);
946 auto callback = [context, width, height, type, rsTransaction, id]() {
947 context->OnSurfaceChanged(width, height, type, rsTransaction);
1106 void AceContainer::SetView(const RefPtr<AceView>& view, double density, int32_t width, int32_t height,
1122 container->AttachView(window, view, density, width, height, rsWindow->GetWindowId(), callback);
1126 const RefPtr<AceView>& view, double density, float width, float height, sptr<OHOS::Rosen::Window> rsWindow)
1138 container->AttachView(window, view, density, width, height, view->GetInstanceId(), nullptr);
1141 container->AttachView(window, view, density, width, height, rsWindow->GetWindowId(), nullptr);
1378 double edgeDist = (rectf.Width() - size.width) / POPUP_CALCULATE_RATIO;
1383 if (rect_.left + size.width > windowRect_.width_) {
1384 deltaX = windowRect_.width_ - size.width - edgeDist;
1386 if (edgeDist + size.width > windowRect_.width_) {
1393 double edgeDist = (rectf.Width() - size.width) / POPUP_CALCULATE_RATIO;
1394 deltaX = edgeDist + rect_.left + rect_.width - rectf.Width();
1546 node.rect.width = rectF.Width();
1560 popupSize.width = POPUPSIZE_WIDTH;
1977 void AceContainer::AttachView(std::shared_ptr<Window> window, const RefPtr<AceView>& view, double density, float width,
2039 pipelineContext_->SetRootSize(density, width, height);