Home
last modified time | relevance | path

Searched refs:rowIdx (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DControlBar.java381 View getViewAt(int rowIdx, int colIdx) { in getViewAt() argument
382 if (rowIdx < 0 || rowIdx > mRowsContainer.getChildCount()) { in getViewAt()
385 rowIdx, mRowsContainer.getChildCount())); in getViewAt() local
392 FrameLayout slot = (FrameLayout) ((LinearLayout) mRowsContainer.getChildAt(rowIdx)) in getViewAt()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java589 int rowIdx = absoluteY / (mSlotHeight + mSlotGap); in getSlotIndexByPosition() local
595 if (WIDE && rowIdx >= mUnitCount) { in getSlotIndexByPosition()
608 ? (columnIdx * mUnitCount + rowIdx) in getSlotIndexByPosition()
609 : (rowIdx * mUnitCount + columnIdx); in getSlotIndexByPosition()