Commit Graph

570 Commits

Author SHA1 Message Date
pengfei.zhou
96e61e2268 android: add animationEnd callback for image 2021-12-17 18:01:43 +08:00
pengfei.zhou
e4b27af938 android: remove some code which require higher system permission 2021-12-13 11:20:21 +08:00
王劲鹏
7edaf08c18 fix onclick overlapped by onsingletap 2021-12-10 14:56:56 +08:00
pengfei.zhou
7f21d8293f android: decode base64 image synchronously 2021-12-08 17:19:51 +08:00
pengfei.zhou
b0ff68e660 refact: optimize code 2021-12-08 12:06:25 +08:00
pengfei.zhou
4fb5848ca9 feat: change alias to dev in demo app 2021-12-08 12:06:25 +08:00
pengfei.zhou
68ba8875a5 feat: android and iOS support load assets file remotely on dev mode 2021-12-08 12:06:25 +08:00
pengfei.zhou
7b44801b17 feat: add DoricDevAssetsLoader in dev mode 2021-12-08 12:06:25 +08:00
pengfei.zhou
1ba4336857 feat: add DoricAssets resource 2021-12-08 12:06:25 +08:00
pengfei.zhou
c3093d9ff2 Android: fix listItem cannot be animated 2021-12-03 17:45:51 +08:00
pengfei.zhou
ec926cda0c android: DoricLayer setWillNotDraw set false to call draw,otherwise dispatchDraw will be called directly 2021-11-29 10:52:04 +08:00
pengfei.zhou
8ebccdc3fe feat:resume script change 2021-11-26 14:56:36 +08:00
pengfei.zhou
91f154cd9b feat: update EffectDemo and fix some code problems 2021-11-26 14:56:36 +08:00
pengfei.zhou
7c9e13158d iOS: Use Animator to control blur effect 2021-11-26 14:56:36 +08:00
pengfei.zhou
f302592d11 feat:Aero add style property 2021-11-26 14:56:36 +08:00
pengfei.zhou
cc014a6061 android: implement Aero effect 2021-11-26 14:56:36 +08:00
pengfei.zhou
bf5a8c0e9a android: remove transformations library 2021-11-26 14:56:36 +08:00
pengfei.zhou
a528165207 android: add AeroEffect 2021-11-26 14:56:36 +08:00
pengfei.zhou
62a8357d77 feat: fix typo 2021-11-26 14:56:36 +08:00
pengfei.zhou
87b73461e6 android: resume script 2021-11-26 14:56:36 +08:00
pengfei.zhou
3f49ca125e android:update targetAPI and compileAPI to 31 2021-11-26 14:56:36 +08:00
pengfei.zhou
265b662ca8 android: fix when Stack restore canvas cause draw position error 2021-11-26 14:56:36 +08:00
pengfei.zhou
9704f95592 android: add effectiveRect for BlurEffect 2021-11-26 14:56:36 +08:00
pengfei.zhou
7792bcafc0 android: remove leakcanary 2021-11-26 14:56:36 +08:00
pengfei.zhou
d24e0ecff6 android: add BlurEffectView 2021-11-26 14:56:36 +08:00
王劲鹏
040823a8af Android: fix load anchor not reset in flow layout 2021-11-22 11:40:25 +08:00
王劲鹏
c3e05a39c0 Android: fix load anchor not reset 2021-11-22 11:29:46 +08:00
pengfei.zhou
af77a0e98e android: fix list item cannot response click action 2021-11-11 14:29:28 +08:00
pengfei.zhou
f448692896 android: fix when there's no permission, crash will happen 2021-11-11 14:29:28 +08:00
pengfei.zhou
d6b9186f52 android:add some logs when fallback to webview executors 2021-11-09 17:01:45 +08:00
pengfei.zhou
098d96e47c android: change back to DoricJSEngine by default 2021-11-09 17:01:45 +08:00
pengfei.zhou
18b50be203 Remove JavaScript Element when not needed 2021-11-09 17:01:45 +08:00
pengfei.zhou
ce892a31bf Add other types of JSEngine 2021-11-09 17:01:45 +08:00
pengfei.zhou
c7252613a2 android: webview shell mode 2021-11-09 17:01:45 +08:00
pengfei.zhou
b7935e48c7 android: add web shell 2021-11-09 17:01:45 +08:00
pengfei.zhou
86b6c63588 android: add flag to decide whether use webview only 2021-11-08 10:29:40 +08:00
pengfei.zhou
dea6e05bee android:catch throwable,not just exception 2021-11-08 10:29:40 +08:00
pengfei.zhou
643a9f5fe9 android:restore build.gradle change 2021-11-08 10:29:40 +08:00
pengfei.zhou
a3738859aa Android: rename module name to jse 2021-11-08 10:29:40 +08:00
pengfei.zhou
7eb8287f04 Android add jse implement to replace jsc4a 2021-11-08 10:29:40 +08:00
pengfei.zhou
cbcbc21737 Add JS Value package source 2021-11-08 10:29:40 +08:00
pengfei.zhou
2175c44338 adjust code 2021-11-08 10:29:40 +08:00
pengfei.zhou
a4a55db9cf Change Android minSdkVersion to 19 2021-11-08 10:29:40 +08:00
pengfei.zhou
2be389461c Android:use webview executor for fallback plan 2021-11-08 10:29:40 +08:00
pengfei.zhou
0ca5913357 Init dev before starting 2021-11-08 10:29:40 +08:00
pengfei.zhou
7282146e14 feat:fix when android excute js on same thread,cause stucked 2021-11-08 10:29:40 +08:00
pengfei.zhou
5c74729fbc android: enable setTimeout and setInterval 2021-11-08 10:29:40 +08:00
pengfei.zhou
bb17b74b99 Android:use webview to execute js 2021-11-08 10:29:40 +08:00
pengfei.zhou
196497f3bd android:webview add some api 2021-11-08 10:29:40 +08:00
pengfei.zhou
780188e145 Add webview init 2021-11-08 10:29:40 +08:00
pengfei.zhou
e8089e98a8 android: use webview as js executor 2021-11-08 10:29:40 +08:00
pengfei.zhou
601e9a79c0 Android :when reset,do not set scale to 0 2021-11-03 14:51:07 +08:00
pengfei.zhou
a257f8e8f7 Android: reset align to iOS implement 2021-11-03 14:51:07 +08:00
pengfei.zhou
a4ccb10891 Remove useless code 2021-11-03 14:51:07 +08:00
pengfei.zhou
92c22def29 android: reset scroller node when reuse this node 2021-10-27 18:01:36 +08:00
pengfei.zhou
481e643ff9 android: reset view node when reuse this node 2021-10-27 18:01:36 +08:00
pengfei.zhou
235549eea4 Add Resource Loader for iOS 2021-10-25 17:16:01 +08:00
pengfei.zhou
4bd4f42f52 android:optimize code 2021-10-25 17:16:01 +08:00
pengfei.zhou
6402522946 feat:Add Base64Resource 2021-10-25 17:16:01 +08:00
pengfei.zhou
5501dd38d9 Add resource system for doric,start with android 2021-10-25 17:16:01 +08:00
pengfei.zhou
3e1051ed4e Android:flexlayout fix cannot measure property when child is also flexlayout 2021-10-17 12:37:41 +08:00
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
pengfei.zhou
c452ebffda android:add timing activity 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
ac62a0f7fc optimize code 2021-08-31 17:18:38 +08:00
pengfei.zhou
5e2ffe3436 Devkit add plugin support 2021-08-26 16:49:56 +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
fcd4449a9d feat:when reload script,reload all matched context,when debug,target last matched context 2021-07-23 10:45:27 +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
7d4d6713c6 feat: change color of performance waterfall 2021-07-21 19:32:31 +08:00
pengfei.zhou
8f50d2d67c iOS: add DoricDevPerfVC 2021-07-21 19:32:31 +08:00
pengfei.zhou
8e2ebaf833 feat:android show performance waterfall 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
ba3635769a android: extract base activity for obtain doric context 2021-07-21 19:32:31 +08:00
pengfei.zhou
0cc9417cb6 feat:fix android show node tree 2021-07-21 19:32:31 +08:00
pengfei.zhou
6bff1bd9a1 feat:DoricPerf export anchor map 2021-07-21 19:32:31 +08:00
王劲鹏
46eff0d904 add show node tree 2021-07-21 19:32:31 +08:00
pengfei.zhou
bbe50ec181 feat:update doric devkit ui 2021-07-21 19:32:31 +08:00
pengfei.zhou
ec62256ad5 feat: add snapshot feature for devkit, this is for android 2021-07-21 19:32:31 +08:00
pengfei.zhou
7fd81ce92c android: refact doric dev activity,use map to manage action menu 2021-07-21 19:32:31 +08:00
pengfei.zhou
4c7eb36565 iOS:add snapshot view 2021-07-21 19:32:31 +08:00
pengfei.zhou
0dfe0d73be Demo add devkit button 2021-07-21 19:32:31 +08:00
pengfei.zhou
cf116dbb31 android:update snapshot control api 2021-07-21 19:32:31 +08:00
pengfei.zhou
227cc09824 feat:update doric devkit ui 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
b4493ef777 android:open performance 2021-07-08 15:40:06 +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