aboutsummaryrefslogtreecommitdiffstats
path: root/layoutlib_api/src/com
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2011-06-09 17:18:41 -0700
committerXavier Ducrohet <xav@android.com>2011-06-09 17:18:41 -0700
commit47e918dd86afa699e017f498de3349a296e7a20f (patch)
tree37b3bc7d3b196f0332526631ed25ffd742ff9455 /layoutlib_api/src/com
parent5982b49c26b056379f6f61516993583407fd7052 (diff)
downloadsdk-47e918dd86afa699e017f498de3349a296e7a20f.zip
sdk-47e918dd86afa699e017f498de3349a296e7a20f.tar.gz
sdk-47e918dd86afa699e017f498de3349a296e7a20f.tar.bz2
Revert ScreenLayoutSize to ScreenSize.
I hadn't noticed that LayoutLib actually uses ScrenSize through the tools-common-prebuilt.jar, so this API is (somewhat*) frozen. * Somewhat because LayoutLib.jar actually only uses Density and ScreenSize but not the other enums (yet?) so the rename of DockMode is not a problem. Change-Id: Ida3360b0111abd96d2a27c16833b282706774fb6
Diffstat (limited to 'layoutlib_api/src/com')
-rw-r--r--layoutlib_api/src/com/android/ide/common/rendering/api/RenderParams.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/layoutlib_api/src/com/android/ide/common/rendering/api/RenderParams.java b/layoutlib_api/src/com/android/ide/common/rendering/api/RenderParams.java
index 32c1ff2..2cfe770 100644
--- a/layoutlib_api/src/com/android/ide/common/rendering/api/RenderParams.java
+++ b/layoutlib_api/src/com/android/ide/common/rendering/api/RenderParams.java
@@ -17,7 +17,7 @@
package com.android.ide.common.rendering.api;
import com.android.resources.Density;
-import com.android.resources.ScreenLayoutSize;
+import com.android.resources.ScreenSize;
/**
* Base class for rendering parameters. This include the generic parameters but not what needs
@@ -46,7 +46,7 @@ public abstract class RenderParams {
private IImageFactory mImageFactory = null;
- private ScreenLayoutSize mConfigScreenSize = null;
+ private ScreenSize mConfigScreenSize = null;
private String mAppIcon = null;
private String mAppLabel = null;
private String mLocale = null;
@@ -138,7 +138,7 @@ public abstract class RenderParams {
mImageFactory = imageFactory;
}
- public void setConfigScreenSize(ScreenLayoutSize size) {
+ public void setConfigScreenSize(ScreenSize size) {
mConfigScreenSize = size;
}
@@ -218,7 +218,7 @@ public abstract class RenderParams {
return mImageFactory;
}
- public ScreenLayoutSize getConfigScreenSize() {
+ public ScreenSize getConfigScreenSize() {
return mConfigScreenSize;
}