summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-01-19 17:41:39 -0800
committerRomain Guy <romainguy@google.com>2012-01-19 17:41:39 -0800
commit68fc1dfce050f1406f751e71cadd1b9fdb0f825c (patch)
treeb77dabe0c0ded8067cafb5278fe4cfc5a4ed002a /tools
parentf9d9c065ed75f1196316a9a31f92309f602cef76 (diff)
downloadframeworks_base-68fc1dfce050f1406f751e71cadd1b9fdb0f825c.zip
frameworks_base-68fc1dfce050f1406f751e71cadd1b9fdb0f825c.tar.gz
frameworks_base-68fc1dfce050f1406f751e71cadd1b9fdb0f825c.tar.bz2
Remove unused code
Change-Id: Ife0a43f3cfe64a1e74401b10bf74d37cbeefb5af
Diffstat (limited to 'tools')
-rw-r--r--tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java b/tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java
index 1523823..9ebec61 100644
--- a/tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java
+++ b/tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java
@@ -904,17 +904,6 @@ public class Paint_Delegate {
}
@LayoutlibDelegate
- /*package*/ static float native_getFontMetrics(int native_paint, FontMetrics metrics) {
- // get the delegate from the native int.
- Paint_Delegate delegate = sManager.getDelegate(native_paint);
- if (delegate == null) {
- return 0.f;
- }
-
- return delegate.getFontMetrics(metrics);
- }
-
- @LayoutlibDelegate
/*package*/ static int native_getTextWidths(int native_object, char[] text, int index,
int count, float[] widths) {
// get the delegate from the native int.