added extra dpi tests for 160 and 640 dpi
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/de3d683a Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/de3d683a Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/de3d683a Branch: refs/heads/develop Commit: de3d683a7cf4e230bb794cdd18042e504e2bd3f3 Parents: 43644dc Author: Justin Mclean <[email protected]> Authored: Sun Aug 11 22:56:34 2013 +1000 Committer: Justin Mclean <[email protected]> Committed: Sun Aug 11 22:56:34 2013 +1000 ---------------------------------------------------------------------- .../swfs/ViewNavigatorApplication120dpi.mxml | 2 +- .../swfs/ViewNavigatorApplication640dpi.mxml | 2 +- .../ViewNavigatorApplication120dpiHomeView.mxml | 27 ++++++++++++++++++++ .../ViewNavigatorApplication640dpiHomeView.mxml | 27 ++++++++++++++++++++ 4 files changed, 56 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/de3d683a/mustella/tests/mobile/DensityIndependentScaling/swfs/ViewNavigatorApplication120dpi.mxml ---------------------------------------------------------------------- diff --git a/mustella/tests/mobile/DensityIndependentScaling/swfs/ViewNavigatorApplication120dpi.mxml b/mustella/tests/mobile/DensityIndependentScaling/swfs/ViewNavigatorApplication120dpi.mxml index ea822f9..12e420c 100644 --- a/mustella/tests/mobile/DensityIndependentScaling/swfs/ViewNavigatorApplication120dpi.mxml +++ b/mustella/tests/mobile/DensityIndependentScaling/swfs/ViewNavigatorApplication120dpi.mxml @@ -18,7 +18,7 @@ --> <s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009" - xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.ViewNavigatorApplication160dpiHomeView" + xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.ViewNavigatorApplication120dpiHomeView" applicationDPI="120" applicationComplete="init()"> <fx:Declarations> <!-- Place non-visual elements (e.g., services, value objects) here --> http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/de3d683a/mustella/tests/mobile/DensityIndependentScaling/swfs/ViewNavigatorApplication640dpi.mxml ---------------------------------------------------------------------- diff --git a/mustella/tests/mobile/DensityIndependentScaling/swfs/ViewNavigatorApplication640dpi.mxml b/mustella/tests/mobile/DensityIndependentScaling/swfs/ViewNavigatorApplication640dpi.mxml index ebd0f49..2c9b2ba 100644 --- a/mustella/tests/mobile/DensityIndependentScaling/swfs/ViewNavigatorApplication640dpi.mxml +++ b/mustella/tests/mobile/DensityIndependentScaling/swfs/ViewNavigatorApplication640dpi.mxml @@ -18,7 +18,7 @@ --> <s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009" - xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.ViewNavigatorApplication320dpiHomeView" + xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.ViewNavigatorApplication640dpiHomeView" applicationDPI="640" applicationComplete="init()"> <fx:Declarations> <!-- Place non-visual elements (e.g., services, value objects) here --> http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/de3d683a/mustella/tests/mobile/DensityIndependentScaling/swfs/views/ViewNavigatorApplication120dpiHomeView.mxml ---------------------------------------------------------------------- diff --git a/mustella/tests/mobile/DensityIndependentScaling/swfs/views/ViewNavigatorApplication120dpiHomeView.mxml b/mustella/tests/mobile/DensityIndependentScaling/swfs/views/ViewNavigatorApplication120dpiHomeView.mxml new file mode 100644 index 0000000..63ee9ab --- /dev/null +++ b/mustella/tests/mobile/DensityIndependentScaling/swfs/views/ViewNavigatorApplication120dpiHomeView.mxml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> +<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" + xmlns:s="library://ns.adobe.com/flex/spark" + xmlns:comps="comps.*" title="HomeView"> + <fx:Declarations> + <!-- Place non-visual elements (e.g., services, value objects) here --> + </fx:Declarations> + <comps:RedSquare id="redSquare" x="20" y="20"/> +</s:View> http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/de3d683a/mustella/tests/mobile/DensityIndependentScaling/swfs/views/ViewNavigatorApplication640dpiHomeView.mxml ---------------------------------------------------------------------- diff --git a/mustella/tests/mobile/DensityIndependentScaling/swfs/views/ViewNavigatorApplication640dpiHomeView.mxml b/mustella/tests/mobile/DensityIndependentScaling/swfs/views/ViewNavigatorApplication640dpiHomeView.mxml new file mode 100644 index 0000000..63ee9ab --- /dev/null +++ b/mustella/tests/mobile/DensityIndependentScaling/swfs/views/ViewNavigatorApplication640dpiHomeView.mxml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> +<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" + xmlns:s="library://ns.adobe.com/flex/spark" + xmlns:comps="comps.*" title="HomeView"> + <fx:Declarations> + <!-- Place non-visual elements (e.g., services, value objects) here --> + </fx:Declarations> + <comps:RedSquare id="redSquare" x="20" y="20"/> +</s:View>
