/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | LinearLayoutGrid.java | 39 public Button getButtonAt(int column, int row) { argument 43 if (column < 0 || column > 2) { 44 throw new IllegalArgumentException("column out of range"); 46 return (Button) getColumn(column).getChildAt(row); 51 private LinearLayout getColumn(int column) { argument 52 switch (column) { 60 throw new IllegalArgumentException("column out of range");
|
/frameworks/base/tools/preload2/src/com/android/preload/ |
H A D | DumpTableModel.java | 60 public String getColumnName(int column) { argument 61 switch (column) { 72 throw new IndexOutOfBoundsException(String.valueOf(column));
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | BlackLevelPattern.java | 39 * given in row-column scan order.</p> 60 * @param column the column index in the 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 D | ColorSpaceTransform.java | 103 * column {@code j}.</p> 126 * Get an element of this matrix by its row and column. 129 * and the column must be within the range [0, 3).</p> 133 * @throws IllegalArgumentException if column or row was out of range 135 public Rational getElement(int column, int row) { argument 136 if (column < 0 || column >= COLUMNS) { 137 throw new IllegalArgumentException("column out of range"); 142 int numerator = mElements[(row * COLUMNS + column) * RATIONAL_SIZE + OFFSET_NUMERATOR]; 143 int denominator = mElements[(row * COLUMNS + column) * RATIONAL_SIZ [all...] |
H A D | LensShadingMap.java | 101 * Get a single color channel gain factor from this lens shading map by its row and column. 104 * the column must be within the range [0, {@link #getColumnCount}), 113 * @param column within the range [0, {@link #getColumnCount}) 127 public float getGainFactor(final int colorChannel, final int column, final int row) { argument 130 } else if (column < 0 || column >= mColumns) { 131 throw new IllegalArgumentException("column 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. 143 * the column mus 155 getGainFactorVector(final int column, final int row) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | PackedObjectVector.java | 46 getValue(int row, int column) argument 51 Object value = mValues[row * mColumns + column]; 57 setValue(int row, int column, E value) argument 62 mValues[row * mColumns + column] = value;
|
H A D | PackedIntVector.java | 26 * offsetting the values in segments of a given column. 56 * Returns the value at the specified row and column. 59 * @param column the index of the column to return. 64 * (row < 0 || row >= size()) or the column is out of range 65 * (column < 0 || column >= width()). 67 public int getValue(int row, int column) { argument 70 if (((row | column) < 0) || (row >= size()) || (column > 98 setValue(int row, int column, int value) argument 123 setValueInternal(int row, int column, int value) argument 149 adjustValuesBelow(int startRow, int column, int delta) argument 291 moveValueGapTo(int column, int where) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | DayOfMonthCursor.java | 24 * <li>Keeps track of current cursor position (row, column)</li> 91 public boolean isSelected(int row, int column) { argument 92 return (mRow == row) && (mColumn == column); 106 // flip back to previous month, same column, first position within month 126 // flip to next month, same column, first position within month
|
H A D | MonthDisplayHelper.java | 122 for (int column = 0; column < 7; column++) { 123 result[column] = getDayAt(row, column); 131 * @param column The column, 0-6, starting from the left. 132 * @return The day at a particular row, column 134 public int getDayAt(int row, int column) { argument 136 if (row == 0 && column < mOffse 179 isWithinCurrentMonth(int row, int column) argument [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | FilteringCursorWrapper.java | 101 public double getDouble(int column) { argument 102 return mCursor.getDouble(column); 106 public float getFloat(int column) { argument 107 return mCursor.getFloat(column); 111 public int getInt(int column) { argument 112 return mCursor.getInt(column); 116 public long getLong(int column) { argument 117 return mCursor.getLong(column); 121 public short getShort(int column) { argument 122 return mCursor.getShort(column); 126 getString(int column) argument 131 getType(int column) argument 136 isNull(int column) argument [all...] |
H A D | RootCursorWrapper.java | 93 public double getDouble(int column) { argument 94 return mCursor.getDouble(column); 98 public float getFloat(int column) { argument 99 return mCursor.getFloat(column); 103 public int getInt(int column) { argument 104 return mCursor.getInt(column); 108 public long getLong(int column) { argument 109 return mCursor.getLong(column); 113 public short getShort(int column) { argument 114 return mCursor.getShort(column); 118 getString(int column) argument 129 getType(int column) argument 134 isNull(int column) argument [all...] |
/frameworks/ex/common/java/com/android/common/content/ |
H A D | ProjectionMap.java | 32 public Builder add(String column) { argument 33 mMap.putColumn(column, column); 43 for (String column : columns) { 44 add(column); 73 * Returns a sorted array of all column names in the projection map. 79 private void putColumn(String alias, String column) { argument 80 super.put(alias, column);
|
/frameworks/support/core-utils/kitkat/android/support/v4/provider/ |
H A D | DocumentsContractApi19.java | 142 private static String queryForString(Context context, Uri self, String column, argument 148 c = resolver.query(self, new String[] { column }, null, null, null); 162 private static int queryForInt(Context context, Uri self, String column, argument 164 return (int) queryForLong(context, self, column, defaultValue); 167 private static long queryForLong(Context context, Uri self, String column, argument 173 c = resolver.query(self, new String[] { column }, null, null, null);
|
/frameworks/base/core/java/android/database/ |
H A D | MatrixCursor.java | 37 * determines column ordering elsewhere in this cursor 55 * determines column ordering elsewhere in this cursor 62 * Gets value at the given column for the current row. 64 private Object get(int column) { argument 65 if (column < 0 || column >= columnCount) { 66 throw new CursorIndexOutOfBoundsException("Requested column: " 67 + column + ", # of columns: " + columnCount); 75 return data[mPos * columnCount + column]; 82 * @return builder which can be used to set the column value 253 getString(int column) argument 260 getShort(int column) argument 268 getInt(int column) argument 276 getLong(int column) argument 284 getFloat(int column) argument 292 getDouble(int column) argument 300 getBlob(int column) argument 306 getType(int column) argument 311 isNull(int column) argument [all...] |
H A D | MergeCursor.java | 96 public String getString(int column) argument 98 return mCursor.getString(column); 102 public short getShort(int column) argument 104 return mCursor.getShort(column); 108 public int getInt(int column) argument 110 return mCursor.getInt(column); 114 public long getLong(int column) argument 116 return mCursor.getLong(column); 120 public float getFloat(int column) argument 122 return mCursor.getFloat(column); 126 getDouble(int column) argument 132 getType(int column) argument 137 isNull(int column) argument 143 getBlob(int column) argument [all...] |
/frameworks/base/core/java/com/android/internal/database/ |
H A D | SortCursor.java | 185 public String getString(int column) argument 187 return mCursor.getString(column); 191 public short getShort(int column) argument 193 return mCursor.getShort(column); 197 public int getInt(int column) argument 199 return mCursor.getInt(column); 203 public long getLong(int column) argument 205 return mCursor.getLong(column); 209 public float getFloat(int column) argument 211 return mCursor.getFloat(column); 215 getDouble(int column) argument 221 getType(int column) argument 226 isNull(int column) argument 232 getBlob(int column) argument [all...] |
/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyGroup.java | 40 // column index for our query 41 int column; field in class:MtpPropertyGroup.Property 43 Property(int code, int type, int column) { argument 46 this.column = column; 90 String column = null; 95 column = Files.FileColumns.STORAGE_ID; 99 column = Files.FileColumns.FORMAT; 107 column = Files.FileColumns.SIZE; 111 column 198 queryString(int id, String column) argument 219 queryAudio(int id, String column) argument 261 queryLong(int id, String column) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | TileLayout.java | 115 int column = 0; 116 for (int i = 0; i < mRecords.size(); i++, column++) { 117 if (column == mColumns) { 119 column -= mColumns; 122 int left = getColumnStart(column); 139 private int getColumnStart(int column) { argument 140 return column * (mCellWidth + mCellMargin) + mCellMargin;
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | PhotoPagerAdapter.java | 87 for(String column : PhotoQuery.PROJECTION) { 88 mColumnIndices.put(column, newCursor.getColumnIndexOrThrow(column)); 91 for(String column : PhotoQuery.OPTIONAL_COLUMNS) { 92 int index = newCursor.getColumnIndex(column); 94 mColumnIndices.put(column, index); 127 private String getString(Cursor cursor, String column) { argument 128 if (mColumnIndices.containsKey(column)) { 129 return cursor.getString(mColumnIndices.get(column));
|
/frameworks/base/core/java/android/view/animation/ |
H A D | GridLayoutAnimationController.java | 148 * @param columnDelay the delay by which each column animation must be offset 159 * column to the other. The delay is expressed as a fraction of the 174 * children's animations are offset from one column to the other. 272 * will first play on the column, then on the rows.Z 305 final int column = getTransformedColumnIndex(params); 324 viewDelay = (long) (row * rowDelay + column * rowsCount * rowDelay); 328 viewDelay = (long) (column * columnDelay + row * columnsCount * columnDelay); 333 viewDelay = (long) (column * columnDelay + row * rowDelay); 348 index = params.columnsCount - 1 - params.column; 358 index = params.column; 407 public int column; field in class:GridLayoutAnimationController.AnimationParameters [all...] |
/frameworks/base/libs/androidfw/ |
H A D | CursorWindow.cpp | 262 CursorWindow::FieldSlot* CursorWindow::getFieldSlot(uint32_t row, uint32_t column) { argument 263 if (row >= mHeader->numRows || column >= mHeader->numColumns) { 264 ALOGE("Failed to read row %d, column %d from a CursorWindow which " 266 row, column, mHeader->numRows, mHeader->numColumns); 275 return &fieldDir[column]; 278 status_t CursorWindow::putBlob(uint32_t row, uint32_t column, const void* value, size_t size) { argument 279 return putBlobOrString(row, column, value, size, FIELD_TYPE_BLOB); 282 status_t CursorWindow::putString(uint32_t row, uint32_t column, const char* value, argument 284 return putBlobOrString(row, column, value, sizeIncludingNull, FIELD_TYPE_STRING); 287 status_t CursorWindow::putBlobOrString(uint32_t row, uint32_t column, argument 311 putLong(uint32_t row, uint32_t column, int64_t value) argument 326 putDouble(uint32_t row, uint32_t column, double value) argument 341 putNull(uint32_t row, uint32_t column) argument [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicColorMatrix.cpp | 129 void (*column[4])(void); member in struct:android::renderscript::__anon1648
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/ |
H A D | DatePicker.java | 207 public final void onColumnValueChanged(int column, int newVal) { argument 210 int oldVal = getColumnAt(column).getCurrentValue(); 211 if (column == mColDayIndex) { 213 } else if (column == mColMonthIndex) { 215 } else if (column == mColYearIndex) { 320 * @param animation True to run animation to scroll the column. 336 private static boolean updateMin(PickerColumn column, int value) { argument 337 if (value != column.getMinValue()) { 338 column.setMinValue(value); 344 private static boolean updateMax(PickerColumn column, in argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | TableRow.java | 94 * <p>Collapses or restores a given column.</p> 96 * @param columnIndex the index of the column 97 * @param collapsed true if the column must be collapsed, false otherwise 165 if (layoutParams.column >= virtualCount) { 166 virtualCount = layoutParams.column; 245 // fail silently when column widths are not available 284 * column, in this row 332 * on each child (or cell, or column.)</p> 334 * @param columnWidths the fixed width of each column that this row must 398 * <p>The column inde 401 public int column; field in class:TableRow.LayoutParams 478 LayoutParams(int column) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_database_CursorWindow.cpp | 56 static void throwExceptionWithRowCol(JNIEnv* env, jint row, jint column) { argument 60 row, column); 179 jint row, jint column) { 181 LOG_WINDOW("returning column type affinity for %d,%d from %p", row, column, window); 183 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); 187 //throwExceptionWithRowCol(env, row, column); 194 jint row, jint column) { 196 LOG_WINDOW("Getting blob for %d,%d from %p", row, column, window); 198 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); 178 nativeGetType(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument 193 nativeGetBlob(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument 232 nativeGetString(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument 328 nativeCopyStringToBuffer(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column, jobject bufferObj) argument 367 nativeGetLong(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument 398 nativeGetDouble(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument 429 nativePutBlob(JNIEnv* env, jclass clazz, jlong windowPtr, jbyteArray valueObj, jint row, jint column) argument 447 nativePutString(JNIEnv* env, jclass clazz, jlong windowPtr, jstring valueObj, jint row, jint column) argument 469 nativePutLong(JNIEnv* env, jclass clazz, jlong windowPtr, jlong value, jint row, jint column) argument 483 nativePutDouble(JNIEnv* env, jclass clazz, jlong windowPtr, jdouble value, jint row, jint column) argument 497 nativePutNull(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument [all...] |