Lines Matching defs:firstRow

871     public void rowsInserted(int firstRow, int endRow) {
872 checkAgainstModel(firstRow, endRow);
878 if (shouldOptimizeChange(firstRow, endRow)) {
879 rowsInserted0(firstRow, endRow);
888 public void rowsDeleted(int firstRow, int endRow) {
889 checkAgainstModel(firstRow, endRow);
890 if (firstRow >= modelRowCount || endRow >= modelRowCount) {
894 if (shouldOptimizeChange(firstRow, endRow)) {
895 rowsDeleted0(firstRow, endRow);
904 public void rowsUpdated(int firstRow, int endRow) {
905 checkAgainstModel(firstRow, endRow);
906 if (firstRow >= modelRowCount || endRow >= modelRowCount) {
910 if (shouldOptimizeChange(firstRow, endRow)) {
911 rowsUpdated0(firstRow, endRow);
924 public void rowsUpdated(int firstRow, int endRow, int column) {
926 rowsUpdated(firstRow, endRow);
929 private void checkAgainstModel(int firstRow, int endRow) {
930 if (firstRow > endRow || firstRow < 0 || endRow < 0 ||
931 firstRow > modelRowCount) {
1031 private boolean shouldOptimizeChange(int firstRow, int lastRow) {
1036 if (!sorted || (lastRow - firstRow) > viewToModel.length / 10) {
1044 private void rowsInserted0(int firstRow, int lastRow) {
1047 int delta = (lastRow - firstRow) + 1;
1051 for (i = firstRow; i <= lastRow; i++) {
1059 for (i = modelToView.length - 1; i >= firstRow; i--) {
1082 private void rowsDeleted0(int firstRow, int lastRow) {
1089 for (i = firstRow; i <= lastRow; i++) {
1098 int delta = lastRow - firstRow + 1;
1133 private void rowsUpdated0(int firstRow, int lastRow) {
1136 int delta = lastRow - firstRow + 1;
1146 for (j = 0, i = firstRow; i <= lastRow; i++, j++) {
1158 if (modelIndex < firstRow || modelIndex > lastRow) {
1178 for (i = firstRow; i <= lastRow; i++) {