public native int shmdt();
public native int getPixels(int[] array);
- PaletteData paletteData;
- public PollFBThread pollThread;
+ private PaletteData paletteData;
+ private PollFBThread pollThread;
class PollFBThread extends Thread {
private Display display;
import org.tizen.emulator.skin.log.SkinLogger;
public class CustomProgressBar extends Canvas {
+ public static final RGB PROGRESS_COLOR = new RGB(0, 173, 239);
+
private Logger logger =
SkinLogger.getSkinLogger(CustomProgressBar.class).getLogger();
@Override
public void paintControl(PaintEvent e) {
e.gc.setBackground(
- new Color(parent.getDisplay(), new RGB(0, 173, 239)));
+ new Color(parent.getDisplay(), PROGRESS_COLOR));
Rectangle bounds = getBounds();
int width = (bounds.width * selection) / 100;
public Canvas compose(int style) {
displayCanvas = new Canvas(shell, style);
+ int vmIndex = config.getArgInt(ArgsConstants.NET_BASE_PORT) % 100;
+
int x = config.getSkinPropertyInt(SkinPropertiesConstants.WINDOW_X,
- EmulatorConfig.DEFAULT_WINDOW_X);
+ EmulatorConfig.DEFAULT_WINDOW_X + vmIndex);
int y = config.getSkinPropertyInt(SkinPropertiesConstants.WINDOW_Y,
- EmulatorConfig.DEFAULT_WINDOW_Y);
+ EmulatorConfig.DEFAULT_WINDOW_Y + vmIndex);
currentState.setCurrentResolutionWidth(
config.getArgInt(ArgsConstants.RESOLUTION_WIDTH));