Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A4E8810DF7 for ; Sun, 1 Sep 2013 23:40:05 +0000 (UTC) Received: (qmail 43708 invoked by uid 500); 1 Sep 2013 23:40:04 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 43640 invoked by uid 500); 1 Sep 2013 23:40:04 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 43594 invoked by uid 99); 1 Sep 2013 23:40:04 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Sep 2013 23:40:04 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 05FBA8BB01C; Sun, 1 Sep 2013 23:40:03 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jmclean@apache.org To: commits@flex.apache.org Date: Sun, 01 Sep 2013 23:40:04 -0000 Message-Id: <52dd9ad7d92d4063a80b4dec4f1b3cda@git.apache.org> In-Reply-To: <3718cd2f7b9841629d0ac98120c2a80f@git.apache.org> References: <3718cd2f7b9841629d0ac98120c2a80f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [02/41] git commit: [flex-sdk] [refs/heads/develop] - added new DPI buckets as valid ones to use. added new DPI buckets as valid ones to use. Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/4becba11 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/4becba11 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/4becba11 Branch: refs/heads/develop Commit: 4becba111e0cc2b014891a48a65c162cc8f43147 Parents: 786fc5d Author: Justin Mclean Authored: Sat Aug 10 03:53:56 2013 +1000 Committer: Justin Mclean Committed: Sat Aug 10 03:53:56 2013 +1000 ---------------------------------------------------------------------- .../projects/spark/src/spark/components/Application.as | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/4becba11/frameworks/projects/spark/src/spark/components/Application.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/spark/src/spark/components/Application.as b/frameworks/projects/spark/src/spark/components/Application.as index e4c3c1d..d9a0f72 100644 --- a/frameworks/projects/spark/src/spark/components/Application.as +++ b/frameworks/projects/spark/src/spark/components/Application.as @@ -912,7 +912,7 @@ public class Application extends SkinnableContainer */ private var _applicationDPI:Number = NaN; - [Inspectable(category="General", enumeration="160,240,320,480")] + [Inspectable(category="General", enumeration="120,160,240,320,480,640")] /** * The DPI of the application. @@ -983,10 +983,12 @@ public class Application extends SkinnableContainer * *

Flex's default mappings are: * - * - * - * - * + * + * + * + * + * + * *
160 DPI<200 DPI
240 DPI>=200 DPI and <280 DPI
320 DPI>=280 DPI and <400 DPI
480 DPI>=400 DPI
160 DPI<140 DPI
160 DPI>=140 DPI and <=200 DPI
240 DPI>=200 DPI and <=280 DPI
320 DPI>=280 DPI and <=400 DPI
480 DPI>=400 DPI and <=560 DPI
640 DPI>=640 DPI
*

*