Searched defs:selectedPosition (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/core/java/android/service/resolver/ |
H A D | ResolverRankerService.java | 99 * @param selectedPosition the position of the selected app in the list. 104 final List<ResolverTarget> targets, final int selectedPosition) {} 172 public void train(final List<ResolverTarget> targets, final int selectedPosition) argument 181 onTrainRankingModel(targets, selectedPosition); 103 onTrainRankingModel( final List<ResolverTarget> targets, final int selectedPosition) argument
|
/frameworks/base/packages/ExtServices/src/android/ext/services/resolver/ |
H A D | LRResolverRankerService.java | 80 public void onTrainRankingModel(List<ResolverTarget> targets, int selectedPosition) { argument 82 if (selectedPosition < 0 || selectedPosition >= size) { 84 Log.d(TAG, "Invalid Position of Selected App " + selectedPosition); 88 final ArrayMap<String, Float> positive = getFeatures(targets.get(selectedPosition)); 89 final float positiveProbability = targets.get(selectedPosition).getSelectProbability(); 92 if (i == selectedPosition) {
|
/frameworks/support/leanback/src/main/java/androidx/leanback/app/ |
H A D | DetailsFragment.java | 646 void onRowSelected(int selectedPosition, int selectedSubPosition) { argument 657 if (adapter != null && adapter.size() > selectedPosition) { 670 selectedPosition, selectedSubPosition); 721 * @param selectedPosition The adapter position of currently selected row. 726 adapterPosition, int selectedPosition, int selectedSubPosition) { 730 adapterPosition, selectedPosition, selectedSubPosition); 746 * @param selectedPosition The adapter position of currently selected row. 752 int selectedPosition, int selectedSubPosition) { 753 if (selectedPosition > adapterPosition) { 755 } else if (selectedPosition 725 onSetRowStatus(RowPresenter presenter, RowPresenter.ViewHolder viewHolder, int adapterPosition, int selectedPosition, int selectedSubPosition) argument 750 onSetDetailsOverviewRowStatus(FullWidthDetailsOverviewRowPresenter presenter, FullWidthDetailsOverviewRowPresenter.ViewHolder viewHolder, int adapterPosition, int selectedPosition, int selectedSubPosition) argument [all...] |
H A D | DetailsSupportFragment.java | 641 void onRowSelected(int selectedPosition, int selectedSubPosition) { argument 652 if (adapter != null && adapter.size() > selectedPosition) { 665 selectedPosition, selectedSubPosition); 716 * @param selectedPosition The adapter position of currently selected row. 721 adapterPosition, int selectedPosition, int selectedSubPosition) { 725 adapterPosition, selectedPosition, selectedSubPosition); 741 * @param selectedPosition The adapter position of currently selected row. 747 int selectedPosition, int selectedSubPosition) { 748 if (selectedPosition > adapterPosition) { 750 } else if (selectedPosition 720 onSetRowStatus(RowPresenter presenter, RowPresenter.ViewHolder viewHolder, int adapterPosition, int selectedPosition, int selectedSubPosition) argument 745 onSetDetailsOverviewRowStatus(FullWidthDetailsOverviewRowPresenter presenter, FullWidthDetailsOverviewRowPresenter.ViewHolder viewHolder, int adapterPosition, int selectedPosition, int selectedSubPosition) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ListView.java | 919 final int selectedPosition = mSelectedPosition; 924 selectedPosition); 926 selectedPosition); 928 sel = makeAndAddView(selectedPosition, selectedTop, true, mListPadding.left, true); 959 fillAboveAndBelow(sel, selectedPosition); 975 * @param selectedPosition The position that will be selected 979 int selectedPosition) { 981 if (selectedPosition != mItemCount - 1) { 992 * @param selectedPosition The position that will be selected 995 private int getTopSelectionPixel(int childrenTop, int fadingEdgeLength, int selectedPosition) { argument 978 getBottomSelectionPixel(int childrenBottom, int fadingEdgeLength, int selectedPosition) argument 3011 populate(int selectedPosition, int amountToScroll) argument [all...] |
Completed in 183 milliseconds