axmol/cocos/ui
andyque a35e89225e Re-implement Editbox on Android platform.
This PR also fixed issue:

https://github.com/cocos2d/cocos2d-x/issues/9572

For the new EditBox:

1. Added a ResizeLayout for updating layout when soft keyboard is shown.
This is because some Android devices won't refresh the view and when
the view is panned, the native EditText will turn black. This is really
a hack, but it works for many Android devices from 2.3 to 5.0.

When keyboard is beginning to show, the ResizeLayout's doLayout
method will be called 24 frames per second. Once the keyboard is closed,
or the user begins to input, the doLayout method will be disabled.

2. EditText is working in a different UI thread, so all the data
are passed to GL thread via callbacks in UI thead.

3. It also overrides onKeyDown method in Cocos2dxEditBox.
When the EditText got the focus, users could press back key to exit
the game. This behavior is not allowed. We give developer the choice to
handle back key event manually.
2015-08-07 17:27:15 +08:00
..
UIEditBox Re-implement Editbox on Android platform. 2015-08-07 17:27:15 +08:00
proj.win32 Add UIScrollViewBar.cpp into CMake and Windows project configuration. 2015-07-04 09:56:53 +09:00
Android.mk Add scroll bar feature into ScrollView 2015-07-04 09:56:52 +09:00
CMakeLists.txt Add UIScrollViewBar.cpp into CMake and Windows project configuration. 2015-07-04 09:56:53 +09:00
CocosGUI.cpp let ios project compile correct 2014-03-11 18:48:26 +08:00
CocosGUI.h Add RadioButton feature and a test case for it. 2015-06-30 18:50:13 +09:00
GUIDefine.h ignore GUIDefine.h 2015-03-25 18:24:35 +08:00
GUIExport.h added check for WinRT and WP8 2014-10-14 14:22:19 -07:00
UIAbstractCheckButton.cpp Merge branch 'v3.7-release' of https://github.com/cocos2d/cocos2d-x into merge-v3.7 2015-07-03 10:23:49 +08:00
UIAbstractCheckButton.h Correct the wrong comment for lua 2015-07-02 15:19:50 +09:00
UIButton.cpp Fixed #12249 : Button touch doesn't work with setScale9Enabled. 2015-07-23 17:27:04 +08:00
UIButton.h Merge pull request #12054 from andyque/Feature_Add_Title_Alignment_for_Button 2015-05-27 16:09:06 +08:00
UICheckBox.cpp Fix check box front cross texture expand to normal size when change status between normal and disable frequency 2015-07-02 10:29:53 +08:00
UICheckBox.h Replace all tabs to 4 spaces to comply with the convention 2015-06-30 20:31:31 +09:00
UIDeprecated.cpp add MarginZero as an external variable 2014-06-27 15:56:29 +08:00
UIDeprecated.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
UIHBox.cpp Adds `std::nothrow` to `new` 2014-08-27 16:31:57 -07:00
UIHBox.h [ci skip] Add javascript notes... 2015-03-30 21:38:32 +08:00
UIHelper.cpp Re-implement Editbox on Android platform. 2015-08-07 17:27:15 +08:00
UIHelper.h Re-implement Editbox on Android platform. 2015-08-07 17:27:15 +08:00
UIImageView.cpp improve imageView memory usage 2015-06-05 14:19:05 +08:00
UIImageView.h improve imageView memory usage 2015-06-05 14:19:05 +08:00
UILayout.cpp Merge pull request #13089 from yangws/issue_12692 2015-07-31 12:02:00 +08:00
UILayout.h Fixed #12692 : UILayout viewing area cutting position calculation error 2015-07-29 18:43:11 +08:00
UILayoutComponent.cpp Fix 2015-07-06 16:45:04 +08:00
UILayoutComponent.h Update comment for Lua 2015-03-30 15:47:47 +08:00
UILayoutManager.cpp Merge pull request #7900 from minggo/setposition-optimize 2014-08-28 14:31:54 +08:00
UILayoutManager.h remove unneeded js & lua NA and remove deprecated list from navtree 2015-03-27 11:02:04 +08:00
UILayoutParameter.cpp Adds `std::nothrow` to `new` 2014-08-27 16:31:57 -07:00
UILayoutParameter.h removed CC_PLATFORM_WP8 2015-05-08 09:19:13 -07:00
UIListView.cpp Fix improper touch intercept event propagation. 2015-08-06 22:50:53 +08:00
UIListView.h Update comment for Lua 2015-03-30 15:47:47 +08:00
UILoadingBar.cpp fix enum class wrong indentation 2015-06-05 17:23:32 +08:00
UILoadingBar.h optimize UILoadingBar memory usage 2015-06-05 15:57:39 +08:00
UIPageView.cpp Fix improper touch intercept event propagation. 2015-08-06 22:50:53 +08:00
UIPageView.h add PageView vertical scroll support 2015-08-01 18:18:46 +08:00
UIRadioButton.cpp Fix radio button group clear issue 2015-07-04 09:57:54 +09:00
UIRadioButton.h Add class documentation 2015-07-02 15:20:06 +09:00
UIRelativeBox.cpp Adds `std::nothrow` to `new` 2014-08-27 16:31:57 -07:00
UIRelativeBox.h Update comment for Lua 2015-03-30 15:47:47 +08:00
UIRichText.cpp Merge pull request #12972 from yangws/issue_12145 2015-07-28 17:13:26 +08:00
UIRichText.h Fixed #12145 : formarRenderers in RichText doesn’t update container size. 2015-07-23 14:59:24 +08:00
UIScale9Sprite.cpp Use sendNodeEventToJSExtended instead of sendNodeEventToJS in sub classes 2015-07-28 18:24:03 +08:00
UIScale9Sprite.h fixed Scale9Sprite gray state issue. 2015-07-15 14:35:13 +08:00
UIScrollView.cpp Fix improper touch intercept event propagation. 2015-08-06 22:50:53 +08:00
UIScrollView.h Correct a typo 2015-07-14 10:17:05 +09:00
UIScrollViewBar.cpp Use sendNodeEventToJSExtended instead of sendNodeEventToJS in sub classes 2015-07-28 18:24:03 +08:00
UIScrollViewBar.h Add methods to manipulate scroll bar's opacity 2015-07-13 21:28:16 +09:00
UISlider.cpp Merge branch 'v3.7-release' into v3 2015-07-13 22:44:54 +08:00
UISlider.h Fixed bug: UI component can't click correctly by moving UI and camera far away of origin. 2015-06-30 14:32:14 +08:00
UIText.cpp Fixed #10082 : Label and Text have different types for fontSize 2015-07-28 14:48:01 +08:00
UIText.h Fixed #10082 : Label and Text have different types for fontSize 2015-07-28 14:48:01 +08:00
UITextAtlas.cpp Additional unnecessary set dirty of ui widgets 2014-11-25 20:42:03 +09:00
UITextAtlas.h [ci skip] Add javascript notes... 2015-03-30 21:38:32 +08:00
UITextBMFont.cpp update uiTextBMFont setString 2015-01-20 14:20:20 +08:00
UITextBMFont.h [ci skip] Add javascript notes... 2015-03-30 21:38:32 +08:00
UITextField.cpp Merge pull request #13137 from yangws/issue_9507 2015-07-31 15:43:46 +08:00
UITextField.h Fixed bug: UI component can't click correctly by moving UI and camera far away of origin. 2015-06-18 10:23:52 +08:00
UIVBox.cpp Adds `std::nothrow` to `new` 2014-08-27 16:31:57 -07:00
UIVBox.h [ci skip] Add javascript notes... 2015-03-30 21:38:32 +08:00
UIVideoPlayer-android.cpp Re-implement Editbox on Android platform. 2015-08-07 17:27:15 +08:00
UIVideoPlayer-ios.mm Fixed: #12097 VideoPlayer on Android ignores search paths 2015-05-29 10:17:40 +03:00
UIVideoPlayer.h fix tons of warnings 2015-07-15 12:04:48 +08:00
UIWebView-inl.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
UIWebView.cpp remove UIWebView.cpp in win32 2014-10-16 16:46:49 +08:00
UIWebView.h Fix the compile error on the win32 2015-04-20 11:46:48 +08:00
UIWebView.mm Moved base/CCPlatform* -> platform/CCPlatform* 2014-09-09 17:17:07 -07:00
UIWebViewImpl-android.cpp Re-implement Editbox on Android platform. 2015-08-07 17:27:15 +08:00
UIWebViewImpl-android.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
UIWebViewImpl-ios.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
UIWebViewImpl-ios.mm Fix web view leak on iOS 2015-05-08 15:19:14 +03:00
UIWidget.cpp Merge pull request #13051 from yangws/issue_9400 2015-07-31 09:50:20 +08:00
UIWidget.h [ci skip] add comment for UIWidget::_hittedByCamera. 2015-07-01 11:03:09 +08:00