Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DStaggeredGridDefault.java28 int getRowMax(int rowIndex) { in getRowMax() argument
34 if (getLocation(mFirstVisibleIndex).row == rowIndex) { in getRowMax()
40 if (loc.row == rowIndex) { in getRowMax()
47 if (loc.row == rowIndex) { in getRowMax()
53 if (loc.row == rowIndex) { in getRowMax()
65 int getRowMin(int rowIndex) { in getRowMin() argument
72 if (loc.row == rowIndex) { in getRowMin()
78 if (loc.row == rowIndex) { in getRowMin()
84 if (getLocation(mFirstVisibleIndex).row == rowIndex) { in getRowMin()
90 if (loc.row == rowIndex) { in getRowMin()
[all …]
DStaggeredGrid.java171 int rowIndex = loc.row; in prependVisbleItemsWithCache() local
185 mProvider.addItem(mTmpItem[0], itemIndex, size, rowIndex, edge - offset); in prependVisbleItemsWithCache()
192 if (rowIndex == 0) { in prependVisbleItemsWithCache()
241 protected final int prependVisibleItemToRow(int itemIndex, int rowIndex, int edge) { in prependVisibleItemToRow() argument
251 Location loc = new Location(rowIndex, 0, 0); in prependVisibleItemToRow()
270 mProvider.addItem(item, itemIndex, loc.size, rowIndex, thisEdge); in prependVisibleItemToRow()
328 int rowIndex = loc.row; in appendVisbleItemsWithCache() local
339 mProvider.addItem(mTmpItem[0], itemIndex, size, rowIndex, edge); in appendVisbleItemsWithCache()
347 if (rowIndex == mNumRows - 1) { in appendVisbleItemsWithCache()
366 protected final int appendVisibleItemToRow(int itemIndex, int rowIndex, int location) { in appendVisibleItemToRow() argument
[all …]
DGridLayoutManager.java1135 private int getRowSizeSecondary(int rowIndex) { in getRowSizeSecondary() argument
1142 return mRowSizeSecondary[rowIndex]; in getRowSizeSecondary()
1145 private int getRowStartSecondary(int rowIndex) { in getRowStartSecondary() argument
1150 for (int i = mNumRows-1; i > rowIndex; i--) { in getRowStartSecondary()
1154 for (int i = 0; i < rowIndex; i++) { in getRowStartSecondary()
1208 for (int rowIndex = 0; rowIndex < mNumRows; rowIndex++) { in processRowSizeSecondary()
1209 CircularIntArray row = rows == null ? null : rows[rowIndex]; in processRowSizeSecondary()
1258 if (mRowSizeSecondary[rowIndex] != rowSize) { in processRowSizeSecondary()
1259 … if (DEBUG) Log.v(getTag(), "row size secondary changed: " + mRowSizeSecondary[rowIndex] + in processRowSizeSecondary()
1261 mRowSizeSecondary[rowIndex] = rowSize; in processRowSizeSecondary()
[all …]
DGrid.java73 public abstract void addItem(Object item, int index, int length, int rowIndex, int edge); in addItem() argument
272 protected abstract int findRowMin(boolean findLarge, int indexLimit, int[] rowIndex); in findRowMin() argument
/frameworks/base/core/jni/android/graphics/
DYuvToJpegEncoder.cpp118 uint8_t* vRows, int rowIndex, int width, int height) { in deinterleave() argument
119 int numRows = (height - rowIndex) / 2; in deinterleave()
122 int offset = ((rowIndex >> 1) + row) * fStrides[1]; in deinterleave()
193 uint8_t* vRows, int rowIndex, int width, int height) { in deinterleave() argument
194 int numRows = height - rowIndex; in deinterleave()
197 uint8_t* yuvSeg = yuv + (rowIndex + row) * fStrides[0]; in deinterleave()
DYuvToJpegEncoder.h58 int rowIndex, int width, int height);
71 uint8_t* vRows, int rowIndex, int width, int height);
/frameworks/base/tools/preload2/src/com/android/preload/
DDumpTableModel.java77 public Object getValueAt(int rowIndex, int columnIndex) { in getValueAt() argument
78 DumpData d = data.get(rowIndex); in getValueAt()
/frameworks/support/v4/api21/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatApi21.java48 public static Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
50 return AccessibilityNodeInfo.CollectionItemInfo.obtain(rowIndex, rowSpan, columnIndex, in obtainCollectionItemInfo()
/frameworks/support/v4/kitkat/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatKitKat.java68 public static Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
70 return AccessibilityNodeInfo.CollectionItemInfo.obtain(rowIndex, rowSpan, columnIndex, in obtainCollectionItemInfo()
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DGridTest.java52 public void addItem(Object item, int index, int length, int rowIndex, int edge) { in addItem() argument
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java628 for (int rowIndex = 0; rowIndex < numRows; ++rowIndex) { in resize()
629 Row row = rows.get(rowIndex); in resize()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java560 int rowIndex = 0; in onExecute() local
564 builder.append("Row: ").append(rowIndex).append(" "); in onExecute()
565 rowIndex++; in onExecute()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java4120 public static CollectionItemInfo obtain(int rowIndex, int rowSpan, in obtain() argument
4122 return obtain(rowIndex, rowSpan, columnIndex, columnSpan, heading, false); in obtain()
4135 public static CollectionItemInfo obtain(int rowIndex, int rowSpan, in obtain() argument
4140 rowIndex, rowSpan, columnIndex, columnSpan, heading, selected); in obtain()
4143 info.mRowIndex = rowIndex; in obtain()
4168 private CollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, int columnSpan, in CollectionItemInfo() argument
4170 mRowIndex = rowIndex; in CollectionItemInfo()
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompat.java422 public static CollectionItemInfoCompat obtain(int rowIndex, int rowSpan, in obtain() argument
424 return new CollectionItemInfoCompat(IMPL.obtainCollectionItemInfo(rowIndex, rowSpan, in obtain()
572 public Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
1033 public Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
1670 public Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
1673 .obtainCollectionItemInfo(rowIndex, rowSpan, columnIndex, columnSpan, heading); in obtainCollectionItemInfo()
1841 public Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
1843 return AccessibilityNodeInfoCompatApi21.obtainCollectionItemInfo(rowIndex, rowSpan, in obtainCollectionItemInfo()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DMultiSelectManager.java1727 int columnEndIndex, int rowIndex, int rowStartIndex, int rowEndIndex) { in isPossiblePositionNearestOrigin() argument
1731 return columnIndex == columnStartIndex && rowIndex == rowStartIndex; in isPossiblePositionNearestOrigin()
1733 return columnIndex == columnEndIndex && rowIndex == rowStartIndex; in isPossiblePositionNearestOrigin()
1735 return columnIndex == columnStartIndex && rowIndex == rowEndIndex; in isPossiblePositionNearestOrigin()
1742 return rowIndex == rowEndIndex; in isPossiblePositionNearestOrigin()