flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bigosma...@apache.org
Subject [3/3] git commit: [flex-sdk] [refs/heads/iso7skins] - Add entries for missing DPIs
Date Wed, 05 Nov 2014 00:33:24 GMT
Add entries for missing DPIs


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/7b912c68
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/7b912c68
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/7b912c68

Branch: refs/heads/iso7skins
Commit: 7b912c681a0b6c629badae8f53d8751410253329
Parents: 7bdae1a
Author: OmPrakash Muppirala <bigosmallm@gmail.com>
Authored: Tue Nov 4 16:30:44 2014 -0800
Committer: OmPrakash Muppirala <bigosmallm@gmail.com>
Committed: Tue Nov 4 16:30:44 2014 -0800

----------------------------------------------------------------------
 .../src/spark/skins/android4/HScrollBarThumbSkin.as | 16 ++++++++++++----
 .../src/spark/skins/android4/VScrollBarThumbSkin.as | 10 ++++++----
 2 files changed, 18 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7b912c68/frameworks/projects/mobiletheme/src/spark/skins/android4/HScrollBarThumbSkin.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/android4/HScrollBarThumbSkin.as
b/frameworks/projects/mobiletheme/src/spark/skins/android4/HScrollBarThumbSkin.as
index ed3a6b9..75a219a 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/android4/HScrollBarThumbSkin.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/android4/HScrollBarThumbSkin.as
@@ -20,10 +20,6 @@
 package spark.skins.android4
 {
 
-import flash.display.CapsStyle;
-import flash.display.JointStyle;
-import flash.display.LineScaleMode;
-
 import mx.core.DPIClassification;
 import mx.core.mx_internal;
 
@@ -82,6 +78,12 @@ public class HScrollBarThumbSkin extends MobileSkin
         // Depending on density set padding
         switch (applicationDPI)
         {
+			case DPIClassification.DPI_640:
+			{
+				paddingBottom = PADDING_BOTTOM_640DPI;
+				paddingHorizontal = PADDING_HORIZONTAL_640DPI;
+				break;
+			}
 			case DPIClassification.DPI_480:
 			{
 				paddingBottom = PADDING_BOTTOM_480DPI;
@@ -100,6 +102,12 @@ public class HScrollBarThumbSkin extends MobileSkin
                 paddingHorizontal = PADDING_HORIZONTAL_240DPI;
                 break;
             }
+            case DPIClassification.DPI_120:
+            {
+                paddingBottom = PADDING_BOTTOM_120DPI;
+                paddingHorizontal = PADDING_HORIZONTAL_120DPI;
+                break;
+            }
             default:
             {
                 paddingBottom = PADDING_BOTTOM_DEFAULTDPI;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7b912c68/frameworks/projects/mobiletheme/src/spark/skins/android4/VScrollBarThumbSkin.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/android4/VScrollBarThumbSkin.as
b/frameworks/projects/mobiletheme/src/spark/skins/android4/VScrollBarThumbSkin.as
index 9d17a97..dc22582 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/android4/VScrollBarThumbSkin.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/android4/VScrollBarThumbSkin.as
@@ -20,10 +20,6 @@
 package spark.skins.android4
 {
 
-import flash.display.CapsStyle;
-import flash.display.JointStyle;
-import flash.display.LineScaleMode;
-
 import mx.core.DPIClassification;
 import mx.core.mx_internal;
 use namespace mx_internal;
@@ -108,6 +104,12 @@ public class VScrollBarThumbSkin extends MobileSkin
                 paddingVertical = PADDING_VERTICAL_240DPI;
                 break;
             }
+            case DPIClassification.DPI_120:
+            {
+                paddingRight = PADDING_RIGHT_120DPI;
+                paddingVertical = PADDING_VERTICAL_120DPI;
+                break;
+            }
             default:
             {
                 paddingRight = PADDING_RIGHT_DEFAULTDPI;


Mime
View raw message