public static class

SearchActivity.TextViewSnippet

extends TextView
java.lang.Object
   ↳ android.view.View
     ↳ android.widget.TextView
       ↳ com.android.mms.ui.SearchActivity.TextViewSnippet

Summary

[Expand]
Inherited Constants
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
SearchActivity.TextViewSnippet(Context context, AttributeSet attrs)
SearchActivity.TextViewSnippet(Context context)
SearchActivity.TextViewSnippet(Context context, AttributeSet attrs, int defStyle)
Public Methods
void setText(String fullText, String target)
Protected Methods
void onLayout(boolean changed, int left, int top, int right, int bottom)
We have to know our width before we can compute the snippet string.
[Expand]
Inherited Methods
From class android.widget.TextView
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewTreeObserver.OnPreDrawListener
From interface android.view.accessibility.AccessibilityEventSource

Public Constructors

public SearchActivity.TextViewSnippet (Context context, AttributeSet attrs)

public SearchActivity.TextViewSnippet (Context context)

public SearchActivity.TextViewSnippet (Context context, AttributeSet attrs, int defStyle)

Public Methods

public void setText (String fullText, String target)

Protected Methods

protected void onLayout (boolean changed, int left, int top, int right, int bottom)

We have to know our width before we can compute the snippet string. Do that here and then defer to super for whatever work is normally done.