Home
last modified time | relevance | path

Searched refs:adapterPosition (Results 1 – 11 of 11) sorted by relevance

/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java228 int adapterPosition = adapter.mAliases.indexOf(alias); in displayCertChooserDialog() local
229 if (adapterPosition != -1) { in displayCertChooserDialog()
231 selectedItem = adapterPosition + 1; in displayCertChooserDialog()
243 int adapterPosition = listViewPosition-1; in displayCertChooserDialog()
244 String alias = ((adapterPosition >= 0) in displayCertChooserDialog()
245 ? adapter.getItem(adapterPosition) in displayCertChooserDialog()
336 @Override public String getItem(int adapterPosition) { in getItem() argument
337 return mAliases.get(adapterPosition); in getItem()
339 @Override public long getItemId(int adapterPosition) { in getItemId() argument
340 return adapterPosition; in getItemId()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/
DBandController.java498 int adapterPosition = mHelper.getAdapterPositionAt(i); in recordVisibleChildren() local
502 if (mHelper.hasView(adapterPosition) && in recordVisibleChildren()
503 mGridItemTester.test(adapterPosition) && in recordVisibleChildren()
504 !mKnownPositions.get(adapterPosition)) { in recordVisibleChildren()
505 mKnownPositions.put(adapterPosition, true); in recordVisibleChildren()
506 recordItemData(mHelper.getAbsoluteRectForChildViewAt(i), adapterPosition); in recordVisibleChildren() local
523 private void recordItemData(Rect absoluteChildRect, int adapterPosition) { in recordItemData() argument
537 columnList.put(absoluteChildRect.top, adapterPosition); in recordItemData()
1028 boolean hasView(int adapterPosition); in hasView() argument
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsGridAdapter.java152 private int getRowsNotForAccessibility(int adapterPosition) { in getRowsNotForAccessibility() argument
154 adapterPosition = Math.max(adapterPosition, mApps.getAdapterItems().size() - 1); in getRowsNotForAccessibility()
156 for (int i = 0; i <= adapterPosition; i++) { in getRowsNotForAccessibility()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DBlockedListSearchFragment.java136 final int adapterPosition = position - getListView().getHeaderViewsCount(); in onItemClick() local
138 final int shortcutType = adapter.getShortcutTypeFromPosition(adapterPosition); in onItemClick()
144 number = adapter.getPhoneNumber(adapterPosition); in onItemClick()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/
DBandController_GridModelTest.java398 int adapterPosition = getAdapterPositionAt(index); in getAbsoluteRectForChildViewAt() local
399 return items.get(adapterPosition).rect; in getAbsoluteRectForChildViewAt()
448 public boolean hasView(int adapterPosition) { in hasView() argument
DBandControllerTest.java233 public boolean hasView(int adapterPosition) { in hasView() argument
/packages/apps/Car/Dialer/src/com/android/car/dialer/
DStrequentsAdapter.java365 int adapterPosition = viewHolder.getAdapterPosition(); in setBackground() local
371 } else if (adapterPosition == 0) { in setBackground()
374 } else if (adapterPosition == itemCount - 1) { in setBackground()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapter.java154 public String getModelId(int adapterPosition) { in getModelId() argument
155 return mModelIds.get(adapterPosition); in getModelId()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailPlaybackLayout.java89 final int adapterPosition = mViewHolder.getAdapterPosition();
121 mPresenter.onVoicemailDeleteUndo(adapterPosition);
DVoicemailPlaybackPresenter.java797 void onVoicemailDeleteUndo(int adapterPosition) { in onVoicemailDeleteUndo() argument
799 mOnVoicemailDeletedListener.onVoicemailDeleteUndo(mRowId, adapterPosition, mVoicemailUri); in onVoicemailDeleteUndo()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogAdapter.java1015 public void onVoicemailDeleteUndo(long rowId, int adapterPosition, Uri uri) { in onVoicemailDeleteUndo() argument
1018 notifyItemChanged(adapterPosition); in onVoicemailDeleteUndo()
1020 notifyItemChanged(adapterPosition + 1); in onVoicemailDeleteUndo()