Commit Graph

141 Commits

Author SHA1 Message Date
grechka62 480d8b6105 Implement aspect size in overlap container 2023-02-27 14:42:36 +03:00
edubinskaya 447c7f0536 created Div2DivStorageBenchmarkActivity.kt
created Div2DivStorageBenchmarkActivity.kt
2023-02-22 18:43:09 +03:00
fans1n 3f874d7d04 fix timer when Div2View is used in RecyclerView 2023-02-22 12:34:22 +03:00
nikita-kladov f2a79067fb fix ellipsize with image span 2023-02-21 16:14:31 +03:00
grechka62 9c3b093d3a Fix gallery focus with accessibility 2023-02-17 17:56:07 +03:00
grechka62 8a81909378 Fix transition animations for state layout 2023-02-17 17:33:59 +03:00
grechka62 39db9941a2 Support min/max sizes for containers with wrap_content constrained size 2023-02-16 15:21:31 +03:00
vyaivanove cb77e3dd4d Fixed attachAll removing lambdas even if no pager was found 2023-02-14 17:59:33 +03:00
grechka62 9e116594d0 Fix accessibility type binding for gallery 2023-02-14 16:40:35 +03:00
viktor-reznik 34934ffa4d migrate LoadReferences to strong references 2023-02-13 19:42:44 +03:00
grechka62 4de7bfe0fd Disable default focus highlight 2023-02-13 14:33:16 +03:00
ttok eddaf503fe fix NPE in DecodeBase64ImageTask
fix NPE in DecodeBase64ImageTask
2023-02-13 12:17:58 +03:00
arsenosov 1bae5e8ec1 Implemented max sizes in android 2023-02-06 17:25:21 +03:00
giniatovia 50a0a1cacd Fix INVISIBLE/GONE changing 2023-02-06 15:30:20 +03:00
grechka62 44a768ddbf Implement wrap_content constrained size in containers 2023-02-03 11:34:19 +03:00
vyaivanove 5153b3f177 Fixed filters not being applied to image preview 2023-02-02 14:20:36 +03:00
arsenosov c11a3dded8 Added border to indicators 2023-02-01 22:58:46 +03:00
i-ts 4b76d27b19 allow sharing non-local variables between contexts 2023-02-01 17:35:06 +03:00
giniatovia 72943cf74e fix visibility in gallery
fix visibility in gallery
2023-02-01 17:09:03 +03:00
arsenosov 92e85ecf79 Added divShapeBase support to slider
Added divShapeBase support to divCircle
2023-01-30 11:11:20 +03:00
nikita-kladov 94772641cf add timers 2023-01-24 17:35:09 +03:00
nikita-kladov 53e55f05cf fix isTransient transition flag for subtree 2023-01-24 12:08:00 +03:00
arsenosov e269f6129b Added new RoundedRectangleShape support to DivIndicator 2023-01-24 11:41:12 +03:00
grechka62 418956964d Add baseline alignment to DivLayoutParams 2023-01-20 19:24:36 +03:00
nikita-kladov 199f2e4c15 fix patch for div in container with id 2023-01-20 17:20:21 +03:00
vyaivanove 5b44744851 Missing subscription to image preview changes 2023-01-20 15:26:47 +03:00
arsenosov 7c00a47368 Added DivLayoutParams 2023-01-20 08:33:05 +03:00
grechka62 3e69fd79c5 Fix match parent size in linear container 2023-01-16 12:20:30 +03:00
vyaivanove 0e869f8a26 Made image filter callback not to be delayed until next draw 2023-01-13 18:18:27 +03:00
grechka62 d618c076c9 Fix image background blur radius changes 2023-01-11 18:33:28 +03:00
arsenosov c25ee34652 Fixed baseline alignment in LinearLayout in android
Fixed baseline alignment in LinearLayout
2022-12-30 17:17:40 +03:00
arsenosov d247a99e81 Fixed weight issues with sizes in android
Fixed weight issues with match_parent and wrap_content
2022-12-29 17:14:46 +03:00
ripp 3ba466d118 relese list capture on hide or remove RecyclerView 2022-12-27 12:53:08 +03:00
arsenosov d9870a1bab Clear warnings after rebind
Clear warnings after rebind
2022-12-27 11:31:40 +03:00
grechka62 40a1f2da60 Fix max sized of DivFrameLayout with match parent child 2022-12-23 20:04:19 +03:00
grechka62 dae7d2d75d Avoid alignment rebind if it is not changed 2022-12-22 16:18:03 +03:00
grechka62 ef2c001946 Check view is laid out before draw it to bitmap 2022-12-22 15:38:57 +03:00
arsenosov eaafdfadac Added min sizes to android
Added min sizes
2022-12-20 20:08:00 +03:00
grechka62 248a35430a LinearLayoutCompat fork 2022-12-19 11:39:12 +03:00
grechka62 14dc29cafc Fix border drawing in animations 2022-12-16 19:29:58 +03:00
arsenosov bd60cc319f Fixed match_parent issues with WrapContainer cross-axis
Fixed problems with match_parent height on rebind
2022-12-15 21:57:43 +03:00
grechka62 7474b2ab4f Check view is laid out before draw it to bitmap 2022-12-15 17:27:47 +03:00
grechka62 7c3e4c096d Request layout after weight updating 2022-12-15 11:12:01 +03:00
arsenosov 4d76ca17f8 Warnings are not shown when child size with match_parent can be counted
Warnings are not shown when child size with match_parent can be counted
2022-12-14 15:34:39 +03:00
zhshkvir e566df2aeb Add Tapjacking protection for Divkit 2022-12-13 12:08:51 +03:00
arsenosov 98cf273978 Wrap_content constrained in WrapContainer
Added wrap_content constrained in wrap container
2022-12-12 13:35:38 +03:00
grechka62 b6c0c35be8 Apply id to custom view instead of its container 2022-12-08 19:28:40 +03:00
edubinskaya 7e0bf3c6e5 do not cancel transitions on bind new state in DivTransitionHandler
run all transitions on bindNewState in DivTransitionHandler
2022-12-07 18:10:33 +03:00
ripp 5022a1a3f9 android implementation of wrapping list control to single item for accessibility
android implementation of wrapping list control to single item for accessibility

Основная работа в `AccessibilityListDelegate`. Помечаем список (RecyclerView) как кнопку; чтобы провалиться внутрь и итерироваться по элементам списка, нужно "кликнуть" на эту кнопку. После того как провалились, помечаем все остальные элементы, кроме элементов списка, как недоступные для аксессабилити - поэтому "застреваем" внутри списка и итерируемся только по элементам. Чтобы "выйти" наружу нужно нажать на кнопку Back. Для того, чтобы корректно получить это событие, пришлось прокидывать контроллер от клиента - `DivOnBackPressController`.

Имплементация `AccessibilityListDelegate` взята из Браузера и Алисы. В Браузере она используется для табло, а из Алисы фактически переносим в дивкит, т.к. перешли с нативных контролов на дивы.
2022-12-06 17:47:06 +03:00
edubinskaya cc4bffe7dc cache background spans to not use getSpans() for each onDraw()
cache background spans to not use getSpans() for each onDraw()
2022-12-06 12:59:23 +03:00