summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib/bridge/src
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-01-19 17:42:10 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-01-19 17:42:10 -0800
commitd2f0dcd182fbc0423d206919e81f3845fb9b8155 (patch)
tree1c2e12890b625fc29a26b7bb67cd485b04f45a8c /tools/layoutlib/bridge/src
parentbad12166190a7e8087eb5db0ae8df9a4e5843fde (diff)
parent68fc1dfce050f1406f751e71cadd1b9fdb0f825c (diff)
downloadframeworks_base-d2f0dcd182fbc0423d206919e81f3845fb9b8155.zip
frameworks_base-d2f0dcd182fbc0423d206919e81f3845fb9b8155.tar.gz
frameworks_base-d2f0dcd182fbc0423d206919e81f3845fb9b8155.tar.bz2
Merge "Remove unused code"
Diffstat (limited to 'tools/layoutlib/bridge/src')
-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.