Commit Graph

457 Commits

Author SHA1 Message Date
pengfei.zhou
834d98cdb7 android: flexconfig's maxWidth or maxHeight is not effected 2021-10-17 12:37:41 +08:00
pengfei.zhou
0dadbd473e android: if scroller's child is most width,then its width should be equal to scroller's width 2021-10-17 12:37:41 +08:00
pengfei.zhou
ea79ea953a android: support image in text.htmltext 2021-10-17 12:37:41 +08:00
pengfei.zhou
cba9133388 android:update animation sdk 2021-10-13 15:27:37 +08:00
pengfei.zhou
51ac1d698b android:fix isAnimating's name is same 2021-10-13 15:27:37 +08:00
pengfei.zhou
c60ba612f5 android: fix flowlayout read item's identifier error 2021-10-12 17:44:02 +08:00
pengfei.zhou
eaaa2c457a android: fix in flowlayout, the fullspaned item is being reused unproperly 2021-10-12 17:44:02 +08:00
pengfei.zhou
6cae752456 Add find visible items for list and flowlayout 2021-10-12 17:44:02 +08:00
pengfei.zhou
1f511823c5 android: fix findCompletelyVisibleItems typo 2021-10-12 17:44:02 +08:00
pengfei.zhou
f09f7859b9 Flowlayout's loadMoreView supports fullSpan,default is false 2021-10-12 17:44:02 +08:00
pengfei.zhou
738c072ee4 Remove header and footer support,this is unnecessary 2021-10-12 17:44:02 +08:00
pengfei.zhou
8fd2477c81 list add findVisibleItems api 2021-10-12 17:44:02 +08:00
pengfei.zhou
0e77c62e13 FlowLayoutItem add fullSpan attribute 2021-10-12 17:44:02 +08:00
pengfei.zhou
9429c75834 flowlayout add header and footer:iOS implement 2021-10-12 17:44:02 +08:00
pengfei.zhou
5ad4f4b981 flowlayout add header and footer:js and android implement 2021-10-12 17:44:02 +08:00
pengfei.zhou
5224be8f90 feat:List add header and footer 2021-10-12 17:44:02 +08:00
pengfei.zhou
3250523fb4 fix when remove child node from group node,reuse cause problem 2021-10-08 18:49:45 +08:00
pengfei.zhou
53452e1d53 android: fix when flowlayout not set loadMoreView will crash 2021-09-30 15:41:12 +08:00
pengfei.zhou
63e0d1c38c feat: Image add isAnimating, startAnimating and stopAnimating API 2021-09-26 16:35:24 +08:00
pengfei.zhou
3fd8405e0b feat: Image loadCallback add animated prop 2021-09-26 16:35:24 +08:00
王劲鹏
bf0de5e02a native response parameter changed 2021-09-23 18:11:27 +08:00
王劲鹏
73dd78ca05 Android: update with js dispatcher & remove PI calculation 2021-09-23 11:08:13 +08:00
王劲鹏
56bf3bb4a1 Android: implement touch api 2021-09-22 16:25:59 +08:00
王劲鹏
50d9377960 Android: implement gesture container 2021-09-22 16:25:59 +08:00
王劲鹏
59bb3a049d Android: fix toast gravity above api level R 2021-09-16 19:04:40 +08:00
pengfei.zhou
417052534a android: add condition for pureCall 2021-09-16 13:28:31 +08:00
pengfei.zhou
dd4e8db3ad Remove nativeEmpty, check call change to native side 2021-09-16 13:01:47 +08:00
pengfei.zhou
f16648c3d1 android: fix crash when parameter is null 2021-09-13 13:32:38 +08:00
pengfei.zhou
7eba842a55 android: when draw border ,do not draw out of cliped area. 2021-09-09 18:24:22 +08:00
pengfei.zhou
41e610e424 Animation add keyFrame 2021-09-07 20:18:24 +08:00
pengfei.zhou
d7d19b17d0 Add BackgroundColorAnimation and AlphaAnimation 2021-09-07 18:50:09 +08:00
pengfei.zhou
627c107976 Android:fix ListItem cannot clip corner or draw shadow 2021-09-02 17:59:16 +08:00
pengfei.zhou
059f27c743 Revert "debugging add module support"
This reverts commit 85da528de5e258a765b842ca5e55c4cf81fd2936.
2021-08-24 16:15:25 +08:00
pengfei.zhou
20e6f5c96d debugging add module support 2021-08-24 16:15:25 +08:00
pengfei.zhou
bfa865fe5d feat:Image add imageFilePath 2021-08-05 17:44:06 +08:00
pengfei.zhou
57cfdd38e1 android: add requestPermissions API 2021-08-05 16:20:15 +08:00
pengfei.zhou
160a85767a android:fix NestedSlider onPageSelected call twice 2021-07-30 17:29:51 +08:00
王劲鹏
d0c5161365 Android: add h & v scroll bar enable for input 2021-07-29 17:21:34 +08:00
pengfei.zhou
c7e6f93955 android: when linearlayout set weight,should count space when calculate total length 2021-07-29 11:37:55 +08:00
pengfei.zhou
3b0f13bb99 android:use DoricLinearLayoutCompat instead 2021-07-29 11:37:55 +08:00
pengfei.zhou
6fb526105b android: add DoricLinearLayoutCompat copy from androidx 2021-07-29 11:37:55 +08:00
pengfei.zhou
1fdc84745c Android: optimize code 2021-07-27 18:13:11 +08:00
pengfei.zhou
83f24e0eb3 android: optimize code 2021-07-27 18:13:11 +08:00
王劲鹏
f1f16f719a Android: fix scrollable false bugged 2021-07-27 18:11:44 +08:00
王劲鹏
224ec7e761 Android: fix text layout npe 2021-07-27 14:50:30 +08:00
王劲鹏
7a94ef0a53 fix android input on text change recursive 2021-07-23 11:01:18 +08:00
pengfei.zhou
f75a6f8071 iOS:change the way created item view. 2021-07-23 10:45:27 +08:00
pengfei.zhou
0a54a5a5e7 feat:add deprecated api 2021-07-22 19:03:35 +08:00
王劲鹏
c51b03ae9c Android: add missing part for beforeTextChange 2021-07-22 18:41:16 +08:00
pengfei.zhou
fd6592f307 android: optimize java code 2021-07-22 17:48:38 +08:00
pengfei.zhou
c7de1f90e2 refact:compat DoricJSLoaderManager api 2021-07-21 20:15:30 +08:00
王劲鹏
844908bdc6 Android: impl show node tree view 2021-07-21 19:32:31 +08:00
pengfei.zhou
61c262bcc6 refact: use DoricSingleton to hold all static or singleton objects 2021-07-21 19:32:31 +08:00
pengfei.zhou
a021aae3de feat:use global anchor hook to print log 2021-07-21 19:32:31 +08:00
pengfei.zhou
17e14e7119 feat:add global anchor hook to monitor all performance hook 2021-07-21 19:32:31 +08:00
pengfei.zhou
6bff1bd9a1 feat:DoricPerf export anchor map 2021-07-21 19:32:31 +08:00
pengfei.zhou
dbe94165b9 feat: add snapshot feature for devkit, this is for android 2021-07-21 19:32:31 +08:00
王劲鹏
37f8898eac fix: Android list reuse identifier get error 2021-07-21 17:55:22 +08:00
王劲鹏
a1240cfa2e Android: impl text color with gradient 2021-07-20 15:56:36 +08:00
王劲鹏
ae62a76160 Android: impl font & hint font for input 2021-07-20 15:53:19 +08:00
pengfei.zhou
7830811362 android: fix some crash from google play channel 2021-07-16 18:11:48 +08:00
王劲鹏
560990a39e add reset logic when item count or render page changed 2021-07-08 20:05:56 +08:00
pengfei.zhou
fd8cac42ed feat:add performance anchor hook 2021-07-08 15:40:06 +08:00
pengfei.zhou
5c4bbe2fa5 feat:fix cannot record onDestroy 2021-07-08 15:40:06 +08:00
pengfei.zhou
f5bd4406d9 feat:add switch for performance,default is off 2021-07-08 15:40:06 +08:00
pengfei.zhou
34876de69f optimize:performance code 2021-07-08 15:40:06 +08:00
pengfei.zhou
51719d3fc7 Android:Add PerformanceProfile 2021-07-08 15:40:06 +08:00
王劲鹏
98f2d29cee fix crash when looped slider with item count zero 2021-07-08 10:13:28 +08:00
pengfei.zhou
e6595d5c51 feat:add set environment value api 2021-07-07 18:51:21 +08:00
pengfei.zhou
0c10b513b9 feat: add onEnvChanged 2021-07-07 18:51:21 +08:00
pengfei.zhou
70bde4fba9 feat:Environment add locale 2021-07-07 18:51:21 +08:00
王劲鹏
666998d3a6 fix wrong page slided index 2021-07-05 12:44:41 +08:00
王劲鹏
ecb2839a10 Android: Input requestFocus show soft input 2021-06-29 16:08:20 +08:00
pengfei.zhou
901d3fdf72 feat:add protect case for plugin and view 2021-06-22 17:19:50 +08:00
pengfei.zhou
8339a64663 optimize: make lazy registered doric library effective 2021-06-22 17:19:50 +08:00
王劲鹏
1ddd0c05a8 fix: android scroller child measure 2021-06-18 10:39:08 +08:00
pengfei.zhou
9fed9e431c feat:Input add beforeTextChange API 2021-06-11 17:48:56 +08:00
pengfei.zhou
e528630f71 feat:Input add getSelection API 2021-06-11 17:48:56 +08:00
pengfei.zhou
5263731dd7 feat:input add onSubmitEditing 2021-06-11 17:48:56 +08:00
pengfei.zhou
ff641bf983 feat:Input add editable and returnKeyType 2021-06-11 17:48:56 +08:00
pengfei.zhou
23a39f20fc android:fix list item set action cannot respond to click 2021-06-08 17:31:53 +08:00
pengfei.zhou
4da1f3be9d feat: enhance plugin navigator,add popSelf and popToRoot 2021-06-08 11:56:11 +08:00
pengfei.zhou
b18bec6899 Android: fix code error cause npe 2021-05-31 15:30:33 +08:00
pengfei.zhou
c1ac0a04a5 bugfix: read callbackId before read other properties. 2021-05-21 18:29:36 +08:00
pengfei.zhou
7570278352 android:fix log output format error 2021-05-20 18:26:46 +08:00
pengfei.zhou
546af79534 feat: modular add test case 2021-05-14 19:58:34 +08:00
王劲鹏
67ee81e90e Android: fix list item action overlapped when sub view click set 2021-05-14 13:15:53 +08:00
pengfei.zhou
91b1a3c24c android: protect color type error 2021-04-29 14:13:26 +08:00
pengfei.zhou
2e3f8f3cea android: fix npe when create plugin error 2021-04-29 12:00:01 +08:00
pengfei.zhou
658f0ed3b3 feat:android support listItem's actions 2021-04-25 15:49:01 +08:00
pengfei.zhou
5982b15b0d feat:NestedScroller add scrollable 2021-04-23 17:58:48 +08:00
pengfei.zhou
056f2f041f feat:Slider add scrollable 2021-04-23 17:58:48 +08:00
pengfei.zhou
c2ca3c0b31 feat:Flowlayout support scrollable 2021-04-23 17:58:48 +08:00
pengfei.zhou
418b71c7a3 feat:List support scrollable 2021-04-23 17:58:48 +08:00
pengfei.zhou
4cc67a463d feat:Scroller support scrollable 2021-04-23 17:58:48 +08:00
王劲鹏
9e6d9131ee android: fix fullscreen without virtual navigation 2021-04-22 16:46:08 +08:00
pengfei.zhou
cdd25caa7d feat:when cancel Animation,sync the properties from native 2021-04-22 14:57:51 +08:00
pengfei.zhou
e7ced92281 feat:Add cancelAnimation and clearAnimation 2021-04-22 14:57:51 +08:00
pengfei.zhou
5c20680c4c feat: add API clearAnimation 2021-04-22 14:57:51 +08:00
pengfei.zhou
009e8734b6 feat:add pureCallEntityMethod,avoid hook affects 2021-04-19 17:44:04 +08:00
pengfei.zhou
c6a6f76504 android: fix corner and hidden property conflict 2021-04-07 17:25:47 +08:00
pengfei.zhou
0363e5d207 Android:Fix cannot receive onActivityForResult by DoricPanelFrgment 2021-04-06 14:25:50 +08:00
王劲鹏
f4e6042cae Android: add oldBottomMargin, oldHeight & bottomMargin 2021-03-30 12:29:16 +08:00
pengfei.zhou
0290c7a929 Android:fix input set Text,set selection to the last 2021-03-25 17:26:58 +08:00
王劲鹏
a56f1164e9 Android: implement keyboard plugin 2021-03-19 10:34:32 +08:00
王劲鹏
2d5d24ac40 Android: on switch not called when toggle by js code 2021-03-08 11:17:38 +08:00
pengfei.zhou
e78625281f fix:iOS Runloop cannot exit and other issues 2021-03-04 14:52:00 +08:00
pengfei.zhou
627f323ae3 feat:fix iOS memory leak in debugging 2021-03-04 14:52:00 +08:00
pengfei.zhou
82aa3421c6 feat:update android project settings 2021-03-02 18:20:41 +08:00
刘涛
cc6355aea7 feat:android render response time change 2021-02-24 14:56:09 +08:00
刘涛
411c92f0f0 fix:android unwarp return activity 2021-02-24 14:56:09 +08:00
pengfeizhou
af31014e2e debugger:complete android part 2021-02-23 11:45:53 +08:00
pengfeizhou
a7e042174f android:Fix cannot receive onActivityResult in plugin when call activity.startActivityForResult 2021-02-09 15:11:54 +08:00
pengfeizhou
07c701ef23 feat:Input add password property 2021-02-08 18:19:23 +08:00
pengfeizhou
0666b61096 Android:remove useless import 2021-02-03 16:34:36 +08:00
pengfeizhou
a786977b80 Android:protect type error 2021-02-03 16:34:36 +08:00
pengfeizhou
2de59a307f feat:Fix Flowlayout call onLoadMore multi times 2021-02-02 19:56:27 +08:00
pengfeizhou
112e45af06 feat:Fix List call onLoadMore multi times 2021-02-02 19:56:27 +08:00
pengfeizhou
06f9a586b1 feat:update animation version 2021-01-27 16:37:00 +08:00
pengfeizhou
c9dd90d19b bugfix:fix Android List validateViewHolderForOffsetPosition error 2021-01-27 16:37:00 +08:00
pengfei.zhou
ac2a4121c2 Android Notification add permission 2020-12-08 12:31:22 +08:00
刘涛
a355361f33 fix:Android shadow setAntiAlias false 2020-11-11 17:39:20 +08:00
pengfei.zhou
ed5c2103b0 android:fix type cast error 2020-09-11 10:35:11 +08:00
pengfei.zhou
821cb1823c iOS support internal class 2020-09-05 14:19:49 +08:00
pengfei.zhou
4df7df1327 Android support internal class 2020-09-05 14:19:49 +08:00
pengfei.zhou
f14017281e Android:protect when subviews not synced from js 2020-09-05 14:06:31 +08:00
pengfei.zhou
cf2b5b3fac feat:Popover area do not over the root view's area 2020-09-04 15:38:13 +08:00
pengfei.zhou
1aaf23f869 android update glide version 2020-09-02 18:14:02 +08:00
pengfei.zhou
e4351e3b00 android:navigator plugin push support singlePage flag and the default value is false 2020-09-01 17:48:38 +08:00
pengfei.zhou
4e724ba922 android:when in DoricPanelFragment,do not observe Lifecycle 2020-09-01 17:48:38 +08:00
pengfei.zhou
6484439852 android:DoricJavaPlugin add onActivityResult support 2020-09-01 11:27:06 +08:00
刘涛
f6eb8632d6 fix:android ImageNode check error context 2020-08-28 17:46:05 +08:00
王劲鹏
26103255a0 android: pick width & height as default constant in portrait orientation 2020-08-25 17:16:42 +08:00
pengfei.zhou
4222b8f16c android:degrade the deps to compat glide 4.8.0 2020-08-20 14:49:05 +08:00
王劲鹏
663c3d5b92 android: add json array to java value 2020-08-03 12:39:23 +08:00
王劲鹏
4c59468963 android: update partial dependency 2020-08-03 12:39:23 +08:00
刘涛
414f25d8fd android: navController pop logic 2020-07-20 14:22:57 +08:00
刘涛
f8d624d097 android:remove invalid null check 2020-07-20 12:58:56 +08:00
刘涛
1de1fdeb47 android: navController check null 2020-07-20 12:58:56 +08:00
王劲鹏
77281b945f fix scroll end callback time 2020-07-04 15:14:11 +08:00
刘涛
787ea71862 feat:Android LinearNode setBaselineAligned false 2020-07-03 17:05:05 +08:00
刘涛
ae5ac30fb6 fix:android IDoricNavigator pop/push return when activity is finishing 2020-07-02 19:01:02 +08:00
pengfei.zhou
4a788eb4bb adjust code style and add default case 2020-06-13 11:59:47 +08:00
tracy
497bd0ac45 android alphabet 2020-06-13 11:59:47 +08:00
tracy
8e8999dd7a add inputtype 2020-06-13 11:59:47 +08:00
王劲鹏
5e0b1ea92b replace regex with sub string 2020-06-08 09:40:50 +08:00
王劲鹏
0ec0074ed5 android: update project & dependencies 2020-06-03 15:03:59 +08:00
pengfei.zhou
9b181830fc add perspective for rotattionX and rotationY 2020-06-03 14:54:52 +08:00
pengfei.zhou
c14ec1954e Add rotationX and rotationY 2020-06-03 14:54:52 +08:00
刘涛
b81c1d824b android:update textnode shadow prop 2020-05-29 10:14:45 +08:00
pengfei.zhou
edb355da80 android:DoricPanelFragment fix npe 2020-05-26 11:11:37 +08:00
刘涛
26d0a38357 feat:android TextNode font support load from res 2020-05-25 18:17:49 +08:00
pengfei.zhou
3a9b6c2a85 android:add protection for DoricPanel is null 2020-05-20 10:33:24 +08:00
王劲鹏
39401524f2 Android: implements base64 for placeholder & error in image 2020-05-11 11:31:42 +08:00
王劲鹏
506f89930e Android: implements locations in gradient color 2020-05-11 09:53:28 +08:00
王劲鹏
c2264e621c Android: ensure start & end are not null 2020-05-11 09:53:28 +08:00
王劲鹏
d91142a1db Android: implements multiple segments as gradient color 2020-05-11 09:53:28 +08:00
刘涛
c66466f241 android: input releaseFocus hide softInput 2020-05-08 16:20:42 +08:00
pengfei.zhou
8f693b451d feat:fix lifecycle call not exactly right 2020-05-06 16:22:13 +08:00
pengfei.zhou
8db686b89b android:fix input gravity 2020-05-06 15:13:00 +08:00
pengfei.zhou
f1a222f339 code format 2020-05-06 15:13:00 +08:00
王劲鹏
007786f4ef Android: implements navbar set center 2020-04-30 18:52:28 +08:00
刘涛
b7da580842 feat:android input add maxLength 2020-04-30 18:18:29 +08:00
pengfei.zhou
b169f581d3 feat:protect when build set navbar's view 2020-04-30 18:11:59 +08:00
pengfei.zhou
fdff5af3d9 feat:Text add truncateAt 2020-04-27 18:58:41 +08:00
pengfei.zhou
14c8b94a93 android:update build.gradle 2020-04-27 16:03:16 +08:00
pengfei.zhou
ab28256916 android:image strech unit should multiply scale 2020-04-27 16:03:16 +08:00
pengfei.zhou
0535d0d4d4 android:fix render callback thread error 2020-04-27 16:03:16 +08:00
pengfei.zhou
57b5c7596b feat:when reload doriccontext,release the js resource 2020-04-27 16:03:16 +08:00
pengfei.zhou
12fcf71526 android:use addIdelHandler to avoid call render callback before it is actually rendered 2020-04-27 16:03:16 +08:00
pengfei.zhou
2995296121 android:fix synchronously set image 2020-04-26 14:55:22 +08:00
pengfei.zhou
05927b33d5 fix when parent is fit ,child is most,resolve this situation 2020-04-23 20:02:23 +08:00
pengfei.zhou
496c4c1838 fix:when onDestroy call native plugin 2020-04-23 17:43:54 +08:00
pengfei.zhou
82fdd5e46c Android and iOS add handling imageScale 2020-04-23 16:52:24 +08:00
pengfei.zhou
9e7c1f04ef feat:Environment add scale 2020-04-23 16:52:24 +08:00
pengfei.zhou
229fc41de3 update js api 2020-04-22 11:38:15 +08:00
pengfei.zhou
5f4942a8ff feat:List add scrollToItem method 2020-04-22 11:38:15 +08:00
pengfei.zhou
64d1153e93 android:incase load image url after activity is destroyed 2020-04-21 19:25:22 +08:00
pengfei.zhou
a386c548ec android:fix DoricActivity be called externally 2020-04-20 09:37:31 +08:00
王劲鹏
4c18171a2b change px to proportion 2020-04-17 17:01:10 +08:00
王劲鹏
b1c1650478 Android: implement stretchInset for ImageNode 2020-04-17 17:01:10 +08:00
pengfei.zhou
b2241fe343 android:add yoga proguard 2020-04-16 18:03:00 +08:00
刘涛
c329cfcf53 android:fix android textview truncate problem 2020-04-14 20:25:42 +08:00
pengfei.zhou
9e0b3e067b feat:Text add htmlText 2020-04-14 12:10:55 +08:00
pengfei.zhou
e73ad1db2b android:fix RootNode type is null 2020-04-14 12:10:55 +08:00
王劲鹏
ea665e516b downgrade glide to 480 2020-04-14 11:37:18 +08:00
pengfei.zhou
8cb135b7b1 Text add strikethrough and underline 2020-04-13 17:44:15 +08:00
pengfei.zhou
8faf0e5d33 android:set imageView adjustViewBounds anywhere 2020-04-13 14:44:32 +08:00
pengfei.zhou
7a2bffdb64 android:fix mix use layoutConfig and flexConfig 2020-04-13 14:44:32 +08:00
pengfei.zhou
d29ff4991d add handling layoutconfig in flexlayout 2020-04-13 14:44:32 +08:00
pengfei.zhou
f66b6161b2 Android:imageview support maxWidth and maxHeight 2020-04-11 13:02:16 +08:00
pengfei.zhou
1e112055db Android implement maxWidth maxHeight 2020-04-11 13:02:16 +08:00
pengfei.zhou
80811a3bf6 Layout add minWidth minHeight maxWidth maxHeight 2020-04-11 13:02:16 +08:00
pengfei.zhou
fb23a11aa9 android add FlexNode 2020-04-10 14:35:21 +08:00
pengfei.zhou
404b4b594f add ts define 2020-04-10 14:35:21 +08:00
pengfei.zhou
dd06675253 add yoga dependency 2020-04-10 14:35:21 +08:00
王劲鹏
4bb9df4dbb Android: add loop in slider 2020-04-10 11:08:39 +08:00
王劲鹏
c44c3e5353 add loop property & fix bug caused by renderPage cache 2020-04-10 11:08:39 +08:00
pengfei.zhou
d1f32b7f5c Android:render's promise's resolve should happen after view's been measured and layouted 2020-04-09 14:14:16 +08:00
王劲鹏
00f5fb3918 fix glide deps 2020-04-03 19:21:19 +08:00