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

12

/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/compile/mclinker/lib/LD/
H A DStaticResolver.cpp61 unsigned int row = getOrdinate(pNew); local
70 action = link_action[row][col];
/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);
H A Dh264bsd_inter_prediction.c220 /* set row bits 15:0 */
368 u32 row, col; local
378 row = mbNum / currImage->width;
379 col = mbNum - row * currImage->width;
380 row *= 16;
393 h264bsdPredictSamples(data, pMb->mv, &refImage, col, row, 0, 0,
401 h264bsdPredictSamples(data, pMb->mv, &refImage, col, row, 0, 0,
404 h264bsdPredictSamples(data, pMb->mv+8, &refImage, col, row, 0, 8,
412 h264bsdPredictSamples(data, pMb->mv, &refImage, col, row, 0, 0,
415 h264bsdPredictSamples(data, pMb->mv+4, &refImage, col, row,
[all...]
H A Dh264bsd_intra_prediction.c548 u32 row, col; local
562 row = mbNum / width;
563 col = mbNum - row * width;
566 ptr = image->data + row * 16 * width + col * 16;
569 * sense when current mb is the right-most mb in a row. Same applies to
573 if (row)
588 ptr = image->data + picSize * 256 + row * 8 * width + col * 8;
590 if (row)
/frameworks/base/core/java/android/text/
H A DPackedObjectVector.java44 getValue(int row, int column) argument
46 if (row >= mRowGapStart)
47 row += mRowGapLength;
49 Object value = mValues[row * mColumns + column];
55 setValue(int row, int column, E value) argument
57 if (row >= mRowGapStart)
58 row += mRowGapLength;
60 mValues[row * mColumns + column] = value;
64 insertAt(int row, E[] values) argument
66 moveRowGapTo(row);
83 deleteAt(int row, int count) argument
[all...]
H A DPackedIntVector.java55 * Returns the value at the specified row and column.
57 * @param row the index of the row to return.
62 * @throws IndexOutOfBoundsException if the row is out of range
63 * (row &lt; 0 || row >= size()) or the column is out of range
66 public int getValue(int row, int column) { argument
69 if (((row | column) < 0) || (row >= size()) || (column >= columns)) {
70 throw new IndexOutOfBoundsException(row
97 setValue(int row, int column, int value) argument
122 setValueInternal(int row, int column, int value) argument
175 insertAt(int row, int[] values) argument
215 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/compile/libbcc/lib/Renderscript/runtime/
H A Drs_matrix.c174 rsMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v) { argument
175 m->m[row * 4 + col] = v;
179 rsMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col) { argument
180 return m->m[row * 4 + col];
184 rsMatrixSet(rs_matrix3x3 *m, uint32_t row, uint32_t col, float v) { argument
185 m->m[row * 3 + col] = v;
189 rsMatrixGet(const rs_matrix3x3 *m, uint32_t row, uint32_t col) { argument
190 return m->m[row * 3 + col];
194 rsMatrixSet(rs_matrix2x2 *m, uint32_t row, uint32_t col, float v) { argument
195 m->m[row *
199 rsMatrixGet(const rs_matrix2x2 *m, uint32_t row, uint32_t col) argument
[all...]
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorPickerPalette.java32 * row (and the padding between the squares) is determined by the user.
74 TableRow row = new TableRow(getContext());
77 row.setLayoutParams(params);
78 return row;
95 TableRow row = createTableRow();
102 addSwatchToRow(row, colorSwatch, rowNumber);
106 addView(row);
107 row = createTableRow();
113 // Create blank views to fill the row if the last row ha
127 addSwatchToRow(TableRow row, View swatch, int rowNumber) argument
[all...]
/frameworks/base/core/java/android/view/animation/
H A DGridLayoutAnimationController.java149 * @param rowDelay the delay by which each row animation must be offset
188 * row to the other. The delay is expressed as a fraction of the
203 * children's animations are offset from one row to the other.
306 final int row = getTransformedRowIndex(params);
324 viewDelay = (long) (row * rowDelay + column * rowsCount * rowDelay);
328 viewDelay = (long) (column * columnDelay + row * columnsCount * columnDelay);
333 viewDelay = (long) (column * columnDelay + row * rowDelay);
374 index = params.rowsCount - 1 - params.row;
384 index = params.row;
410 * The view group's row t
412 public int row; field in class:GridLayoutAnimationController.AnimationParameters
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DInternalSelectionView.java35 * row is selected. The rows take up the
40 * the last row's height is inflated with the remainder. For example, if the
41 * view height is 22 and there are two rows, the height of the first row is
48 * selected row
185 private int getRowHeight(int row) { argument
188 if (row < mNumRows - 1) {
196 public void getRectForRow(Rect rect, int row) { argument
197 final int rowHeight = getRowHeight(row);
198 final int top = mPaddingTop + row * rowHeight;
255 // set the row tha
[all...]
/frameworks/base/libs/androidfw/
H A DCursorWindow.cpp165 // Fill in the row slot
176 LOG_WINDOW("The row failed, so back out the new row accounting "
183 LOG_WINDOW("Allocated row %u, rowSlot is at offset %u, fieldDir is %d bytes at offset %u\n",
222 CursorWindow::RowSlot* CursorWindow::getRowSlot(uint32_t row) { argument
223 uint32_t chunkPos = row;
256 CursorWindow::FieldSlot* CursorWindow::getFieldSlot(uint32_t row, uint32_t column) { argument
257 if (row >= mHeader->numRows || column >= mHeader->numColumns) {
258 ALOGE("Failed to read row %d, column %d from a CursorWindow which "
260 row, colum
272 putBlob(uint32_t row, uint32_t column, const void* value, size_t size) argument
276 putString(uint32_t row, uint32_t column, const char* value, size_t sizeIncludingNull) argument
281 putBlobOrString(uint32_t row, uint32_t column, const void* value, size_t size, int32_t type) argument
305 putLong(uint32_t row, uint32_t column, int64_t value) argument
320 putDouble(uint32_t row, uint32_t column, double value) argument
335 putNull(uint32_t row, uint32_t column) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationData.java37 public View row; // the outer expanded view field in class:NotificationData.Entry
50 writeBooleanTag(row, R.id.expandable_tag, expandedLarge != null);
59 return NotificationData.getIsExpandable(row);
65 return NotificationData.getUserExpanded(row);
71 return NotificationData.setUserExpanded(row, userExpanded);
77 return NotificationData.getUserLocked(row);
83 return NotificationData.setUserLocked(row, userLocked);
128 public int add(IBinder key, StatusBarNotification notification, View row, View content, argument
133 entry.row = row;
194 getIsExpandable(View row) argument
201 getUserExpanded(View row) argument
208 setUserExpanded(View row, boolean userExpanded) argument
215 getUserLocked(View row) argument
222 setUserLocked(View row, boolean userLocked) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_CursorWindow.cpp47 static void throwExceptionWithRowCol(JNIEnv* env, jint row, jint column) { argument
49 msg.appendFormat("Couldn't read row %d, col %d from CursorWindow. "
51 row, column);
153 jint row, jint column) {
155 LOG_WINDOW("returning column type affinity for %d,%d from %p", row, column, window);
157 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column);
161 //throwExceptionWithRowCol(env, row, column);
168 jint row, jint column) {
170 LOG_WINDOW("Getting blob for %d,%d from %p", row, column, window);
172 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, colum
152 nativeGetType(JNIEnv* env, jclass clazz, jint windowPtr, jint row, jint column) argument
167 nativeGetBlob(JNIEnv* env, jclass clazz, jint windowPtr, jint row, jint column) argument
202 nativeGetString(JNIEnv* env, jclass clazz, jint windowPtr, jint row, jint column) argument
294 nativeCopyStringToBuffer(JNIEnv* env, jclass clazz, jint windowPtr, jint row, jint column, jobject bufferObj) argument
333 nativeGetLong(JNIEnv* env, jclass clazz, jint windowPtr, jint row, jint column) argument
364 nativeGetDouble(JNIEnv* env, jclass clazz, jint windowPtr, jint row, jint column) argument
395 nativePutBlob(JNIEnv* env, jclass clazz, jint windowPtr, jbyteArray valueObj, jint row, jint column) argument
413 nativePutString(JNIEnv* env, jclass clazz, jint windowPtr, jstring valueObj, jint row, jint column) argument
435 nativePutLong(JNIEnv* env, jclass clazz, jint windowPtr, jlong value, jint row, jint column) argument
449 nativePutDouble(JNIEnv* env, jclass clazz, jint windowPtr, jdouble value, jint row, jint column) argument
463 nativePutNull(JNIEnv* env, jclass clazz, jint windowPtr, jint row, jint column) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmotion_comp.cpp364 /* the next row; full-pel resolution */
463 /* the next row; full-pel resolution */
788 /* the next row; full-pel resolution */
1132 /* the next row; full-pel resolution */
1558 /* pad extra row */
1676 /* pad extra row */
1719 Int row, col, i; local
1729 row = B_SIZE;
1730 while (row--)
1767 Int row, co local
1797 Int row, col, i; local
1865 Int row, col; local
[all...]
/frameworks/base/core/java/android/database/
H A DCursorWindow.java74 private static native int nativeGetType(int windowPtr, int row, int column); argument
75 private static native byte[] nativeGetBlob(int windowPtr, int row, int column); argument
76 private static native String nativeGetString(int windowPtr, int row, int column); argument
77 private static native long nativeGetLong(int windowPtr, int row, int column); argument
78 private static native double nativeGetDouble(int windowPtr, int row, int column); argument
79 private static native void nativeCopyStringToBuffer(int windowPtr, int row, int column, argument
82 private static native boolean nativePutBlob(int windowPtr, byte[] value, int row, int column); argument
83 private static native boolean nativePutString(int windowPtr, String value, int row, int column); argument
84 private static native boolean nativePutLong(int windowPtr, long value, int row, int column); argument
85 private static native boolean nativePutDouble(int windowPtr, double value, int row, in argument
86 nativePutNull(int windowPtr, int row, int column) argument
285 isNull(int row, int column) argument
300 isBlob(int row, int column) argument
315 isLong(int row, int column) argument
329 isFloat(int row, int column) argument
344 isString(int row, int column) argument
366 getType(int row, int column) argument
396 getBlob(int row, int column) argument
431 getString(int row, int column) argument
470 copyStringToBuffer(int row, int column, CharArrayBuffer buffer) argument
504 getLong(int row, int column) argument
536 getDouble(int row, int column) argument
557 getShort(int row, int column) argument
573 getInt(int row, int column) argument
589 getFloat(int row, int column) argument
601 putBlob(byte[] value, int row, int column) argument
618 putString(String value, int row, int column) argument
635 putLong(long value, int row, int column) argument
653 putDouble(double value, int row, int column) argument
669 putNull(int row, int column) argument
[all...]

Completed in 474 milliseconds

12