Searched refs:selectedPosition (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | GridView.java | 374 final int selectedPosition = mSelectedPosition; in makeRow() local 380 boolean selected = pos == selectedPosition; in makeRow() 475 final int selectedPosition = reconcileSelectedPosition(); in fillSelection() local 483 rowStart = selectedPosition - (selectedPosition % numColumns); in fillSelection() 485 final int invertedSelection = mItemCount - 1 - selectedPosition; in fillSelection() 728 final int selectedPosition = mSelectedPosition; in fillFromSelection() local 736 rowStart = selectedPosition - (selectedPosition % numColumns); in fillFromSelection() 738 int invertedSelection = mItemCount - 1 - selectedPosition; in fillFromSelection() 900 final int selectedPosition = mSelectedPosition; in moveSelection() local 909 oldRowStart = (selectedPosition - delta) - ((selectedPosition - delta) % numColumns); in moveSelection() [all …]
|
D | AbsSpinner.java | 200 int selectedPosition = getSelectedItemPosition(); in onMeasure() local 201 if (selectedPosition >= 0 && mAdapter != null && selectedPosition < mAdapter.getCount()) { in onMeasure() 203 View view = mRecycler.get(selectedPosition); in onMeasure() 206 view = mAdapter.getView(selectedPosition, null, this); in onMeasure() 215 mRecycler.put(selectedPosition, view); in onMeasure()
|
D | ListView.java | 931 final int selectedPosition = mSelectedPosition; in fillFromSelection() local 936 selectedPosition); in fillFromSelection() 938 selectedPosition); in fillFromSelection() 940 sel = makeAndAddView(selectedPosition, selectedTop, true, mListPadding.left, true); in fillFromSelection() 971 fillAboveAndBelow(sel, selectedPosition); in fillFromSelection() 991 int selectedPosition) { in getBottomSelectionPixel() argument 993 if (selectedPosition != mItemCount - 1) { in getBottomSelectionPixel() 1007 private int getTopSelectionPixel(int childrenTop, int fadingEdgeLength, int selectedPosition) { in getTopSelectionPixel() argument 1010 if (selectedPosition > 0) { in getTopSelectionPixel() 1056 final int selectedPosition = mSelectedPosition; in moveSelection() local [all …]
|
D | CalendarViewLegacyDelegate.java | 1553 int selectedPosition = mSelectedDay - mFirstDayOfWeek; in updateSelectionPositions() local 1554 if (selectedPosition < 0) { in updateSelectionPositions() 1555 selectedPosition += 7; in updateSelectionPositions() 1558 selectedPosition++; in updateSelectionPositions() 1561 mSelectedLeft = (mDaysPerWeek - 1 - selectedPosition) * mWidth / mNumCells; in updateSelectionPositions() 1564 mSelectedLeft = selectedPosition * mWidth / mNumCells; in updateSelectionPositions()
|
/frameworks/base/core/java/android/service/resolver/ |
D | ResolverRankerService.java | 104 final List<ResolverTarget> targets, final int selectedPosition) {} in onTrainRankingModel() argument 172 public void train(final List<ResolverTarget> targets, final int selectedPosition) in train() argument 181 onTrainRankingModel(targets, selectedPosition); in train()
|
D | IResolverRankerService.aidl | 28 void train(in List<ResolverTarget> targets, int selectedPosition); in train() argument
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
D | DayPickerView.java | 205 int selectedPosition; in goTo() local 207 selectedPosition = getPositionForView(child); in goTo() 209 selectedPosition = 0; in goTo() 221 if (position != selectedPosition || forceScroll) { in goTo()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 1675 final int selectedPosition = getListSelection(); in commitChip() local 1676 if (selectedPosition == -1 || !isEntryAtPositionTypePerson(selectedPosition)) { in commitChip() 1680 submitItemAtPosition(selectedPosition); in commitChip()
|