Class ShadowViewRootImpl


  • @Implements(value=android.view.ViewRootImpl.class,
                isInAndroidSdk=false)
    public class ShadowViewRootImpl
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected android.view.ViewRootImpl realObject  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void callDispatchResized()  
      protected android.view.Display getDisplay()  
      static android.view.IWindowSession getWindowSession​(android.os.Looper mainLooper)  
      void playSoundEffect​(int effectId)  
      protected int relayoutWindow​(android.view.WindowManager.LayoutParams params, int viewVisibility, boolean insetsPending)  
      static void reset()  
      protected void setView​(android.view.View view, android.view.WindowManager.LayoutParams attrs, android.view.View panelParentView)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • realObject

        @RealObject
        protected android.view.ViewRootImpl realObject
    • Constructor Detail

      • ShadowViewRootImpl

        public ShadowViewRootImpl()
    • Method Detail

      • getWindowSession

        @Implementation(maxSdk=16)
        public static android.view.IWindowSession getWindowSession​(android.os.Looper mainLooper)
      • playSoundEffect

        @Implementation
        public void playSoundEffect​(int effectId)
      • relayoutWindow

        @Implementation
        protected int relayoutWindow​(android.view.WindowManager.LayoutParams params,
                                     int viewVisibility,
                                     boolean insetsPending)
                              throws android.os.RemoteException
        Throws:
        android.os.RemoteException
      • callDispatchResized

        public void callDispatchResized()
      • getDisplay

        protected android.view.Display getDisplay()
      • setView

        @Implementation
        protected void setView​(android.view.View view,
                               android.view.WindowManager.LayoutParams attrs,
                               android.view.View panelParentView)
      • reset

        @Resetter
        public static void reset()