Home
last modified time | relevance | path

Searched refs:actualColumnCount (Results 1 – 4 of 4) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/grid/
DGridModelTest.java52 assertEquals(1, model.actualColumnCount); in testReadModel1()
62 assertEquals(3, model.actualColumnCount); in testReadModel1()
82 assertEquals(3, model.actualColumnCount); in testSplitColumn()
103 assertEquals(4, model.actualColumnCount); in testSplitColumn()
191 assertEquals(4, model.actualColumnCount); in testDeletion1()
203 assertEquals(2, model.actualColumnCount); in testDeletion1()
248 assertEquals(0, model.actualColumnCount); in testDeletion1()
327 assertEquals(3, model.actualColumnCount); in testDelete2()
339 assertEquals(3, model.actualColumnCount); in testDelete2()
442 assertEquals(6, model.actualColumnCount); in testDelete3_INCOMPLETE()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridModel.java110 public int actualColumnCount; field in GridModel
318 declaredColumnCount > actualColumnCount) { in applyPositionAttributes()
319 setGridAttribute(layout, ATTR_COLUMN_COUNT, actualColumnCount); in applyPositionAttributes()
689 if (actualColumnCount <= 1 && actualRowCount <= 1 && mChildViews.isEmpty()) { in assignCellBoundsFromView()
702 actualColumnCount = xs.length - 1; in assignCellBoundsFromView()
740 actualColumnCount = maxColumn + 1; in assignCellBoundsFromBounds()
743 mLeft = new int[actualColumnCount + 1]; in assignCellBoundsFromBounds()
744 for (int i = 1; i < actualColumnCount; i++) { in assignCellBoundsFromBounds()
748 mLeft[actualColumnCount] = layoutBounds.x2(); in assignCellBoundsFromBounds()
777 for (int i = actualColumnCount - 1; i >= 0; i--) { in assignCellBoundsFromBounds()
[all …]
DGridDropHandler.java189 column = Math.min(column + 1, mGrid.actualColumnCount); in computeMatches()
243 if (mColumnMatch.createCell && mColumnMatch.cellIndex < mGrid.actualColumnCount) { in computeMatches()
599 columnSpan = mGrid.actualColumnCount; in handleFreeFormDrop()
751 if (mGrid.actualColumnCount == 0) { in handleFreeFormDrop()
DGridLayoutPainter.java69 for (int column = 0; column < grid.actualColumnCount; column++) { in paintStructure()
276 for (int column = 1; column < grid.actualColumnCount; column++) { in paintGridModeDropFeedback()