• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Copyright (C) 2010 The Android Open Source Project
2 **
3 ** This software is licensed under the terms of the GNU General Public
4 ** License version 2, as published by the Free Software Foundation, and
5 ** may be copied, distributed, and modified under those terms.
6 **
7 ** This program is distributed in the hope that it will be useful,
8 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
9 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10 ** GNU General Public License for more details.
11 */
12 
13 /*
14  * This file contains helper routines that are used to establish communication
15  * between Core and UI components of the emulator. This is a temporary file
16  * where we will collect functional dependencies between Core and UI in the
17  * process of separating UI and Core in the emulator build.
18  */
19 
20 #include "android/globals.h"
21 #include "android/core-ui-protocol.h"
22 
23 extern void  android_emulator_set_window_scale( double, int );
24 
25 void
android_ui_set_window_scale(double scale,int is_dpi)26 android_ui_set_window_scale(double scale, int is_dpi)
27 {
28 #if !defined(CONFIG_STANDALONE_CORE)
29     android_emulator_set_window_scale(scale, is_dpi);
30 #endif
31 }
32