Home
last modified time | relevance | path

Searched refs:col (Results 1 – 25 of 31) sorted by relevance

12

/foundation/ace/ace_engine/frameworks/base/geometry/
Dmatrix4.h62 void SetEntry(int32_t row, int32_t col, double value);
76 inline double Get(int32_t row, int32_t col) const in Get() argument
79 ACE_DCHECK((unsigned)col < DIMENSION); in Get()
80 return matrix4x4_[col][row]; in Get()
82 inline void Set(int32_t row, int32_t col, double value) in Set() argument
85 ACE_DCHECK((unsigned)col < DIMENSION); in Set()
86 matrix4x4_[col][row] = value; in Set()
101 double operator()(int32_t row, int32_t col) const;
124 bool SetEntry(int32_t row, int32_t col, double value);
150 inline double operator()(int32_t row, int32_t col) const in operator()
[all …]
Dmatrix3.h35 void SetEntry(int32_t row, int32_t col, double value);
63 inline double operator()(int32_t row, int32_t col) const in operator()
65 return matrix3X3_[row][col]; in operator()
103 bool SetEntry(int32_t row, int32_t col, double value);
129 inline double operator()(int32_t row, int32_t col) const in operator()
131 return Matrix3n_[row][col]; in operator()
170 bool SetEntry(int32_t row, int32_t col, double value);
193 inline double operator()(int32_t row, int32_t col) const in operator()
195 return Matrixn3_[row][col]; in operator()
Dmatrix3.cpp21 void Matrix3::SetEntry(int32_t row, int32_t col, double value) in SetEntry() argument
23 if ((row < 0 || row >= DIMENSION) || (col < 0 || col >= DIMENSION)) { in SetEntry()
26 matrix3X3_[row][col] = value; in SetEntry()
130 bool Matrix3N::SetEntry(int32_t row, int32_t col, double value) in SetEntry() argument
132 if (row >= DIMENSION || col >= columns_) { in SetEntry()
135 Matrix3n_[row][col] = value; in SetEntry()
206 bool MatrixN3::SetEntry(int32_t row, int32_t col, double value) in SetEntry() argument
208 if (row >= rows_ || col >= DIMENSION) { in SetEntry()
211 Matrixn3_[row][col] = value; in SetEntry()
Dmatrix4.cpp156 void Matrix4::SetEntry(int32_t row, int32_t col, double value) in SetEntry() argument
158 if ((row < 0 || row >= DIMENSION) || (col < 0 || col >= DIMENSION)) { in SetEntry()
161 matrix4x4_[row][col] = value; in SetEntry()
321 int32_t col = index % DIMENSION; in operator []() local
322 return matrix4x4_[row][col]; in operator []()
325 double Matrix4::operator()(int32_t row, int32_t col) const in operator ()()
328 return matrix4x4_[row][col]; in operator ()()
417 bool Matrix4N::SetEntry(int32_t row, int32_t col, double value) in SetEntry() argument
419 if (row >= DIMENSION || col >= columns_) { in SetEntry()
422 matrix4n_[row][col] = value; in SetEntry()
[all …]
/foundation/ace/ace_engine_lite/frameworks/examples/calculator/src/main/js/default/pages/index/
Dindex.css88 .calc-btn-col-1 {
91 .calc-btn-col-2 {
94 .calc-btn-col-3 {
97 .calc-btn-col-4 {
100 .calc-btn-col-5 {
106 .calc-btn-col-span-2 {
121 .calc-icon-col-1 {
124 .calc-icon-col-2 {
/foundation/graphic/utils/frameworks/
Dgraphic_math.cpp126 for (int16_t col = 0; col < ORDER_MATRIX_4; col++) { in IsIdentity() local
127 … bool flag = (row == col) ? FloatEqual(matrix[row][col], 1) : FloatEqual(matrix[row][col], 0); in IsIdentity()
/foundation/graphic/utils/interfaces/kits/gfx_utils/
Dgraphic_math.h423 T* operator[](uint8_t col)
425 return &data_[col * 3]; // 3: size of point
698 T* operator[](uint8_t col)
700 return &data_[col * 4]; // 4: size of point
715 Matrix3<T> ConomialMatrix(int16_t row, int16_t col) const;
723 for (int16_t col = 0; col < ORDER_MATRIX_4; col++) { in Matrix4() local
724 data_[row * ORDER_MATRIX_4 + col] = (row == col) ? 1 : 0; in Matrix4()
761 for (int16_t col = 0; col < ORDER_MATRIX_4; col++) { variable
763 … rData[row * 4 + col] = oData[row * 4] * data_[col] + oData[row * 4 + 1] * data_[4 + col] +
764 … oData[row * 4 + 2] * data_[8 + col] + oData[row * 4 + 3] * data_[12 + col];
[all …]
/foundation/ace/ace_engine/frameworks/bridge/common/utils/
Dsource_map.cpp34 MappingInfo RevSourceMap::Find(int32_t row, int32_t col) in Find() argument
36 if (row < 1 || col < 1) { in Find()
41 col--; in Find()
47 return MappingInfo { row + 1, col + 1, files_[0] }; in Find()
51 …if ((afterPos_[mid].afterRow == row && afterPos_[mid].afterColumn > col) || afterPos_[mid].afterRo… in Find()
66 .col = afterPos_[res].beforeColumn + 1, in Find()
Dsource_map.h39 int32_t col = 0; member
45 MappingInfo Find(int32_t row, int32_t col);
/foundation/ace/ace_engine/frameworks/core/components/grid_layout/
Drender_grid_layout.cpp216 LayoutParam RenderGridLayout::MakeInnerLayoutParam(int32_t row, int32_t col, int32_t rowSpan, int32… in MakeInnerLayoutParam() argument
218 LOGD("%{public}d %{public}d %{public}d %{public}d", row, col, rowSpan, colSpan); in MakeInnerLayoutParam()
223 rowLen += gridCells_.at(row + i).at(col).Height(); in MakeInnerLayoutParam()
227 colLen += gridCells_.at(row).at(col + i).Width(); in MakeInnerLayoutParam()
240 const RefPtr<RenderNode>& child, int32_t row, int32_t col, int32_t rowSpan, int32_t colSpan) in SetChildPosition() argument
243 __PRETTY_FUNCTION__, row, col, rowSpan, colSpan); in SetChildPosition()
247 focusCol_ = col; in SetChildPosition()
257 for (int32_t i = 0; i < col; ++i) { in SetChildPosition()
260 positionX += col * colGap_; in SetChildPosition()
266 rowLen += gridCells_.at(row + i).at(col).Height(); in SetChildPosition()
[all …]
Drender_grid_layout.h229 …virtual LayoutParam MakeInnerLayoutParam(int32_t row, int32_t col, int32_t rowSpan, int32_t colSpa…
243 …virtual bool CheckGridPlaced(int32_t index, int32_t row, int32_t col, int32_t& rowSpan, int32_t& c…
249 … const RefPtr<RenderNode>& child, int32_t row, int32_t col, int32_t rowSpan, int32_t colSpan);
258 Size GetTargetLayoutSize(int32_t row, int32_t col);
403 …bool AddNodeAnimationToController(int32_t itemIndex, int32_t row, int32_t col, int32_t rowSpan, in…
410 … const RefPtr<RenderNode>& child, int32_t row, int32_t col, int32_t rowSpan, int32_t colSpan);
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/test/unittest/common/syncer/
Ddistributeddb_relational_ver_p2p_sync_test.cpp165 void BindValue(const DataValue &item, sqlite3_stmt *stmt, int col) in BindValue() argument
171 EXPECT_EQ(sqlite3_bind_int64(stmt, col, intData), SQLITE_OK); in BindValue()
178 EXPECT_EQ(sqlite3_bind_double(stmt, col, doubleData), SQLITE_OK); in BindValue()
185 EXPECT_EQ(SQLiteUtils::BindTextToStatement(stmt, col, strData), E_OK); in BindValue()
193 EXPECT_EQ(SQLiteUtils::BindBlobToStatement(stmt, col, blobData, true), E_OK); in BindValue()
198 EXPECT_EQ(SQLiteUtils::MapSQLiteErrno(sqlite3_bind_null(stmt, col)), E_OK); in BindValue()
329 void GetDataValue(sqlite3_stmt *statement, int col, DataValue &dataValue) in GetDataValue() argument
331 int type = sqlite3_column_type(statement, col); in GetDataValue()
334 dataValue = static_cast<int64_t>(sqlite3_column_int64(statement, col)); in GetDataValue()
338 dataValue = sqlite3_column_double(statement, col); in GetDataValue()
[all …]
/foundation/ace/ace_engine/frameworks/core/components_v2/grid/
Drender_grid_scroll.h152 …LayoutParam MakeInnerLayoutParam(int32_t row, int32_t col, int32_t rowSpan, int32_t colSpan) const…
153 …bool CheckGridPlaced(int32_t index, int32_t row, int32_t col, int32_t& rowSpan, int32_t& colSpan) …
157 …const RefPtr<RenderNode>& child, int32_t row, int32_t col, int32_t rowSpan, int32_t colSpan) overr…
160 …void LayoutChild(const RefPtr<RenderNode>& child, int32_t row, int32_t col, int32_t rowSpan, int32…
/foundation/graphic/ui/frameworks/components/
Dui_qrcode.cpp184 for (int16_t col = 1; col < imageInfo_.header.width; ++col) { in FillQrCodeBackgroundColor() local
/foundation/ace/ace_engine/frameworks/core/components/test/unittest/grid_layout/
Dgrid_layout_test_utils.cpp46 RefPtr<RenderNode> GridLayoutTestUtils::CreateRenderItem(int32_t row, int32_t col, int32_t rowSpan,… in CreateRenderItem() argument
56 item->SetColumnIndex(col); in CreateRenderItem()
Dgrid_layout_test_utils.h129 …static RefPtr<RenderNode> CreateRenderItem(int32_t row, int32_t col, int32_t rowSpan, int32_t colS…
/foundation/multimedia/image_standard/plugins/common/libs/image/libjpegplugin/src/
Djpeg_encoder.cpp270 uint32_t col = width >> SHIFT_MASK; in Deinterweave() local
271 for (uint32_t i = 0; i < col; i++) { in Deinterweave()
272 uint32_t index = row * col + i; in Deinterweave()
/foundation/graphic/standard/rosen/modules/render_service_base/include/common/
Drs_matrix3.h43 static int Index(int row, int col);
56 T* operator[](int col);
130 int Matrix3<T>::Index(int row, int col) in Index() argument
132 return (col * 3) + row; in Index()
284 T* Matrix3<T>::operator[](int col)
286 return &data_[col * 3];
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/engine/v8/
Dv8_utils.cpp214 if (mapInfo.row == 0 || mapInfo.col == 0) { in GetSourceInfo()
217 …(" + mapInfo.sources + ":" + std::to_string(mapInfo.row) + ":" + std::to_string(mapInfo.col) + ")"; in GetSourceInfo()
/foundation/graphic/ui/frameworks/draw/
Ddraw_utils.cpp379 int16_t col = colStart; in DrawLetter() local
382 while (col < colEnd) { in DrawLetter()
383 while ((tempOffset < FONT_WEIGHT_8) && (col < colEnd)) { in DrawLetter()
396 col++; in DrawLetter()
472 for (int16_t col = 0; col < width; ++col) { in FillAreaWithSoftWare() local
473 dstTmp = dest + (col * destByteSize); in FillAreaWithSoftWare()
524 for (int16_t col = 0; col < width; col++) { in FillAreaWithSoftWare()
525 dstTmp = dest + (col * destByteSize); in FillAreaWithSoftWare()
593 for (uint32_t col = 0; col < width; ++col) { in BlendWithSoftWare() local
1976 for (int16_t col = left; col <= right; col++) { local
[all …]
/foundation/ace/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
Djsi_base_utils.cpp192 if (mapInfo.row == 0 || mapInfo.col == 0) { in GetSourceInfo()
197 …Info = "(" + sources + ":" + std::to_string(mapInfo.row) + ":" + std::to_string(mapInfo.col) + ")"; in GetSourceInfo()
/foundation/multimedia/medialibrary_standard/frameworks/innerkitsimpl/media_scanner/src/
Dmedia_scanner_db.cpp463 for (const auto &col : columnNames) { in FillMetadata() local
465 resultSet->GetColumnIndex(col, columnIndex); in FillMetadata()
469 auto itr = metadata->memberFuncMap_.find(col); in FillMetadata()
/foundation/ace/ace_engine/frameworks/bridge/js_frontend/engine/v8/
Dv8_utils.cpp322 if (mapInfo.row == 0 || mapInfo.col == 0) { in GetSourceInfo()
325 …(" + mapInfo.sources + ":" + std::to_string(mapInfo.row) + ":" + std::to_string(mapInfo.col) + ")"; in GetSourceInfo()
/foundation/ace/ace_engine/
DREADME_zh.md87 …9"><a name="p17377185222019"></a><a name="p17377185222019"></a>grid-container、grid-row、grid-col</p>
/foundation/ace/ace_engine/frameworks/core/components/calendar/
Dcalendar_component.cpp371 void CalendarComponent::BuildCardCalendarTitle(RefPtr<ColumnComponent>& col) in BuildCardCalendarTitle() argument
417col = AceType::MakeRefPtr<ColumnComponent>(FlexAlign::FLEX_START, FlexAlign::CENTER, colChildren); in BuildCardCalendarTitle()

12