Removed Methods
|
Object createContextMenuInfo(View, int, long)
|
Creates the Object returned from .getContextMenuInfo(). |
int findMotionRow(int )
|
Find the row closest to y. |
int getDistance(Rect, Rect, int)
|
What is the distance between the source and destination rectangles given the direction of
focus navigation between them? |
View obtainView(int )
|
Get a view and have it show the data associated with the specified
position. |
void onDrawBeforeChildren(Canvas )
|
Implement this to do any drawing that is children-level (but do not draw
the children, that happens elsewhere). |
Parcelable onFreeze()
|
|
void onThaw(Parcelable )
|
|
void positionSelector(View )
|
|
void positionSelector(int, int, int, int)
|
|
void requestLayoutIfNecessary()
|
|
void resetList()
|
The list is empty. |
void resurrectSelection()
|
Bring the selection back if the user is switching from touch to trackball mode |
void setSelectionInt(int )
|
Makes the item at the supplied position selected. |
void setSelectorPressed()
|
Sets the selector state to "pressed" |
void setSelectorPressed(boolean )
|
Sets the selector state to "pressed" and optionally schedules a delayed message to restore
the selector state to the current one. |
boolean touchModeDrawsInPressedState()
|
@return True if the current touch mode requires that we draw the selector in the pressed
state. |
void trackMotionScroll(int, int)
|
Track a motion scroll
|
void updateScrollIndicators()
|
|
Added Methods
|
void addTouchables(ArrayList<View> )
|
{@inheritDoc} |
void afterTextChanged(Editable )
|
For our text watcher that associated with the text filter |
void beforeTextChanged(CharSequence, int, int, int)
|
For our text watcher that associated with the text filter |
boolean checkLayoutParams(LayoutParams )
|
|
void clearTextFilter()
|
Clear the text filter. |
void dispatchSetPressed(boolean )
|
|
LayoutParams generateLayoutParams(LayoutParams )
|
|
LayoutParams generateLayoutParams(AttributeSet )
|
|
int getCacheColorHint()
|
When set to a non-zero value, the cache color hint indicates that this list is always drawn
on top of a solid, single-color, opaque background
|
int getSolidColor()
|
|
int getTranscriptMode()
|
Returns the current transcript mode. |
boolean hasTextFilter()
|
Returns if the ListView currently has a text filter. |
boolean isInFilterMode()
|
|
boolean isTextFilterEnabled()
|
Indicates whether type filtering is enabled for this view
|
void onAttachedToWindow()
|
|
int[] onCreateDrawableState(int )
|
|
void onDetachedFromWindow()
|
|
void onFilterComplete(int )
|
|
void onFocusChanged(boolean, int, Rect)
|
|
void onGlobalLayout()
|
|
void onRestoreInstanceState(Parcelable )
|
|
Parcelable onSaveInstanceState()
|
|
void onSizeChanged(int, int, int, int)
|
|
void onTextChanged(CharSequence, int, int, int)
|
For our text watcher that associated with the text filter. |
void onTouchModeChanged(boolean )
|
|
void reclaimViews(List<View> )
|
Move all views (excluding headers and footers) held by this AbsListView into the supplied
List. |
void setCacheColorHint(int )
|
When set to a non-zero value, the cache color hint indicates that this list is always drawn
on top of a solid, single-color, opaque background
|
void setFilterText(String )
|
Sets the initial value for the text filter. |
void setOnScrollListener(OnScrollListener )
|
Set the listener that will receive notifications every time the list scrolls. |
void setRecyclerListener(RecyclerListener )
|
Sets the recycler listener to be notified whenever a View is set aside in
the recycler for later reuse. |
void setTextFilterEnabled(boolean )
|
Enables or disables the type filter window. |
void setTranscriptMode(int )
|
Puts the list or grid into transcript mode. |
boolean showContextMenuForChild(View )
|
|
Removed Fields
|
int LAYOUT_FORCE_BOTTOM
|
Show the last item |
int LAYOUT_FORCE_TOP
|
Show the first item |
int LAYOUT_MOVE_SELECTION
|
Layout as a result of using the navigation keys |
int LAYOUT_NORMAL
|
Regular layout |
int LAYOUT_SCROLL
|
Layout while tracking motion events |
int LAYOUT_SET_SELECTION
|
Force the selected item to be on screen |
int LAYOUT_SPECIFIC
|
Make a mSelectedItem appear in a specific location and build the rest of
the views from there. |
int LAYOUT_SYNC
|
Layout to sync as a result of a data change |
int TOUCH_MODE_DONE_WAITING
|
Indicates we have waited for everything we can wait for, but the user's finger still down |
int TOUCH_MODE_DOWN
|
Indicates we just recieved the touch event and we are waiting to see if the it is a tap or a
scroll gesture. |
int TOUCH_MODE_REST
|
Indicates that we are not in the middle of a touch gesture |
int TOUCH_MODE_SCROLL
|
Indicates the touch gesture is a scroll |
int TOUCH_MODE_TAP
|
Indicates the touch has been reconized as a tap and we are now waiting to see if the touch is
a longpress |
ListAdapter mAdapter
|
The adapter containing the data to be displayed by this view |
boolean mBlockLayoutRequests
|
When set to true, calls to requestLayout() will not propagate up the parent hierarchy. |
boolean mCachingStarted
|
When the view is scrolling, this flag is set to true to indicate subclasses that
the drawing cache was enabled on the children |
DataSetObserver mDataSetObserver
|
Should be used by subclasses to listen to changes in the dataset |
boolean mDrawSelectorOnTop
|
Indicates whether the list selector should be drawn on top of the children or behind |
long mLastSelectedRowID
|
Indicates the ID (from the adapter) of the last selected element. |
int mLastY
|
Y value from on the previous motion event (if any) |
int mLayoutMode
|
Controls how the next layout will happen |
Rect mListPadding
|
This view's padding |
int mMotionCorrection
|
How far the finger moved before we started scrolling |
int mMotionPosition
|
The position of the view that received the down motion event |
int mMotionViewNewTop
|
The desired offset to the top of the mMotionPosition view after a scroll |
int mMotionViewOriginalTop
|
The offset to the top of the mMotionPosition view when the down motion event was received |
int mMotionX
|
The X value associated with the the down motion event |
int mMotionY
|
The Y value associated with the the down motion event |
RecycleBin mRecycler
|
The data set used to store unused views that should be reused during the next layout
to avoid creating new ones |
View mScrollDown
|
The down scroll indicator |
View mScrollUp
|
The top scroll indicator |
boolean mScrollingCacheEnabled
|
When set to true, the list automatically discards the children's
bitmap cache after scrolling. |
int mSelectedTop
|
The offset in pixels form the top of the AdapterView to the top
of the currently selected view. |
int mSelectionBottomPadding
|
The selection's bottom padding |
int mSelectionLeftPadding
|
The selection's left padding |
int mSelectionRightPadding
|
The selection's right padding |
int mSelectionTopPadding
|
The selection's top padding |
Drawable mSelector
|
The drawable used to draw the selector |
Rect mSelectorRect
|
Defines the selector's location and dimension at drawing time |
boolean mStackFromBottom
|
Indicates whether the list is stacked from the bottom edge or
the top edge. |
int mTouchMode
|
One of TOUCH_MODE_REST, TOUCH_MODE_DOWN, TOUCH_MODE_TAP, TOUCH_MODE_SCROLL, or
TOUCH_MODE_DONE_WAITING |
int mWidthMeasureSpec
|
Subclasses must retain their measure spec from onMeasure() into this member |