Julian Winkler
f9db8faebd
ImageButton: set the defStyleAttr
2024-12-22 10:24:54 +01:00
Mis012
58745f23ea
api-impl: misc stubs, additions and fixes
2024-12-20 00:11:06 +01:00
Julian Winkler
42fad0cfa6
WindowManagerImpl: set view.parent
2024-12-17 22:41:51 +01:00
Julian Winkler
864750020e
View: always call dispatchTouchEvent() if overwritten
2024-12-13 22:32:04 +01:00
Julian Winkler
1398125eb5
api-impl: stubs and fixes for Compose Stopwatch and LibreSudoku
2024-12-13 22:32:02 +01:00
Julian Winkler
036b5510d3
implement dispatchKeyEvent callback
2024-12-01 14:15:00 +00:00
Julian Winkler
fe7790c4ff
View: implement requestFocus() and isFocused()
2024-12-01 14:15:00 +00:00
Julian Winkler
e9cf5e7002
API stubs and fixes for composeUI
2024-12-01 14:15:00 +00:00
Julian Winkler
60095ea795
ListView: copy from AOSP
...
copied from tag android-6.0.1_r81
2024-11-30 18:56:17 +00:00
Mis012
0803848c6d
api-impl: misc stubs/additions
2024-11-30 18:54:53 +01:00
Daniel Panero
be93b4c396
JavaWidget: add css classes and default_stylesheet.css
2024-11-26 16:33:38 +01:00
Julian Winkler
f53ad02e6f
api-impl: misc additions for Oeffi
2024-11-24 22:11:40 +00:00
Kilian "CaféHaine" Guillaume
44d922baea
api-impl: stubs and fixes for Open Sudoku
2024-11-20 23:09:53 +01:00
Daniel Panero
eba9c7037c
JavaWidget: add debug info for GTK Inspector
2024-11-19 16:14:36 +01:00
Daniel Panero
fb6565e535
Add paddings and improved margins
2024-11-18 21:39:01 +00:00
Kilian "CaféHaine" Guillaume
e5a6ee2b55
api-impl: add misc stubs for Open Sudoku
2024-11-14 19:50:26 +00:00
Julian Winkler
6068ac2eb8
View.setSystemUiVisibility(): implement fullscreen
...
For now we only allow fullscreen for maximized windows
2024-10-31 20:30:15 +01:00
Julian Winkler
3d38ec9755
add Java APIs needed for WhatsApp settings
2024-10-03 15:57:44 +02:00
Julian Winkler
c492e1f03f
add Java APIs needed for WhatsApp MainActivity and ConversationActivity
2024-10-03 15:57:44 +02:00
Julian Winkler
3e7fdac663
add more Java APIs needed for OctoDroid
2024-08-13 21:45:53 +02:00
Julian Winkler
e3c0931714
prevent reference cycles between Java and native objects
2024-08-02 17:02:53 +02:00
Julian Winkler
3c5a21357d
multiple additions and fixes for the Java APIs
...
Stuff needed for WhatsApp support
2024-08-01 19:57:12 +00:00
Julian Winkler
db1b62bca3
View.requestLayout(): iterate all parents
2024-07-31 18:21:14 +02:00
Julian Winkler
44fef4ba36
reuse ViewPropertyAnimator object
...
This is needed to make sure we don't call outdated AnimatorListeners
2024-07-31 18:21:14 +02:00
Mis012
004ba4ff00
remove some old debugging prints, gate others behind verbose log
2024-06-22 14:35:56 +02:00
Mis012
df074bd2b4
api-impl: add misc stubs/impls
2024-06-22 14:22:37 +02:00
Julian Winkler
bb50bbfa91
add lots of java APIs needed for Whatsapp
2024-06-16 08:45:31 +02:00
Mis012
81797c2667
api-impl: add misc stubs/impls
2024-06-13 21:00:06 +02:00
Julian Winkler
c5e0f8a7fd
View.draw(): draw background, content, children in same order as AOSP
2024-05-27 16:37:49 +00:00
Julian Winkler
6f02565920
GskCanavas: draw default content when custom View calls super.onDraw()
2024-05-27 16:37:49 +00:00
Julian Winkler
dd3965df8a
WrapperWidget: create SkArea also for Views with custom draw() method
...
Previously we only handled custom onDraw() methods
2024-05-20 08:12:02 +02:00
Julian Winkler
2324418813
View.getMatrix(): always return identity matrix
...
The returned Matrix should only represent rotation and scaling of the
view and should not depend on the position. Since we don't support
rotation and scaling yet, just always return identity
2024-05-20 08:12:02 +02:00
Julian Winkler
de9ea3655e
implement View.getHitRect()
2024-05-19 15:30:09 +02:00
Julian Winkler
c167e183be
add more View methods
2024-05-19 15:30:09 +02:00
Mis012
2802aaa28d
api-impl: add stubs / simple stuff for OsmAnd
...
without native libs present, launches and renders white square
in map view; with native libs present, segfaults in bundled skia
2024-04-13 15:22:38 +02:00
Julian Winkler
2f4cd3917f
implement some APIs needed for OctoDroid
2024-04-09 18:19:13 +02:00
Mis012
1e64babfd4
borrow AnimationDrawable from AOSP
2024-04-03 01:55:03 +02:00
Julian Winkler
654d551377
View.setTranslationY(): queue allocate when called on CoordinatorLayout
...
androidx adjusts the translation a little bit and immediately
reverts it to trigger a layout pass on the CoordinatorLayout.
Calling gtk_widget_queue_allocate here makes CoordinatorLayout behave
correctly, but it causes strange issues with other Views. Therefore, it is
done only for CoordinatorLayouts for now.
2024-03-28 20:50:05 +01:00
Julian Winkler
9b9e046d68
implement View.getLocationInWindow() and MotionEvent.offsetLocation()
...
This is needed for NestedScrollViews to detect and correct parent scroll offset
2024-03-28 20:50:05 +01:00
Julian Winkler
494605932c
implement more APIs
2024-03-22 21:02:22 +01:00
Mis012
0592b71489
View: basic implementation for performHapticFeedback
...
we currently ignore the feedbackConstant and simply vibrate for 10ms
2024-03-22 14:04:17 +01:00
Mis012
6839f8b651
View: requestLayout: post with Looper to avoid stack exhaustion
2024-03-21 21:05:20 +01:00
Julian Winkler
276b5ca7ef
add more APIs needed for NewPipe
2024-03-17 20:02:50 +01:00
Julian Winkler
c8e70d49be
implement View.getLocationOnScreen() properly
2024-03-15 19:51:02 +01:00
Julian Winkler
796742c0fc
implement android.graphics.Matrix and View.getMatrix()
...
This is needed for androidx CoordinatorLayout and will also be required
for VectorDrawables
2024-03-15 18:57:49 +01:00
Julian Winkler
f852c2bbc9
remove View.haveComplexMeasure as it is redundant with haveCustomMeasure
...
Makes haveCustomMeasure true by default. And disable it for widgets
which previously set haveComplexMeasure
2024-03-15 18:57:49 +01:00
Julian Winkler
c0bc875c11
ScrollView: implement custom onMeasure()
2024-03-15 18:57:49 +01:00
Mis012
4e3b180dd7
android/view/View: clean up retrieval of id
2024-03-07 15:48:53 +01:00
Julian Winkler
efa61afc71
implement View.OnLongClickListener as GtkGestureLongPress
2024-02-27 22:02:36 +01:00
Julian Winkler
dd839e5a04
View.isNestedScrollingEnabled() default to false
...
RecyclerView overrides this method to return true
2024-02-27 22:02:36 +01:00