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

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
H A DDisappearAnimationUtils.java47 protected long calculateDelay(int row, int col) { argument
48 return (long) ((row * 60 + col * (Math.pow(row, 0.4) + 0.4) * 10) * mDelayScale);
H A DAppearAnimationUtils.java119 for (int col = 0; col < columns.length; col++) {
120 long delay = columns[col];
122 if (properties.maxDelayRowIndex == row && properties.maxDelayColIndex == col) {
125 creator.createAnimation(objects[row][col], delay, mDuration,
158 for (int col = 0; col < columns.length; col++) {
159 long delay = calculateDelay(row, col);
171 calculateDelay(int row, int col) argument
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DStaticResolver.cpp61 unsigned int col = getOrdinate(pOld); local
69 action = link_action[row][col];
198 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/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/av/services/audiopolicy/common/managerdefinitions/src/
H A DSerializer.cpp56 const _xmlNode *col = root; local
57 while (col != NULL) {
58 if (!xmlStrcmp(col->name, (const xmlChar *)Trait::collectionTag)) {
59 const xmlNode *cur = col->children;
71 col = col->next;
/frameworks/base/core/java/android/widget/
H A DSuggestionsAdapter.java718 int col = cursor.getColumnIndex(columnName);
719 return getStringOrNull(cursor, col);
722 private static String getStringOrNull(Cursor cursor, int col) { argument
723 if (col == INVALID_INDEX) {
727 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.
1386 // its just to stop default (row/col > 0) constraints obliterating valid entries
1483 // Add ordering constraints to prevent row/col sizes from going negative
1485 // Add a constraint for every row/col
1803 // values are positive. One value is therefore zero - though if the row/col
/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/core/java/com/android/internal/widget/
H A DLockPatternView.java206 int col; field in class:LockPatternView.CellState
326 mCellStates[i][j].col = j;
485 cellState.hwCenterX = CanvasProperty.createFloat(getCenterXForColumn(cellState.col));
1389 int col = (virtualViewId - VIRTUAL_BASE_VIEW_ID) % 3;
1390 return !mPatternDrawLookup[row][col];
1435 final int col = ordinal % 3;
1436 final CellState cell = mCellStates[row][col];
1437 float centerX = getCenterXForColumn(col);
/frameworks/base/media/java/android/media/
H A DClosedCaptionRenderer.java602 PAC(int row, int col, int style, int color) { argument
605 mCol = col;
803 // if cursor was at col 32, move cursor
804 // back to col 31 and erase both col 31&32
830 // default to col 1, in case PAC is not sent
868 private void moveCursorTo(int row, int col) { argument
870 mCol = clamp(col, 1, MAX_COLS);
877 private void moveCursorByCol(int col) { argument
878 mCol = clamp(mCol + col,
[all...]
/frameworks/base/tools/aapt/
H A DImages.cpp883 uint32_t col; local
973 col = (uint32_t) ((rr << 24) | (gg << 16) | (bb << 8) | aa);
978 if (opaqueColors[idx] == col) {
986 opaqueColors[numOpaqueColors] = col;
998 if (alphaColors[idx] == col) {
1006 alphaColors[numAlphaColors] = col;
1105 col = colors[idx];
1106 rgbPalette[idx].red = (png_byte) ((col >> 24) & 0xff);
1107 rgbPalette[idx].green = (png_byte) ((col >> 16) & 0xff);
1108 rgbPalette[idx].blue = (png_byte) ((col >>
[all...]
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp237 uint32_t colors[256], col; local
299 col = (uint32_t) ((rr << 24) | (gg << 16) | (bb << 8) | aa);
302 if (colors[idx] == col) {
319 colors[num_colors++] = col;
382 col = colors[idx];
383 rgbPalette[idx].red = (png_byte) ((col >> 24) & 0xff);
384 rgbPalette[idx].green = (png_byte) ((col >> 16) & 0xff);
385 rgbPalette[idx].blue = (png_byte) ((col >> 8) & 0xff);
386 alphaPalette[idx] = (png_byte) (col & 0xff);

Completed in 420 milliseconds

12