Commit Graph

8 Commits

Author SHA1 Message Date
Julian Winkler
399cf87254 fix some NullPointerExceptions with Flower Finder test apk 2023-10-14 10:01:01 +00:00
Mis012
24353378be api-impl: implement Canvas text drawing as used by Gravity Defied
implements android.graphics.Typeface (always uses default
typeface for now), one version of Canvas.drawText, one version
of Paint.measureText, and Paint.ascend
2023-09-12 19:30:29 +02:00
Mis012
1e47824a79 src/api-impl: use skia instead of cairo
Using the C API provided by SkiaSharp's skia fork instead of using cairo
significantly improves performance. The API is also closer to the android
Canvas API, which makes the implementation more straightforward.
2023-09-12 13:37:41 +02:00
Julian Winkler
82744e9e5e add bunch of new java APIs: mostly stubs or copied from AOSP
Many of these classes are only needed to be subclassed by androidx
support library, which is used in many android apps
2023-08-22 15:53:09 +02:00
Mis012
0a9591c474 src/api-impl: fix up code style, mainly for code imported from AOSP
used the following (plus manual edits):
`clang-format --style="{BasedOnStyle: LLVM, IndentWidth: 8, UseTab: Always, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: true, ColumnLimit: 0}`
2023-06-22 11:45:46 +02:00
Mis012
27f3d288dd misc stubbing for ctr2 2023-01-14 14:32:37 +01:00
Mis012
2e4590c4d8 src/api-impl: misc stubbing 2022-12-31 17:17:10 +01:00
Mis012
449090143e refactor source tree organization, switch to meson 2022-10-09 22:59:16 +02:00