#define GL_TILE_ITEM_L_H 426
#define GL_TILE_2_PER_ROW 2
#define GL_TILE_3_PER_ROW 3
+#define GL_TILE_4_PER_ROW 4
#define GL_TILE_ITEM_CNT 6
#define GL_TILE_ITEM_CNT2 12
#define GL_TILE_ITEM_L_CNT 3
}
return false;
}
- if ((ad->maininfo.rotate_mode == APP_DEVICE_ORIENTATION_270) ||
- (ad->maininfo.rotate_mode == APP_DEVICE_ORIENTATION_90)) {
- gl_dbg("Skip in landscape mode");
- /* Keep level if pinching zoom in in landscape mode */
- return false;
- }
parent = _gl_gesture_get_parent(gesture);
GL_CHECK_FALSE(parent);
return false;
}
- if ((ad->maininfo.rotate_mode == APP_DEVICE_ORIENTATION_270) ||
- (ad->maininfo.rotate_mode == APP_DEVICE_ORIENTATION_90)) {
- gl_dbg("Skip in landscape mode");
- /* Keep level if pinching zoom in in landscape mode */
- return false;
- }
-
parent = _gl_gesture_get_parent(gesture);
GL_CHECK_CANCEL(parent);
view = elm_object_part_content_get(parent, "elm.swallow.view");
if (level < GL_ZOOM_DEFAULT) {
gl_dbg("Use smaller size");
w = (int)(win_w / GL_TILE_3_PER_ROW);
+ w_l = (int)(win_h / GL_TILE_4_PER_ROW);
h = (int)(200 * scale);
c = GL_TILE_ITEM_CNT2;
}