Lines Matching refs:top

194      * the views from there. The top is specified by mSpecificTop.
199 * Layout to sync as a result of a data change. Restore mSyncPosition to have its top
298 * Indicates whether the list selector should be drawn on top of the children or behind
329 * The selection's top padding
354 * The top scroll indicator
376 * The offset to the top of the mMotionPosition view when the down motion event was received
381 * The desired offset to the top of the mMotionPosition view after a scroll
427 * The offset in pixels form the top of the AdapterView to the top
434 * the top edge.
570 * Indicates that this list is always drawn on top of a solid, single-color, opaque
653 * Tracks the state of the top edge glow.
663 * An estimate of how many pixels are between the top of the list and
664 * the top of the first position in the adapter, based on the last time
771 * The top-level view of a list item can implement this interface to allow
1237 return getChildAt(0).getTop() >= mListPadding.top &&
1533 final int viewportHeight = getHeight() - mListPadding.top - mListPadding.bottom;
1540 final int viewportHeight = getHeight() - mListPadding.top - mListPadding.bottom;
1661 * false to pin the view's content to the top edge
1811 // We only do this if we are not currently at the top of
1816 // (2) Being "at the top" seems like a special case, anyway,
2010 final int top = view.getTop();
2013 extent += (top * 100) / height;
2038 final int top = view.getTop();
2041 return Math.max(firstPosition * 100 - (top * 100) / height +
2086 final int top = getChildAt(0).getTop();
2088 return top < mPaddingTop ? -(top - mPaddingTop) / fadeLength : fadeEdge;
2118 listPadding.top = mSelectionTopPadding + mPaddingTop;
2166 protected boolean setFrame(int left, int top, int right, int bottom) {
2167 final boolean changed = super.setFrame(left, top, right, bottom);
2222 // ... Or top of 0th element is not visible
2226 canScrollUp = child.getTop() < mListPadding.top;
2265 * @return The top list padding.
2268 return mListPadding.top;
2550 selectorRect.top -= mSelectionTopPadding;
2687 * Controls whether the selection highlight drawable should be drawn on top of the item or
2719 mSelectionTopPadding = padding.top;
3424 // Check if the top of the motion view is where it is
3884 final int contentTop = mListPadding.top;
4507 // (e.g. finger moving down means list is moving towards the top)
4512 // List is moving towards the top. Use first view as mMotionPosition
4652 * the top edge of the view. If this is impossible, (e.g. the offset would scroll
4657 * @param offset Desired distance in pixels of <code>position</code> from the top
4671 * the top edge of the view. If this is impossible, (e.g. the offset would scroll
4676 * @param offset Desired distance in pixels of <code>position</code> from the top
4760 // the top index is not perceivably visible so offset
4761 // to account for showing that top index as well
4838 return firstPosition > 0 || firstTop < listPadding.top;
4867 effectivePaddingTop = listPadding.top;
4893 mFirstPositionDistanceGuess = firstTop - listPadding.top;
4904 firstTop >= listPadding.top && incrementalDeltaY >= 0);
4926 int top = -incrementalDeltaY;
4928 top += listPadding.top;
4932 if (child.getBottom() >= top) {
4978 // calls to bubble up from the children all the way to the top
5017 * at the top of the list that should not be recycled during a layout.
5141 int childrenTop = mListPadding.top;
5167 final int top = v.getTop();
5171 selectedTop = top;
5173 if (firstPosition > 0 || top < childrenTop) {
5179 if (top >= childrenTop) {
5180 // Found a view whose top is fully visisble
5182 selectedTop = top;
5193 final int top = v.getTop();
5197 selectedTop = top;
5205 selectedTop = top;
5492 sY = source.top + source.height() / 2;
5494 dY = dest.top + dest.height() / 2;
5500 dY = dest.top;
5504 sY = source.top + source.height() / 2;
5506 dY = dest.top + dest.height() / 2;
5510 sY = source.top;
5517 sY = source.top + source.height() / 2;
5519 dY = dest.top + dest.height() / 2;
5967 * on top of a solid, single-color, opaque background.
5988 * on top of a solid, single-color, opaque background
6839 * Sets the selected item and positions the selection y pixels from the top edge
6844 * @param y The distance from the top edge of the ListView (plus padding) that the
6863 mSpecificTop = mListPadding.top + y;
7106 final int paddedTop = mListPadding.top;
7144 // Don't scroll the bound view off the top of the screen.
7242 Math.max(mExtraScroll, mListPadding.top) : mListPadding.top;
7271 final int extraScroll = Math.max(mListPadding.top, mExtraScroll);