Searched defs:col (Results 1 - 25 of 25) sorted by relevance

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
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);
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...]
/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/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;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_neighbour.c133 u32 i, row, col; local
142 row = col = 0;
147 if (col)
157 if (row && (col < picWidth - 1))
162 if (row && col)
167 col++;
168 if (col == picWidth)
170 col = 0;
H A Dh264bsd_transform.c101 u32 row,col; local
170 for (col = 4; col--; data++)
258 u32 row,col; local
306 for (col = 4; col--; data++)
322 for (col = 4; col--; data++)
H A Dh264bsd_util.c268 u32 row, col; local
274 col = mbNum % width;
279 image->luma = (u8*)(image->data + col * 16 + tmp * 256);
280 image->cb = (u8*)(image->data + picSize * 256 + tmp * 64 + col * 8);
H A Dh264bsd_conceal.c55 static u32 ConcealMb(mbStorage_t *pMb, image_t *currImage, u32 row, u32 col,
129 u32 row, col; local
158 i = row = col = 0;
163 col++;
164 if (col == width)
167 col = 0;
192 for (j = col; j--;)
198 for (j = col + 1; j < width; j++)
249 macroblock in the picture indicated by row and col
253 u32 ConcealMb(mbStorage_t *pMb, image_t *currImage, u32 row, u32 col, argument
590 u32 col; local
[all...]
H A Dh264bsd_image.c182 u32 row, col; local
200 col = mbNum % picWidth;
203 lum = (image->data + row * picWidth * 256 + col * 16);
204 cb = (image->data + picSize * 256 + row * picWidth * 64 + col * 8);
H A Dh264bsd_inter_prediction.c222 /*set col to bits 31:16 */
368 u32 row, col; local
379 col = mbNum - row * currImage->width;
381 col *= 16;
393 h264bsdPredictSamples(data, pMb->mv, &refImage, col, row, 0, 0,
401 h264bsdPredictSamples(data, pMb->mv, &refImage, col, row, 0, 0,
404 h264bsdPredictSamples(data, pMb->mv+8, &refImage, col, row, 0, 8,
412 h264bsdPredictSamples(data, pMb->mv, &refImage, col, row, 0, 0,
415 h264bsdPredictSamples(data, pMb->mv+4, &refImage, col, row, 8, 0,
433 col, ro
[all...]
H A Dh264bsd_intra_prediction.c548 u32 row, col; local
563 col = mbNum - row * width;
566 ptr = image->data + row * 16 * width + col * 16;
570 * sample above-left if col is zero. However, usage of pels in prediction
580 if (col)
588 ptr = image->data + picSize * 256 + row * 8 * width + col * 8;
600 if (col)
/frameworks/base/core/java/android/util/
H A DDayOfMonthCursor.java63 public void setSelectedRowColumn(int row, int col) { argument
65 mColumn = 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/base/core/java/android/widget/
H A DSuggestionsAdapter.java693 int col = cursor.getColumnIndex(columnName);
694 return getStringOrNull(cursor, col);
697 private static String getStringOrNull(Cursor cursor, int col) { argument
698 if (col == INVALID_INDEX) {
702 return cursor.getString(col);
H A DGridLayout.java716 private static void setCellGroup(LayoutParams lp, int row, int rowSpan, int col, int colSpan) { argument
718 lp.setColumnSpecSpan(new Interval(col, col + colSpan));
761 // Find suitable row/col values when at least one is undefined.
1404 // its just to stop default (row/col > 0) constraints obliterating valid entries
1501 // Add ordering constraints to prevent row/col sizes from going negative
1503 // Add a constraint for every row/col
1823 // values are positive. One value is therefore zero - though if the row/col
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmotion_comp.cpp1719 Int row, col, i; local
1732 col = B_SIZE;
1733 while (col)
1741 col -= 4;
1743 col = B_SIZE;
1744 while (col)
1752 col -= 4;
1767 Int row, col; local
1774 col = B_SIZE;
1775 while (col)
1797 Int row, col, i; local
1865 Int row, col; local
[all...]
/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/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/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/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/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/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/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

Completed in 526 milliseconds