/frameworks/base/libs/androidfw/ |
CursorWindow.cpp | 66 "numRows=%d, numColumns=%d, mSize=%d, mData=%p", 68 window->mHeader->numRows, 108 "numRows=%d, numColumns=%d, mSize=%d, mData=%p", 110 window->mHeader->numRows, 139 mHeader->numRows = 0; 153 if ((cur > 0 || mHeader->numRows > 0) && cur != numColumns) { 176 mHeader->numRows--; 178 "from allocRowSlot %d", mHeader->numRows); 185 mHeader->numRows - 1, offsetFromPtr(rowSlot), fieldDirSize, fieldDirOffset); 195 if (mHeader->numRows > 0) [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/ |
DynamicTableModel.java | 44 private int numRows;
56 * @param numRows
58 public DynamicTableModel(int numColumns, int numRows) {
59 this(numColumns, numRows, TableOrder.ROW_MAJOR);
63 public DynamicTableModel(int numColumns, int numRows, TableOrder order) {
68 this.numRows = numRows;
130 axisElements = numRows;
151 return numRows;
154 public void setNumRows(int numRows) {
[all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/ |
DisappearAnimationUtils.java | 54 public float getRowTranslationScale(int row, int numRows) { 55 return (float) (Math.pow((numRows - row), 2) / numRows);
|
/external/jpeg/ |
jcprepct.c | 135 int numrows, ci; local 143 numrows = cinfo->max_v_samp_factor - prep->next_buf_row; 144 numrows = (int) MIN((JDIMENSION) numrows, inrows); 148 numrows); 149 *in_row_ctr += numrows; 150 prep->next_buf_row += numrows; 151 prep->rows_to_go -= numrows; 202 int numrows, ci; local 210 numrows = prep->next_buf_stop - prep->next_buf_row [all...] |
jmemmgr.c | 396 JDIMENSION samplesperrow, JDIMENSION numrows) 410 if (ltemp < (long) numrows) 413 rowsperchunk = numrows; 418 (size_t) (numrows * SIZEOF(JSAMPROW))); 422 while (currow < numrows) { 423 rowsperchunk = MIN(rowsperchunk, numrows - currow); 444 JDIMENSION blocksperrow, JDIMENSION numrows) 458 if (ltemp < (long) numrows) 461 rowsperchunk = numrows; 466 (size_t) (numrows * SIZEOF(JBLOCKROW))) [all...] |
/external/pdfium/core/src/fxcodec/libjpeg/ |
fpdfapi_jcprepct.c | 136 int numrows, ci; local 144 numrows = cinfo->max_v_samp_factor - prep->next_buf_row; 145 numrows = (int) MIN((JDIMENSION) numrows, inrows); 149 numrows); 150 *in_row_ctr += numrows; 151 prep->next_buf_row += numrows; 152 prep->rows_to_go -= numrows; 203 int numrows, ci; local 211 numrows = prep->next_buf_stop - prep->next_buf_row [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Partner.java | 118 int numRows = -1; 126 numRows = getResources().getInteger(resId); 146 if (numRows > 0 && numColumns > 0) { 147 inv.numRows = numRows;
|
InvariantDeviceProfile.java | 56 public int numRows; 91 this(p.name, p.minWidthDps, p.minHeightDps, p.numRows, p.numColumns, 107 numRows = r; 140 numRows = closestProfile.numRows; 156 // Supported overrides: numRows, numColumns, iconSize
|
/frameworks/base/core/tests/coretests/res/values/ |
attrs.xml | 19 <attr name="numRows" format="integer" />
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
FocusChangeWithInterestingRectHintTest.java | 72 final int numRows = mLeftColumn.getNumRows(); 73 for (int row = 0; row < numRows; row++) { 89 if (row < numRows - 1) { 106 if (row < numRows - 1) {
|
/frameworks/base/core/jni/android/graphics/ |
YuvToJpegEncoder.cpp | 119 int numRows = (height - rowIndex) / 2; 120 if (numRows > 8) numRows = 8; 121 for (int row = 0; row < numRows; ++row) { 194 int numRows = height - rowIndex; 195 if (numRows > 16) numRows = 16; 196 for (int row = 0; row < numRows; ++row) {
|
/external/deqp/modules/gles3/functional/ |
es3fPrimitiveRestartTests.cpp | 271 const int numRows = 20; 273 for (int row = 0; row < numRows; row++) 277 float fx = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numRows; 278 float fy = -1.0f + 2.0f * ((float)row + 0.5f) / (float)numRows; 286 if (row < numRows - 1) // Add a restart after all but last row. 296 // Generate a numRows x numCols arrangement of line polygons of different vertex counts. 299 const int numRows = 4; 302 for (int row = 0; row < numRows; row++) 304 float centerY = -1.0f + 2.0f * ((float)row + 0.5f) / (float)numRows; 314 float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numVertices) / (float)numRows; [all...] |
/external/libvncserver/libvncclient/ |
tight.c | 81 static void FilterCopyBPP (rfbClient* client, int numRows, CARDBPP *destBuffer); 82 static void FilterPaletteBPP (rfbClient* client, int numRows, CARDBPP *destBuffer); 83 static void FilterGradientBPP (rfbClient* client, int numRows, CARDBPP *destBuffer); 101 int bufferSize, rowSize, numRows, portionLen, rowsProcessed, extraBytes; 272 numRows = (bufferSize - zs->avail_out) / rowSize; 274 filterFn(client, numRows, (CARDBPP *)buffer2); 276 extraBytes = bufferSize - zs->avail_out - numRows * rowSize; 278 memcpy(client->buffer, &client->buffer[numRows * rowSize], extraBytes); 280 CopyRectangle(client, (uint8_t *)buffer2, rx, ry+rowsProcessed, rw, numRows); 282 rowsProcessed += numRows; [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteQuery.java | 62 int numRows = getSession().executeForCursorWindow(getSql(), getBindArgs(), 65 return numRows;
|
/external/deqp/modules/gles2/scripts/ |
genutil.py | 574 def __init__ (self, numCols, numRows, scalars): 575 assert len(scalars) == numRows*numCols 577 self.numRows = numRows 581 def identity (numCols, numRows): 584 for row in range(0, numRows): 586 return Mat(numCols, numRows, scalars) 590 assert 0 <= rowNdx and rowNdx < self.numRows 591 return self.scalars[colNdx*self.numRows + rowNdx] 595 assert 0 <= rowNdx and rowNdx < self.numRows [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
InternalSelectionView.java | 58 public InternalSelectionView(Context context, int numRows) { 59 this(context, numRows, ""); 62 public InternalSelectionView(Context context, int numRows, String label) { 64 mNumRows = numRows;
|
/external/llvm/test/CodeGen/Thumb2/ |
2010-02-24-BigStack.ll | 7 define void @FindMin(double* %panelTDEL, i8* %dclOfRow, i32 %numRows, i32 %numCols, double* %retMin_RES_TDEL) {
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
IconMenuView.java | 215 * @param numRows The total number of rows for the menu view 220 private void layoutItemsUsingGravity(int numRows, int numItems) { 221 int numBaseItemsPerRow = numItems / numRows; 222 int numLeftoverItems = numItems % numRows; 229 int rowsThatGetALeftoverItem = numRows - numLeftoverItems; 232 for (int i = 0; i < numRows; i++) { 241 mLayoutNumRows = numRows; 255 int numRows = mLayoutNumRows; 256 for (int row = 0; row < numRows; row++) { 331 final int numRows = mLayoutNumRows [all...] |
/external/deqp/modules/gles3/scripts/ |
genutil.py | 717 def __init__ (self, numCols, numRows, scalars): 718 assert len(scalars) == numRows*numCols 720 self.numRows = numRows 724 def fromScalar (numCols, numRows, scalar): 727 for row in range(0, numRows): 729 return Mat(numCols, numRows, scalars) 732 def identity (numCols, numRows): 733 return Mat.fromScalar(numCols, numRows, 1.0) 737 assert 0 <= rowNdx and rowNdx < self.numRows [all...] |
/external/deqp/modules/gles31/scripts/ |
genutil.py | 719 def __init__ (self, numCols, numRows, scalars): 720 assert len(scalars) == numRows*numCols 722 self.numRows = numRows 726 def fromScalar (numCols, numRows, scalar): 729 for row in range(0, numRows): 731 return Mat(numCols, numRows, scalars) 734 def identity (numCols, numRows): 735 return Mat.fromScalar(numCols, numRows, 1.0) 739 assert 0 <= rowNdx and rowNdx < self.numRows [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TestResultsBackupHelper.java | 108 int numRows = dataInput.readInt(); 109 ContentValues[] values = new ContentValues[numRows]; 110 for (int i = 0; i < numRows; i++) {
|
/packages/apps/Camera2/src/com/android/camera/util/ |
CaptureDataSerializer.java | 189 int numRows = lensShading.getRowCount(); 197 for (int r = 0; r < numRows; r++) { 207 if (r < numRows - 1) {
|
/external/skia/gm/ |
beziereffects.cpp | 141 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumCubics*3) / numCols); 143 SkScalar h = SkIntToScalar(rt->height()) / numRows; 289 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumConics*3) / numCols); 291 SkScalar h = SkIntToScalar(rt->height()) / numRows; 530 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumQuads*3) / numCols); 532 SkScalar h = SkIntToScalar(rt->height()) / numRows;
|
/frameworks/base/core/tests/coretests/src/android/util/ |
ScrollViewScenario.java | 154 * @param numRows The number of rows in the internal selection view. 157 public Params addInternalSelectionView(final int numRows, float heightRatio) { 160 return new InternalSelectionView(context, numRows, "isv");
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AttachmentTileGrid.java | 173 final int numRows = ((childCount - 1) / mColumnCount) + 1; 175 numRows * (imageSize + getChildAt(0).getPaddingBottom()) + 176 (numRows - 1) * mTilePadding);
|