/packages/apps/TV/src/com/android/tv/menu/ |
MenuView.java | 164 int selectedPosition = mLayoutManager.getSelectedPosition(); 166 if (selectedPosition >= 0 && selectedPosition < mMenuRowViews.size()) { 167 return mMenuRowViews.get(selectedPosition).requestFocus(); 209 int selectedPosition = mLayoutManager.getSelectedPosition(); 212 for (int i = selectedPosition - 1; i >= 0; --i) { 224 int selectedPosition = mLayoutManager.getSelectedPosition(); 228 for (int i = selectedPosition + 1; i < count; ++i) {
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
DetailsFragment.java | 313 private void onRowSelected(int selectedPosition, int selectedSubPosition) { 316 (selectedPosition == 0 && selectedSubPosition == 0)) { 321 if (adapter != null && adapter.size() > selectedPosition) { 331 selectedPosition, selectedSubPosition); 347 * @param selectedPosition The adapter position of currently selected row. 352 adapterPosition, int selectedPosition, int selectedSubPosition) { 356 adapterPosition, selectedPosition, selectedSubPosition); 372 * @param selectedPosition The adapter position of currently selected row. 378 int selectedPosition, int selectedSubPosition) { 379 if (selectedPosition > adapterPosition) [all...] |
DetailsSupportFragment.java | 315 private void onRowSelected(int selectedPosition, int selectedSubPosition) { 318 (selectedPosition == 0 && selectedSubPosition == 0)) { 323 if (adapter != null && adapter.size() > selectedPosition) { 333 selectedPosition, selectedSubPosition); 349 * @param selectedPosition The adapter position of currently selected row. 354 adapterPosition, int selectedPosition, int selectedSubPosition) { 358 adapterPosition, selectedPosition, selectedSubPosition); 374 * @param selectedPosition The adapter position of currently selected row. 380 int selectedPosition, int selectedSubPosition) { 381 if (selectedPosition > adapterPosition) [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
MultiSelectContactsListFragment.java | 201 return createSearchState(/* selectedPosition */ -1); 208 public SearchState createSearchStateForSearchResultClick(int selectedPosition) { 209 return createSearchState(selectedPosition); 212 private SearchState createSearchState(int selectedPosition) { 244 if (selectedPosition >= 0) { 245 searchState.selectedPartition = adapter.getPartitionForPosition(selectedPosition); 246 searchState.selectedIndexInPartition = adapter.getOffsetInPartition(selectedPosition);
|
ContactBrowseListFragment.java | 459 final int selectedPosition = adapter.getSelectedContactPosition(); 460 if (selectedPosition != -1) { 461 mLastSelectedPosition = selectedPosition; 516 requestSelectionToScreen(selectedPosition); 564 protected void requestSelectionToScreen(int selectedPosition) { 565 if (selectedPosition != -1) { 568 selectedPosition + listView.getHeaderViewsCount(), mSmoothScrollRequested);
|
/frameworks/base/core/java/android/widget/ |
GridView.java | 356 final int selectedPosition = mSelectedPosition; 362 boolean selected = pos == selectedPosition; 456 final int selectedPosition = reconcileSelectedPosition(); 464 rowStart = selectedPosition - (selectedPosition % numColumns); 466 final int invertedSelection = mItemCount - 1 - selectedPosition; 709 final int selectedPosition = mSelectedPosition; 717 rowStart = selectedPosition - (selectedPosition % numColumns); 719 int invertedSelection = mItemCount - 1 - selectedPosition; [all...] |
AbsSpinner.java | 188 int selectedPosition = getSelectedItemPosition(); 189 if (selectedPosition >= 0 && mAdapter != null && selectedPosition < mAdapter.getCount()) { 191 View view = mRecycler.get(selectedPosition); 194 view = mAdapter.getView(selectedPosition, null, this); 203 mRecycler.put(selectedPosition, view);
|
ListView.java | 837 final int selectedPosition = mSelectedPosition; 842 selectedPosition); 844 selectedPosition); 846 sel = makeAndAddView(selectedPosition, selectedTop, true, mListPadding.left, true); 877 fillAboveAndBelow(sel, selectedPosition); 893 * @param selectedPosition The position that will be selected 897 int selectedPosition) { 899 if (selectedPosition != mItemCount - 1) { 910 * @param selectedPosition The position that will be selecte [all...] |
CalendarViewLegacyDelegate.java | [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAdapterView.java | 32 private int selectedPosition; 165 return selectedPosition; 228 selectedPosition = position; 230 if (selectedPosition >= 0) {
|
/packages/apps/Settings/src/com/android/settings/notification/ |
NotificationLockscreenPreference.java | 110 int selectedPosition = listView.getCheckedItemPosition(); 113 panel.setVisibility(checkboxVisibilityForSelectedIndex(selectedPosition, 155 int selectedPosition = listView.getCheckedItemPosition(); 158 checkboxVisibilityForSelectedIndex(selectedPosition, mShowRemoteInput));
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleWeekView.java | 504 int selectedPosition = mSelectedDay - mWeekStart; 505 if (selectedPosition < 0) { 506 selectedPosition += 7; 509 selectedPosition++; 511 mSelectedLeft = selectedPosition * (mWidth - mPadding * 2) / mNumCells 513 mSelectedRight = (selectedPosition + 1) * (mWidth - mPadding * 2) / mNumCells
|
MonthWeekEventsView.java | [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
DayPickerView.java | 205 int selectedPosition; 207 selectedPosition = getPositionForView(child); 209 selectedPosition = 0; 221 if (position != selectedPosition || forceScroll) {
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupBrowseListFragment.java | 266 int selectedPosition = mAdapter.getSelectedGroupPosition(); 267 if (selectedPosition != -1) { 268 mListView.requestPositionToScreen(selectedPosition,
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
ListDialogPreference.java | 166 final int selectedPosition = getIndexForValue(mValue); 167 if (selectedPosition != AbsListView.INVALID_POSITION) { 168 list.setSelection(selectedPosition);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
BaseGridView.java | 584 RecyclerView.ViewHolder child, int selectedPosition, int subposition) { 585 if (selectedPosition == position) { 610 RecyclerView.ViewHolder child, int selectedPosition, int subposition) { 611 if (selectedPosition == position) { [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiConfigController.java | 634 final int selectedPosition = mProxySettingsSpinner.getSelectedItemPosition(); 637 if (selectedPosition == PROXY_STATIC && mProxyHostView != null) { 655 } else if (selectedPosition == PROXY_PAC && mProxyPacView != null) { [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
RecipientEditTextView.java | [all...] |
/prebuilts/sdk/current/support/v17/leanback/libs/ |
android-support-v17-leanback.jar | |