summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
2d9f6ea)
Change-Id: I9efc077fe86fba50873d724682d02fa11df40980
Signed-off-by: Philippe Lelong <lelong.ph@meltemus.com>
anchors.centerIn: parent
width: 1080
height: 1920
anchors.centerIn: parent
width: 1080
height: 1920
source: './images/AGL_HMI_Background_NoCar-01.png'
ColumnLayout {
source: './images/AGL_HMI_Background_NoCar-01.png'
ColumnLayout {
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
+DEFINES += COMPIL_MAITAI
+
TEMPLATE = app
TARGET = WindowManager
QT = core dbus
TEMPLATE = app
TARGET = WindowManager
QT = core dbus
mp_layoutAreaToSurfaceIdAssignment(0),
m_currentLayout(-1),
m_screenId(0), // use screen "0"
mp_layoutAreaToSurfaceIdAssignment(0),
m_currentLayout(-1),
m_screenId(0), // use screen "0"
- m_screenWidth(0),
- m_screenHeight(0),
+ m_pending_to_show(-1),
+#endif
+ m_screenWidth(0),
+ m_screenHeight(0)
+
m_showLayers = new t_ilm_layer[WINDOWMANAGER_LAYER_NUM];
m_showLayers[0] = 0; /* POPUP is not shown by default */
m_showLayers[1] = 0; /* HOMESCREEN_OVERLAY is not shown by default */
m_showLayers[2] = 0; /* APPLICATIONS is not shown by default */
m_showLayers[3] = WINDOWMANAGER_LAYER_HOMESCREEN; /* HOMESCREEN is shwon by default */
m_showLayers = new t_ilm_layer[WINDOWMANAGER_LAYER_NUM];
m_showLayers[0] = 0; /* POPUP is not shown by default */
m_showLayers[1] = 0; /* HOMESCREEN_OVERLAY is not shown by default */
m_showLayers[2] = 0; /* APPLICATIONS is not shown by default */
m_showLayers[3] = WINDOWMANAGER_LAYER_HOMESCREEN; /* HOMESCREEN is shwon by default */
qDebug("-=[WindowManager]=-");
}
qDebug("-=[WindowManager]=-");
}
delete mp_layoutAreaToSurfaceIdAssignment;
}
delete mp_layoutAreaToSurfaceIdAssignment;
}
int WindowManager::getLayerRenderOrder(t_ilm_layer id_array[])
{
int i, j;
int WindowManager::getLayerRenderOrder(t_ilm_layer id_array[])
{
int i, j;
void WindowManager::dumpScene()
{
void WindowManager::dumpScene()
{
ilm_layerSetRenderOrder(WINDOWMANAGER_LAYER_POPUP, pArray, length);
ilm_commitChanges();
#endif
ilm_layerSetRenderOrder(WINDOWMANAGER_LAYER_POPUP, pArray, length);
ilm_commitChanges();
#endif
if (m_pending_to_show != -1) {
showAppLayer(m_pending_to_show);
} else {
if (m_pending_to_show != -1) {
showAppLayer(m_pending_to_show);
} else {
ilm_displaySetRenderOrder(m_screenId, renderOrder, num_layers);
ilm_commitChanges();
}
ilm_displaySetRenderOrder(m_screenId, renderOrder, num_layers);
ilm_commitChanges();
}
}
#ifdef HAVE_IVI_LAYERMANAGEMENT_API
}
#ifdef HAVE_IVI_LAYERMANAGEMENT_API
}
/* clear pending flag */
}
/* clear pending flag */
#ifdef HAVE_IVI_LAYERMANAGEMENT_API
/* search layer id for application to show */
#ifdef HAVE_IVI_LAYERMANAGEMENT_API
/* search layer id for application to show */
t_ilm_layer* m_showLayers;
QMap<pid_t, t_ilm_layer> m_appLayers;
int getLayerRenderOrder(t_ilm_layer* id_array);
t_ilm_layer* m_showLayers;
QMap<pid_t, t_ilm_layer> m_appLayers;
int getLayerRenderOrder(t_ilm_layer* id_array);
void createNewLayer(const int layerId);
t_ilm_layer getAppLayerID(const pid_t pid);
void createNewLayer(const int layerId);
t_ilm_layer getAppLayerID(const pid_t pid);