Commit Graph

20 Commits

Author SHA1 Message Date
Julian Winkler
1cf48085ff api-impl: add misc APIs needed for AntennaPod 2025-02-10 21:55:27 +01:00
Mis012
ab5b600bf1 run whitespace_format.py --add-new-line-marker-at-end-of-file --remove-trailing-whitespace --remove-trailing-empty-lines --new-line-marker=linux --normalize-non-standard-whitespace=remove on src/ 2025-02-05 16:27:17 +01:00
Mis012
279c95becb borrow relevant parts of AOSP commit dbee9bb342cdfaa5155b1918f90262c05e2464cb
Our SVG-based VectorDrawable implementation still relies on `getDefaultColor`
but exceptions are no longer thrown when parsing VectorDrawable xml files
which use gradients as colors.
2025-01-02 22:25:13 +01:00
Julian Winkler
e8a08f3d28 implement HtcAlertDialog for Teeter 2024-12-22 10:24:55 +01:00
Julian Winkler
f53ad02e6f api-impl: misc additions for Oeffi 2024-11-24 22:11:40 +00:00
Daniel Panero
13ed9d76bb Updated framework-res to 3d916f71dfbb5477c40a46c9b19c125f4c719045
Also remove non public drawables and layouts using the new python script
2024-11-18 21:39:01 +00:00
Daniel Panero
0efbee538a api-impl: Add DumpHeapProvider.java 2024-10-29 19:26:25 +00:00
Markuss Broks
5eb750b253 GLImpl: more implementations 2024-10-14 19:59:49 +03:00
Mis012
26d6337a34 api-impl: GLES20: add glReadPixels 2024-06-28 21:35:31 +02:00
Mis012
da90302946 EGLImpl: eglCreateContext: properly handle shared_context 2024-06-22 14:19:31 +02:00
Mis012
ccc2a86cf7 api-impl: add native implementations for more GL and EGL java wrappers 2024-06-13 20:41:13 +02:00
Mis012
2a3106f205 api-impl: com/google/android/gles_jni/GLImpl: implement some things by calling into GLES10 2024-05-27 19:01:52 +02:00
Julian Winkler
1d0ad8132d regenerate R.java and Manifest.java to match framework-res.apk 2024-03-10 14:36:27 +00:00
Julian Winkler
ca3c17d773 implement DrawableContainer and copy StateListDrawable from AOSP 2023-12-30 23:38:56 +01:00
Mis012
9ef2151c5e GLSurfaceView: remove old implementation, import the one from AOSP
Now that we have a reasonably well working SurfaceView implementation,
it is actually cleaner to just implement GLSurfaceView the way AOSP
does. In fact, their code doesn't have any weird dependencies, and
can mostly be used as-is.

The AOSP code is pure Java, which means we had to implement some
EGL wrappers.

This change fixes issues with Wayland (it only ever worked because
the pbuffers were allocated using an XWayland EGLDisplay), and
with resizing (which we simply didn't support), all while getting
rid of quite some (arguably not very readable) LoC.
2023-10-20 20:54:37 +02:00
Julian Winkler
f5fc993484 add APIs needed for non legacy NewPipe version 2023-10-14 18:29:33 +02:00
Mis012
4a1159f5cb api-impl: add misc stubs 2023-08-12 13:09:33 +02:00
Mis012
ffb2855a05 api-impl: add misc stuff needed by Teeter
note that Teeter still needs more stuff before it will work
2023-07-25 14:29:50 +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
449090143e refactor source tree organization, switch to meson 2022-10-09 22:59:16 +02:00