Searched refs:col (Results 1 - 25 of 37) sorted by last modified time

12

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSuggestionsAdapter.java652 int col = cursor.getColumnIndex(columnName);
653 return getStringOrNull(cursor, col);
656 private static String getStringOrNull(Cursor cursor, int col) { argument
657 if (col == INVALID_INDEX) {
661 return cursor.getString(col);
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java704 private static void setCellGroup(LayoutParams lp, int row, int rowSpan, int col, int colSpan) { argument
706 lp.setColumnSpecSpan(new Interval(col, col + colSpan));
749 // Find suitable row/col values when at least one is undefined.
1281 // its just to stop default (row/col > 0) constraints obliterating valid entries
1378 // Add ordering constraints to prevent row/col sizes from going negative
1380 // Add a constraint for every row/col
1700 // values are positive. One value is therefore zero - though if the row/col
/frameworks/rs/driver/runtime/
H A Drs_matrix.c173 rsMatrixSet(rs_matrix4x4 *m, uint32_t col, uint32_t row, float v) { argument
174 m->m[col * 4 + row] = v;
178 rsMatrixGet(const rs_matrix4x4 *m, uint32_t col, uint32_t row) { argument
179 return m->m[col * 4 + row];
183 rsMatrixSet(rs_matrix3x3 *m, uint32_t col, uint32_t row, float v) { argument
184 m->m[col * 3 + row] = v;
188 rsMatrixGet(const rs_matrix3x3 *m, uint32_t col, uint32_t row) { argument
189 return m->m[col * 3 + row];
193 rsMatrixSet(rs_matrix2x2 *m, uint32_t col, uint32_t row, float v) { argument
194 m->m[col *
198 rsMatrixGet(const rs_matrix2x2 *m, uint32_t col, uint32_t row) argument
[all...]
/frameworks/rs/
H A DrsMatrix2x2.h28 inline float get(uint32_t col, uint32_t row) const { argument
29 return m[col*2 + row];
32 inline void set(uint32_t col, uint32_t row, float v) { argument
33 m[col*2 + row] = v;
H A DrsMatrix3x3.h28 inline float get(uint32_t col, uint32_t row) const { argument
29 return m[col*3 + row];
32 inline void set(uint32_t col, uint32_t row, float v) { argument
33 m[col*3 + row] = v;
H A DrsMatrix4x4.h28 float get(uint32_t col, uint32_t row) const { argument
29 return m[col*4 + row];
32 void set(uint32_t col, uint32_t row, float v) { argument
33 m[col*4 + row] = v;
H A DrsRuntime.h170 void rsrMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v);
171 float rsrMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col);
172 void rsrMatrixSet(rs_matrix3x3 *m, uint32_t row, uint32_t col, float v);
173 float rsrMatrixGet(const rs_matrix3x3 *m, uint32_t row, uint32_t col);
174 void rsrMatrixSet(rs_matrix2x2 *m, uint32_t row, uint32_t col, float v);
175 float rsrMatrixGet(const rs_matrix2x2 *m, uint32_t row, uint32_t col);
/frameworks/rs/scriptc/
H A Drs_matrix.rsh57 * @param col The zero-based column of the element to be set.
67 rsMatrixSet(rs_matrix4x4 *m, uint32_t col, uint32_t row, float v);
72 rsMatrixSet(rs_matrix3x3 *m, uint32_t col, uint32_t row, float v);
77 rsMatrixSet(rs_matrix2x2 *m, uint32_t col, uint32_t row, float v);
83 * @param col The zero-based column of the element to be extracted.
92 rsMatrixGet(const rs_matrix4x4 *m, uint32_t col, uint32_t row);
97 rsMatrixGet(const rs_matrix3x3 *m, uint32_t col, uint32_t row);
102 rsMatrixGet(const rs_matrix2x2 *m, uint32_t col, uint32_t row);
/frameworks/support/v4/java/android/support/v4/content/
H A DFileProvider.java421 for (String col : projection) {
422 if (OpenableColumns.DISPLAY_NAME.equals(col)) {
425 } else if (OpenableColumns.SIZE.equals(col)) {
/frameworks/native/opengl/tests/angeles/
H A Ddemo.c669 #define M(row,col) m[col*4+row]
/frameworks/native/opengl/tests/hwc/
H A DhwcStress.cpp591 for (unsigned int col = 0; col < cols; col++) {
595 frames[row][col] = new GraphicBuffer(w, h, format, texUsage);
596 if ((rv = frames[row][col]->initCheck()) != NO_ERROR) {
603 hwcTestFillColor(frames[row][col].get(), color, alpha);
606 frames[row][col].get(), frames[row][col]->handle,
/frameworks/compile/mclinker/lib/LD/
H A DStaticResolver.cpp63 unsigned int col = getOrdinate(pOld); local
71 action = link_action[row][col];
200 col = getOrdinate(*old);
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java150 public final int getMarginAbove(int col) { argument
154 return mMargins[col * 2];
157 public final int getMarginBelow(int col) { argument
161 return mMargins[col * 2 + 1];
164 public final void setMarginAbove(int col, int margin) { argument
169 mMargins[col * 2] = margin;
172 public final void setMarginBelow(int col, int margin) { argument
177 mMargins[col * 2 + 1] = margin;
520 for (int col = lp.column; col < colEn
[all...]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DCSVFormatter.java30 for (String col : TrackerEntry.ATTRIBUTES) {
32 if (!TrackerEntry.ENTRY_TYPE.equals(col) &&
33 !TrackerEntry.ID_COL.equals(col)) {
34 csvBuilder.append(col);
/frameworks/base/tools/aapt/
H A DImages.cpp905 uint32_t colors[256], col; local
959 col = (uint32_t) ((rr << 24) | (gg << 16) | (bb << 8) | aa);
962 if (colors[idx] == col) {
977 colors[num_colors++] = col;
1036 col = colors[idx];
1037 rgbPalette[idx].red = (png_byte) ((col >> 24) & 0xff);
1038 rgbPalette[idx].green = (png_byte) ((col >> 16) & 0xff);
1039 rgbPalette[idx].blue = (png_byte) ((col >> 8) & 0xff);
1040 alphaPalette[idx] = (png_byte) (col & 0xff);
/frameworks/base/tools/preload/
H A Dsorttable.js81 if (!headrow[i].className.match(/\bsorttable_nosort\b/)) { // skip this col
145 col = this.sorttable_columnindex;
148 row_array[row_array.length] = [sorttable.getInnerText(rows[j].cells[col]), rows[j]];
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DAppearAnimationUtils.java106 for (int col = 0; col < columns.length; col++) {
107 long delay = columns[col];
109 if (properties.maxDelayRowIndex == row && properties.maxDelayColIndex == col) {
112 creator.createAnimation(objects[row][col], delay, mDuration,
145 for (int col = 0; col < columns.length; col++) {
146 long delay = calculateDelay(row, col);
158 calculateDelay(int row, int col) argument
[all...]
H A DDisappearAnimationUtils.java42 protected long calculateDelay(int row, int col) { argument
43 return (long) ((row * 60 + col * (Math.pow(row, 0.4) + 0.4) * 10) * mDelayScale);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintOptionsLayout.java71 for (int col = 0; col < mColumnCount; col++) {
72 final int childIndex = row * mColumnCount + col;
136 for (int col = 0; col < mColumnCount; col++) {
137 final int childIndex = row * mColumnCount + col;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSPanel.java421 record.col = c;
462 int left = record.col * cw + (record.col + 1) * extra;
546 int col; field in class:QSPanel.TileRecord
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java3259 void set(int row, int col, Object... values) { argument
3260 if (col + values.length > mCols) {
3262 " columns. can't set " + values.length + " at column " + col);
3271 System.arraycopy(values, 0, mTable.get(row), col, values.length);
3277 for (int col = 0; col < mCols; ++col) {
3280 final int length = row[col].toString().length();
3286 formats[col] = String.format("%%-%ds", maxLength);
/frameworks/base/media/java/android/media/
H A DClosedCaptionRenderer.java448 PAC(int row, int col, int style, int color) { argument
451 mCol = col;
622 // if cursor was at col 32, move cursor
623 // back to col 31 and erase both col 31&32
649 // default to col 1, in case PAC is not sent
688 private void moveCursorTo(int row, int col) { argument
690 mCol = clamp(col, 1, MAX_COLS);
697 private void moveCursorByCol(int col) { argument
698 mCol = clamp(mCol + col,
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java73 ArrayList<Integer> col = Lists.newArrayList();
74 list.add(col);
78 col.add(r);
80 col.add(i);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DColorSpaceTransform.java279 for (int col = 0; col < COLUMNS; col++, i += RATIONAL_SIZE) {
285 if (col < COLUMNS - 1) {
/frameworks/base/core/java/android/util/
H A DDayOfMonthCursor.java63 public void setSelectedRowColumn(int row, int col) { argument
65 mColumn = col;

Completed in 890 milliseconds

12