/packages/apps/Calendar/src/com/android/calendar/ |
DayOfMonthCursor.java | 26 * <li>Keeps track of current cursor position (row, column)</li> 65 public void setSelectedRowColumn(int row, int col) { 66 mRow = row; 76 * depending on whether the selection is in the first or last row. 93 public boolean isSelected(int row, int column) { 94 return (mRow == row) && (mColumn == column);
|
/packages/apps/Gallery2/jni/filters/ |
redEyeMath.c | 77 int row = recW * y; local 82 char b = (mask[row + x] | mask[row + x + 1] | mask[row + x - 1] 83 | mask[row + x - recW] | mask[row + x + recW]); 85 out[row + x] = 1; 87 out[row + x] = mask[row + x]; 95 int row = mw * y local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_rect.c | 133 uint16_t *row = (uint16_t *)dst; local 135 *row++ = uc->us; 141 uint32_t *row = (uint32_t *)dst; local 143 *row++ = uc->ui; 153 ubyte *row = dst; local 155 memcpy(row, uc, blocksize); 156 row += blocksize;
|
/external/opencv3/modules/imgcodecs/src/ |
grfmt_gdal.cpp | 219 const int& row, 228 if( image.depth() == CV_8U ){ image.at<uchar>(row,col) = newValue; } 229 else if( image.depth() == CV_16U ){ image.at<unsigned short>(row,col) = newValue; } 230 else if( image.depth() == CV_16S ){ image.at<short>(row,col) = newValue; } 231 else if( image.depth() == CV_32S ){ image.at<int>(row,col) = newValue; } 232 else if( image.depth() == CV_32F ){ image.at<float>(row,col) = newValue; } 233 else if( image.depth() == CV_64F ){ image.at<double>(row,col) = newValue; } 239 if( image.depth() == CV_8U ){ image.at<Vec3b>(row,col) = Vec3b(newValue,newValue,newValue); } 240 else if( image.depth() == CV_16U ){ image.at<Vec3s>(row,col) = Vec3s(newValue,newValue,newValue); } 241 else if( image.depth() == CV_16S ){ image.at<Vec3s>(row,col) = Vec3s(newValue,newValue,newValue); [all...] |
/external/regex-re2/benchlog/ |
mktable | 128 my %row; 129 $row{"name"} = $1; 130 $row{"iter"} = $2; 131 $row{"ns/op"} = $3; 133 $row{"MB/s"} = $1; 135 $sysdat{$row{"name"}} = \%row;
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
CheckableListAdapter.java | 59 CheckBox row = (CheckBox) convertView; local 60 if (row == null) { 63 row = (CheckBox) inflater.inflate(R.layout.checkable_list_item, parent, false); 66 row.setChecked(item.isChecked); 67 row.setText(item.name); 69 row.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { 76 return row;
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/ |
PaginatedCursor.java | 129 for (int row = index; row < (index + PAGE_SIZE) && row < mRowCount; row++) { 130 if (!mCachedRows[row]) { 134 mByteArrayDataCache[row][mByteArrayCacheIndexMap[col]] = 138 mFloatDataCache[row][mFloatCacheIndexMap[col]] = mCursor.getFloat(col); 141 mIntDataCache[row][mIntCacheIndexMap[col]] = mCursor.getInt(col); 144 mStringDataCache[row][mStringCacheIndexMap[col]] = 149 mCachedRows[row] = true [all...] |
/external/guava/guava/src/com/google/common/collect/ |
SparseImmutableTable.java | 41 for (R row : rowSpace) { 42 rowIndex.put(row, rows.size()); 43 rows.put(row, new LinkedHashMap<C, V>()); 62 throw new IllegalArgumentException("Duplicate value for row=" + rowKey + ", column=" 70 for (Map.Entry<R, Map<C, V>> row : rows.entrySet()) { 71 rowBuilder.put(row.getKey(), ImmutableMap.copyOf(row.getValue())); 99 ImmutableMap<C, V> row = (ImmutableMap<C, V>) rowEntry.getValue(); local 101 Map.Entry<C, V> colEntry = row.entrySet().asList().get(columnIndex); 108 ImmutableMap<C, V> row = (ImmutableMap<C, V>) rowMap.values().asList().get(rowIndex) local [all...] |
/frameworks/base/core/jni/ |
android_database_CursorWindow.cpp | 56 static void throwExceptionWithRowCol(JNIEnv* env, jint row, jint column) { 58 msg.appendFormat("Couldn't read row %d, col %d from CursorWindow. " 60 row, column); 179 jint row, jint column) { 181 LOG_WINDOW("returning column type affinity for %d,%d from %p", row, column, window); 183 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); 187 //throwExceptionWithRowCol(env, row, column); 194 jint row, jint column) { 196 LOG_WINDOW("Getting blob for %d,%d from %p", row, column, window); 198 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column) [all...] |
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
SectionBreakDocumentsAdapterWrapperTest.java | 71 MatrixCursor.RowBuilder row = c.newRow(); local 72 row.add(RootCursorWrapper.COLUMN_AUTHORITY, AUTHORITY); 73 row.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); 74 row.add(Document.COLUMN_SIZE, i); 75 row.add(Document.COLUMN_MIME_TYPE, Document.MIME_TYPE_DIR); 96 MatrixCursor.RowBuilder row = c.newRow(); local 97 row.add(RootCursorWrapper.COLUMN_AUTHORITY, AUTHORITY); 98 row.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); 99 row.add(Document.COLUMN_SIZE, i); 101 row.add(Document.COLUMN_MIME_TYPE, mimeType) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
NotificationViewWrapper.java | 45 public static NotificationViewWrapper wrap(Context ctx, View v, ExpandableNotificationRow row) { 48 return new NotificationBigPictureTemplateViewWrapper(ctx, v, row); 50 return new NotificationBigTextTemplateViewWrapper(ctx, v, row); 52 return new NotificationMediaTemplateViewWrapper(ctx, v, row); 54 return new NotificationMessagingTemplateViewWrapper(ctx, v, row); 56 return new NotificationTemplateViewWrapper(ctx, v, row); 58 return new NotificationHeaderViewWrapper(ctx, v, row); 60 return new NotificationCustomViewWrapper(v, row); 64 protected NotificationViewWrapper(View view, ExpandableNotificationRow row) { 66 mRow = row; [all...] |
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
PlaybackControlGlueTest.java | 120 protected void onRowChanged(PlaybackControlsRow row) { 148 PlaybackControlsRow row = new PlaybackControlsRow(); local 149 glue.setControlsRow(row); 151 row.getPrimaryActionsAdapter(); 193 PlaybackControlsRow row = new PlaybackControlsRow(); local 194 glue.setControlsRow(row); 196 row.getPrimaryActionsAdapter(); 238 PlaybackControlsRow row = new PlaybackControlsRow(); local 239 glue.setControlsRow(row); 241 row.getPrimaryActionsAdapter() 296 PlaybackControlsRow row = new PlaybackControlsRow(); local 354 PlaybackControlsRow row = new PlaybackControlsRow(); local 373 PlaybackControlsRow row = new PlaybackControlsRow(); local 389 PlaybackControlsRow row = new PlaybackControlsRow(); local 406 PlaybackControlsRow row = new PlaybackControlsRow(); local 425 PlaybackControlsRow row = new PlaybackControlsRow(); local 441 PlaybackControlsRow row = new PlaybackControlsRow(); local 458 PlaybackControlsRow row = new PlaybackControlsRow(); local 477 PlaybackControlsRow row = new PlaybackControlsRow(); local 493 PlaybackControlsRow row = new PlaybackControlsRow(); local [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/ |
ContactListItemViewTest.java | 80 final int row = TestDataFactory.CONTACT_LIST_CURSOR_FIRST_LEVEL_CONTACT_INDEX; local 81 cursor.moveToPosition(row); 83 verifyContent(view, (String) cursor.getAt(Contacts.DISPLAY_NAME, row), 84 (String) cursor.getAt(Phone.NUMBER, row), 85 (String) cursor.getAt(Contacts.PHOTO_THUMBNAIL_URI, row), true); 91 final int row = TestDataFactory.CONTACT_LIST_CURSOR_SECOND_LEVEL_CONTACT_INDEX; local 92 cursor.moveToPosition(row); 94 verifyContent(view, (String) cursor.getAt(Contacts.DISPLAY_NAME, row), 95 (String) cursor.getAt(Phone.NUMBER, row), 96 (String) cursor.getAt(Contacts.PHOTO_THUMBNAIL_URI, row), false) [all...] |
/external/opencv3/modules/ts/misc/ |
table_formatter.py | 86 row = self.rows[self.ridx] 93 row.cells[col.index] = cl 114 row = self.rows[r] 115 row.minheight = 1 116 for i in range(len(row.cells)): 117 cell = row.cells[i] 118 if row.cells[i] is None: 130 for j in range(i+1, min(len(row.cells), i + colspan)): 131 row.cells[j] = None 144 elif row.minheight < cell.height [all...] |
/external/deqp/framework/common/ |
tcuMatrixUtil.hpp | 52 for (int row = 0; row < Len; row++) 53 res(row, Len) = translation.m_data[row];
|
/external/eigen/test/eigen2/ |
eigen2_determinant.cpp | 35 m2.row(i).swap(m2.row(j)); 43 m2.row(i) += x*m2.row(j); 46 m2.row(i) *= x;
|
/external/eigen/test/ |
hessenberg.cpp | 25 for(int row = 2; row < size; ++row) { 26 for(int col = 0; col < row-1; ++col) { 27 VERIFY(H(row,col) == (typename MatrixType::Scalar)0);
|
/external/libavc/common/arm/ |
ih264_resi_trans_quant_a9.s | 117 vld1.u8 d30, [r0], r3 @load first 8 pix src row 1 119 vld1.u8 d31, [r1], r4 @load first 8 pix pred row 1 121 vld1.u8 d28, [r0], r3 @load first 8 pix src row 2 123 vld1.u8 d29, [r1], r4 @load first 8 pix pred row 2 125 vld1.u8 d26, [r0], r3 @load first 8 pix src row 3 127 vld1.u8 d27, [r1], r4 @load first 8 pix pred row 3 128 vsubl.u8 q0, d30, d31 @find residue row 1 130 vld1.u8 d24, [r0], r3 @load first 8 pix src row 4 132 vld1.u8 d25, [r1], r4 @load first 8 pix pred row 4 133 vsubl.u8 q1, d28, d29 @find residue row [all...] |
/external/opencv3/3rdparty/libwebp/dec/ |
alpha.c | 77 // and apply filter per image-row. 91 int row, int num_rows) { 95 if (row < 0 || num_rows < 0 || row + num_rows > height) { 99 if (row == 0) { 109 // Return a pointer to the current decoded row. 110 return dec->alpha_plane_ + row * width;
|
/external/opencv3/3rdparty/openexr/Imath/ |
ImathMatrixAlgo.h | 208 const Vec3<T> &row, 350 const Vec2<T> &row, 486 Vec3<T> row[3]; local 488 row[0] = Vec3<T> (mat[0][0], mat[0][1], mat[0][2]); 489 row[1] = Vec3<T> (mat[1][0], mat[1][1], mat[1][2]); 490 row[2] = Vec3<T> (mat[2][0], mat[2][1], mat[2][2]); 495 if (Imath::abs (row[i][j]) > maxVal) 496 maxVal = Imath::abs (row[i][j]); 509 if (! checkForZeroScaleInRow (maxVal, row[i], exc)) 512 row[i] /= maxVal 912 Vec3<T> row[3]; local 1161 Vec2<T> row[2]; local [all...] |
/external/pdfium/xfa/src/fxbarcode/oned/ |
BC_OnedEAN8Reader.cpp | 31 int32_t CBC_OnedEAN8Reader::DecodeMiddle(CBC_CommonBitArray* row,
40 int32_t end = row->GetSize();
45 DecodeDigit(row, &counters, rowOffset,
61 FindGuardPattern(row, rowOffset, TRUE, &result, e);
75 DecodeDigit(row, &counters, rowOffset,
|
/external/pdfium/xfa/src/fxbarcode/pdf417/ |
BC_PDF417DetectionResultColumn.cpp | 86 int32_t row = 0;
local 90 result += (FX_CHAR)row;
91 row++;
94 result += (FX_CHAR)row;
97 row++;
|
/external/skia/src/gpu/effects/ |
GrTextureStripAtlas.h | 47 * @param data Bitmap data to copy into the row 48 * @return The row index we inserted into, or -1 if we failed to find an open row. The caller 49 * is responsible for calling unlockRow() with this row index when it's done with it. 52 void unlockRow(int row); 55 * These functions help turn an integer row index in [0, 1, 2, ... numRows] into a scalar y 66 * Where yOffset, returned by getYOffset(), is the offset to the start of the row within the 68 * one texel row. 70 SkScalar getYOffset(int row) const { return SkIntToScalar(row) / fNumRows; [all...] |
/external/pdfium/core/src/fxge/dib/ |
fx_dib_transform.cpp | 202 for (int row = row_start; row < row_end; row++) { 203 const uint8_t* src_scan = GetScanline(row); 204 int dest_col = (bXFlip ? dest_clip.right - (row - row_start) - 1 : row) - 224 for (int row = row_start; row < row_end; row++) { 225 int dest_col = (bXFlip ? dest_clip.right - (row - row_start) - 1 : row) [all...] |
/external/eigen/Eigen/src/Core/ |
SelfCwiseBinaryOp.h | 65 inline Scalar& coeffRef(Index row, Index col) 68 return m_matrix.const_cast_derived().coeffRef(row, col); 70 inline const Scalar& coeffRef(Index row, Index col) const 72 return m_matrix.coeffRef(row, col); 88 void copyCoeff(Index row, Index col, const DenseBase<OtherDerived>& other) 91 eigen_internal_assert(row >= 0 && row < rows() 93 Scalar& tmp = m_matrix.coeffRef(row,col); 94 tmp = m_functor(tmp, _other.coeff(row,col)); 107 void copyPacket(Index row, Index col, const DenseBase<OtherDerived>& other [all...] |