Home
last modified time | relevance | path

Searched refs:rowIndex (Results 1 – 9 of 9) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DAbstractKeyboardBuilder.java56 for (int rowIndex = 0; rowIndex < rows.length; rowIndex++) { in AbstractKeyboardBuilder()
57 final E[] row = rows[rowIndex]; in AbstractKeyboardBuilder()
58 mRows[rowIndex] = Arrays.copyOf(row, row.length); in AbstractKeyboardBuilder()
85 final int rowIndex = row - 1; in getRowAt() local
86 if (rowIndex < 0 || rowIndex >= mRows.length) { in getRowAt()
89 return mRows[rowIndex]; in getRowAt()
99 final int rowIndex = row - 1; in setRowAt() local
100 if (rowIndex < 0) { in setRowAt()
103 final E[][] newRows = (rowIndex < mRows.length) ? mRows in setRowAt()
104 : Arrays.copyOf(mRows, rowIndex + 1); in setRowAt()
[all …]
DActualKeyboardBuilder.java76 for (int rowIndex = 0; rowIndex < dimensions.length; rowIndex++) { in buildKeyboard()
77 dimensions[rowIndex] = rows.get(rowIndex).size(); in buildKeyboard()
81 for (int rowIndex = 0; rowIndex < rows.size(); rowIndex++) { in buildKeyboard()
82 final int row = rowIndex + 1; in buildKeyboard()
83 final ArrayList<Key> rowKeys = rows.get(rowIndex); in buildKeyboard()
DExpectedKeyboardBuilder.java337 for (int rowIndex = 0; rowIndex < rows.length; rowIndex++) { in toString()
338 if (rowIndex > 0) { in toString()
341 sb.append(Arrays.toString(rows[rowIndex])); in toString()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsRecyclerView.java290 if (mScrollPosState.rowIndex < 0) { in onUpdateScrollbar()
307 … (mScrollPosState.rowIndex * mScrollPosState.rowHeight) - mScrollPosState.rowTopOffset; in onUpdateScrollbar()
392 (scrollPosState.rowIndex * scrollPosState.rowHeight) - scrollPosState.rowTopOffset; in smoothSnapToPosition()
407 stateOut.rowIndex = -1; in getCurScrollState()
425 stateOut.rowIndex = item.rowIndex; in getCurScrollState()
441 int offset = item.rowIndex > 0 ? getPaddingTop() : 0; in getScrollAtPosition()
442 return offset + item.rowIndex * rowHeight; in getScrollAtPosition()
DAlphabeticalAppsList.java101 public int rowIndex; field in AlphabeticalAppsList.AdapterItem
504 int rowIndex = -1; in updateAdapterItems() local
506 item.rowIndex = 0; in updateAdapterItems()
513 rowIndex++; in updateAdapterItems()
515 item.rowIndex = rowIndex; in updateAdapterItems()
521 mNumAppRowsInAdapter = rowIndex + 1; in updateAdapterItems()
536 info.touchFraction = item.rowIndex * rowFraction + subRowFraction; in updateAdapterItems()
/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorPadLayout.java71 int rowIndex = 0, columnIndex = 0; in onLayout() local
80 final int childTop = paddingTop + lp.topMargin + rowIndex * rowHeight; in onLayout()
96 rowIndex = (rowIndex + (columnIndex + 1) / mColumnCount) % mRowCount; in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsRecyclerView.java135 if (mScrollPosState.rowIndex < 0) { in onUpdateScrollbar()
147 stateOut.rowIndex = -1; in getCurScrollState()
164 stateOut.rowIndex = position; in getCurScrollState()
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseRecyclerView.java52 public int rowIndex; field in BaseRecyclerView.ScrollPositionState
256 (scrollPosState.rowIndex * scrollPosState.rowHeight) - scrollPosState.rowTopOffset; in synchronizeScrollBarThumbOffsetToViewScroll()
DIconCache.java296 final int rowIndex = c.getColumnIndex(IconDB.COLUMN_ROWID); in updateDBIcons() local
309 itemsToRemove.add(c.getInt(rowIndex)); in updateDBIcons()
327 itemsToRemove.add(c.getInt(rowIndex)); in updateDBIcons()