item.getView().layout(centerItemLeft, top, centerItemRight, top + itemHeight);
}
}
}
for (int i = 1; i <= sizeOfSideItem; i++) {
<BUG>itemIndex = cycleItemIndex(centerItemIndex + i);

ItemWrapper item = items.get(itemIndex);
if (item.getView() != null) {</BUG>
if (orientation == LinearLayout.HORIZONTAL) {

item.getView().layout(centerItemLeft, top, centerItemRight, top + itemHeight);
}
}
}
for (int i = 1; i <= sizeOfSideItem; i++) {
item = items.get(cycleItemIndex(centerItemIndex + i));
item.setDataIndex(cycleDataIndex(centerDataIndex + i));
item.refreshView();
if (item.getView() != null) {
if (orientation == LinearLayout.HORIZONTAL) {
