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.java344 View getViewAt(int rowIdx, int colIdx) { in getViewAt() argument
345 if (rowIdx < 0 || rowIdx > mRowsContainer.getChildCount()) { in getViewAt()
348 rowIdx, mRowsContainer.getChildCount())); in getViewAt() local
355 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()