Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update #26

Merged
merged 54 commits into from
Mar 24, 2020
Merged
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
25d1763
Fixed positioning of interaction dialog to work properly for both lay…
shannah Feb 23, 2020
f2cceae
Fixed setting multiple font icons on labels for different states.
shannah Feb 23, 2020
34e06af
Made sheet commands a safe area so the close/back button doesn't get …
shannah Feb 23, 2020
9df82fd
Added support for file and storage URLs in URLImage so that images ca…
shannah Feb 23, 2020
9e8a643
Placed upper bound on the size of temporary bitmaps generated for and…
shannah Feb 24, 2020
5d31f6b
Added getOwner() method to Component.
shannah Feb 27, 2020
fe3f94c
Added ProfileAvatarView sample.
shannah Feb 27, 2020
fbf9939
Fixed issue with screen rotation on iOS - a regression related to saf…
shannah Feb 27, 2020
d846639
Removed extra margin and padding in internal containers of SpanLabel.…
shannah Feb 29, 2020
cdfc198
Fixed lead component behaviour to allow a container with a lead compo…
shannah Feb 29, 2020
a05bf40
Changed long press interval from 800ms to 500ms to match Apple UI ges…
shannah Feb 29, 2020
42921d0
Added animation safety to some revalidate() calls.
shannah Feb 29, 2020
972aadf
Added accessors to isOnlyLeftRouned and isOnlyRightRounded properties…
shannah Feb 29, 2020
abe6389
Fixed issue with jar: URLs on iOS. https://github.com/codenameone/Co…
shannah Mar 2, 2020
a0ea09d
Added sample test case for https://github.com/codenameone/CodenameOne…
shannah Mar 3, 2020
eab2bad
Created interfaces IconHolder and SelectableIconHolder to be implemen…
shannah Mar 4, 2020
cc422d5
Added javadocs for state change listeners in Buttons.
shannah Mar 4, 2020
ad7e9aa
Added publich blockSideSwipe() method to Component.
shannah Mar 4, 2020
5898b4a
Improved support for safe areas. It is now possible to mark a compon…
shannah Mar 4, 2020
2ad65d4
Added Style.stripMarginAndPadding() method which does what it sounds …
shannah Mar 4, 2020
08e89ac
Removed debug output
shannah Mar 4, 2020
c1a555e
Added support for BASELINE vertical alignment in Label. The primary …
shannah Mar 5, 2020
0514036
Exposed getDisplaySafeArea() in Display class as it might be useful t…
shannah Mar 5, 2020
4875e5f
Added support for badges on labels.
shannah Mar 6, 2020
07217ca
Fixed issue with phantom action events being emitted from lead compon…
shannah Mar 6, 2020
6d5450e
Added methods for setting individual margins more easily.
shannah Mar 6, 2020
9d9bf85
Refactored handling of pointer events with lead components to make th…
shannah Mar 6, 2020
400c356
Fixed regression with iOS push device tokens on iOS 13. Behaviour of…
shannah Mar 9, 2020
080b05a
Fixed issue with push callback called twice on iOS10+ when push messa…
shannah Mar 10, 2020
d7fe9b8
Updated local path
shai-almog Mar 12, 2020
4d0d73e
Merge branch 'master' of https://github.com/codenameone/CodenameOne
shai-almog Mar 12, 2020
d43c67a
Fixed regression with button action events. Fixes https://github.com…
shannah Mar 13, 2020
ee6b317
Fixed container layout width and height to take into account if the c…
shannah Mar 13, 2020
ac8986a
Added filter(String) method to ComponentSelector to filter a found se…
shannah Mar 13, 2020
07a086b
Fixed background painting of InterFormContainer.
shannah Mar 13, 2020
e144b59
Merge branch 'master' of https://github.com/codenameone/CodenameOne
shannah Mar 13, 2020
8fe95b3
Removed debugging code.
shannah Mar 13, 2020
b646353
Fixed drag-and-drop regression. https://github.com/codenameone/Coden…
shannah Mar 17, 2020
f1e9b5e
Added missing repaints when state of lead component changes between s…
shannah Mar 17, 2020
7c60d76
Added test case for https://github.com/codenameone/CodenameOne/issues…
shannah Mar 18, 2020
da6896e
Fixed issue with Switch not toggling on tap on iOS. The problem was …
shannah Mar 18, 2020
251fc80
Refactoring to fix issues with lead components. Added a LeadUtil pac…
shannah Mar 18, 2020
96720ed
Fixed regression in InteractionDialog that could cause incorrect sizi…
shannah Mar 20, 2020
e6960d1
Added CSSBorder class to try to fill some of the gaps in our CSS supp…
shannah Mar 20, 2020
21b2b44
Better implementation of fillLinearGradient for JavaSE port.
shannah Mar 21, 2020
3570611
Fixed sizing of InteractionDialogs whose preferred height depends on …
shannah Mar 21, 2020
235e58b
Added test case for #3051
shannah Mar 23, 2020
edb8a59
Added test case for #3056
shannah Mar 23, 2020
f3a0f50
Fixed issue with toolbar not showing up in popovers on iPad with iOS …
shannah Mar 23, 2020
42be84b
Added sample of adding component to right bar.
shannah Mar 23, 2020
a1d3f1f
Events received outside of bounds when InteractionDialog is set to di…
shannah Mar 23, 2020
d5fcc51
Selection events now only fired when selection is changed.
shannah Mar 23, 2020
2610845
Updated Container.calcPreferredSize() to take into account safe areas.
shannah Mar 23, 2020
8df38b1
Added sample with addDropListener to help with #3059
shannah Mar 24, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Exposed getDisplaySafeArea() in Display class as it might be useful t…
…o obtain the safe area outside the context of a Form.
shannah committed Mar 5, 2020
commit 0514036b6a925962f93c507567186f514024a178
12 changes: 12 additions & 0 deletions CodenameOne/src/com/codename1/ui/Display.java
Original file line number Diff line number Diff line change
@@ -3348,6 +3348,18 @@ public void playBuiltinSound(String soundIdentifier) {
impl.playBuiltinSound(soundIdentifier);
}

/**
* Gets the display safe area as a rectangle.
* @param rect Out parameter that will store the display safe area.
* @return The display safe area.
* @see Form#getSafeArea()
* @since 7.0
*/
public Rectangle getDisplaySafeArea(Rectangle rect) {
return impl.getDisplaySafeArea(rect);
}


/**
* Installs a replacement sound as the builtin sound responsible for the given
* sound identifier (this will override the system sound if such a sound exists).