final boolean trace = LOG.isTraceEnabled();
if (debug) {
begin = System.nanoTime();
}
LayoutManager layoutManager = container.getLayoutManager();
layoutManager.init();
if (trace) {
log("after init", true);
}
layoutManager.fixRelativeInsideAuto(Orientation.VERTICAL, false);
if (trace) {
log("after fixRelativeInsideAuto vertical", true);
}
layoutManager.fixRelativeInsideAuto(Orientation.HORIZONTAL, false);
if (trace) {
log("after fixRelativeInsideAuto horizontal", true);
}
layoutManager.preProcessing(Orientation.VERTICAL);
if (trace) {
log("after preProcessing vertical", true);
}
layoutManager.preProcessing(Orientation.HORIZONTAL);
if (trace) {
log("after preProcessing horizontal", true);
}
layoutManager.mainProcessing(Orientation.VERTICAL);
if (trace) {
log("after mainProcessing vertical", true);
}
layoutManager.mainProcessing(Orientation.HORIZONTAL);
if (trace) {
log("after mainProcessing horizontal", true);
}
layoutManager.postProcessing(Orientation.VERTICAL);
if (trace) {
log("after postProcessing vertical", true);
}
layoutManager.postProcessing(Orientation.HORIZONTAL);
if (trace) {
log("after postProcessing horizontal", true);
}
if (debug) {