Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DStaggeredGridDefault.java28 int rowIndex; in appendItems() local
31 rowIndex = (mLocations.getLast().row + 1) % mNumRows; in appendItems()
34 rowIndex = mStartRow != START_DEFAULT ? mStartRow : itemIndex % mNumRows; in appendItems()
48 for (; rowIndex < mNumRows; rowIndex++) { in appendItems()
53 appendItemToRow(itemIndex++, rowIndex); in appendItems()
61 } else if (rowIndex != edgeRowIndex) { in appendItems()
63 mRows[rowIndex].low > edge : in appendItems()
64 mRows[rowIndex].high < edge) { in appendItems()
68 appendItemToRow(itemIndex++, rowIndex); in appendItems()
78 rowIndex = 0; in appendItems()
[all …]
DStaggeredGrid.java241 protected final Location appendItemToRow(int itemIndex, int rowIndex) { in appendItemToRow() argument
242 Location loc = new Location(rowIndex); in appendItemToRow()
247 mProvider.createItem(itemIndex, rowIndex, true); in appendItemToRow()
276 protected final Location prependItemToRow(int itemIndex, int rowIndex) { in prependItemToRow() argument
277 Location loc = new Location(rowIndex); in prependItemToRow()
280 mProvider.createItem(itemIndex, rowIndex, false); in prependItemToRow()
DGridLayoutManager.java831 private int getRowSizeSecondary(int rowIndex) { in getRowSizeSecondary() argument
838 return mRowSizeSecondary[rowIndex]; in getRowSizeSecondary()
841 private int getRowStartSecondary(int rowIndex) { in getRowStartSecondary() argument
846 for (int i = mNumRows-1; i > rowIndex; i--) { in getRowStartSecondary()
850 for (int i = 0; i < rowIndex; i++) { in getRowStartSecondary()
889 for (int rowIndex = 0; rowIndex < mNumRows; rowIndex++) { in processRowSizeSecondary()
890 final int rowItemCount = rows == null ? 0 : rows[rowIndex].size(); in processRowSizeSecondary()
891 if (DEBUG) Log.v(getTag(), "processRowSizeSecondary row " + rowIndex + in processRowSizeSecondary()
896 final View view = findViewByPosition(rows[rowIndex].get(i)); in processRowSizeSecondary()
937 if (DEBUG) Log.v(getTag(), "row " + rowIndex + " rowItemCount " + rowItemCount + in processRowSizeSecondary()
[all …]
/frameworks/base/core/jni/android/graphics/
DYuvToJpegEncoder.cpp116 uint8_t* vRows, int rowIndex, int width, int height) { in deinterleave() argument
117 int numRows = (height - rowIndex) / 2; in deinterleave()
120 int offset = ((rowIndex >> 1) + row) * fStrides[1]; in deinterleave()
191 uint8_t* vRows, int rowIndex, int width, int height) { in deinterleave() argument
192 int numRows = height - rowIndex; in deinterleave()
195 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/support/v4/api21/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatApi21.java43 public static Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
45 return AccessibilityNodeInfo.CollectionItemInfo.obtain(rowIndex, rowSpan, columnIndex, in obtainCollectionItemInfo()
/frameworks/support/v4/kitkat/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatKitKat.java60 public static Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
62 return AccessibilityNodeInfo.CollectionItemInfo.obtain(rowIndex, rowSpan, columnIndex, in obtainCollectionItemInfo()
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompat.java122 public static CollectionItemInfoCompat obtain(int rowIndex, int rowSpan, in obtain() argument
124 return new CollectionItemInfoCompat(IMPL.obtainCollectionItemInfo(rowIndex, rowSpan, in obtain()
268 public Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
675 public Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
1083 public Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
1086 .obtainCollectionItemInfo(rowIndex, rowSpan, columnIndex, columnSpan, heading); in obtainCollectionItemInfo()
1179 public Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
1181 return AccessibilityNodeInfoCompatApi21.obtainCollectionItemInfo(rowIndex, rowSpan, in obtainCollectionItemInfo()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java615 for (int rowIndex = 0; rowIndex < numRows; ++rowIndex) { in resize()
616 Row row = rows.get(rowIndex); in resize()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java542 int rowIndex = 0; in onExecute() local
546 builder.append("Row: ").append(rowIndex).append(" "); in onExecute()
547 rowIndex++; in onExecute()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java3817 public static CollectionItemInfo obtain(int rowIndex, int rowSpan, in obtain() argument
3819 return obtain(rowIndex, rowSpan, columnIndex, columnSpan, heading, false); in obtain()
3832 public static CollectionItemInfo obtain(int rowIndex, int rowSpan, in obtain() argument
3837 rowIndex, rowSpan, columnIndex, columnSpan, heading, selected); in obtain()
3840 info.mRowIndex = rowIndex; in obtain()
3865 private CollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, int columnSpan, in CollectionItemInfo() argument
3867 mRowIndex = rowIndex; in CollectionItemInfo()