summaryrefslogtreecommitdiffstats
path: root/actionbarsherlock/src/com/actionbarsherlock/internal/widget/IcsView.java
diff options
context:
space:
mode:
Diffstat (limited to 'actionbarsherlock/src/com/actionbarsherlock/internal/widget/IcsView.java')
-rw-r--r--actionbarsherlock/src/com/actionbarsherlock/internal/widget/IcsView.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/actionbarsherlock/src/com/actionbarsherlock/internal/widget/IcsView.java b/actionbarsherlock/src/com/actionbarsherlock/internal/widget/IcsView.java
deleted file mode 100644
index a7185d082..000000000
--- a/actionbarsherlock/src/com/actionbarsherlock/internal/widget/IcsView.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package com.actionbarsherlock.internal.widget;
-
-import android.view.View;
-
-final class IcsView {
- //No instances
- private IcsView() {}
-
- /**
- * Return only the state bits of {@link #getMeasuredWidthAndState()}
- * and {@link #getMeasuredHeightAndState()}, combined into one integer.
- * The width component is in the regular bits {@link #MEASURED_STATE_MASK}
- * and the height component is at the shifted bits
- * {@link #MEASURED_HEIGHT_STATE_SHIFT}>>{@link #MEASURED_STATE_MASK}.
- */
- public static int getMeasuredStateInt(View child) {
- return (child.getMeasuredWidth()&View.MEASURED_STATE_MASK)
- | ((child.getMeasuredHeight()>>View.MEASURED_HEIGHT_STATE_SHIFT)
- & (View.MEASURED_STATE_MASK>>View.MEASURED_HEIGHT_STATE_SHIFT));
- }
-}