Support density independent pixel
authorSeungkeun Lee <sngn.lee@samsung.com>
Wed, 8 Feb 2017 01:17:28 +0000 (10:17 +0900)
committerKangho Hur <kangho.hur@samsung.com>
Mon, 10 Jul 2017 02:11:19 +0000 (11:11 +0900)
commitbc891e2b6160d47a9e1960c38e911773bff64b66
treea7abb3e73052974406369757a13c478248561152
parent6964d20afc00124fd73b540ead1e004844e944fc
Support density independent pixel

 - Support Enable/Disable of this feature
 - By default, it was disabled. if you want enabling DP support feature,
   Use Forms.Init(FormsApplication application, bool useDeviceIndependentPixel) API
 - Hard-coded pixel value was changed to DP units
 - If you deal with native coordinate, use Forms.ConvertToScaledPixel / Forms.ConvertToScaledDP
 - If you convert hard-coded DP to pixels, use Forms.ConvertToPixel
 - Update font size convert formula

Change-Id: I345115551e1c37d27b8a7152af5ef847d035c9a4
16 files changed:
Xamarin.Forms.Platform.Tizen/Cells/CellRenderer.cs
Xamarin.Forms.Platform.Tizen/Cells/EntryCellRenderer.cs
Xamarin.Forms.Platform.Tizen/Cells/ImageCellRenderer.cs
Xamarin.Forms.Platform.Tizen/Cells/ViewCellRenderer.cs
Xamarin.Forms.Platform.Tizen/Extensions/DensityIndependentPixelExtensions.cs [new file with mode: 0644]
Xamarin.Forms.Platform.Tizen/Forms.cs
Xamarin.Forms.Platform.Tizen/Native/ListView.cs
Xamarin.Forms.Platform.Tizen/Native/Span.cs
Xamarin.Forms.Platform.Tizen/Renderers/ButtonRenderer.cs
Xamarin.Forms.Platform.Tizen/Renderers/LayoutRenderer.cs
Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs [changed mode: 0755->0644]
Xamarin.Forms.Platform.Tizen/Renderers/SearchBarRenderer.cs
Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs
Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs
Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj
packaging/xamarin-forms-tizen.spec