flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [02/12] Added 160 and 640 dpi draft AS skins
Date Sat, 10 Aug 2013 05:55:09 GMT
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/07289a63/frameworks/projects/mobiletheme/src/spark/skins/mobile/ToggleSwitchSkin.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/mobile/ToggleSwitchSkin.as b/frameworks/projects/mobiletheme/src/spark/skins/mobile/ToggleSwitchSkin.as
index 5fd3094..2b5ff09 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/mobile/ToggleSwitchSkin.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/mobile/ToggleSwitchSkin.as
@@ -36,10 +36,12 @@ import spark.components.ToggleSwitch;
 import spark.components.supportClasses.StyleableTextField;
 import spark.core.SpriteVisualElement;
 import spark.skins.mobile.supportClasses.MobileSkin;
+import spark.skins.mobile120.assets.ToggleSwitch_contentShadow;
 import spark.skins.mobile160.assets.ToggleSwitch_contentShadow;
 import spark.skins.mobile240.assets.ToggleSwitch_contentShadow;
 import spark.skins.mobile320.assets.ToggleSwitch_contentShadow;
 import spark.skins.mobile480.assets.ToggleSwitch_contentShadow;
+import spark.skins.mobile640.assets.ToggleSwitch_contentShadow;
 
 use namespace mx_internal;
 
@@ -74,7 +76,19 @@ public class ToggleSwitchSkin extends MobileSkin
         super();
         
         switch(applicationDPI) 
-        {
+        {	
+			case DPIClassification.DPI_640:
+			{
+				layoutThumbWidth = 94;
+				layoutThumbHeight = 56;
+				layoutStrokeWeight = 2;
+				layoutBorderSize = 2;
+				layoutTextShadowOffset = -2;
+				layoutInnerPadding = 14;
+				layoutOuterPadding = 22;
+				slidingContentOverlayClass = spark.skins.mobile320.assets.ToggleSwitch_contentShadow;
+				break;
+			}
 			case DPIClassification.DPI_480:
 			{
 				// Note provisional may need changes
@@ -88,7 +102,6 @@ public class ToggleSwitchSkin extends MobileSkin
 				slidingContentOverlayClass = spark.skins.mobile480.assets.ToggleSwitch_contentShadow;
 				break;
 			}		
-
             case DPIClassification.DPI_320:
             {
                 layoutThumbWidth = 94;
@@ -101,19 +114,30 @@ public class ToggleSwitchSkin extends MobileSkin
                 slidingContentOverlayClass = spark.skins.mobile320.assets.ToggleSwitch_contentShadow;
                 break;
             }
-            case DPIClassification.DPI_240:
-            {
-                layoutThumbWidth = 70;
-                layoutThumbHeight = 42;
-                layoutStrokeWeight = 2;
-                layoutBorderSize = 1;
-                layoutTextShadowOffset = -1;
-                layoutInnerPadding = 10;
-                layoutOuterPadding = 17;
-                slidingContentOverlayClass = spark.skins.mobile240.assets.ToggleSwitch_contentShadow;
-                break;
-            }
-            case DPIClassification.DPI_160:
+			case DPIClassification.DPI_240:
+			{
+				layoutThumbWidth = 70;
+				layoutThumbHeight = 42;
+				layoutStrokeWeight = 2;
+				layoutBorderSize = 1;
+				layoutTextShadowOffset = -1;
+				layoutInnerPadding = 10;
+				layoutOuterPadding = 17;
+				slidingContentOverlayClass = spark.skins.mobile240.assets.ToggleSwitch_contentShadow;
+				break;
+			}
+			case DPIClassification.DPI_120:
+			{
+				layoutThumbWidth = 35;
+				layoutThumbHeight = 21;
+				layoutStrokeWeight = 2;
+				layoutBorderSize = 1;
+				layoutTextShadowOffset = -1;
+				layoutInnerPadding = 5;
+				layoutOuterPadding = 9;
+				slidingContentOverlayClass = spark.skins.mobile120.assets.ToggleSwitch_contentShadow;
+				break;
+			}
             default:
             {
                 layoutThumbWidth = 47;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/07289a63/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as b/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as
index 9754455..44c3dcf 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as
@@ -66,6 +66,13 @@ public class VScrollBarSkin extends MobileSkin
         // Depending on density set our measured width
         switch (applicationDPI)
         {
+			case DPIClassification.DPI_640:
+			{
+				minWidth = 24;
+				paddingRight = VScrollBarThumbSkin.PADDING_RIGHT_640DPI;
+				paddingVertical = VScrollBarThumbSkin.PADDING_VERTICAL_640DPI;
+				break;
+			}
 			case DPIClassification.DPI_480:
 			{
 				minWidth = 18;
@@ -80,13 +87,20 @@ public class VScrollBarSkin extends MobileSkin
                 paddingVertical = VScrollBarThumbSkin.PADDING_VERTICAL_320DPI;
                 break;
             }
-            case DPIClassification.DPI_240:
-            {
-                minWidth = 9;
-                paddingRight = VScrollBarThumbSkin.PADDING_RIGHT_240DPI;
-                paddingVertical = VScrollBarThumbSkin.PADDING_VERTICAL_240DPI;
-                break;
-            }
+			case DPIClassification.DPI_240:
+			{
+				minWidth = 9;
+				paddingRight = VScrollBarThumbSkin.PADDING_RIGHT_240DPI;
+				paddingVertical = VScrollBarThumbSkin.PADDING_VERTICAL_240DPI;
+				break;
+			}
+			case DPIClassification.DPI_120:
+			{
+				minWidth = 9;
+				paddingRight = VScrollBarThumbSkin.PADDING_RIGHT_120DPI;
+				paddingVertical = VScrollBarThumbSkin.PADDING_VERTICAL_120DPI;
+				break;
+			}
             default:
             {
                 // default DPI_160

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/07289a63/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as
b/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as
index 4e95d3f..acf1479 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as
@@ -48,12 +48,16 @@ public class VScrollBarThumbSkin extends MobileSkin
     //--------------------------------------------------------------------------
     
     // These constants are also accessed from VScrollBarSkin
+	mx_internal static const PADDING_RIGHT_630DPI:int = 10;
+	mx_internal static const PADDING_VERTICAL_630DPI:int = 8;
 	mx_internal static const PADDING_RIGHT_480DPI:int = 8;
 	mx_internal static const PADDING_VERTICAL_480DPI:int = 6;
     mx_internal static const PADDING_RIGHT_320DPI:int = 5;
     mx_internal static const PADDING_VERTICAL_320DPI:int = 4;
-    mx_internal static const PADDING_RIGHT_240DPI:int = 4;
-    mx_internal static const PADDING_VERTICAL_240DPI:int = 3;
+	mx_internal static const PADDING_RIGHT_240DPI:int = 4;
+	mx_internal static const PADDING_VERTICAL_240DPI:int = 3;
+	mx_internal static const PADDING_RIGHT_120DPI:int = 2;
+	mx_internal static const PADDING_VERTICAL_120DPI:int = 1;
     mx_internal static const PADDING_RIGHT_DEFAULTDPI:int = 3;
     mx_internal static const PADDING_VERTICAL_DEFAULTDPI:int = 2;
     

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/07289a63/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuItemSkin.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuItemSkin.as b/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuItemSkin.as
index 942af6f..c4181a4 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuItemSkin.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuItemSkin.as
@@ -29,12 +29,18 @@ import spark.skins.mobile.assets.ViewMenuItem_down;
 import spark.skins.mobile.assets.ViewMenuItem_showsCaret;
 import spark.skins.mobile.assets.ViewMenuItem_up;
 import spark.skins.mobile.supportClasses.ButtonSkinBase;
+import spark.skins.mobile120.assets.ViewMenuItem_down;
+import spark.skins.mobile120.assets.ViewMenuItem_showsCaret;
+import spark.skins.mobile120.assets.ViewMenuItem_up;
 import spark.skins.mobile320.assets.ViewMenuItem_down;
 import spark.skins.mobile320.assets.ViewMenuItem_showsCaret;
 import spark.skins.mobile320.assets.ViewMenuItem_up;
 import spark.skins.mobile480.assets.ViewMenuItem_down;
 import spark.skins.mobile480.assets.ViewMenuItem_showsCaret;
 import spark.skins.mobile480.assets.ViewMenuItem_up;
+import spark.skins.mobile640.assets.ViewMenuItem_down;
+import spark.skins.mobile640.assets.ViewMenuItem_showsCaret;
+import spark.skins.mobile640.assets.ViewMenuItem_up;
 
 
 use namespace mx_internal;
@@ -63,6 +69,22 @@ public class ViewMenuItemSkin extends ButtonSkin
         
         switch (applicationDPI)
         {
+			case DPIClassification.DPI_640:
+			{
+				
+				upBorderSkin = spark.skins.mobile640.assets.ViewMenuItem_up;
+				downBorderSkin = spark.skins.mobile640.assets.ViewMenuItem_down;
+				showsCaretBorderSkin = spark.skins.mobile640.assets.ViewMenuItem_showsCaret;
+				
+				layoutGap = 24;
+				layoutPaddingLeft = 24;
+				layoutPaddingRight = 24;
+				layoutPaddingTop = 24;
+				layoutPaddingBottom = 24;
+				layoutBorderSize = 3;   
+				
+				break;
+			}
 			case DPIClassification.DPI_480:
 			{   
 				// Note provisional may need changes
@@ -97,22 +119,38 @@ public class ViewMenuItemSkin extends ButtonSkin
                 
                 break;
             }
-            case DPIClassification.DPI_240:
-            {   
-                upBorderSkin = spark.skins.mobile.assets.ViewMenuItem_up;
-                downBorderSkin = spark.skins.mobile.assets.ViewMenuItem_down;
-                showsCaretBorderSkin = spark.skins.mobile.assets.ViewMenuItem_showsCaret;
-                
-                layoutGap = 8;
-                layoutPaddingLeft = 8;
-                layoutPaddingRight = 8;
-                layoutPaddingTop = 8;
-                layoutPaddingBottom = 8;
-                layoutBorderSize = 1;
-                
-                break;
-                
-            }
+			case DPIClassification.DPI_240:
+			{   
+				upBorderSkin = spark.skins.mobile.assets.ViewMenuItem_up;
+				downBorderSkin = spark.skins.mobile.assets.ViewMenuItem_down;
+				showsCaretBorderSkin = spark.skins.mobile.assets.ViewMenuItem_showsCaret;
+				
+				layoutGap = 8;
+				layoutPaddingLeft = 8;
+				layoutPaddingRight = 8;
+				layoutPaddingTop = 8;
+				layoutPaddingBottom = 8;
+				layoutBorderSize = 1;
+				
+				break;
+				
+			}
+			case DPIClassification.DPI_120:
+			{   
+				upBorderSkin = spark.skins.mobile120.assets.ViewMenuItem_up;
+				downBorderSkin = spark.skins.mobile120.assets.ViewMenuItem_down;
+				showsCaretBorderSkin = spark.skins.mobile120.assets.ViewMenuItem_showsCaret;
+				
+				layoutGap = 4;
+				layoutPaddingLeft = 4;
+				layoutPaddingRight = 4;
+				layoutPaddingTop = 4;
+				layoutPaddingBottom = 4;
+				layoutBorderSize = 1;
+				
+				break;
+				
+			}
             default:
             {
                 upBorderSkin = spark.skins.mobile.assets.ViewMenuItem_up;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/07289a63/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuSkin.mxml b/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuSkin.mxml
index 52fb708..d4950c0 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuSkin.mxml
+++ b/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuSkin.mxml
@@ -88,15 +88,19 @@
             {
                 super.updateDisplayList(unscaledWidth, unscaledHeight);
                 
-                var strokeWeight:Number = (applicationDPI == DPIClassification.DPI_480 ||
applicationDPI == DPIClassification.DPI_320) ? 2 : 1;
+                var strokeWeight:Number = (applicationDPI == DPIClassification.DPI_640 ||
applicationDPI == DPIClassification.DPI_480 || applicationDPI == DPIClassification.DPI_320)
? 2 : 1;
                 var separatorWeight:Number = 1;
                 
-				if (applicationDPI == DPIClassification.DPI_480)
+				if (applicationDPI == DPIClassification.DPI_640)
 					separatorWeight = 6;
+				else if (applicationDPI == DPIClassification.DPI_480)
+					separatorWeight = 4;
 				else if (applicationDPI == DPIClassification.DPI_320)
-                    separatorWeight = 4;
-                else if (applicationDPI == DPIClassification.DPI_240)
-                    separatorWeight = 2;          
+                    separatorWeight = 3;
+				else if (applicationDPI == DPIClassification.DPI_240)
+					separatorWeight = 2;  
+				else if (applicationDPI == DPIClassification.DPI_120)
+					separatorWeight = 1;  
                 
                 dividerStroke.weight = strokeWeight;
                 background.top = strokeWeight;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/07289a63/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as
b/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as
index 80e8a09..4c7070b 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as
@@ -76,6 +76,18 @@ public class ActionBarButtonSkinBase extends ButtonSkin
         
         switch (applicationDPI)
         {
+			case DPIClassification.DPI_640:
+			{
+				// Note provisional may need changes
+				layoutBorderSize = 2;
+				layoutPaddingTop = 24;
+				layoutPaddingBottom = 20;
+				layoutPaddingLeft = 40;
+				layoutPaddingRight = 40;
+				measuredDefaultWidth = 2012;
+				measuredDefaultHeight = 172;
+				break;
+			}
 			case DPIClassification.DPI_480:
 			{
 				// Note provisional may need changes
@@ -86,7 +98,6 @@ public class ActionBarButtonSkinBase extends ButtonSkin
 				layoutPaddingRight = 32;
 				measuredDefaultWidth = 162;
 				measuredDefaultHeight = 130;
-				
 				break;
 			}
             case DPIClassification.DPI_320:
@@ -98,7 +109,6 @@ public class ActionBarButtonSkinBase extends ButtonSkin
                 layoutPaddingRight = 20;
                 measuredDefaultWidth = 106;
                 measuredDefaultHeight = 86;
-                
                 break;
             }
             case DPIClassification.DPI_240:
@@ -110,9 +120,20 @@ public class ActionBarButtonSkinBase extends ButtonSkin
                 layoutPaddingRight = 16;
                 measuredDefaultWidth = 81;
                 measuredDefaultHeight = 65;
-                
                 break;
             }
+			case DPIClassification.DPI_160:
+			{
+				// Note provisional may need changes
+				layoutBorderSize = 1;
+				layoutPaddingTop = 4;
+				layoutPaddingBottom = 4;
+				layoutPaddingLeft = 8;
+				layoutPaddingRight = 8;
+				measuredDefaultWidth = 40;
+				measuredDefaultHeight = 33;
+				break;
+			}
             default:
             {
                 // default DPI_160

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/07289a63/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/CalloutArrow.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/CalloutArrow.as
b/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/CalloutArrow.as
index e21b02c..35f8757 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/CalloutArrow.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/CalloutArrow.as
@@ -63,6 +63,15 @@ public class CalloutArrow extends UIComponent
         // Copy DPI-specific values from CalloutSkin
         switch (applicationDPI)
         {
+			case DPIClassification.DPI_320:
+			{
+				// Note provisional may need changes
+				gap = 32;
+				backgroundGradientHeight = 440;
+				highlightWeight = 4;
+				
+				break;
+			}
 			case DPIClassification.DPI_480:
 			{
 				// Note provisional may need changes
@@ -80,14 +89,23 @@ public class CalloutArrow extends UIComponent
                 
                 break;
             }
-            case DPIClassification.DPI_240:
-            {
-                gap = 12;
-                backgroundGradientHeight = 165;
-                highlightWeight = 1;
-                
-                break;
-            }
+			case DPIClassification.DPI_240:
+			{
+				gap = 12;
+				backgroundGradientHeight = 165;
+				highlightWeight = 1;
+				
+				break;
+			}
+			case DPIClassification.DPI_120:
+			{
+				// Note provisional may need changes
+				gap = 6;
+				backgroundGradientHeight = 83;
+				highlightWeight = 1;
+				
+				break;
+			}
             default:
             {
                 // default DPI_160

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/07289a63/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/HSliderDataTip.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/HSliderDataTip.as
b/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/HSliderDataTip.as
index c2a5ff3..394d8d7 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/HSliderDataTip.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/HSliderDataTip.as
@@ -191,6 +191,18 @@ public class HSliderDataTip extends UIComponent implements IDataRenderer
         
         switch (applicationDPI)
         {
+			case DPIClassification.DPI_320:
+			{
+				// Note provisional may need changes
+				fontSize = "60";
+				leftTextPadding = 28;
+				leftRightTextPadding = 56;
+				topTextPadding = 16;
+				topBottomTextPadding = 28;
+				tooltipOffset = 44;
+				cornerRadius = 16;	
+				break;
+			}
 			case DPIClassification.DPI_480:
 			{
 				// Note provisional may need changes
@@ -201,7 +213,6 @@ public class HSliderDataTip extends UIComponent implements IDataRenderer
 				topBottomTextPadding = 20;
 				tooltipOffset = 14;
 				cornerRadius = 12;
-				
 				break;
 			}
             case DPIClassification.DPI_320:
@@ -212,20 +223,32 @@ public class HSliderDataTip extends UIComponent implements IDataRenderer
                 topTextPadding = 8;
                 topBottomTextPadding = 14;
                 tooltipOffset = 22;
-                cornerRadius = 8;				
-            }
-            case DPIClassification.DPI_240:
-            {
-                fontSize = "20";
-                leftTextPadding = 11;
-                leftRightTextPadding = 22;
-                topTextPadding = 5;
-                topBottomTextPadding = 10;
-                tooltipOffset = 7;
-                cornerRadius = 6;
-                
-                break;
+                cornerRadius = 8;
+				break;
             }
+			case DPIClassification.DPI_240:
+			{
+				fontSize = "20";
+				leftTextPadding = 11;
+				leftRightTextPadding = 22;
+				topTextPadding = 5;
+				topBottomTextPadding = 10;
+				tooltipOffset = 7;
+				cornerRadius = 6;
+				break;
+			}
+			case DPIClassification.DPI_120:
+			{
+				// Note provisional may need changes
+				fontSize = "10";
+				leftTextPadding = 6;
+				leftRightTextPadding = 11;
+				topTextPadding = 3;
+				topBottomTextPadding = 5;
+				tooltipOffset = 4;
+				cornerRadius = 3;
+				break;
+			}
             default:
             {
                 // default DPI_160
@@ -235,8 +258,7 @@ public class HSliderDataTip extends UIComponent implements IDataRenderer
                 topTextPadding = 4;
                 topBottomTextPadding = 7;
                 tooltipOffset = 11;
-                cornerRadius = 4;
-                
+                cornerRadius = 4;           
                 break;
             }
         }

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/07289a63/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/StageTextSkinBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/StageTextSkinBase.as
b/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/StageTextSkinBase.as
index f7abd96..3d08a21 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/StageTextSkinBase.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/StageTextSkinBase.as
@@ -66,6 +66,16 @@ public class StageTextSkinBase extends MobileSkin
 
         switch (applicationDPI)
         {
+			case DPIClassification.DPI_640:
+			{
+				// Note provisional may need changes
+				borderClass = spark.skins.mobile640.assets.TextInput_border;
+				layoutCornerEllipseSize = 48;
+				measuredDefaultWidth = 1200;
+				measuredDefaultHeight = 132;
+				layoutBorderSize = 3;
+				break;
+			}
 			case DPIClassification.DPI_480:
 			{
 				// Note provisional may need changes
@@ -74,7 +84,6 @@ public class StageTextSkinBase extends MobileSkin
 				measuredDefaultWidth = 880;
 				measuredDefaultHeight = 100;
 				layoutBorderSize = 2;
-				
 				break;
 			}
             case DPIClassification.DPI_320:
@@ -84,19 +93,27 @@ public class StageTextSkinBase extends MobileSkin
                 measuredDefaultWidth = 600;
                 measuredDefaultHeight = 66;
                 layoutBorderSize = 2;
-                
-                break;
-            }
-            case DPIClassification.DPI_240:
-            {
-                borderClass = spark.skins.mobile240.assets.TextInput_border;
-                layoutCornerEllipseSize = 12;
-                measuredDefaultWidth = 440;
-                measuredDefaultHeight = 50;
-                layoutBorderSize = 1;
-                
                 break;
             }
+			case DPIClassification.DPI_240:
+			{
+				borderClass = spark.skins.mobile240.assets.TextInput_border;
+				layoutCornerEllipseSize = 12;
+				measuredDefaultWidth = 440;
+				measuredDefaultHeight = 50;
+				layoutBorderSize = 1;
+				break;
+			}
+			case DPIClassification.DPI_120:
+			{
+				// Note provisional may need changes
+				borderClass = spark.skins.mobile120.assets.TextInput_border;
+				layoutCornerEllipseSize = 6;
+				measuredDefaultWidth = 220;
+				measuredDefaultHeight = 25;
+				layoutBorderSize = 1;
+				break;
+			}
             default:
             {
                 borderClass = spark.skins.mobile160.assets.TextInput_border;
@@ -104,7 +121,6 @@ public class StageTextSkinBase extends MobileSkin
                 measuredDefaultWidth = 300;
                 measuredDefaultHeight = 33;
                 layoutBorderSize = 1;
-                
                 break;
             }
         }

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/07289a63/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TabbedViewNavigatorTabBarTabSkinBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TabbedViewNavigatorTabBarTabSkinBase.as
b/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TabbedViewNavigatorTabBarTabSkinBase.as
index 14edf06..5fea342 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TabbedViewNavigatorTabBarTabSkinBase.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TabbedViewNavigatorTabBarTabSkinBase.as
@@ -68,6 +68,17 @@ public class TabbedViewNavigatorTabBarTabSkinBase extends ButtonBarButtonSkinBas
         
         switch (applicationDPI)
         {
+			case DPIClassification.DPI_640:
+			{
+				layoutBorderSize = 4;
+				layoutPaddingTop = 24;
+				layoutPaddingBottom = 24;
+				layoutPaddingLeft = 24;
+				layoutPaddingRight = 24;
+				layoutGap = 20;
+				measuredDefaultHeight = 204;
+				break;
+			}
 			case DPIClassification.DPI_480:
 			{
 				// Note provisional may need changes
@@ -78,7 +89,6 @@ public class TabbedViewNavigatorTabBarTabSkinBase extends ButtonBarButtonSkinBas
 				layoutPaddingRight = 18;
 				layoutGap = 14;
 				measuredDefaultHeight = 152;
-				
 				break;
 			}
             case DPIClassification.DPI_320:
@@ -90,21 +100,31 @@ public class TabbedViewNavigatorTabBarTabSkinBase extends ButtonBarButtonSkinBas
                 layoutPaddingRight = 12;
                 layoutGap = 10;
                 measuredDefaultHeight = 102;
-                
-                break;
-            }
-            case DPIClassification.DPI_240:
-            {
-                layoutBorderSize = 1;
-                layoutPaddingTop = 9;
-                layoutPaddingBottom = 9;
-                layoutPaddingLeft = 9;
-                layoutPaddingRight = 9;
-                layoutGap = 7;
-                measuredDefaultHeight = 76;
-                
                 break;
             }
+			case DPIClassification.DPI_240:
+			{
+				layoutBorderSize = 1;
+				layoutPaddingTop = 9;
+				layoutPaddingBottom = 9;
+				layoutPaddingLeft = 9;
+				layoutPaddingRight = 9;
+				layoutGap = 7;
+				measuredDefaultHeight = 76;
+				break;
+			}
+			case DPIClassification.DPI_120:
+			{
+				// Note provisional may need changes
+				layoutBorderSize = 1;
+				layoutPaddingTop = 5;
+				layoutPaddingBottom = 5;
+				layoutPaddingLeft = 5;
+				layoutPaddingRight = 5;
+				layoutGap = 4;
+				measuredDefaultHeight = 38;
+				break;
+			}
             default:
             {
                 // default DPI_160


Mime
View raw message