Loading core/java/android/app/Activity.java +1 −1 Original line number Diff line number Diff line Loading @@ -7098,7 +7098,7 @@ public class Activity extends ContextThemeWrapper if (getWindow() != null && getWindow().peekDecorView() != null && getWindow().peekDecorView().getViewRootImpl() != null) { getWindow().peekDecorView().getViewRootImpl().dump(prefix, fd, writer, args); getWindow().peekDecorView().getViewRootImpl().dump(prefix, writer); } mHandler.getLooper().dump(new PrintWriterPrinter(writer), prefix); Loading core/java/android/view/View.java +11 −0 Original line number Diff line number Diff line Loading @@ -154,6 +154,7 @@ import com.android.internal.widget.ScrollBarUtils; import com.google.android.collect.Lists; import com.google.android.collect.Maps; import java.io.PrintWriter; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.ref.WeakReference; Loading Loading @@ -29442,6 +29443,16 @@ public class View implements Drawable.Callback, KeyEvent.Callback, } return mScrollCaptureInternal; } public void dump(String prefix, PrintWriter writer) { String innerPrefix = prefix + " "; writer.println(prefix + "AttachInfo:"); writer.println(innerPrefix + "mHasWindowFocus=" + mHasWindowFocus); writer.println(innerPrefix + "mWindowVisibility=" + mWindowVisibility); writer.println(innerPrefix + "mInTouchMode=" + mInTouchMode); writer.println(innerPrefix + "mUnbufferedDispatchRequested=" + mUnbufferedDispatchRequested); } } /** core/java/android/view/ViewRootImpl.java +13 −2 Original line number Diff line number Diff line Loading @@ -200,7 +200,6 @@ import com.android.internal.view.BaseSurfaceHolder; import com.android.internal.view.RootViewSurfaceTaker; import com.android.internal.view.SurfaceCallbackHelper; import java.io.FileDescriptor; import java.io.IOException; import java.io.OutputStream; import java.io.PrintWriter; Loading Loading @@ -7687,12 +7686,18 @@ public final class ViewRootImpl implements ViewParent, mImeFocusController.dumpDebug(proto, IME_FOCUS_CONTROLLER); } public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { /** * Dump information about this ViewRootImpl * @param prefix the prefix that will be prepended to each line of the produced output * @param writer the writer that will receive the resulting text */ public void dump(String prefix, PrintWriter writer) { String innerPrefix = prefix + " "; writer.println(prefix + "ViewRoot:"); writer.println(innerPrefix + "mAdded=" + mAdded); writer.println(innerPrefix + "mRemoved=" + mRemoved); writer.println(innerPrefix + "mStopped=" + mStopped); writer.println(innerPrefix + "mPausedForTransition=" + mPausedForTransition); writer.println(innerPrefix + "mConsumeBatchedInputScheduled=" + mConsumeBatchedInputScheduled); writer.println(innerPrefix + "mConsumeBatchedInputImmediatelyScheduled=" Loading @@ -7707,6 +7712,12 @@ public final class ViewRootImpl implements ViewParent, writer.println(innerPrefix + "mIsAmbientMode=" + mIsAmbientMode); writer.println(innerPrefix + "mUnbufferedInputSource=" + Integer.toHexString(mUnbufferedInputSource)); if (mAttachInfo != null) { writer.print(innerPrefix + "mAttachInfo= "); mAttachInfo.dump(innerPrefix, writer); } else { writer.println(innerPrefix + "mAttachInfo=<null>"); } mFirstInputStage.dump(innerPrefix, writer); Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationShadeWindowControllerImpl.java +1 −1 Original line number Diff line number Diff line Loading @@ -652,7 +652,7 @@ public class NotificationShadeWindowControllerImpl implements NotificationShadeW pw.println(TAG + ":"); pw.println(" mKeyguardDisplayMode=" + mKeyguardDisplayMode); pw.println(mCurrentState); mNotificationShadeView.getViewRootImpl().dump(" ", fd, pw, args); mNotificationShadeView.getViewRootImpl().dump(" ", pw); } @Override Loading Loading
core/java/android/app/Activity.java +1 −1 Original line number Diff line number Diff line Loading @@ -7098,7 +7098,7 @@ public class Activity extends ContextThemeWrapper if (getWindow() != null && getWindow().peekDecorView() != null && getWindow().peekDecorView().getViewRootImpl() != null) { getWindow().peekDecorView().getViewRootImpl().dump(prefix, fd, writer, args); getWindow().peekDecorView().getViewRootImpl().dump(prefix, writer); } mHandler.getLooper().dump(new PrintWriterPrinter(writer), prefix); Loading
core/java/android/view/View.java +11 −0 Original line number Diff line number Diff line Loading @@ -154,6 +154,7 @@ import com.android.internal.widget.ScrollBarUtils; import com.google.android.collect.Lists; import com.google.android.collect.Maps; import java.io.PrintWriter; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.ref.WeakReference; Loading Loading @@ -29442,6 +29443,16 @@ public class View implements Drawable.Callback, KeyEvent.Callback, } return mScrollCaptureInternal; } public void dump(String prefix, PrintWriter writer) { String innerPrefix = prefix + " "; writer.println(prefix + "AttachInfo:"); writer.println(innerPrefix + "mHasWindowFocus=" + mHasWindowFocus); writer.println(innerPrefix + "mWindowVisibility=" + mWindowVisibility); writer.println(innerPrefix + "mInTouchMode=" + mInTouchMode); writer.println(innerPrefix + "mUnbufferedDispatchRequested=" + mUnbufferedDispatchRequested); } } /**
core/java/android/view/ViewRootImpl.java +13 −2 Original line number Diff line number Diff line Loading @@ -200,7 +200,6 @@ import com.android.internal.view.BaseSurfaceHolder; import com.android.internal.view.RootViewSurfaceTaker; import com.android.internal.view.SurfaceCallbackHelper; import java.io.FileDescriptor; import java.io.IOException; import java.io.OutputStream; import java.io.PrintWriter; Loading Loading @@ -7687,12 +7686,18 @@ public final class ViewRootImpl implements ViewParent, mImeFocusController.dumpDebug(proto, IME_FOCUS_CONTROLLER); } public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { /** * Dump information about this ViewRootImpl * @param prefix the prefix that will be prepended to each line of the produced output * @param writer the writer that will receive the resulting text */ public void dump(String prefix, PrintWriter writer) { String innerPrefix = prefix + " "; writer.println(prefix + "ViewRoot:"); writer.println(innerPrefix + "mAdded=" + mAdded); writer.println(innerPrefix + "mRemoved=" + mRemoved); writer.println(innerPrefix + "mStopped=" + mStopped); writer.println(innerPrefix + "mPausedForTransition=" + mPausedForTransition); writer.println(innerPrefix + "mConsumeBatchedInputScheduled=" + mConsumeBatchedInputScheduled); writer.println(innerPrefix + "mConsumeBatchedInputImmediatelyScheduled=" Loading @@ -7707,6 +7712,12 @@ public final class ViewRootImpl implements ViewParent, writer.println(innerPrefix + "mIsAmbientMode=" + mIsAmbientMode); writer.println(innerPrefix + "mUnbufferedInputSource=" + Integer.toHexString(mUnbufferedInputSource)); if (mAttachInfo != null) { writer.print(innerPrefix + "mAttachInfo= "); mAttachInfo.dump(innerPrefix, writer); } else { writer.println(innerPrefix + "mAttachInfo=<null>"); } mFirstInputStage.dump(innerPrefix, writer); Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationShadeWindowControllerImpl.java +1 −1 Original line number Diff line number Diff line Loading @@ -652,7 +652,7 @@ public class NotificationShadeWindowControllerImpl implements NotificationShadeW pw.println(TAG + ":"); pw.println(" mKeyguardDisplayMode=" + mKeyguardDisplayMode); pw.println(mCurrentState); mNotificationShadeView.getViewRootImpl().dump(" ", fd, pw, args); mNotificationShadeView.getViewRootImpl().dump(" ", pw); } @Override Loading