/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | TestDocumentsProvider.java | 133 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...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | YuvToJpegEncoder.cpp | 99 // y row 102 // construct u row and v row 121 for (int row = 0; row < numRows; ++row) { 122 int offset = ((rowIndex >> 1) + row) * fStrides[1]; 125 int index = row * (width >> 1) + i; 174 // y row 177 // construct u row an [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | BaseStatusBar.java | 447 ExpandableNotificationRow row = null; 450 row = (ExpandableNotificationRow) p; 456 if (riv == null || row == null) { 460 row.setUserExpanded(true); 464 onLockedRemoteInput(row, view); 470 onLockedWorkRemoteInput(userId, row, view); 951 boolean exposedGuts = entry.row.getGuts() == mNotificationGutsExposed; 952 entry.row.reInflateViews(); 954 mNotificationGutsExposed = entry.row.getGuts(); 955 bindGuts(entry.row); 962 bindVetoButtonClickListener(View row, final StatusBarNotification n) argument 1061 bindGuts(final ExpandableNotificationRow row) argument 1130 saveImportanceCloseControls(StatusBarNotification sbn, ExpandableNotificationRow row, NotificationGuts guts, View done) argument 1533 onLockedRemoteInput(ExpandableNotificationRow row, View clickedView) argument 1535 onLockedWorkRemoteInput(int userId, ExpandableNotificationRow row, View clicked) argument 2017 register(ExpandableNotificationRow row, StatusBarNotification sbn) argument [all...] |
H A D | NotificationData.java | 54 public ExpandableNotificationRow row; // the outer expanded view field in class:NotificationData.Entry 89 if (row != null) { 90 row.reset(); 95 return row.getPrivateLayout().getContractedChild(); 99 return row.getPrivateLayout().getExpandedChild(); 103 return row.getPrivateLayout().getHeadsUpChild(); 107 return row.getPublicLayout().getContractedChild(); 218 boolean isHeadsUp = a.row.isHeadsUp(); 219 if (isHeadsUp != b.row.isHeadsUp()) {
|
/frameworks/base/core/java/android/database/ |
H A D | MatrixCursor.java | 62 * 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/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationMessagingTemplateViewWrapper.java | 35 ExpandableNotificationRow row) { 36 super(ctx, view, row); 34 NotificationMessagingTemplateViewWrapper(Context ctx, View view, ExpandableNotificationRow row) argument
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | ScrollingThroughListOfFocusablesTest.java | 83 // 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/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | TileLayout.java | 114 int row = 0; 118 row++; 123 final int top = getRowTop(row); 135 private int getRowTop(int row) { argument 136 return row * (mCellHeight + mCellMargin) + mCellMarginTop;
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
H A D | TestUtils.java | 76 for (int row = firstRow; row <= lastRow; row++) { 77 bitmap.getPixels(rowPixels, 0, drawableWidth, 0, row, drawableWidth, 1); 100 + "] but at position (" + row + "," + column + ") found ["
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | Grid.java | 23 * Grid is the base class for single row, non-staggered grid and staggered grid. 30 * uses size of visible item returned from Provider.createItem() to decide which row 66 * add item to given row and given edge. The call is always after createItem(). 100 * The index of the row for this Location. 102 public int row; field in class:Grid.Location 104 public Location(int row) { argument 105 this.row = row; 137 * Sets the margin between items in a row 248 * Gets the row inde [all...] |
H A D | DetailsOverviewRowPresenter.java | 40 * Typically this row will be the first row in a fragment 61 * the detailed description, the application should create a new row presenter class. 147 public void onImageDrawableChanged(DetailsOverviewRow row) { 153 public void onItemChanged(DetailsOverviewRow row) { 157 mDetailsPresenter.onBindViewHolder(mDetailsDescriptionViewHolder, row.getItem()); 161 public void onActionsAdapterChanged(DetailsOverviewRow row) { 162 bindActions(row.getActionsAdapter()); 305 * description of the row. 361 * transiting into overview row create [all...] |
H A D | FullWidthDetailsOverviewRowPresenter.java | 42 * Renders a {@link DetailsOverviewRow} to display an overview of an item. Typically this row will 43 * be the first row in a fragment such as the 69 * selected row position. 180 public void onImageDrawableChanged(DetailsOverviewRow row) { argument 186 public void onItemChanged(DetailsOverviewRow row) { argument 190 mDetailsPresenter.onBindViewHolder(mDetailsDescriptionViewHolder, row.getItem()); 194 public void onActionsAdapterChanged(DetailsOverviewRow row) { argument 195 bindActions(row.getActionsAdapter()); 212 Row row = getRow(); 213 if (row [all...] |
H A D | PlaybackControlsRowPresenter.java | 35 * series of playback control buttons. Typically this row will be the first row in a fragment 284 * Shows or hides space at the bottom of the playback controls row. 285 * This allows the row to hug the bottom of the display when no 364 PlaybackControlsRow row = (PlaybackControlsRow) vh.getRow(); 368 if (row.getItem() == null) { 374 mDescriptionPresenter.onBindViewHolder(vh.mDescriptionViewHolder, row.getItem()); 379 if (row.getImageDrawable() == null || row.getItem() == null) { 383 vh.mImageView.setImageDrawable(row [all...] |
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
H A D | TestUtils.java | 148 for (int row = 0; row < bitmapHeight; row++) { 149 bitmap.getPixels(rowPixels, 0, bitmapWidth, 0, row, bitmapWidth, 1); 176 + "] but at position (" + row + "," + column + ") out of ("
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 150 final int row; field in class:LockPatternView.Cell 167 * @param row The row of the cell. 170 private Cell(int row, int column) { argument 171 checkRange(row, column); 172 this.row = row; 177 return row; 184 public static Cell of(int row, int column) { argument 185 checkRange(row, colum 189 checkRange(int row, int column) argument 205 int row; field in class:LockPatternView.CellState 1036 getCenterYForRow(int row) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_conceal.c | 55 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 D | h264bsd_util.c | 268 u32 row, col; local 273 row = mbNum / width; 276 tmp = row * width;
|
/frameworks/base/core/java/android/view/animation/ |
H A D | GridLayoutAnimationController.java | 149 * @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/core/java/com/android/internal/view/menu/ |
H A D | IconMenuView.java | 56 /** 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 D | hwcStress.cpp | 40 * 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, 225 * such that there is a unique row to be used for each 229 * selected from any of the columns of the selected row. 546 * vectors. All the graphic buffers in a particular row are of the same 549 * in the same row, will be filled with a unique color. 565 for (unsigned int row [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | StackScrollState.java | 63 ExpandableNotificationRow row = (ExpandableNotificationRow) child; 65 row.getNotificationChildren(); 66 if (row.isSummaryWithChildren() && children != null) { 174 ExpandableNotificationRow row = (ExpandableNotificationRow) view; 176 row.setClipToActualHeight(true); 178 row.applyChildrenState(this);
|
H A D | NotificationStackScrollLayout.java | 396 public void onGearTouched(ExpandableNotificationRow row, int x, int y) { argument 399 row.getStatusBarNotification().getPackageName()); 400 mLongPressListener.onLongPress(row, x, y); 405 public void onSettingsIconRowReset(ExpandableNotificationRow row) { argument 406 if (mTranslatingParentView != null && row == mTranslatingParentView) { 526 private void requestAnimationOnViewResize(ExpandableNotificationRow row) { argument 527 if (mAnimationsEnabled && (mIsExpanded || row != null && row.isPinned())) { 743 ExpandableNotificationRow row = (ExpandableNotificationRow) v; 744 if (!row 2476 notifyGroupChildRemoved(View row, ViewGroup childrenContainer) argument 2480 notifyGroupChildAdded(View row) argument 3688 generateHeadsUpAnimation(ExpandableNotificationRow row, boolean isHeadsUp) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 238 png_bytep row, int width, bool transparent, bool required, 248 if (TICK_TYPE_TICK == tick_type(row+i*4, transparent, outError)) { 336 png_bytep row, int width, bool transparent, bool /* required */, 343 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(row + 4, transparent, outError)) { 349 int tick = tick_type(row + i * 4, transparent, outError); 357 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(row + (width - 2) * 4, transparent, outError)) { 363 int tick = tick_type(row+i*4, transparent, outError); 429 static uint8_t max_alpha_over_row(png_byte* row, int startX, int endX) argument 433 uint8_t alpha = (row + x * 4)[3]; 456 // find left and right extent of nine patch content on center row 237 get_horizontal_ticks( png_bytep row, int width, bool transparent, bool required, int32_t* outLeft, int32_t* outRight, const char** outError, uint8_t* outDivs, bool multipleAllowed) argument 335 get_horizontal_layout_bounds_ticks( png_bytep row, int width, bool transparent, bool , int32_t* outLeft, int32_t* outRight, const char** outError) argument 839 png_bytep row = rows[j]; local 906 png_bytep row = imageInfo.rows[j]; local 1088 png_bytep row = imageInfo.rows[j]; local 1116 png_bytep row = imageInfo.rows[j]; local [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | InternalSelectionView.java | 35 * row is selected. The rows take up the 40 * the last row's height is inflated with the remainder. For example, if the 41 * view height is 22 and there are two rows, the height of the first row is 48 * selected row 185 private int getRowHeight(int row) { argument 188 if (row < mNumRows - 1) { 196 public void getRectForRow(Rect rect, int row) { argument 197 final int rowHeight = getRowHeight(row); 198 final int top = mPaddingTop + row * rowHeight; 255 // set the row tha [all...] |
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 298 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX local 301 memset(&cacheBuffer[row], 0, glyph.fWidth + 2 * TEXTURE_BORDER_SIZE); 305 row = cacheY * cacheWidth; 306 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0; 309 cacheBuffer[row + cacheX] = mGammaTable[tempCol]; 311 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0; 315 row = cacheY * cacheWidth; 316 memcpy(&cacheBuffer[row + startX], &bitmapBuffer[bY], glyph.fWidth); 317 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0; 318 cacheBuffer[row 354 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX local [all...] |