Searched refs:row (Results 1 - 25 of 58) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DFocusChangeWithInterestingRectHintTest.java37 * when taking focus to best select the internal row to show as selected.
73 for (int row = 0; row < numRows; row++) {
75 if ((row % 2) == 0) {
76 assertEquals("row " + row + ": should be at left column",
77 row, mLeftColumn.getSelectedRow());
80 assertTrue("row " + row
[all...]
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/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DUiCollection.java51 UiObject row = getChildByInstance(childPattern, x);
52 String nodeDesc = row.getContentDescription();
54 return row;
56 UiObject item = row.getChild(new UiSelector().descriptionContains(text));
58 return row;
100 UiObject row = getChildByInstance(childPattern, x);
101 String nodeText = row.getText();
103 return row;
105 UiObject item = row.getChild(new UiSelector().text(text));
107 return row;
[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...]
/frameworks/rs/
H A DrsMatrix2x2.h28 inline float get(uint32_t row, uint32_t col) const { argument
29 return m[row*2 + col];
32 inline void set(uint32_t row, uint32_t col, float v) { argument
33 m[row*2 + col] = v;
H A DrsMatrix3x3.h28 inline float get(uint32_t row, uint32_t col) const { argument
29 return m[row*3 + col];
32 inline void set(uint32_t row, uint32_t col, float v) { argument
33 m[row*3 + col] = v;
H A DrsMatrix4x4.h28 float get(uint32_t row, uint32_t col) const { argument
29 return m[row*4 + col];
32 void set(uint32_t row, uint32_t col, float v) { argument
33 m[row*4 + col] = v;
/frameworks/base/core/java/android/text/
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...]
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...]
/frameworks/base/core/java/android/util/
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...]
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);
/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;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationData.java38 public View row; // the outer expanded view field in class:NotificationData.Entry
51 writeBooleanTag(row, R.id.expandable_tag, expandedLarge != null);
60 return NotificationData.getIsExpandable(row);
66 return NotificationData.getUserExpanded(row);
72 return NotificationData.setUserExpanded(row, userExpanded);
117 public int add(IBinder key, StatusBarNotification notification, View row, View content, argument
122 entry.row = row;
183 public static boolean getIsExpandable(View row) { argument
184 return readBooleanTag(row,
190 getUserExpanded(View row) argument
197 setUserExpanded(View row, boolean userExpanded) argument
[all...]
/frameworks/compile/libbcc/lib/ScriptCRT/
H A Drs_core.c78 rsMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v) { argument
79 m->m[row * 4 + col] = v;
83 rsMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col) { argument
84 return m->m[row * 4 + col];
88 rsMatrixSet(rs_matrix3x3 *m, uint32_t row, uint32_t col, float v) { argument
89 m->m[row * 3 + col] = v;
93 rsMatrixGet(const rs_matrix3x3 *m, uint32_t row, uint32_t col) { argument
94 return m->m[row * 3 + col];
98 rsMatrixSet(rs_matrix2x2 *m, uint32_t row, uint32_t col, float v) { argument
99 m->m[row *
103 rsMatrixGet(const rs_matrix2x2 *m, uint32_t row, uint32_t col) 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/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/include/androidfw/
H A DCursorWindow.h43 * window has first chunk of RowSlots, which are offsets to the row directory, followed by
45 * the pre-allocated chunk isn't big enough to refer to all rows. Each row directory has a
98 * Allocate a row slot and its directory.
99 * The row is initialized will null entries for each field.
104 status_t putBlob(uint32_t row, uint32_t column, const void* value, size_t size);
105 status_t putString(uint32_t row, uint32_t column, const char* value, size_t sizeIncludingNull);
106 status_t putLong(uint32_t row, uint32_t column, int64_t value);
107 status_t putDouble(uint32_t row, uint32_t column, double value);
108 status_t putNull(uint32_t row, uint32_t column);
111 * Gets the field slot at the specified row an
[all...]
/frameworks/av/cmds/stagefright/
H A Djpeg.cpp73 for (int row = 0; row < height; row++) {
74 uint16_t *src = (uint16_t *)(frame + row * width * 2);
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp96 // y row
99 // construct u row and v row
116 for (int row = 0; row < 8; ++row) {
117 int offset = ((rowIndex >> 1) + row) * fStrides[1];
120 int index = row * (width >> 1) + i;
168 // y row
171 // construct u row an
[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_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_util.c270 u32 row, col; local
275 row = mbNum / width;
278 tmp = row * width;
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java136 int row; field in class:LockPatternView.Cell
150 * @param row The row of the cell.
153 private Cell(int row, int column) { argument
154 checkRange(row, column);
155 this.row = row;
160 return row;
168 * @param row The row o
171 of(int row, int column) argument
176 checkRange(int row, int column) argument
859 getCenterYForRow(int row) 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...]

Completed in 1008 milliseconds

123