Lines Matching defs:clientStream
435 OutputStream clientStream) throws IOException {
441 dump(view, false, true, clientStream);
443 dumpTheme(view, clientStream);
445 captureLayers(view, new DataOutputStream(clientStream));
449 capture(view, clientStream, params[0]);
457 profile(view, clientStream, params[0]);
501 private static void profile(View root, OutputStream clientStream, String parameter)
507 out = new BufferedWriter(new OutputStreamWriter(clientStream), 32 * 1024);
663 public static void captureLayers(View root, final DataOutputStream clientStream)
674 clientStream.writeInt(outRect.width());
675 clientStream.writeInt(outRect.height());
677 captureViewLayer(root, clientStream, true);
679 clientStream.write(2);
681 clientStream.close();
685 private static void captureViewLayer(View view, DataOutputStream clientStream, boolean visible)
697 clientStream.write(1);
698 clientStream.writeUTF(name);
699 clientStream.writeByte(localVisible ? 1 : 0);
705 clientStream.writeInt(position[0]);
706 clientStream.writeInt(position[1]);
707 clientStream.flush();
714 clientStream.writeInt(arrayOut.size());
715 arrayOut.writeTo(clientStream);
717 clientStream.flush();
725 captureViewLayer(group.getChildAt(i), clientStream, localVisible);
731 captureViewLayer(overlayContainer, clientStream, localVisible);
745 private static void capture(View root, final OutputStream clientStream, String parameter)
749 capture(root, clientStream, captureView);
753 public static void capture(View root, final OutputStream clientStream, View captureView)
767 out = new BufferedOutputStream(clientStream, 32 * 1024);
814 OutputStream clientStream) throws IOException {
817 out = new BufferedWriter(new OutputStreamWriter(clientStream, "utf-8"), 32 * 1024);
861 public static void dumpTheme(View view, OutputStream clientStream) throws IOException {
864 out = new BufferedWriter(new OutputStreamWriter(clientStream, "utf-8"), 32 * 1024);