Home
last modified time | relevance | path

Searched refs:row (Results 1 – 22 of 22) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridModel.java239 public int getInsertIndex(int row, int column) { in getInsertIndex() argument
242 if (view.column > column || view.column == column && view.row >= row) { in getInsertIndex()
248 if (view.row > row || view.row == row && view.column >= column) { in getInsertIndex()
272 public int getBaseline(int row) { in getBaseline() argument
273 if (row < 0 || row >= mBaselines.length) { in getBaseline()
277 int baseline = mBaselines[row]; in getBaseline()
287 if (view.row == row && view.rowSpan == 1) { in getBaseline()
298 baseline += view.node.getBounds().y - getRowY(row); in getBaseline()
304 mBaselines[row] = baseline; in getBaseline()
439 if (view.row >= declaredRowCount) { in findCellsOutsideDeclaredBounds()
[all …]
DGridDropHandler.java115 int row = (mGrid.getViewCount() == 0) ? 0 : mGrid.getClosestRow(y1); in computeMatches() local
116 int rowY = mGrid.getRowY(row); in computeMatches()
117 addTopMatch(y1, rowMatches, max, row, rowY); in computeMatches()
118 addBaselineMatch(feedback.dragBaseline, y1, rowMatches, max, row, rowY); in computeMatches()
179 int row = mGrid.getRow(y1); in computeMatches() local
183 int topDistance = mGrid.getRowDistance(row, y1); in computeMatches()
184 int bottomDistance = mGrid.getRowDistance(row + 1, y1); in computeMatches()
193 row = Math.min(row + 1, mGrid.actualRowCount); in computeMatches()
234 mRowMatch = new GridMatch(verticalType, 0, y1, row, createRow, 0); in computeMatches()
309 private void addTopMatch(int y1, List<GridMatch> rowMatches, int max, int row, int rowY) { in addTopMatch() argument
[all …]
DGridLayoutPainter.java65 for (int row = 0; row < grid.actualRowCount; row++) { in paintStructure()
66 int y = grid.getRowY(row); in paintStructure()
270 for (int row = 1; row < grid.actualRowCount; row++) { in paintGridModeDropFeedback()
271 int y = grid.getRowY(row); in paintGridModeDropFeedback()
288 int row = rowMatch.cellIndex; in paintGridModeDropFeedback() local
292 Rect cellBounds = grid.getCellBounds(row, column, 1, 1); in paintGridModeDropFeedback()
356 for (int row = 0; row < ys.length; row++) { in paintStructure()
357 int y = ys[row] + b.y; in paintStructure()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiSeparatorAttributeNode.java78 Composite row = toolkit.createComposite(parent); in createUiControl() local
84 row.setLayoutData(twd); in createUiControl()
85 row.setLayout(new GridLayout(3, false /* equal width */)); in createUiControl()
87 Label sep = toolkit.createSeparator(row, SWT.HORIZONTAL); in createUiControl()
92 Label label = toolkit.createLabel(row, getDescriptor().getXmlLocalName()); in createUiControl()
95 sep = toolkit.createSeparator(row, SWT.HORIZONTAL); in createUiControl()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRelativeLayoutConversionHelper.java267 Integer row = yToRow.get(view.getTopEdge()); in initializeSpans() local
268 assert row != null; in initializeSpans()
272 view.mRow = row; in initializeSpans()
273 view.mRowSpan = end - row; in initializeSpans()
914 for (int row = 0; row < rows; row++) { in computeVerticalConstraints()
915 if (!grid.rowContainsTopLeftCorner(row)) { in computeVerticalConstraints()
917 marginTop += grid.getRowHeight(row); in computeVerticalConstraints()
921 for (View view : grid.viewsStartingInRow(row, true)) { in computeVerticalConstraints()
945 View view = grid.findBottomEdgeView(row); in computeVerticalConstraints()
952 marginTop = grid.getRowHeight(row); in computeVerticalConstraints()
[all …]
DGridLayoutConverter.java226 int row = rowFixed.size(); in insertStretchableSpans() local
254 sb.append(ATTR_LAYOUT_ROW).append('=').append('"').append(Integer.toString(row)); in insertStretchableSpans()
343 int row = view.getRow(); in assignCellAttributes() local
354 if (row != implicitRow) { in assignCellAttributes()
356 mNamespace, ATTR_LAYOUT_ROW, Integer.toString(row)); in assignCellAttributes()
357 implicitRow = row; in assignCellAttributes()
373 nextRow = Math.max(nextRow, row + rowSpan); in assignCellAttributes()
754 for (Integer row : rowOffsets) { in initializeRows()
755 List<View> views = mRowViews.get(row); in initializeRows()
770 int row; in initializeRows() local
[all …]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/
DProfilesTableModel.java39 public Object getValueAt(int row, int column) { in getValueAt() argument
43 return NAMES[row]; in getValueAt()
47 return formatter.format(profiles[row]) + ""; in getValueAt()
DPropertiesTableModel.java62 public Object getValueAt(int row, int column) { in getValueAt() argument
65 if (row < privateProperties.size()) { in getValueAt()
66 property = privateProperties.get(row); in getValueAt()
68 property = properties.get(row - privateProperties.size()); in getValueAt()
/sdk/testapps/testSensors/src/com/android/tests/testsensors/
DTestSensorsActivity.java63 final TableRow row = (TableRow) inflater.inflate(R.layout.one_row, mTableLayout, false); in MonitoredSensor() local
64 mTableLayout.addView(row); in MonitoredSensor()
68 mName = (TextView) row.findViewById(R.id.row_textview_name); in MonitoredSensor()
71 mVal = (TextView) row.findViewById(R.id.row_textview_value); in MonitoredSensor()
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
DSensorActivity.java184 final TableRow row = (TableRow) inflater.inflate(R.layout.sensor_row, in createSensorUi() local
187 mTableLayout.addView(row); in createSensorUi()
188 mDisplayedSensors.put(sensor, new DisplayInfo(sensor, row)); in createSensorUi()
210 public DisplayInfo(MonitoredSensor sensor, TableRow row) { in DisplayInfo() argument
215 mChk = (CheckBox) row.findViewById(R.id.row_checkbox); in DisplayInfo()
222 mVal = (TextView) row.findViewById(R.id.row_textview); in DisplayInfo()
/sdk/eclipse/sites/external/web/
Dsite.css8 .light-row {background:#FFFFFF}
9 .dark-row {background:#EEEEFF}
Dsite.xsl33 <xsl:attribute name="class">dark-row</xsl:attribute>
36 <xsl:attribute name="class">light-row</xsl:attribute>
105 <xsl:attribute name="class">dark-row</xsl:attribute>
108 <xsl:attribute name="class">light-row</xsl:attribute>
160 <xsl:attribute name="class">dark-row</xsl:attribute>
163 <xsl:attribute name="class">light-row</xsl:attribute>
/sdk/eclipse/sites/internal/web/
Dsite.css8 .light-row {background:#FFFFFF}
9 .dark-row {background:#EEEEFF}
Dsite.xsl33 <xsl:attribute name="class">dark-row</xsl:attribute>
36 <xsl:attribute name="class">light-row</xsl:attribute>
105 <xsl:attribute name="class">dark-row</xsl:attribute>
108 <xsl:attribute name="class">light-row</xsl:attribute>
160 <xsl:attribute name="class">dark-row</xsl:attribute>
163 <xsl:attribute name="class">light-row</xsl:attribute>
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
DWorkspace.java674 for (int row = 0; row < rows; row++) { in setVisibleRowCount()
675 height += table.getRowHeight(row); in setVisibleRowCount()
1425 public boolean isCellEditable(int row, int column) { in isCellEditable() argument
1430 public Object getValueAt(int row, int column) { in getValueAt() argument
1431 return devices.get(row); in getValueAt()
1522 public boolean isCellEditable(int row, int column) { in isCellEditable() argument
1532 public Object getValueAt(int row, int column) { in getValueAt() argument
1533 return windows.get(row); in getValueAt()
1575 int row = devices.getSelectedRow(); in valueChanged() local
1576 if (row >= 0) { in valueChanged()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dfragmentlayout-expected-complation77.txt3 …r an array or a Cursor holding query results. Binding, screen layout, and row layout are discusse…
Dfragmentlayout-expected-complation78.txt3 …r an array or a Cursor holding query results. Binding, screen layout, and row layout are discusse…
Dcompletion11-expected-complation79.txt7 …r an array or a Cursor holding query results. Binding, screen layout, and row layout are discusse…
Dcompletionvalues1-expected-completion32.txt185 android:orientation : Should the layout be a column or a row? Use "horizontal" for a row, "vertica…
215 …droid:rowOrderPreserved : When set to true, forces row boundaries to appear in the same order as
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DOutlinePage.java842 String row = e.getAttributeNS(namespace, ATTR_LAYOUT_ROW); in update() local
843 if (row.length() == 0) { in update()
844 row = "?"; in update()
870 styledString.append(row, QUALIFIER_STYLER); in update()
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/
Dandroid-support-v7-gridlayout.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DGridLayoutRule.java480 if (view.row > 0 && horizontalEdge != null && state.fillHeight) { in setNewSizeBounds()