Searched defs:row (Results 1 - 25 of 64) sorted by relevance

123

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmb_utils.cpp28 int row; local
29 row = MB_SIZE;
32 while (row)
76 row -= 4;
89 int row; local
91 row = B_SIZE;
92 while (row)
129 row -= 4;
H A Dconceal.cpp141 int row = MB_SIZE; local
160 while (row)
189 row -= 4;
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DLinearLayoutGrid.java39 public Button getButtonAt(int column, int row) { argument
40 if (row < 0 || row > 2) {
41 throw new IllegalArgumentException("row out of range");
46 return (Button) getColumn(column).getChildAt(row);
H A DScrollingThroughListOfFocusablesTest.java83 // move to next row
146 assertTrue("bottom of last row of last item should be at " +
165 // (make sure we are at last row of second item)
179 // move up to next row
186 // now we are at top row, should have caused scrolling, and fading edge...
194 assertEquals("top of selected row should be just below top vertical fading edge",
211 * @param row
215 int row) {
216 assertEquals("expecting selected row",
217 row, internalFocuse
213 assertInternallySelectedRowOnScreen( InternalSelectionView internalFocused, int row) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
H A DDisappearAnimationUtils.java47 protected long calculateDelay(int row, int col) { argument
48 return (long) ((row * 60 + col * (Math.pow(row, 0.4) + 0.4) * 10) * mDelayScale);
54 public float getRowTranslationScale(int row, int numRows) {
55 return (float) (Math.pow((numRows - row), 2) / numRows);
/frameworks/compile/mclinker/lib/LD/
H A DStaticResolver.cpp60 unsigned int row = getOrdinate(pNew); local
69 action = link_action[row][col];
/frameworks/rs/
H A DrsMatrix2x2.h28 inline float get(uint32_t col, uint32_t row) const {
29 return m[col*2 + row];
32 inline void set(uint32_t col, uint32_t row, float v) { argument
33 m[col*2 + row] = v;
H A DrsMatrix3x3.h28 inline float get(uint32_t col, uint32_t row) const {
29 return m[col*3 + row];
32 inline void set(uint32_t col, uint32_t row, float v) { argument
33 m[col*3 + row] = v;
H A DrsMatrix4x4.h28 float get(uint32_t col, uint32_t row) const {
29 return m[col*4 + row];
32 void set(uint32_t col, uint32_t row, float v) { argument
33 m[col*4 + row] = v;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DOnItemViewClickedListener.java22 RowPresenter.ViewHolder rowViewHolder, Row row);
21 onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, RowPresenter.ViewHolder rowViewHolder, Row row) argument
H A DOnItemViewSelectedListener.java17 * Interface for receiving notification when a row or item becomes selected. The concept of
18 * current selection is different than focus. A row or item can be selected without having focus;
19 * for example, when a row header view gains focus then the corresponding row view becomes selected.
23 * Called when the a row or a new item becomes selected.
26 * selection changes between rows, regardless if row view has focus or not.
28 * For a {@link ListRow} case, parameter item is null if the list row is empty.
31 * In the case of a grid, the row parameter is always null.
34 * Row has focus: event is fired when focus changes between children of the row.
37 * No row ha
46 onItemSelected(Presenter.ViewHolder itemViewHolder, Object item, RowPresenter.ViewHolder rowViewHolder, Row row) argument
[all...]
H A DDetailsOverviewLogoPresenter.java64 public boolean isBoundToImage(ViewHolder viewHolder, DetailsOverviewRow row) { argument
65 return row != null && row.getImageDrawable() != null;
70 DetailsOverviewRow row = (DetailsOverviewRow) item;
72 imageView.setImageDrawable(row.getImageDrawable());
73 if (isBoundToImage((ViewHolder) viewHolder, row)) {
75 lp.width = row.getImageDrawable().getIntrinsicWidth();
76 lp.height = row.getImageDrawable().getIntrinsicHeight();
/frameworks/base/core/java/android/hardware/camera2/params/
H A DBlackLevelPattern.java39 * given in row-column scan order.</p>
61 * @param row the row index in the raw pixel array.
64 * @throws IllegalArgumentException if a column or row given is negative.
66 public int getOffsetForIndex(int column, int row) { argument
67 if (row < 0 || column < 0) {
68 throw new IllegalArgumentException("column, row arguments must be positive");
70 return mCfaOffsets[((row & 1) << 1) | (column & 1)];
76 * <p>Offsets are given in row-column scan order for a given 2x2 color pattern.</p>
H A DColorSpaceTransform.java28 * Immutable class for describing a 3x3 matrix of {@link Rational} values in row-major order.
62 * <p>The elements must be stored in a row-major order.</p>
90 * <p>The elements must be stored in a row-major order. Each rational is stored
102 * where {@code Nij} and {@code Dij} is the numerator and denominator for row {@code i} and
126 * Get an element of this matrix by its row and column.
133 * @throws IllegalArgumentException if column or row was out of range
135 public Rational getElement(int column, int row) { argument
138 } else if (row < 0 || row >= ROWS) {
139 throw new IllegalArgumentException("row ou
[all...]
H A DLensShadingMap.java44 * <p>The elements must be stored in a row-major order (fully packed).</p>
101 * Get a single color channel gain factor from this lens shading map by its row and column.
114 * @param row within the range [0, {@link #getRowCount})
127 public float getGainFactor(final int colorChannel, final int column, final int row) { argument
132 } else if (row < 0 || row >= mRows) {
133 throw new IllegalArgumentException("row out of range");
136 return mElements[colorChannel + (row * mColumns + column) * COUNT ];
140 * Get a gain factor vector from this lens shading map by its row and column.
146 * @param row withi
155 getGainFactorVector(final int column, final int row) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_neighbour.c133 u32 i, row, col; local
142 row = col = 0;
152 if (row)
157 if (row && (col < picWidth - 1))
162 if (row && col)
171 row++;
H A Dh264bsd_transform.c101 u32 row,col; local
156 for (row = 4, ptr = data; row--; ptr += 4)
258 u32 row,col; local
288 for (row = 4, ptr = data; row--; ptr += 4)
H A Dh264bsd_util.c268 u32 row, col; local
273 row = mbNum / width;
276 tmp = row * width;
H A Dh264bsd_conceal.c55 static u32 ConcealMb(mbStorage_t *pMb, image_t *currImage, u32 row, u32 col,
89 decoded macroblock and concealing the row containing the macroblock
90 in question. After that all macroblocks above the row in question
129 u32 row, col; local
158 i = row = col = 0;
166 row++;
189 /* start from the row containing the first correct macroblock, conceal the
190 * row in question, all rows above that row and then continue downwards */
191 mb = pStorage->mb + row * widt
253 ConcealMb(mbStorage_t *pMb, image_t *currImage, u32 row, u32 col, u32 sliceType, u8 *refData) argument
[all...]
H A Dh264bsd_image.c182 u32 row, col; local
199 row = mbNum / picWidth;
203 lum = (image->data + row * picWidth * 256 + col * 16);
204 cb = (image->data + picSize * 256 + row * picWidth * 64 + col * 8);
/frameworks/base/core/java/android/text/
H A DPackedObjectVector.java46 getValue(int row, int column) argument
48 if (row >= mRowGapStart)
49 row += mRowGapLength;
51 Object value = mValues[row * mColumns + column];
57 setValue(int row, int column, E value) argument
59 if (row >= mRowGapStart)
60 row += mRowGapLength;
62 mValues[row * mColumns + column] = value;
66 insertAt(int row, E[] values) argument
68 moveRowGapTo(row);
85 deleteAt(int row, int count) argument
[all...]
/frameworks/base/core/java/android/util/
H A DDayOfMonthCursor.java24 * <li>Keeps track of current cursor position (row, column)</li>
63 public void setSelectedRowColumn(int row, int col) { argument
64 mRow = row;
74 * depending on whether the selection is in the first or last row.
91 public boolean isSelected(int row, int column) { argument
92 return (mRow == row) && (mColumn == column);
H A DMonthDisplayHelper.java23 * 6 row calendar grid format.
111 * @param row Which row (0-5).
115 public int[] getDigitsForRow(int row) { argument
116 if (row < 0 || row > 5) {
117 throw new IllegalArgumentException("row " + row
123 result[column] = getDayAt(row, column);
130 * @param row Th
134 getDayAt(int row, int column) argument
179 isWithinCurrentMonth(int row, int column) argument
[all...]
/frameworks/rs/driver/runtime/
H A Drs_matrix.c173 rsMatrixSet(rs_matrix4x4 *m, uint32_t col, uint32_t row, float v) { argument
174 m->m[col * 4 + row] = v;
178 rsMatrixGet(const rs_matrix4x4 *m, uint32_t col, uint32_t row) { argument
179 return m->m[col * 4 + row];
183 rsMatrixSet(rs_matrix3x3 *m, uint32_t col, uint32_t row, float v) { argument
184 m->m[col * 3 + row] = v;
188 rsMatrixGet(const rs_matrix3x3 *m, uint32_t col, uint32_t row) { argument
189 return m->m[col * 3 + row];
193 rsMatrixSet(rs_matrix2x2 *m, uint32_t col, uint32_t row, float v) { argument
194 m->m[col * 2 + row]
198 rsMatrixGet(const rs_matrix2x2 *m, uint32_t col, uint32_t row) argument
[all...]
/frameworks/base/core/java/android/database/
H A DMatrixCursor.java62 * Gets value at the given column for the current row.
70 throw new CursorIndexOutOfBoundsException("Before first row.");
73 throw new CursorIndexOutOfBoundsException("After last row.");
79 * Adds a new row to the end and returns a builder for that row. Not safe
83 * row
86 final int row = rowCount++;
89 return new RowBuilder(row);
93 * Adds a new row to the end with the given column values. Not safe
114 * Adds a new row t
196 private final int row; field in class:MatrixCursor.RowBuilder
201 RowBuilder(int row) argument
[all...]

Completed in 358 milliseconds

123