mFocusedTask.dump("", writer);
}
+ int numTaskViews = mTaskViews.size();
+ for (int i = 0; i < numTaskViews; i++) {
+ mTaskViews.get(i).dump(innerPrefix, writer);
+ }
+
mLayoutAlgorithm.dump(innerPrefix, writer);
mStackScroller.dump(innerPrefix, writer);
}
import com.android.systemui.recents.model.Task;
import com.android.systemui.recents.model.TaskStack;
+import java.io.PrintWriter;
import java.util.ArrayList;
/**
setClipViewInStack(true);
});
}
+
+ public void dump(String prefix, PrintWriter writer) {
+ String innerPrefix = prefix + " ";
+
+ writer.print(prefix); writer.print("TaskView");
+ writer.print(" mTask="); writer.print(mTask.key.id);
+ writer.println();
+
+ mThumbnailView.dump(innerPrefix, writer);
+ }
}
import android.view.ViewDebug;
import com.android.systemui.R;
+import com.android.systemui.recents.misc.Utilities;
import com.android.systemui.recents.model.Task;
+import java.io.PrintWriter;
+
/**
* The task thumbnail view. It implements an image view that allows for animating the dim and
mTask = null;
setThumbnail(null, null);
}
+
+ public void dump(String prefix, PrintWriter writer) {
+ String innerPrefix = prefix + " ";
+
+ writer.print(prefix); writer.print("TaskViewThumbnail");
+ writer.print(" mTaskViewRect="); writer.print(Utilities.dumpRect(mTaskViewRect));
+ writer.print(" mThumbnailRect="); writer.print(Utilities.dumpRect(mThumbnailRect));
+ writer.print(" mThumbnailScale="); writer.print(mThumbnailScale);
+ writer.print(" mDimAlpha="); writer.print(mDimAlpha);
+ writer.println();
+ }
}