From 47e918dd86afa699e017f498de3349a296e7a20f Mon Sep 17 00:00:00 2001 From: Xavier Ducrohet Date: Thu, 9 Jun 2011 17:18:41 -0700 Subject: 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 --- .../src/com/android/ide/common/rendering/api/RenderParams.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'layoutlib_api/src/com') 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; } -- cgit v1.1