/external/eigen/Eigen/src/Core/ |
Swap.h | 52 inline Scalar& coeffRef(Index rowId, Index colId) 54 return m_expression.const_cast_derived().coeffRef(rowId, colId); 62 inline Scalar& coeffRef(Index rowId, Index colId) const 64 return m_expression.coeffRef(rowId, colId); 73 void copyCoeff(Index rowId, Index colId, const DenseBase<OtherDerived>& other) 76 eigen_internal_assert(rowId >= 0 && rowId < rows() 78 Scalar tmp = m_expression.coeff(rowId, colId); 79 m_expression.coeffRef(rowId, colId) = _other.coeff(rowId, colId) [all...] |
ArrayWrapper.h | 61 inline CoeffReturnType coeff(Index rowId, Index colId) const 63 return m_expression.coeff(rowId, colId); 66 inline Scalar& coeffRef(Index rowId, Index colId) 68 return m_expression.const_cast_derived().coeffRef(rowId, colId); 71 inline const Scalar& coeffRef(Index rowId, Index colId) const 73 return m_expression.const_cast_derived().coeffRef(rowId, colId); 92 inline const PacketScalar packet(Index rowId, Index colId) const 94 return m_expression.template packet<LoadMode>(rowId, colId); 98 inline void writePacket(Index rowId, Index colId, const PacketScalar& val) 100 m_expression.const_cast_derived().template writePacket<LoadMode>(rowId, colId, val) [all...] |
CwiseUnaryOp.h | 101 EIGEN_STRONG_INLINE const Scalar coeff(Index rowId, Index colId) const 103 return derived().functor()(derived().nestedExpression().coeff(rowId, colId)); 107 EIGEN_STRONG_INLINE PacketScalar packet(Index rowId, Index colId) const 109 return derived().functor().packetOp(derived().nestedExpression().template packet<LoadMode>(rowId, colId));
|
Transpose.h | 121 inline ScalarWithConstIfNotLvalue& coeffRef(Index rowId, Index colId) 124 return derived().nestedExpression().const_cast_derived().coeffRef(colId, rowId); 133 inline const Scalar& coeffRef(Index rowId, Index colId) const 135 return derived().nestedExpression().coeffRef(colId, rowId); 143 inline CoeffReturnType coeff(Index rowId, Index colId) const 145 return derived().nestedExpression().coeff(colId, rowId); 154 inline const PacketScalar packet(Index rowId, Index colId) const 156 return derived().nestedExpression().template packet<LoadMode>(colId, rowId); 160 inline void writePacket(Index rowId, Index colId, const PacketScalar& x) 162 derived().nestedExpression().const_cast_derived().template writePacket<LoadMode>(colId, rowId, x) [all...] |
CwiseBinaryOp.h | 172 EIGEN_STRONG_INLINE const Scalar coeff(Index rowId, Index colId) const 174 return derived().functor()(derived().lhs().coeff(rowId, colId), 175 derived().rhs().coeff(rowId, colId)); 179 EIGEN_STRONG_INLINE PacketScalar packet(Index rowId, Index colId) const 181 return derived().functor().packetOp(derived().lhs().template packet<LoadMode>(rowId, colId), 182 derived().rhs().template packet<LoadMode>(rowId, colId));
|
MapBase.h | 90 inline const Scalar& coeff(Index rowId, Index colId) const 92 return m_data[colId * colStride() + rowId * rowStride()]; 101 inline const Scalar& coeffRef(Index rowId, Index colId) const 103 return this->m_data[colId * colStride() + rowId * rowStride()]; 113 inline PacketScalar packet(Index rowId, Index colId) const 116 (m_data + (colId * colStride() + rowId * rowStride()));
|
Replicate.h | 92 inline Scalar coeff(Index rowId, Index colId) const 96 : RowFactor==1 ? rowId 97 : rowId%m_matrix.rows(); 105 inline PacketScalar packet(Index rowId, Index colId) const 108 : RowFactor==1 ? rowId 109 : rowId%m_matrix.rows();
|
Block.h | 210 inline Scalar& coeffRef(Index rowId, Index colId) 214 .coeffRef(rowId + m_startRow.value(), colId + m_startCol.value()); 217 inline const Scalar& coeffRef(Index rowId, Index colId) const 220 .coeffRef(rowId + m_startRow.value(), colId + m_startCol.value()); 223 EIGEN_STRONG_INLINE const CoeffReturnType coeff(Index rowId, Index colId) const 225 return m_xpr.coeff(rowId + m_startRow.value(), colId + m_startCol.value()); 251 inline PacketScalar packet(Index rowId, Index colId) const 254 (rowId + m_startRow.value(), colId + m_startCol.value()); 258 inline void writePacket(Index rowId, Index colId, const PacketScalar& val) 261 (rowId + m_startRow.value(), colId + m_startCol.value(), val) [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
BaseCursorPagerAdapter.java | 94 final Integer rowId; 96 rowId = mCursor.getString(mRowIDColumn).hashCode(); 98 rowId = null; 104 mObjectRowMap.put(obj, rowId); 118 final Integer rowId = mObjectRowMap.get(object); 119 if (rowId == null || mItemPosition == null) { 123 final int position = mItemPosition.get(rowId, POSITION_NONE); 252 final int rowId = mCursor.getString(mRowIDColumn).hashCode(); 255 itemPosition.append(rowId, position);
|
/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/ |
NotesDbAdapter.java | 113 * successfully created return the new rowId for that note, otherwise return 118 * @return rowId or -1 if failed 129 * Delete the note with the given rowId 131 * @param rowId id of note to delete 134 public boolean deleteNote(long rowId) { 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; 151 * Return a Cursor positioned at the note that matches the given rowId 153 * @param rowId id of note to retrieve 157 public Cursor fetchNote(long rowId) throws SQLException { 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null [all...] |
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/ |
NotesDbAdapter.java | 113 * successfully created return the new rowId for that note, otherwise return 118 * @return rowId or -1 if failed 129 * Delete the note with the given rowId 131 * @param rowId id of note to delete 134 public boolean deleteNote(long rowId) { 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; 151 * Return a Cursor positioned at the note that matches the given rowId 153 * @param rowId id of note to retrieve 157 public Cursor fetchNote(long rowId) throws SQLException { 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null [all...] |
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/ |
NotesDbAdapter.java | 113 * successfully created return the new rowId for that note, otherwise return 118 * @return rowId or -1 if failed 129 * Delete the note with the given rowId 131 * @param rowId id of note to delete 134 public boolean deleteNote(long rowId) { 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; 151 * Return a Cursor positioned at the note that matches the given rowId 153 * @param rowId id of note to retrieve 157 public Cursor fetchNote(long rowId) throws SQLException { 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null [all...] |
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
NotesDbAdapter.java | 113 * successfully created return the new rowId for that note, otherwise return 118 * @return rowId or -1 if failed 129 * Delete the note with the given rowId 131 * @param rowId id of note to delete 134 public boolean deleteNote(long rowId) { 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; 151 * Return a Cursor positioned at the note that matches the given rowId 153 * @param rowId id of note to retrieve 157 public Cursor fetchNote(long rowId) throws SQLException { 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null [all...] |
Notepadv2.java | 138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID); 139 if (rowId != null) { 142 mDbHelper.updateNote(rowId, editTitle, editBody);
|
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
NotesDbAdapter.java | 113 * successfully created return the new rowId for that note, otherwise return 118 * @return rowId or -1 if failed 129 * Delete the note with the given rowId 131 * @param rowId id of note to delete 134 public boolean deleteNote(long rowId) { 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; 151 * Return a Cursor positioned at the note that matches the given rowId 153 * @param rowId id of note to retrieve 157 public Cursor fetchNote(long rowId) throws SQLException { 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null [all...] |
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/ |
NotesDbAdapter.java | 113 * successfully created return the new rowId for that note, otherwise return 118 * @return rowId or -1 if failed 129 * Delete the note with the given rowId 131 * @param rowId id of note to delete 134 public boolean deleteNote(long rowId) { 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; 151 * Return a Cursor positioned at the note that matches the given rowId 153 * @param rowId id of note to retrieve 157 public Cursor fetchNote(long rowId) throws SQLException { 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DbModifierWithNotification.java | 100 long rowId = mDb.insert(table, nullColumnHack, values); 101 if (rowId > 0 && packagesModified.size() != 0) { 102 notifyVoicemailChangeOnInsert(ContentUris.withAppendedId(mBaseUri, rowId), 105 if (rowId > 0 && mIsCallsTable) { 108 return rowId; 114 long rowId = mInsertHelper.insert(values); 115 if (rowId > 0 && packagesModified.size() != 0) { 117 ContentUris.withAppendedId(mBaseUri, rowId), packagesModified); 119 if (rowId > 0 && mIsCallsTable) { 122 return rowId; [all...] |
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
TrackerProvider.java | 101 long rowId = db.insert(TABLE_NAME, null, values); 102 if (rowId > 0) { 103 Uri addedUri = ContentUris.withAppendedId(CONTENT_URI, rowId);
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
DictionaryProvider.java | 139 String rowId = uri.getLastPathSegment(); 144 return mDictionary.getWord(rowId, columns); 155 String rowId = uri.getLastPathSegment(); 163 return mDictionary.getWord(rowId, columns);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
LocalProvider.java | 132 long rowId = 0; 138 rowId = Long.parseLong(segment); 139 count = db.update("data", values, "_id=" + rowId, null); 147 if (false) Log.d(TAG, "*** notifyChange() rowId: " + rowId);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastContentProvider.java | 198 long rowId = db.insert(CellBroadcastDatabaseHelper.TABLE_NAME, null, cv); 199 if (rowId == -1) { 212 * @param rowId the row ID of the broadcast to delete 215 boolean deleteBroadcast(long rowId) { 220 new String[]{Long.toString(rowId)}); 224 Log.e(TAG, "failed to delete broadcast at row " + rowId);
|
CellBroadcastListActivity.java | 236 * @param rowId the row ID of the broadcast to delete, or -1 to delete all broadcasts 238 public void confirmDeleteThread(long rowId) { 239 DeleteThreadListener listener = new DeleteThreadListener(rowId); 240 confirmDeleteThreadDialog(listener, (rowId == -1), getActivity()); 266 public DeleteThreadListener(long rowId) { 267 mRowId = rowId;
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
ClockDatabaseHelper.java | 205 long rowId = -1; 223 rowId = db.insert(ALARMS_TABLE_NAME, ClockContract.AlarmsColumns.RINGTONE, values); 228 if (rowId < 0) { 231 LogUtils.v("Added alarm rowId = " + rowId); 233 return rowId;
|
ClockProvider.java | 166 long rowId; 170 rowId = mOpenHelper.fixAlarmInsert(initialValues); 173 rowId = db.insert(ClockDatabaseHelper.INSTANCES_TABLE_NAME, null, initialValues); 176 rowId = db.insert(ClockDatabaseHelper.CITIES_TABLE_NAME, null, initialValues); 182 Uri uriResult = ContentUris.withAppendedId(ClockContract.AlarmsColumns.CONTENT_URI, rowId);
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssContentProvider.java | 184 long rowId = -1; 185 rowId = mDb.insert(DATABASE_TABLE_NAME, "rawcontent", initialValues); 186 Uri newUri = CONTENT_URI.addId(rowId);
|