Searched refs:row (Results 26 - 50 of 102) sorted by relevance

12345

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintOptionsLayout.java67 for (int row = 0; row < rowCount; row++) {
72 final int childIndex = row * mColumnCount + col;
133 for (int row = 0; row < rowCount; row++) {
137 final int childIndex = row * mColumnCount + col;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStaggeredGridDefault.java19 * This implementation tries to fill items in consecutive row order. The next
20 * item is always in same row or in the next row.
31 rowIndex = (mLocations.getLast().row + 1) % mNumRows;
39 // find endmost row edge (.high is biggest, or .low is smallest in reversed flow)
46 // fill from current row till last row so that each row will grow longer than
47 // the previous highest row.
49 // fill one item to a row
[all...]
H A DPlaybackControlsRowPresenter.java31 * series of playback control buttons. Typically this row will be the first row in a fragment
282 * Shows or hides space at the bottom of the playback controls row.
283 * This allows the row to hug the bottom of the display when no
344 PlaybackControlsRow row = (PlaybackControlsRow) vh.getRow();
348 if (row.getItem() == null) {
360 mDescriptionPresenter.onBindViewHolder(vh.mDescriptionViewHolder, row.getItem());
366 if (row.getImageDrawable() == null || row.getItem() == null) {
373 vh.mImageView.setImageDrawable(row
[all...]
/frameworks/av/cmds/stagefright/
H A Djpeg.cpp73 for (int row = 0; row < height; row++) {
74 uint16_t *src = (uint16_t *)(frame + row * width * 2);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DBlackLevelPattern.java39 * given in row-column scan order.</p>
61 * @param row the row index in 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>
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DColumnAdapter.java97 final LinearLayout row = (LinearLayout) convertView;
103 if (i < row.getChildCount()) {
104 convertItem = row.getChildAt(i);
109 final View item = mWrapped.getView(validPos, convertItem, row);
121 row.addView(item, params);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCallbackProcessor.cpp468 for (size_t row = 0; row < src.height; row++) {
490 for (size_t row = 0; row < chromaHeight; row++) {
498 for (size_t row = 0; row < chromaHeight; row++) {
517 // Source has planar chroma layout, can copy by row
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPseudoGridView.java79 for (int row = 0; row < rows; row++) {
80 int startOfRow = row * mNumColumns;
96 if (row > 0) {
110 for (int row = 0; row < rows; row++) {
113 int startOfRow = row * mNumColumns;
131 if (row >
[all...]
H A DQSPanel.java412 // also don't allow dual + single tiles on the same row
420 record.row = r;
430 final int cw = record.row == 0 ? mLargeCellWidth : mCellWidth;
431 final int ch = record.row == 0 ? mLargeCellHeight : mCellHeight;
459 final int cols = getColumnCount(record.row);
460 final int cw = record.row == 0 ? mLargeCellWidth : mCellWidth;
463 final int top = getRowTop(record.row);
483 private int getRowTop(int row) { argument
484 if (row <= 0) return mBrightnessView.getMeasuredHeight() + mBrightnessPaddingTop;
486 + mLargeCellHeight - mDualTileUnderlap + (row
489 getColumnCount(int row) argument
545 int row; field in class:QSPanel.TileRecord
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_neighbour.c133 u32 i, row, col; local
142 row = col = 0;
152 if (row)
157 if (row && (col < picWidth - 1))
162 if (row && col)
171 row++;
H A Dh264bsd_conceal.c55 static u32 ConcealMb(mbStorage_t *pMb, image_t *currImage, u32 row, u32 col,
89 decoded macroblock and concealing the row containing the macroblock
90 in question. After that all macroblocks above the row in question
129 u32 row, col; local
158 i = row = col = 0;
166 row++;
189 /* start from the row containing the first correct macroblock, conceal the
190 * row in question, all rows above that row and then continue downwards */
191 mb = pStorage->mb + row * widt
253 ConcealMb(mbStorage_t *pMb, image_t *currImage, u32 row, u32 col, u32 sliceType, u8 *refData) argument
[all...]
H A Dh264bsd_util.c268 u32 row, col; local
273 row = mbNum / width;
276 tmp = row * width;
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DTestDocumentsProvider.java133 final RowBuilder row = result.newRow();
134 row.add(Root.COLUMN_ROOT_ID, MY_ROOT_ID);
135 row.add(Root.COLUMN_FLAGS, Root.FLAG_SUPPORTS_RECENTS | Root.FLAG_SUPPORTS_CREATE);
136 row.add(Root.COLUMN_TITLE, "_Test title which is really long");
137 row.add(Root.COLUMN_SUMMARY,
139 row.add(Root.COLUMN_DOCUMENT_ID, MY_DOC_ID);
140 row.add(Root.COLUMN_AVAILABLE_BYTES, 1024);
394 final RowBuilder row = result.newRow();
395 row.add(Document.COLUMN_DOCUMENT_ID, docId);
396 row
[all...]
H A DExternalStorageProvider.java270 final RowBuilder row = result.newRow();
271 row.add(Document.COLUMN_DOCUMENT_ID, docId);
272 row.add(Document.COLUMN_DISPLAY_NAME, displayName);
273 row.add(Document.COLUMN_SIZE, file.length());
274 row.add(Document.COLUMN_MIME_TYPE, mimeType);
275 row.add(Document.COLUMN_FLAGS, flags);
280 row.add(Document.COLUMN_LAST_MODIFIED, lastModified);
292 final RowBuilder row = result.newRow();
293 row.add(Root.COLUMN_ROOT_ID, root.rootId);
294 row
[all...]
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp97 // y row
100 // construct u row and v row
119 for (int row = 0; row < numRows; ++row) {
120 int offset = ((rowIndex >> 1) + row) * fStrides[1];
123 int index = row * (width >> 1) + i;
172 // y row
175 // construct u row an
[all...]
/frameworks/base/core/java/android/database/
H A DMatrixCursor.java62 * Gets value at the given column for the current row.
70 throw new CursorIndexOutOfBoundsException("Before first row.");
73 throw new CursorIndexOutOfBoundsException("After last row.");
79 * Adds a new row to the end and returns a builder for that row. Not safe
83 * row
86 final int row = rowCount++;
89 return new RowBuilder(row);
93 * Adds a new row to the end with the given column values. Not safe
114 * Adds a new row t
196 private final int row; field in class:MatrixCursor.RowBuilder
201 RowBuilder(int row) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DScrollingThroughListOfFocusablesTest.java83 // move to next row
146 assertTrue("bottom of last row of last item should be at " +
165 // (make sure we are at last row of second item)
179 // move up to next row
186 // now we are at top row, should have caused scrolling, and fading edge...
194 assertEquals("top of selected row should be just below top vertical fading edge",
211 * @param row
215 int row) {
216 assertEquals("expecting selected row",
217 row, internalFocuse
213 assertInternallySelectedRowOnScreen( InternalSelectionView internalFocused, int row) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java132 int row; field in class:LockPatternView.Cell
146 * @param row The row of the cell.
149 private Cell(int row, int column) { argument
150 checkRange(row, column);
151 this.row = row;
156 return row;
164 * @param row The row o
167 of(int row, int column) argument
172 checkRange(int row, int column) argument
880 getCenterYForRow(int row) argument
[all...]
/frameworks/base/core/java/android/view/animation/
H A DGridLayoutAnimationController.java149 * @param rowDelay the delay by which each row animation must be offset
188 * row to the other. The delay is expressed as a fraction of the
203 * children's animations are offset from one row to the other.
306 final int row = getTransformedRowIndex(params);
324 viewDelay = (long) (row * rowDelay + column * rowsCount * rowDelay);
328 viewDelay = (long) (column * columnDelay + row * columnsCount * columnDelay);
333 viewDelay = (long) (column * columnDelay + row * rowDelay);
374 index = params.rowsCount - 1 - params.row;
384 index = params.row;
410 * The view group's row t
412 public int row; field in class:GridLayoutAnimationController.AnimationParameters
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DHeadsUpNotificationView.java122 mHeadsUp.row.setSystemExpanded(true);
123 mHeadsUp.row.setSensitive(false);
124 mHeadsUp.row.setHeadsUp(true);
125 mHeadsUp.row.setHideSensitive(
134 mContentHolder.addView(mHeadsUp.row);
344 return mHeadsUp == null ? null : mHeadsUp.row;
349 return mHeadsUp != null && mHeadsUp.row == v && mHeadsUp.row.isExpandable();
354 if (mHeadsUp != null && mHeadsUp.row == v) {
355 mHeadsUp.row
[all...]
/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 * 2 + row]
198 rsMatrixGet(const rs_matrix2x2 *m, uint32_t col, uint32_t row) argument
[all...]
/frameworks/rs/scriptc/
H A Drs_matrix.rsh58 * @param row The zero-based row of the element to be set.
61 * \warning The order of the column and row parameters may be
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);
84 * @param row The zero-based row of the element to extracted.
86 * \warning The order of the column and row parameters may be
92 rsMatrixGet(const rs_matrix4x4 *m, uint32_t col, uint32_t row);
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java56 /** Height of each row */
62 /** Maximum number of items per row */
112 * The layout to use for menu items. Each index is the row number (0 is the
113 * top-most). Each value contains the number of items in that row.
218 * @return int[] Where the value of index i contains the number of items for row i
227 * the last row.
256 for (int row = 0; row < numRows; row++) {
257 int numItemsOnRow = layout[row];
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcStress.cpp40 * of vectors. The array is accessed in row major order, so each
41 * row is a vector of smart pointers. All the pointers of a single
42 * row point to graphic buffers which use the same pixel format and
47 * graphic buffer within the same row. Since the graphic buffers
48 * in a particular row have the same pixel format and dimension,
224 * such that there is a unique row to be used for each
228 * selected from any of the columns of the selected row.
545 * vectors. All the graphic buffers in a particular row are of the same
548 * in the same row, will be filled with a unique color.
564 for (unsigned int row
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DBaseStatusBar.java728 protected View updateNotificationVetoButton(View row, StatusBarNotification n) { argument
729 View vetoButton = row.findViewById(R.id.veto);
731 && mHeadsUpNotificationView.getEntry().row == row)) {
765 entry.row.setShowingLegacyBackground(true);
772 entry.row.setTintColor(color == Notification.COLOR_DEFAULT
837 private void inflateGuts(ExpandableNotificationRow row) { argument
838 ViewStub stub = (ViewStub) row.findViewById(R.id.notification_guts_stub);
842 final StatusBarNotification sbn = row.getStatusBarNotification();
845 row
[all...]

Completed in 735 milliseconds

12345