removing unnecessary/dead code
Change-Id: I46d5b5fbee97b6895fb4f1b61627fda6f8568256
This commit is contained in:
1 parent
c57b7a8233
commit
08ee77090f
4 files changed
+5
-323
No files matched your search
@@ -38,7 +38,7 @@ import android.widget.TextView;
|
||||
* because we want to make the bubble taller than the text and TextView's clip is
|
||||
* too aggressive.
|
||||
*/
|
||||
public class BubbleTextView extends TextView implements VisibilityChangedBroadcaster {
|
||||
public class BubbleTextView extends TextView {
|
||||
static final float CORNER_RADIUS = 4.0f;
|
||||
static final float SHADOW_LARGE_RADIUS = 4.0f;
|
||||
static final float SHADOW_SMALL_RADIUS = 1.75f;
|
||||
@@ -67,8 +67,6 @@ public class BubbleTextView extends TextView implements VisibilityChangedBroadca
|
||||
|
||||
private boolean mStayPressed;
|
||||
|
||||
private VisibilityChangedListener mOnVisibilityChangedListener;
|
||||
|
||||
public BubbleTextView(Context context) {
|
||||
super(context);
|
||||
init();
|
||||
@@ -240,18 +238,6 @@ public class BubbleTextView extends TextView implements VisibilityChangedBroadca
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setVisibilityChangedListener(VisibilityChangedListener listener) {
|
||||
mOnVisibilityChangedListener = listener;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onVisibilityChanged(View changedView, int visibility) {
|
||||
if (mOnVisibilityChangedListener != null) {
|
||||
mOnVisibilityChangedListener.receiveVisibilityChangedMessage(this);
|
||||
}
|
||||
super.onVisibilityChanged(changedView, visibility);
|
||||
}
|
||||
|
||||
void setStayPressed(boolean stayPressed) {
|
||||
mStayPressed = stayPressed;
|
||||
if (!stayPressed) {
|
||||
|
||||
Reference in new issue
Block a user