summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib/bridge
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2011-01-12 20:36:02 -0800
committerXavier Ducrohet <xav@android.com>2011-01-12 20:36:02 -0800
commitee592fe4e60e940599fc1ccf43a98eb80961feb8 (patch)
treec3887fb2f20574bc545140d8ff23a79ffd633a84 /tools/layoutlib/bridge
parent162ee1ed3d6c8a1e6d9347136e623e3429f6f3f8 (diff)
downloadframeworks_base-ee592fe4e60e940599fc1ccf43a98eb80961feb8.zip
frameworks_base-ee592fe4e60e940599fc1ccf43a98eb80961feb8.tar.gz
frameworks_base-ee592fe4e60e940599fc1ccf43a98eb80961feb8.tar.bz2
LayoutLib: move MockView back into its original package.
This is used by Eclipse when the custom view is not found. It couldn't find the view in the new package either. We should probably move this logic of creating a mock view into the layout library instead. Change-Id: Ifa1a717cddf7004a7719bb4d0798cd53b43273ea
Diffstat (limited to 'tools/layoutlib/bridge')
-rw-r--r--tools/layoutlib/bridge/src/android/view/SurfaceView.java2
-rw-r--r--tools/layoutlib/bridge/src/android/webkit/WebView.java2
-rw-r--r--tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java (renamed from tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/MockView.java)2
-rw-r--r--tools/layoutlib/bridge/src/com/google/android/maps/MapView.java2
4 files changed, 4 insertions, 4 deletions
diff --git a/tools/layoutlib/bridge/src/android/view/SurfaceView.java b/tools/layoutlib/bridge/src/android/view/SurfaceView.java
index f7db98a..ce32da9 100644
--- a/tools/layoutlib/bridge/src/android/view/SurfaceView.java
+++ b/tools/layoutlib/bridge/src/android/view/SurfaceView.java
@@ -16,7 +16,7 @@
package android.view;
-import com.android.layoutlib.bridge.android.MockView;
+import com.android.layoutlib.bridge.MockView;
import android.content.Context;
import android.graphics.Canvas;
diff --git a/tools/layoutlib/bridge/src/android/webkit/WebView.java b/tools/layoutlib/bridge/src/android/webkit/WebView.java
index a20a9d1..3b66188 100644
--- a/tools/layoutlib/bridge/src/android/webkit/WebView.java
+++ b/tools/layoutlib/bridge/src/android/webkit/WebView.java
@@ -16,7 +16,7 @@
package android.webkit;
-import com.android.layoutlib.bridge.android.MockView;
+import com.android.layoutlib.bridge.MockView;
import android.content.Context;
import android.graphics.Bitmap;
diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/MockView.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
index e5bddcb..1ca3182 100644
--- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/MockView.java
+++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package com.android.layoutlib.bridge.android;
+package com.android.layoutlib.bridge;
import android.content.Context;
import android.graphics.Canvas;
diff --git a/tools/layoutlib/bridge/src/com/google/android/maps/MapView.java b/tools/layoutlib/bridge/src/com/google/android/maps/MapView.java
index 1ec6262..6d013bb 100644
--- a/tools/layoutlib/bridge/src/com/google/android/maps/MapView.java
+++ b/tools/layoutlib/bridge/src/com/google/android/maps/MapView.java
@@ -16,7 +16,7 @@
package com.google.android.maps;
-import com.android.layoutlib.bridge.android.MockView;
+import com.android.layoutlib.bridge.MockView;
import android.content.Context;
import android.os.Bundle;