refactor source tree organization, switch to meson

This commit is contained in:
Mis012
2022-10-02 23:06:56 +02:00
parent 2f785e2a59
commit 449090143e
296 changed files with 171615 additions and 69 deletions

View File

@@ -0,0 +1,20 @@
package android.view;
import android.util.DisplayMetrics;
public final class Display {
public static int window_width = 960;
public static int window_height = 540;
// FIXME: what do we return here?
// we don't want to hardcode this stuff, but at the same time the apps can cache it
public void getMetrics(DisplayMetrics outMetrics) {
outMetrics.widthPixels = this.window_width;
outMetrics.heightPixels = this.window_height;
}
public int getRotation() {
return 0/*ROTATION_0*/;
}
}