/packages/apps/Browser/src/com/android/browser/view/ |
SnapshotGridView.java | 45 int numCols = widthSize / mColWidth; 47 Math.min(numCols, MAX_COLUMNS) * mColWidth,
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
GroupMemberTileAdapter.java | 35 public GroupMemberTileAdapter(Context context, ContactTileView.Listener listener, int numCols) { 36 super(context, listener, numCols, DisplayType.GROUP_MEMBERS);
|
/external/deqp/modules/gles3/functional/ |
es3fShaderIndexingTests.cpp | 808 int numCols = getDataTypeMatrixNumColumns(varType); 810 const char* matSizeName = getIntUniformName(numCols); 834 if (numCols >= 2) op << ", ui_one"; 835 if (numCols >= 3) op << ", ui_two"; 836 if (numCols >= 4) op << ", ui_three"; 862 if (numCols >= 2) op << " tmp[1] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; 863 if (numCols >= 3) op << " tmp[2] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n"; 864 if (numCols >= 4) op << " tmp[3] = ${VEC_TYPE}(coords.wxyz) * 0.125;\n"; 869 if (numCols >= 2) op << " tmp[ui_one] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; 870 if (numCols >= 3) op << " tmp[ui_two] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n" [all...] |
es3fPrimitiveRestartTests.cpp | 296 // Generate a numRows x numCols arrangement of line polygons of different vertex counts. 300 const int numCols = 4; 306 for (int col = 0; col < numCols; col++) 308 float centerX = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numCols; 309 int numVertices = row*numCols + col + 1; 313 float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numVertices) / (float)numCols; 322 if (col < numCols - 1 || row < numRows - 1) // Add a restart after all but last polygon. 363 // Generate a numRows x numCols arrangement of triangle fan polygons of different vertex counts. 367 const int numCols = 4; 373 for (int col = 0; col < numCols; col++ [all...] |
es3fInstancedRenderingTests.cpp | 496 int numCols = glu::getDataTypeMatrixNumColumns(m_rgbAttrType); 498 glVertexAttribPointer(curLoc, numRows, GL_FLOAT, GL_FALSE, numCols*numRows*sizeof(float), attrPtr);
|
/external/chromium_org/third_party/skia/gm/ |
beziereffects.cpp | 81 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumCubics*3))); 82 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumCubics*3) / numCols); 83 SkScalar w = SkIntToScalar(rt->width()) / numCols; 182 if (numCols == col) { 239 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumConics*3))); 240 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumConics*3) / numCols); 241 SkScalar w = SkIntToScalar(rt->width()) / numCols; 337 if (numCols == col) { 429 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumQuads*3))); 430 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumQuads*3) / numCols); [all...] |
/external/skia/gm/ |
beziereffects.cpp | 81 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumCubics*3))); 82 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumCubics*3) / numCols); 83 SkScalar w = SkIntToScalar(rt->width()) / numCols; 182 if (numCols == col) { 239 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumConics*3))); 240 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumConics*3) / numCols); 241 SkScalar w = SkIntToScalar(rt->width()) / numCols; 337 if (numCols == col) { 429 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumQuads*3))); 430 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumQuads*3) / numCols); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
AXTableColumn.cpp | 116 unsigned numCols = section->numColumns(); 117 if (m_columnIndex >= numCols)
|
AXTable.cpp | 173 int numCols = firstBody->numColumns(); 177 if (numRows == 1 && numCols == 1) 210 for (int col = 0; col < numCols; ++col) { 289 if (!row && headersInFirstRowCount == numCols && numCols > 1)
|
/external/deqp/modules/gles2/scripts/ |
genutil.py | 574 def __init__ (self, numCols, numRows, scalars): 575 assert len(scalars) == numRows*numCols 576 self.numCols = numCols 581 def identity (numCols, numRows): 583 for col in range(0, numCols): 586 return Mat(numCols, numRows, scalars) 589 assert 0 <= colNdx and colNdx < self.numCols 594 assert 0 <= colNdx and colNdx < self.numCols 598 def toMatrix (self, numCols, numRows) [all...] |
gen-conversions.py | 77 def combineMat(numCols, numRows, comps): 81 res.append(Mat(numCols, numRows, scalars))
|
/external/deqp/modules/gles3/scripts/ |
genutil.py | 711 def __init__ (self, numCols, numRows, scalars): 712 assert len(scalars) == numRows*numCols 713 self.numCols = numCols 718 def fromScalar (numCols, numRows, scalar): 720 for col in range(0, numCols): 723 return Mat(numCols, numRows, scalars) 726 def identity (numCols, numRows): 727 return Mat.fromScalar(numCols, numRows, 1.0) 730 assert 0 <= colNdx and colNdx < self.numCols [all...] |
gen-conversions.py | 80 def combineMat(numCols, numRows, comps): 84 res.append(Mat(numCols, numRows, scalars))
|
/external/deqp/modules/gles31/scripts/ |
genutil.py | 713 def __init__ (self, numCols, numRows, scalars): 714 assert len(scalars) == numRows*numCols 715 self.numCols = numCols 720 def fromScalar (numCols, numRows, scalar): 722 for col in range(0, numCols): 725 return Mat(numCols, numRows, scalars) 728 def identity (numCols, numRows): 729 return Mat.fromScalar(numCols, numRows, 1.0) 732 assert 0 <= colNdx and colNdx < self.numCols [all...] |
/dalvik/opcode-gen/ |
opcode-gen.awk | 236 function colPrint(value, isLast, col, numCols, colWidth, linePrefix) { 237 isLast = (isLast || (col == numCols)); 243 return (col % numCols) + 1;
|
/external/deqp/framework/opengl/ |
gluShaderUtil.cpp | 519 DataType getDataTypeMatrix (int numCols, int numRows) 521 DE_ASSERT(de::inRange(numCols, 2, 4) && de::inRange(numRows, 2, 4)); 522 return (DataType)((int)TYPE_FLOAT_MAT2 + (numCols-2)*3 + (numRows-2));
|
gluShaderUtil.hpp | 191 DataType getDataTypeMatrix (int numCols, int numRows);
|
/external/eigen/Eigen/src/plugins/ |
BlockMethods.h | 616 * \param numCols the number of columns in the block 623 inline ColsBlockXpr middleCols(Index startCol, Index numCols) 625 return ColsBlockXpr(derived(), 0, startCol, rows(), numCols); 629 inline ConstColsBlockXpr middleCols(Index startCol, Index numCols) const 631 return ConstColsBlockXpr(derived(), 0, startCol, rows(), numCols); [all...] |
/external/deqp/modules/gles2/functional/ |
es2fBufferTestUtil.cpp | 451 int numCols = de::min(maxQuadsX, numQuads); 464 renderQuadGridReference(reference, numQuads, numCols, refPtr + offset + curOffset); 466 rendered.setSize(numCols*VERIFY_QUAD_SIZE, numRows*VERIFY_QUAD_SIZE);
|
/frameworks/base/tools/aapt/ |
Images.cpp | 588 int numCols; 717 numCols = numXDivs + 1; 719 numCols--; 722 numCols--; 734 if (numRows * numCols > 0x7F) { 739 numColors = numRows * numCols; [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactTileAdapter.java | 105 public ContactTileAdapter(Context context, ContactTileView.Listener listener, int numCols, 110 mColumnCount = (displayType == DisplayType.FREQUENT_ONLY ? 1 : numCols);
|
/external/deqp/modules/glshared/ |
glsShaderRenderCase.cpp | 576 int numCols; 599 int numCols = matrices[matNdx].numCols; 601 for (int colNdx = 0; colNdx < numCols; colNdx++)
|
glsShaderExecUtil.cpp | 492 int numCols = glu::getDataTypeMatrixNumColumns(basicType); 493 int stride = numRows * numCols * sizeof(float); 495 for (int colNdx = 0; colNdx < numCols; ++colNdx) 737 int numCols = glu::getDataTypeMatrixNumColumns(basicType); 738 int stride = numRows * numCols * sizeof(float); 740 for (int colNdx = 0; colNdx < numCols; ++colNdx) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapRegionDecoderTest.java | 312 int numCols = (width + TILE_SIZE - 1) / TILE_SIZE; 317 for (int i = 0; i < numCols; ++i) {
|
/external/chromium_org/third_party/icu/source/common/ |
rbbitblb.cpp | [all...] |