#koi #split-screen-feauture #swap-screen #agl-compositor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone, I'm working on both customized homescreen and launcher applications, which inherith from the original application. So I want achive the result shown in figure attached below, as described in agl-compositor. I have adjusted the method tapshortcut from launcher in this way:

void HomescreenHandler::tapShortcut(const QString &application_id, const QString &output_name) 
  struct json_object *j_json = json_object_new_object();
  struct json_object *value{nullptr};
  json_object_object_add(j_json, "area", value);
  value = json_object_new_string("normal.full");
  if (output_name.isEmpty()) {
    last_app = application_id;
    mp_hs_->showWindow(application_id.toStdString().c_str(), j_json);
    aglShell_->activate_app(nullptr, application_id, nullptr);
    hmi_->setSplitScreenButtonStatus(true);
  } else {
    if (hmi_->getSplitScreenButtonStatus()) {
      value = json_object_new_string("split.sub");
      aglShell_->set_window_props(nullptr, application_id, AGL_SHELL_DESKTOP_APP_ROLE_SPLIT_VERTICAL, 0, 100, 960, 0, 1920, 880);
      mp_hs_->showWindow(application_id.toStdString().c_str(), j_json);
    }
    aglShell_->activate_app_by_screen(output_name, application_id, nullptr);
  }
}

Now, it is not clearly explaned how to be done to control each areas' applications.

My question are:

1. the paramenter output_name affects where I actually draw my applications areas?

2. Is it required specify the two application areas? (x, y, width, height)

3. "normal.full" plays a relevant role, so i should use "split.main" and "split.sub" such us keywords values?


I would like receive information about the process to subscribe/register the company which i work as AGL memeber.

_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#9136) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Mute #koi | Mute #split-screen-feauture | Mute #swap-screen | Mute #agl-compositor
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]

_._,_._,_

Attachment: Nota 19 apr 2021.png
Description: PNG image


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux