Home
last modified time | relevance | path

Searched refs:selectedPosition (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/widget/
DGridView.java375 final int selectedPosition = mSelectedPosition; in makeRow() local
381 boolean selected = pos == selectedPosition; in makeRow()
476 final int selectedPosition = reconcileSelectedPosition(); in fillSelection() local
484 rowStart = selectedPosition - (selectedPosition % numColumns); in fillSelection()
486 final int invertedSelection = mItemCount - 1 - selectedPosition; in fillSelection()
729 final int selectedPosition = mSelectedPosition; in fillFromSelection() local
737 rowStart = selectedPosition - (selectedPosition % numColumns); in fillFromSelection()
739 int invertedSelection = mItemCount - 1 - selectedPosition; in fillFromSelection()
901 final int selectedPosition = mSelectedPosition; in moveSelection() local
910 oldRowStart = (selectedPosition - delta) - ((selectedPosition - delta) % numColumns); in moveSelection()
[all …]
DAbsSpinner.java200 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()
DListView.java925 final int selectedPosition = mSelectedPosition; in fillFromSelection() local
930 selectedPosition); in fillFromSelection()
932 selectedPosition); in fillFromSelection()
934 sel = makeAndAddView(selectedPosition, selectedTop, true, mListPadding.left, true); in fillFromSelection()
965 fillAboveAndBelow(sel, selectedPosition); in fillFromSelection()
985 int selectedPosition) { in getBottomSelectionPixel() argument
987 if (selectedPosition != mItemCount - 1) { in getBottomSelectionPixel()
1001 private int getTopSelectionPixel(int childrenTop, int fadingEdgeLength, int selectedPosition) { in getTopSelectionPixel() argument
1004 if (selectedPosition > 0) { in getTopSelectionPixel()
1050 final int selectedPosition = mSelectedPosition; in moveSelection() local
[all …]
DCalendarViewLegacyDelegate.java1551 int selectedPosition = mSelectedDay - mFirstDayOfWeek; in updateSelectionPositions() local
1552 if (selectedPosition < 0) { in updateSelectionPositions()
1553 selectedPosition += 7; in updateSelectionPositions()
1556 selectedPosition++; in updateSelectionPositions()
1559 mSelectedLeft = (mDaysPerWeek - 1 - selectedPosition) * mWidth / mNumCells; in updateSelectionPositions()
1562 mSelectedLeft = selectedPosition * mWidth / mNumCells; in updateSelectionPositions()
/frameworks/base/core/java/android/service/resolver/
DResolverRankerService.java104 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()
DIResolverRankerService.aidl28 void train(in List<ResolverTarget> targets, int selectedPosition); in train() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblePositioner.java651 final float selectedPosition = rowTopForIme in getExpandedBubbleYForIme() local
653 if (selectedPosition < top) { in getExpandedBubbleYForIme()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1678 final int selectedPosition = getListSelection(); in commitChip() local
1679 if (selectedPosition == -1 || !isEntryAtPositionTypePerson(selectedPosition)) { in commitChip()
1683 submitItemAtPosition(selectedPosition); in commitChip()