Searched defs:col (Results 1 - 25 of 33) 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/support/design/tests/src/android/support/design/widget/
H A DCoordinatorLayoutSortTest.java72 final CoordinatorLayout col = mActivityTestRule.getActivity().mCoordinatorLayout;
80 final View view = new View(col.getContext()) {
93 CoordinatorLayout.LayoutParams lp = col.generateDefaultLayoutParams();
107 addViewsAndAssertOrdering(col, views, testOrder);
110 private void addViewsAndAssertOrdering(final CoordinatorLayout col, argument
119 col.addView(addOrder.get(i));
126 assertEquals(expectedOrder, col.getDependencySortedChildren());
132 col.removeAllViews();
H A DCoordinatorLayoutTest.java87 final CoordinatorLayout col = mActivityTestRule.getActivity().mCoordinatorLayout;
88 final View view = new View(col.getContext());
94 .onApplyWindowInsets(same(col), same(view), any(WindowInsetsCompat.class));
97 assertFalse(col.getFitsSystemWindows());
104 final CoordinatorLayout.LayoutParams lp = col.generateDefaultLayoutParams();
106 col.addView(view, lp);
115 col.requestApplyInsets();
122 .onApplyWindowInsets(same(col), same(view), any(WindowInsetsCompat.class));
128 col.setFitsSystemWindows(true);
135 .onApplyWindowInsets(same(col), sam
236 dependsOn(CoordinatorLayout.LayoutParams lpChild, CoordinatorLayout.LayoutParams lpDependency, CoordinatorLayout col, View child, View dependency) argument
[all...]
/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/jni/android/graphics/
H A DGIFMovie.cpp125 const GifColorType& col = cmap->Colors[*src]; local
126 *dst = SkPackARGB32(0xFF, col.Red, col.Green, col.Blue);
205 uint32_t col)
221 sk_memset32(dst, col, copyWidth);
395 const GifColorType& col = gif->SColorMap->Colors[fGIF->SBackGroundColor]; local
396 bgColor = SkColorSetARGB(0xFF, col.Red, col.Green, col
204 fillRect(SkBitmap* bm, GifWord left, GifWord top, GifWord width, GifWord height, uint32_t col) 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);
/frameworks/native/libs/math/include/math/
H A DTMatHelpers.h218 for (size_t col = 0; col < 3; ++col) {
220 inverted[col][row] /= det;
256 for (size_t col = 0; col < MATRIX_R::NUM_COLS; ++col) {
257 res[col] = lhs * rhs[col];
268 for (size_t col
459 operator ()(size_t row, size_t col) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSuggestionsAdapter.java675 int col = cursor.getColumnIndex(columnName);
676 return getStringOrNull(cursor, col);
679 private static String getStringOrNull(Cursor cursor, int col) { argument
680 if (col == INVALID_INDEX) {
684 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/cmds/bootanimation/
H A DBootAnimation.cpp595 const int col = charPos % FONT_NUM_COLS; local
596 cropRect[0] = col * font.char_width; // Left of column

Completed in 4096 milliseconds

12