/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | FocusChangeWithInterestingRectHintTest.java | 37 * 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 D | LinearLayoutGrid.java | 39 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 D | ScrollingThroughListOfFocusablesTest.java | 83 // 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 D | UiCollection.java | 47 UiObject row = getChildByInstance(childPattern, x); 48 String nodeDesc = row.getContentDescription(); 50 return row; 52 UiObject item = row.getChild(new UiSelector().descriptionContains(text)); 54 return row; 102 UiObject row = getChildByInstance(childPattern, x); 103 String nodeText = row.getText(); 105 return row; 107 UiObject item = row.getChild(new UiSelector().text(text)); 109 return row; [all...] |
/frameworks/base/core/java/android/database/ |
H A D | CursorWindow.java | 74 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/compile/libbcc/lib/Renderscript/runtime/ |
H A D | rs_core.c | 60 rsMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v) { argument 61 m->m[row * 4 + col] = v; 65 rsMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col) { argument 66 return m->m[row * 4 + col]; 70 rsMatrixSet(rs_matrix3x3 *m, uint32_t row, uint32_t col, float v) { argument 71 m->m[row * 3 + col] = v; 75 rsMatrixGet(const rs_matrix3x3 *m, uint32_t row, uint32_t col) { argument 76 return m->m[row * 3 + col]; 80 rsMatrixSet(rs_matrix2x2 *m, uint32_t row, uint32_t col, float v) { argument 81 m->m[row * 85 rsMatrixGet(const rs_matrix2x2 *m, uint32_t row, uint32_t col) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | PackedIntVector.java | 55 * 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 < 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 D | PackedObjectVector.java | 44 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/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationData.java | 38 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); 78 return NotificationData.getUserLocked(row); 84 return NotificationData.setUserLocked(row, userLocked); 129 public int add(IBinder key, StatusBarNotification notification, View row, View content, argument 134 entry.row = row; 195 getIsExpandable(View row) argument 202 getUserExpanded(View row) argument 209 setUserExpanded(View row, boolean userExpanded) argument 216 getUserLocked(View row) argument 223 setUserLocked(View row, boolean userLocked) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | MonthDisplayHelper.java | 23 * 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 D | DayOfMonthCursor.java | 24 * <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 D | mb_utils.cpp | 28 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/core/jni/ |
H A D | android_database_CursorWindow.cpp | 47 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 D | CursorWindow.cpp | 165 // 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 D | CursorWindow.h | 43 * 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 D | jpeg.cpp | 73 for (int row = 0; row < height; row++) { 74 uint16_t *src = (uint16_t *)(frame + row * width * 2);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_neighbour.c | 133 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 D | h264bsd_conceal.c | 55 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 D | h264bsd_util.c | 270 u32 row, col; local 275 row = mbNum / width; 278 tmp = row * width;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | YuvToJpegEncoder.cpp | 97 // 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/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 133 int row; field in class:LockPatternView.Cell 147 * @param row The row of the cell. 150 private Cell(int row, int column) { argument 151 checkRange(row, column); 152 this.row = row; 157 return row; 165 * @param row The row o 168 of(int row, int column) argument 173 checkRange(int row, int column) argument 856 getCenterYForRow(int row) argument [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | GridLayoutAnimationController.java | 149 * @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/rs/scriptc/ |
H A D | rs_matrix.rsh | 30 * @param row 37 rsMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v); 42 rsMatrixSet(rs_matrix3x3 *m, uint32_t row, uint32_t col, float v); 47 rsMatrixSet(rs_matrix2x2 *m, uint32_t row, uint32_t col, float v); 53 * @param row 59 rsMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col); 64 rsMatrixGet(const rs_matrix3x3 *m, uint32_t row, uint32_t col); 69 rsMatrixGet(const rs_matrix2x2 *m, uint32_t row, uint32_t col);
|
/frameworks/support/renderscript/v8/rs_support/scriptc/ |
H A D | rs_matrix.rsh | 30 * @param row 37 rsMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v); 42 rsMatrixSet(rs_matrix3x3 *m, uint32_t row, uint32_t col, float v); 47 rsMatrixSet(rs_matrix2x2 *m, uint32_t row, uint32_t col, float v); 53 * @param row 59 rsMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col); 64 rsMatrixGet(const rs_matrix3x3 *m, uint32_t row, uint32_t col); 69 rsMatrixGet(const rs_matrix2x2 *m, uint32_t row, uint32_t col);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuView.java | 56 /** Height of each row */ 62 /** Maximum number of items per row */ 112 * The layout to use for menu items. Each index is the row number (0 is the 113 * top-most). Each value contains the number of items in that row. 218 * @return int[] Where the value of index i contains the number of items for row i 227 * the last row. 256 for (int row = 0; row < numRows; row++) { 257 int numItemsOnRow = layout[row]; [all...] |