Searched refs:row (Results 1 - 25 of 66) 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/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...]
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...]
/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/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiCollection.java56 UiObject row = getChildByInstance(childPattern, x);
57 String nodeDesc = row.getContentDescription();
59 return row;
61 UiObject item = row.getChild(new UiSelector().descriptionContains(text));
63 return row;
114 UiObject row = getChildByInstance(childPattern, x);
115 String nodeText = row.getText();
117 return row;
119 UiObject item = row.getChild(new UiSelector().text(text));
121 return row;
[all...]
/frameworks/uiautomator/core/com/android/uiautomator/core/
H A DUiCollection.java56 UiObject row = getChildByInstance(childPattern, x);
57 String nodeDesc = row.getContentDescription();
59 return row;
61 UiObject item = row.getChild(new UiSelector().descriptionContains(text));
63 return row;
114 UiObject row = getChildByInstance(childPattern, x);
115 String nodeText = row.getText();
117 return row;
119 UiObject item = row.getChild(new UiSelector().text(text));
121 return row;
[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/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/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.cpp166 // Fill in the row slot
177 LOG_WINDOW("The row failed, so back out the new row accounting "
184 LOG_WINDOW("Allocated row %u, rowSlot is at offset %u, fieldDir is %d bytes at offset %u\n",
223 CursorWindow::RowSlot* CursorWindow::getRowSlot(uint32_t row) { argument
224 uint32_t chunkPos = row;
257 CursorWindow::FieldSlot* CursorWindow::getFieldSlot(uint32_t row, uint32_t column) { argument
258 if (row >= mHeader->numRows || column >= mHeader->numColumns) {
259 ALOGE("Failed to read row %d, column %d from a CursorWindow which "
261 row, colum
273 putBlob(uint32_t row, uint32_t column, const void* value, size_t size) argument
277 putString(uint32_t row, uint32_t column, const char* value, size_t sizeIncludingNull) argument
282 putBlobOrString(uint32_t row, uint32_t column, const void* value, size_t size, int32_t type) argument
306 putLong(uint32_t row, uint32_t column, int64_t value) argument
321 putDouble(uint32_t row, uint32_t column, double value) argument
336 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/packages/DocumentsUI/src/com/android/documentsui/
H A DColumnAdapter.java97 final LinearLayout row = (LinearLayout) convertView;
103 if (i < row.getChildCount()) {
104 convertItem = row.getChildAt(i);
109 final View item = mWrapped.getView(validPos, convertItem, row);
121 row.addView(item, params);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCallbackProcessor.cpp466 for (size_t row = 0; row < src.height; row++) {
488 for (size_t row = 0; row < chromaHeight; row++) {
496 for (size_t row = 0; row < chromaHeight; row++) {
515 // Source has planar chroma layout, can copy by row
[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++;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationData.java37 public ExpandableNotificationRow row; // the outer expanded view field in class:NotificationData.Entry
51 row.setExpandable(bigContentView != null);
60 row.setUserLocked(userLocked);
113 public int add(IBinder key, StatusBarNotification notification, ExpandableNotificationRow row, argument
118 entry.row = row;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DHeadsUpNotificationView.java77 mHeadsUp.row.setExpanded(false);
86 mContentHolder.addView(mHeadsUp.row);
184 return mHeadsUp == null ? null : mHeadsUp.row;
189 return mHeadsUp != null && mHeadsUp.row == v && mHeadsUp.row.isExpandable();
194 if (mHeadsUp != null && mHeadsUp.row == v) {
195 mHeadsUp.row.setUserExpanded(userExpanded);
201 if (mHeadsUp != null && mHeadsUp.row == v) {
202 mHeadsUp.row.setUserLocked(userLocked);
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp97 // y row
100 // construct u row and v row
119 for (int row = 0; row < numRows; ++row) {
120 int offset = ((rowIndex >> 1) + row) * fStrides[1];
123 int index = row * (width >> 1) + i;
172 // y row
175 // construct u row an
[all...]
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DTestDocumentsProvider.java126 final RowBuilder row = result.newRow();
127 row.add(Root.COLUMN_ROOT_ID, MY_ROOT_ID);
128 row.add(Root.COLUMN_FLAGS, Root.FLAG_SUPPORTS_RECENTS);
129 row.add(Root.COLUMN_TITLE, "_Test title which is really long");
130 row.add(Root.COLUMN_SUMMARY,
132 row.add(Root.COLUMN_DOCUMENT_ID, MY_DOC_ID);
133 row.add(Root.COLUMN_AVAILABLE_BYTES, 1024);
355 final RowBuilder row = result.newRow();
356 row.add(Document.COLUMN_DOCUMENT_ID, docId);
357 row
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java135 int row; field in class:LockPatternView.Cell
149 * @param row The row of the cell.
152 private Cell(int row, int column) { argument
153 checkRange(row, column);
154 this.row = row;
159 return row;
167 * @param row The row o
170 of(int row, int column) argument
175 checkRange(int row, int column) argument
795 getCenterYForRow(int row) argument
[all...]

Completed in 639 milliseconds

123