[Title] scale communicate with qemu
authorgiwoong.kim <giwoong.kim@samsung.com>
Fri, 16 Mar 2012 13:07:20 +0000 (22:07 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Fri, 16 Mar 2012 13:07:20 +0000 (22:07 +0900)
[Type]
[Module] Emulator / java
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

tizen/src/emul_state.c
tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java

index e549574..3705222 100644 (file)
@@ -62,7 +62,7 @@ int get_emul_lcd_height(void)
 void set_emul_win_scale(int scale)
 {
     _emul_state.scale = scale;
-    INFO("emulator window scale = %d", _emul_state.scale);
+    INFO("emulator window scale = %d\n", _emul_state.scale);
 }
 
 int get_emul_win_scale(void)
@@ -74,7 +74,7 @@ int get_emul_win_scale(void)
 void set_emul_rotation(int rotation)
 {
     _emul_state.rotation = rotation;
-    INFO("emulator rotation = %d", _emul_state.rotation);
+    INFO("emulator rotation = %d\n", _emul_state.rotation);
 }
 
 int get_emul_rotation(void)
index 64f9bfe..bae7773 100644 (file)
@@ -1013,6 +1013,8 @@ public class EmulatorSkin {
                                int scale = (Integer) item.getData();
 
                                arrangeSkin( currentLcdWidth, currentLcdHeight, scale, currentRotationId );
+                               LcdStateData lcdStateData = new LcdStateData( scale, currentRotationId );
+                               communicator.sendToQEMU( SendCommand.CHANGE_LCD_STATE, lcdStateData );
 
                        }
                };