Julian Winkler
f9a85017c1
implement android.widget.ImageButton using GtkButton
2023-08-23 11:47:05 +02:00
Julian Winkler
4d90002ec6
Simplify native interface of widget implementations
...
Makes it easier to overwrite behavior in subclasses. Have a fallback
implementation for ViewGroup.
Save some _GET_LONG_FIELD / _SET_LONG_FIELD calls by directly passing
the native pointers to and from native methods.
2023-08-22 15:53:09 +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
Julian Winkler
6b79adb2c3
add missing Context attribute to all View constructors
2023-08-08 14:18:20 +02:00
Julian Winkler
c10504c089
make BitmapDrawable functional
2023-08-08 13:35:47 +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
Julian Winkler
c21d8532bc
ImageView: use GtkPicture and actually show the image
...
GtkImage is intended for icons GtkPicture fits better
2023-06-18 11:28:40 +02:00
Mis012
4dd31731f9
src/api-impl: misc stubbing
2023-01-09 12:07:57 +01:00
Mis012
449090143e
refactor source tree organization, switch to meson
2022-10-09 22:59:16 +02:00