Searched refs:addSize (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DGapVector.java131 protected void replace(int position, int rmSize, Object addItems, int addSize) { argument
133 if (addSize == 0) {
136 } else if (rmSize > addSize) {
138 close(position+addSize, rmSize-addSize);
141 int endSize = addSize - rmSize;
144 addSize = rmSize;
146 System.arraycopy(addItems, addOffset, array, position, addSize);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicDirectoryModel.java476 int addSize = (addFiles == null) ? 0 : addFiles.size();
481 if (addSize > 0) {
487 if (remSize > 0 && addSize == 0) {
489 } else if (addSize > 0 && remSize == 0 && addStart + addSize <= fileCache.size()) {
490 fireIntervalAdded(BasicDirectoryModel.this, addStart, addStart + addSize - 1);
/openjdk7/jdk/test/javax/swing/JColorChooser/
H A DTest6524757.java179 addSize(list, upper, 1, 1, 31, 9);
181 addSize(list, lower, 1, 1, 5, 7);
214 private static void addSize(List<Object> list, Component component, int x, int y, int w, int h) { method in class:Test6524757

Completed in 124 milliseconds