Searched refs:mSelectedPosition (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | Gallery.java | 336 return mSelectedPosition; in computeHorizontalScrollOffset() 628 if (newPos != mSelectedPosition) { in setSelectionToCenterChild() 688 mFirstPosition = mSelectedPosition; in layout() 689 View sel = makeAndAddView(mSelectedPosition, 0, 0, true); in layout() 707 setNextSelectedPositionInt(mSelectedPosition); in layout() 743 prevIterationView = makeAndAddView(curPosition, curPosition - mSelectedPosition, in fillToGalleryLeftRtl() 772 prevIterationView = makeAndAddView(curPosition, curPosition - mSelectedPosition, in fillToGalleryLeftLtr() 812 prevIterationView = makeAndAddView(curPosition, curPosition - mSelectedPosition, in fillToGalleryRightRtl() 845 prevIterationView = makeAndAddView(curPosition, curPosition - mSelectedPosition, in fillToGalleryRightLtr() 1007 if (mShouldCallbackOnUnselectedItemClick || mDownTouchPosition == mSelectedPosition) { in onSingleTapUp() [all …]
|
D | AdapterView.java | 178 int mSelectedPosition = INVALID_POSITION; field in AdapterView 876 mSelectedPosition = INVALID_POSITION; in onInvalidated() 1101 mSelectedPosition = INVALID_POSITION; in handleDataChanged() 1117 if ((mSelectedPosition != mOldSelectedPosition) || (mSelectedRowId != mOldSelectedRowId)) { in checkSelectionChanged() 1119 mOldSelectedPosition = mSelectedPosition; in checkSelectionChanged() 1235 mSelectedPosition = position; in setSelectedPositionInt() 1264 if (mSelectedPosition >= 0) { in rememberSyncState() 1266 View v = getChildAt(mSelectedPosition - mFirstPosition); in rememberSyncState() 1299 encoder.addProperty("list:selectedPosition", mSelectedPosition); in encodeProperties()
|
D | ListView.java | 680 if ((mSelectedPosition > 0) || (rectTopWithinChild > fadingEdge)) { in requestChildRectangleOnScreen() 690 if ((mSelectedPosition < mItemCount - 1) in requestChildRectangleOnScreen() 792 boolean selected = pos == mSelectedPosition; in fillDown() 827 boolean selected = pos == mSelectedPosition; in fillUp() 850 mFirstPosition = Math.min(mFirstPosition, mSelectedPosition); in fillFromTop() 927 final int selectedPosition = mSelectedPosition; in fillFromSelection() 1052 final int selectedPosition = mSelectedPosition; in moveSelection() 1114 fillUp(mSelectedPosition - 2, sel.getTop() - dividerHeight); in moveSelection() 1116 fillDown(mSelectedPosition + 1, sel.getBottom() + dividerHeight); in moveSelection() 1118 fillDown(mSelectedPosition + 1, sel.getBottom() + dividerHeight); in moveSelection() [all …]
|
D | GridView.java | 374 final int selectedPosition = mSelectedPosition; in makeRow() 455 mFirstPosition = Math.min(mFirstPosition, mSelectedPosition); in fillFromTop() 465 lastPosition = Math.max(lastPosition, mSelectedPosition); in fillFromBottom() 728 final int selectedPosition = mSelectedPosition; in fillFromSelection() 900 final int selectedPosition = mSelectedPosition; in moveSelection() 1219 delta = mNextSelectedPosition - mSelectedPosition; in layoutChildren() 1224 index = mSelectedPosition - mFirstPosition; in layoutChildren() 1311 sel = fillSpecific(mSelectedPosition, mSpecificTop); in layoutChildren() 1333 if (mSelectedPosition >= 0 && mSelectedPosition < mItemCount) { in layoutChildren() 1334 sel = fillSpecific(mSelectedPosition, oldSel == null ? in layoutChildren() [all …]
|
D | AbsSpinner.java | 306 int delta = position - mSelectedPosition; in setSelectionInt() 317 if (mItemCount > 0 && mSelectedPosition >= 0) { in getSelectedView() 318 return getChildAt(mSelectedPosition - mFirstPosition); in getSelectedView()
|
D | AbsListView.java | 2014 if (gainFocus && mSelectedPosition < 0 && !isInTouchMode()) { in onFocusChanged() 2305 if (mItemCount > 0 && mSelectedPosition >= 0) { in getSelectedView() 2306 return getChildAt(mSelectedPosition - mFirstPosition); in getSelectedView() 2888 final View v = getChildAt(mSelectedPosition - mFirstPosition); in keyPressed() 3095 mResurrectToPosition = mSelectedPosition; in onWindowFocusChanged() 3246 if (isPressed() && mSelectedPosition >= 0) { in run() 3247 int index = mSelectedPosition - mFirstPosition; in run() 3253 handled = performLongPress(v, mSelectedPosition, mSelectedRowId); in run() 3417 mSelectedPosition >= 0 && mAdapter != null && in onKeyUp() 3418 mSelectedPosition < mAdapter.getCount()) { in onKeyUp() [all …]
|
D | DropDownListView.java | 135 if (position != INVALID_POSITION && position != mSelectedPosition) { in onHoverEvent()
|
D | Spinner.java | 669 mFirstPosition = mSelectedPosition; in layout() 672 View sel = makeView(mSelectedPosition, true); in layout() 697 setNextSelectedPositionInt(mSelectedPosition); in layout()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 82559 Landroid/widget/ListView$ArrowScrollFocusResult;->mSelectedPosition:I
|