Searched refs:itemPosition (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/ |
D | RttChatAdapter.java | 101 public void onBindViewHolder(ViewHolder viewHolder, int itemPosition) { in onBindViewHolder() argument 102 switch (getItemViewType(itemPosition)) { in onBindViewHolder() 107 int messagePosition = toMessagePosition(itemPosition); in onBindViewHolder() 151 private int toMessagePosition(int itemPosition) { in toMessagePosition() argument 153 return itemPosition - 1; in toMessagePosition() 155 return itemPosition; in toMessagePosition()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/common/ui/view/ |
D | ItemSpacing.kt | 26 override fun getItemOffsets(outRect: Rect, itemPosition: Int, parent: RecyclerView) { in getItemOffsets() 27 val addSpacingToStart = itemPosition > 0 in getItemOffsets() 28 val addSpacingToEnd = itemPosition < (parent.adapter?.itemCount ?: 0) - 1 in getItemOffsets()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ScrollableLayoutManager.java | 106 int itemPosition = holder.getLayoutPosition(); in computeVerticalScrollOffset() local 107 if (itemPosition < 0) { in computeVerticalScrollOffset() 110 return getPaddingTop() + getItemsHeight(adapter, itemPosition) - getDecoratedTop(child); in computeVerticalScrollOffset()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | ConfirmDialogFragment.java | 65 void onConfirm(int tag, boolean confirmed, int itemPosition); in onConfirm() argument 178 private void informCaller(boolean confirmed, int itemPosition) { in informCaller() argument 189 listener.onConfirm(getTagInCaller(), confirmed, itemPosition); in informCaller() local
|
D | ToggleSubscriptionDialogActivity.java | 162 public void onConfirm(int tag, boolean confirmed, int itemPosition) { in onConfirm() argument 212 if (itemPosition != -1) { in onConfirm() 213 removedSubInfo = (mActiveSubInfos != null) ? mActiveSubInfos.get(itemPosition) in onConfirm()
|
D | DeleteEuiccSubscriptionDialogActivity.java | 99 public void onConfirm(int tag, boolean confirmed, int itemPosition) { in onConfirm() argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | GalleryActionBar.java | 373 public boolean onNavigationItemSelected(int itemPosition, long itemId) { in onNavigationItemSelected() argument 374 if (itemPosition != mCurrentIndex && mClusterRunner != null in onNavigationItemSelected() 381 mAlbumModeListener.onAlbumModeSelected(itemPosition); in onNavigationItemSelected() 383 mClusterRunner.doCluster(sClusterItems[itemPosition].action); in onNavigationItemSelected()
|
/packages/apps/Settings/src/com/android/settings/sim/ |
D | SwitchToEsimConfirmDialogActivity.java | 105 public void onConfirm(int tag, boolean confirmed, int itemPosition) { in onConfirm() argument
|
D | DsdsDialogActivity.java | 88 public void onConfirm(int tag, boolean confirmed, int itemPosition) { in onConfirm() argument
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | AllInOneActivity.kt | 1017 override fun onNavigationItemSelected(itemPosition: Int, itemId: Long): Boolean { in onNavigationItemSelected() 1018 when (itemPosition) { in onNavigationItemSelected() 1034 Log.w(TAG, "ItemSelected event from unknown button: $itemPosition") in onNavigationItemSelected() 1036 TAG, "CurrentView:" + mCurrentView + " Button:" + itemPosition + in onNavigationItemSelected()
|