HomeSort by relevance Sort by last modified time
    Searched refs:numRows (Results 1 - 25 of 36) sorted by null

1 2

  /packages/apps/Gallery3D/src/com/cooliris/media/
GridLayoutInterface.java 24 public GridLayoutInterface(int numRows) {
25 mNumRows = numRows;
35 int numRows = mNumRows;
36 int mod = breakSlotIndex % numRows;
37 int add = (numRows - mod);
38 if (add >= numRows)
39 add -= numRows;
44 int numRows = mNumRows;
46 outPosition.x = (resultSlotIndex / numRows) * (itemWidth + mSpacingX);
47 outPosition.y = (resultSlotIndex % numRows) * (itemHeight + mSpacingY)
    [all...]
  /frameworks/base/core/jni/
android_database_SQLiteQuery.cpp 81 int numRows = 0;
86 numRows++;
104 LOGD("finish_program_and_get_row_count row %d", numRows);
105 return numRows;
113 int numRows = lastPos;
151 LOG_WINDOW("Window: numRows = %d, size = %d, freeSpace = %d", window->getNumRows(), window->size(), window->freeSpace());
172 while(startPos != 0 || numRows < maxRead) {
175 LOG_WINDOW("\nStepped statement %p to row %d", statement, startPos + numRows);
184 LOGE("Failed allocating fieldDir at startPos %d row %d", startPos, numRows);
185 return startPos + numRows + finish_program_and_get_row_count(statement) + 1
    [all...]
CursorWindow.cpp 55 LOG_WINDOW("Created CursorWindow from existing IMemory: mFreeOffset = %d, numRows = %d, numColumns = %d, mSize = %d, mMaxSize = %d, mData = %p", mFreeOffset, mHeader->numRows, mHeader->numColumns, mSize, mMaxSize, mData);
94 mHeader->numRows = 0;
122 mHeader->numRows--;
123 LOGE("The row failed, so back out the new row accounting from allocRowSlot %d", mHeader->numRows);
129 LOG_WINDOW("Allocated row %u, rowSlot is at offset %u, fieldDir is %d bytes at offset %u\n", (mHeader->numRows - 1), ((uint8_t *)rowSlot) - mData, fieldDirSize, fieldDirOffset);
149 LOGE("need to grow: mSize = %d, size = %d, freeSpace() = %d, numRows = %d", mSize, size, freeSpace(), mHeader->numRows);
151 if (mHeader->numRows > 1) {
152 LOGE("not growing since there are already %d row(s), max size %d", mHeader->numRows, mMaxSize)
    [all...]
CursorWindow.h 63 uint32_t numRows;
112 uint32_t getNumRows() {return mHeader->numRows;}
115 if (mHeader->numRows > 0) {
116 mHeader->numRows--;
  /external/webkit/WebCore/html/
HTMLTableSectionElement.cpp 83 int numRows = children ? (int)children->length() : 0;
84 if (index < -1 || index > numRows)
88 if (numRows == index || index == -1)
105 int numRows = children ? (int)children->length() : 0;
107 index = numRows - 1;
108 if (index >= 0 && index < numRows) {
115 int HTMLTableSectionElement::numRows() const
HTMLTableSectionElement.h 47 int numRows() const;
  /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) {
  /external/webkit/WebCore/accessibility/
AccessibilityTable.cpp 114 int numRows = firstBody->numRows();
117 if (numRows == 1 && numCols == 1)
135 for (int row = 0; row < numRows; ++row) {
233 unsigned numRows = tableSection->numRows();
235 for (unsigned rowIndex = 0; rowIndex < numRows; ++rowIndex) {
346 int numRows = m_rows.size();
347 for (int row = 0; row < numRows; ++row) {
387 unsigned numRows = tableSection->numRows()
    [all...]
AccessibilityTableColumn.cpp 169 int numRows = m_parentTable->rowCount();
171 for (int i = 0; i < numRows; i++) {
AccessibilityTableCell.cpp 113 rowOffset += tableSection->numRows();
  /frameworks/base/core/java/com/android/internal/view/menu/
IconMenuView.java 214 * @param numRows The total number of rows for the menu view
219 private void layoutItemsUsingGravity(int numRows, int numItems) {
220 int numBaseItemsPerRow = numItems / numRows;
221 int numLeftoverItems = numItems % numRows;
228 int rowsThatGetALeftoverItem = numRows - numLeftoverItems;
231 for (int i = 0; i < numRows; i++) {
240 mLayoutNumRows = numRows;
254 int numRows = mLayoutNumRows;
255 for (int row = 0; row < numRows; row++) {
388 final int numRows = mLayoutNumRows
    [all...]
  /external/webkit/WebCore/platform/image-decoders/bmp/
BMPImageReader.h 177 // Returns true if the current y-coordinate plus |numRows| would be past
180 inline bool pastEndOfImage(int numRows)
183 ? ((m_coord.y() + numRows) >= m_parent->size().height())
184 : ((m_coord.y() - numRows) < 0);
  /frameworks/base/core/java/android/database/sqlite/
SQLiteQuery.java 73 int numRows = native_fill_window(window, window.getStartPosition(), mOffsetIndex,
81 return numRows;
  /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/webkit/WebCore/platform/graphics/android/
ImageBufferAndroid.cpp 129 int numRows = endy - originy;
136 for (int y = 0; y < numRows; ++y) {
189 int numRows = endy - desty;
196 for (int y = 0; y < numRows; ++y) {
  /external/webkit/WebCore/platform/graphics/skia/
ImageBufferSkia.cpp 157 int numRows = endY - originY;
165 for (int y = 0; y < numRows; ++y) {
229 int numRows = endY - destY;
238 for (int y = 0; y < numRows; ++y) {
  /frameworks/base/core/java/android/content/
ContentProviderOperation.java 221 int numRows;
223 numRows = provider.delete(mUri, mSelection, selectionArgs);
225 numRows = provider.update(mUri, values, mSelection, selectionArgs);
239 numRows = cursor.getCount();
263 if (mExpectedCount != null && mExpectedCount != numRows) {
265 throw new OperationApplicationException("wrong number of rows: " + numRows);
268 return new ContentProviderResult(numRows);
  /external/webkit/WebCore/platform/graphics/cairo/
ImageBufferCairo.cpp 174 int numRows = endy - originy;
180 for (int y = 0; y < numRows; ++y) {
242 int numRows = endy - desty;
248 for (int y = 0; y < numRows; ++y) {
266 numColumns, numRows);
  /frameworks/base/core/tests/coretests/src/android/util/
ScrollViewScenario.java 150 * @param numRows The number of rows in the internal selection view.
153 public Params addInternalSelectionView(final int numRows, float heightRatio) {
156 return new InternalSelectionView(context, numRows, "isv");
InternalSelectionView.java 60 public InternalSelectionView(Context context, int numRows, String label) {
62 mNumRows = numRows;
  /external/webkit/WebCore/platform/graphics/cg/
ImageBufferCG.cpp 154 int numRows = endy - originy;
162 for (int y = 0; y < numRows; ++y) {
217 int numRows = endy - desty;
224 for (int y = 0; y < numRows; ++y) {
  /external/webkit/WebCore/platform/graphics/qt/
ImageBufferQt.cpp 157 int numRows = endy - originy;
169 for (int y = 0; y < numRows; ++y) {
222 int numRows = endy - desty;
237 for (int y = 0; y < numRows; ++y) {
  /external/webkit/WebCore/rendering/
RenderTableSection.h 87 int numRows() const { return m_gridRows; }
RenderTable.cpp 789 if (firstNonEmptySection && !firstNonEmptySection->numRows())
848 if (firstNonEmptySection && !firstNonEmptySection->numRows())
    [all...]
  /frameworks/base/tools/aapt/
Images.cpp 345 int numRows;
459 numRows = numYDivs + 1;
461 numRows--;
464 numRows--;
469 if (numRows * numCols > 0x7F) {
474 numColors = numRows * numCols;
    [all...]

Completed in 488 milliseconds

1 2